📄 ng.h
字号:
/* $Id: ng.h,v 3.0 1991/09/09 20:23:31 davison Trn $ *//* This software is Copyright 1991 by Stan Barber. * * Permission is hereby granted to copy, reproduce, redistribute or otherwise * use this software as long as: there is no monetary profit gained * specifically from the use or reproduction of this software, it is not * sold, rented, traded or otherwise marketed, and this copyright notice is * included prominently in any copy made. * * The author make no claims as to the fitness or correctness of this software * for any use whatsoever, and it is provided as is. Any use of this software * is at the user's own risk. */EXT ART_NUM art INIT(0); /* current or prospective article # */EXT ART_NUM recent_art; /* previous article # for '-' command */EXT ART_NUM curr_art; /* current article # */EXT ARTICLE *recent_artp INIT(0);/* article_ptr equivilents */EXT ARTICLE *curr_artp INIT(0);EXT ARTICLE *artp INIT(0); /* the article ptr we use when art is 0 */EXT int checkcount INIT(0); /* how many articles have we read */ /* in the current newsgroup since */ /* the last checkpoint? */EXT int docheckwhen INIT(20); /* how often to do checkpoint */#ifdef MAILCALLEXT int mailcount INIT(0); /* check for mail when 0 mod 10 */#endifEXT char *mailcall INIT(nullstr);EXT bool forcelast INIT(FALSE); /* ought we show "End of newsgroup"? */EXT bool forcegrow INIT(FALSE); /* do we want to recalculate size */ /* of newsgroup, e.g. after posting? */#define NG_ERROR -1#define NG_NORM 0#define NG_ASK 1#define NG_MINUS 2#define NG_SELPRIOR 3#define NG_SELNEXT 4void ng_init _((void));int do_newsgroup _((char*));int art_switch _((void));#ifdef MAILCALLvoid setmail _((bool_int));#endifvoid setdfltcmd _((void));char ask_catchup _((void));char ask_memorize _((char_int));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -