⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 help.c

📁 早期freebsd实现
💻 C
📖 第 1 页 / 共 2 页
字号:
=	Start this newsgroup, but list subjects before reading articles.\n\U	Enter this newsgroup by way of the \"Set unread?\" prompt.\n\u	Unsubscribe from this newsgroup.\n\",NOMARKING)) )	    return cmd;    }    if ((cmd = print_lines("\t	Toggle the newsgroup between threaded and unthreaded reading.\n\c	Catch up (mark all articles as read).\n\A	Abandon read/unread changes to this newsgroup since you started trn.\n\n	Go to the next newsgroup with unread news.\n\N	Go to the next newsgroup.\n\p	Go to the previous newsgroup with unread news.\n\P	Go to the previous newsgroup.\n\",NOMARKING)) ||    (cmd = print_lines("\-	Go to the previously displayed newsgroup.\n\1	Go to the first newsgroup.\n\^	Go to the first newsgroup with unread news.\n\$	Go to the last newsgroup.\n\",NOMARKING)) ||    (cmd = print_lines("\g name	Go to the named newsgroup.  Subscribe to new newsgroups this way too.\n\/pat	Search forward for newsgroup matching pattern.\n\?pat	Search backward for newsgroup matching pattern.\n\	(Use * and ? style patterns.  Append r to include read newsgroups.)\n\",NOMARKING)) ||    (cmd = print_lines("\l pat	List unsubscribed newsgroups containing pattern.\n\m name	Move named newsgroup elsewhere (no name moves current newsgroup).\n\o pat	Only display newsgroups matching pattern.  Omit pat to unrestrict.\n\a pat	Like o, but also scans for unsubscribed newsgroups matching pattern.\n\L	List current .newsrc.\n\",NOMARKING)) ||    (cmd = print_lines("\&	Print current command-line switch settings.\n\&switch {switch}\n\	Set (or unset) more command-line switches.\n\&&	Print current macro definitions.\n\&&def	Define a new macro.\n\!cmd	Shell escape.\n\",NOMARKING)) ||    (cmd = print_lines("\q	Quit trn.\n\x	Quit, restoring .newsrc to its state at startup of trn.\n\^K	Edit the global KILL file.  Use commands like /pattern/j to suppress\n\	pattern in every newsgroup.\n\v	Print version and the address for reporting bugs.\n\",NOMARKING)) )	return cmd;#endif    if (cmd = get_anything())	return cmd;    show_macros();    return 0;}#ifdef ESCSUBSinthelp_subs(){    int cmd;#ifdef SUBSHELP    doshell(sh,filexp(SUBSHELP));#else    page_init();    if ((cmd = print_lines("\Valid substitutions are:\n\",STANDOUT)) ||    (cmd = print_lines("\\n\a	Current article number\n\A	Full name of current article (%P/%c/%a)\n\b	Destination of last save command, often a mailbox\n\B	Bytes to ignore at beginning of last saved article\n\",NOMARKING)) ||    (cmd = print_lines("\c	Current newsgroup, directory form\n\C	Current newsgroup, dot form\n\d	Full name of newsgroup directory (%P/%c)\n\D	Distribution line from current article\n\e	The last command executed to extract data from an article\n\E	The last extraction directory\n\",NOMARKING)) ||    (cmd = print_lines("\f	Who the current article is from\n\F	Newsgroups to followup to (from Newsgroups and Followup-To)\n\h	(This help message)\n\H	Host name (yours)\n\i	Message-I.D. line from current article, with <>\n\I	Reference indicator mark (see -F switch)\n\",NOMARKING)) ||    (cmd = print_lines("\l	News administrator's login name, if any\n\L	Login name (yours)\n\",NOMARKING)) ||    (cmd = print_lines("\m	Current mode, first letter of (init,newsgroup,thread,article,pager,\n\		unread,Add,Catchup,Delete-bogus,Mailbox,Resubscribe)\n\",NOMARKING)) ||    (cmd = print_lines("\M	Number of article marked with M\n\n	Newsgroups from current article\n\N	Full name (yours)\n\o	Organization (yours)\n\O	Original working directory (where you ran trn from)\n\",NOMARKING)) ||    (cmd = print_lines("\p	Your private news directory (from -d)\n\P	Public news spool directory\n\r	Last reference (parent article id)\n\R	References list for followup article\n\",NOMARKING)) ||    (cmd = print_lines("\s	Subject, with all Re's and (nf)'s stripped off\n\S	Subject, with one Re stripped off\n\t	New To line derived from From and Reply-To (Internet format)\n\T	New To line derived from Path\n\u	Number of unread articles\n\",NOMARKING)) ||    (cmd = print_lines("\U	Number of unread articles not counting the current article (when\n\	threads are selected, the count only reflects selected articles)\n\v	The number of extra (unselected) articles, not counting the current\n\	one if it is unselected\n\W	Where thread files are saved\n\x	News library directory\n\X	Trn library directory\n\z	Length of current article in bytes\n\Z	Number of selected threads\n\",NOMARKING)) ||    (cmd = print_lines("\~	Your home directory\n\.	Directory containing the \"dot\" files, such as .newsrc\n\#	A counter in multi-article saves\n\$	Current process number\n\/	Last search string\n\ESC	Run preceding command through % interpretation\n\",NOMARKING)) ||    (cmd = print_lines("\Put ^ in the middle to capitalize the first letter: %^C = Rec.humor\n\Put _ in the middle to capitalize the last component: %_c = rec/Humor\n\Put \\ in the middle to quote regexp and % characters in the resulting string\n\Put :FMT in the middle to format the result printf-style:  %:-30.30t\n\",NOMARKING)) )	return cmd;#endif    return 0;}#endifinthelp_select(){    int cmd;    page_init();    if ((cmd = print_lines("\Selection commands:\n\",STANDOUT)) ||    (cmd = print_lines("\n\a-z,0-9	Select/deselect the indicated item by its letter or number.  Many of\n\	the alpha letters are ommitted for the following commands.\n\SP	Perform the default command (usually > or Z).\n\CR	Start reading.  Selects the current item if nothing is selected.\n\Z,TAB	Start reading.  If nothing is selected, read all unread articles.\n\.	Toggle the current item's selection.\n\*	Same as '.' except that it affects all items with the same subject.\n\",NOMARKING)) ||    (cmd = print_lines("\#	Read the current item only, temporarily ignoring all other selections.\n\k, ','	Mark the current item as killed.\n\m, \\	Unmark the current item.\n\-	Set a range, as in d - f.  Repeats the last marking action.\n\@	Toggle the selection of all visible items.\n\M	Mark the current item's article(s) as to-return and kill the item.\n\Y	Yank back and select articles marked to return via M.\n\",NOMARKING)) ||    (cmd = print_lines("\E	Toggle exclusion of non-selected items from the selection list.\n\n, ]	Move down to the next item (try down-arrow also).\n\p, [	Move up to the previous item (try up-arrow also).\n\<, >	Go to previous/next page (try left-/right-arrow also).\n\^, $	Go to first/last page.\n\S	Set what the selector displays:  threads, subjects, or articles.\n\	If the group is unthreaded, choosing threads will thread it.\n\",NOMARKING)) ||    (cmd = print_lines("\=	Toggle between the article and thread/subject selector.\n\O	Set the selector's order.  A separate default is kept for the\n\	article and subject/thread selector.\n\R	Reverse the current sort order.\n\L	Switch the display between a short style without authors and a\n\	medium or long style with authors.\n\U	Switch between selecting unread/read articles.\n\X	Mark all unselected articles as read and start reading.\n\",NOMARKING)) ||    (cmd = print_lines("\D	Mark unselected articles on the current page as read.  Start\n\	reading if articles were selected, else go to next page.\n\J	Junk all selected articles (mark them as read).\n\c	Catch up -- marks ALL articles as read without chasing xrefs.\n\A	Add current subject to memorized commands (selection or killing).\n\T	Add current thread to memorized commands (selection or killing).\n\^K	Edit local KILL file (the one for this newsgroup).\n\N	Leave this group as-is and go on to the next one.\n\",NOMARKING)) ||    (cmd = print_lines("\P	Leave this group as-is and go on to the previous one.\n\:cmd	Perform a command on all the selected articles.\n\/pattern/modifiers\n\	Scan all articles for a subject containing pattern.\n\	(Append f to scan the from line, h to scan whole headers, a to scan\n\	entire articles, c to make it case-sensitive, r to scan read articles\n\	(assumed when you are selecting read articles to set unread.)\n\",NOMARKING)) ||    (cmd = print_lines("\/pattern/modifiers:command{:command}\n\	Apply one or more commands to the set of articles matching pattern.\n\	Use a K modifier to save entire command to the KILL file for this\n\	newsgroup.  Commands m and M, if first, imply an r modifier.\n\ 	Valid commands are: e, E, j, m, M, s, S, t, T, !, =, ',' and the\n\	article/thread (de)selection commands: +/++ (-/--).\n\",NOMARKING)) ||    (cmd = print_lines("\&	View or set command line switches.\n\&&	View or set macro definitions.\n\!cmd	Escape to a subshell.\n\q	Quit the selector.\n\Q	Quit group and return to news group selection prompt for this group.\n\",NOMARKING)) )	return cmd;    return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -