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

📄 trn.1

📁 早期freebsd实现
💻 1
📖 第 1 页 / 共 5 页
字号:
The environment variable SHELL will be used if defined.If.I commandis null, an interactive shell is started..Ip v 8Print the current version number and information on where to send bugreports..Ip q 8Quit..Ip x 8Quit, restoring .newsrc to its state at startup of.IR trn .The .newsrc you would have had if you had exited with \*(L'q\*(R' will becalled .newnewsrc, in case you didn't really want to type \*(L'x\*(R'..Ip ^K 8Edit the global list of memorized commands (in the global KILL file) thatyou wish to be performed in every newsgroup as it is started up (that is, whenit is selected at the newsgroup-selection level).This file contains commands (one per line) such as /subject/:j or /author/f:+to kill or select articles based on the indicated search criteria.There is also a local list of commands for each newsgroup that can containkill/selection commands tailored for each specific group.Because of the overhead involved in searching for articles to kill, it isbetter if possible to use a local list rather than the global one.Local memorized commands are usually maintained by using the \*(L'A\*(R'or \*(L'T\*(R' commands from the article/pager level or in the selector.There is also a K search modifier that appends any search command youdesire to add.It is also possible to manually edit the file with the \*(L'^K\*(R'command from anywhere inside a newsgroup.If either of the environment variables VISUAL or EDITOR is set, thespecified editor will be invoked; otherwise a default editoris invoked on the KILL file..Sh "The Selector"Most people who don't have all day to read news will want to enter a newsgroupby way of the selector.This is accomplished by using the \*(L'+\*(R'command at the newsgroup-selection or article/pager levels.In fact, this may be the default command for entering a newsgroup, dependingon how your version of.I trnwas configured and your use of the.B \-Xoption..PPThe selector displays a list of articles by their subjects and (usually)authors.The articles are grouped into threads by default (which may list multiplesubjects per selectable item if the subject has changed during the discussion)and ordered by the date of their oldest unread article.Thread or subject groups are also shown with a count of the number ofarticles in each group.Each selectable item is preceded by a letter or number that can be typedto toggle its selection.Items that are selected are flagged with a \*(L'+\*(R' after their letter.Groups that have only some of their articles selected are flagged witha \*(L'*\*(R'.You can change the selector's mode (to pick each subject separately orpick individual articles), order the list by a variety of sortcriteria, and switch the author display between its long, medium and shortstyles using the commands detailed below..PPThe following commands are available in the selector:.Ip "a-z,0-9,A-Z" 8Select/deselect the indicated item by its letter or number.There are quite a few letters omitted from the alpha characters to betyped as commands \*(-- see below.Also, the variable SELECTCHARS is available to customize which charactersyou want to be used as selection letters, overriding their command function..Ip SP 8Perform the default command.This is usually > for most pages, and Z on the last page (although D and Xare also quite popular)..Ip CR 8Begin reading.If no articles are selected, the current item is selected (unless you'vemarked it as killed)..Ip "Z,TAB" 8Begin reading.If no articles are selected, read all unread articles..Ip "\*(L'.\*(R'" 8Toggle the current item's selection (the one under the cursor)..Ip * 8Same as \*(L'.\*(R' except that it affects all articles with the samesubject (useful in the article selector)..Ip # 8Make an overriding selection that reads the current item only,temporarily ignoring all other selections..Ip "k, \*(L',\*(R'" 8Mark the current item as killed..Ip "m, \e" 8Unmark the current item..Ip \- 8Set a range, as in a \- k.Repeats the last marking action: selection, deselection, killing,or unmarking..Ip @ 8Toggle all visible selections..Ip M 8Mark the current item's article(s) to return on newsgroup exitand kill the item..Ip Y 8Yank back and select the marked-to-return articles, clearing theirto-return status..Ip E 8Exclude all unselected items from the selection list (narrow the display).Press it again to pick from all available items..Ip "n, ]" 8Move down to the next item (try the down-arrow keypad key also)..Ip "p, [" 8Move up to the previous item (try the up-arrow keypad key also)..Ip < 8Go to previous page (try the left-arrow keypad key also)..Ip > 8Go to next page (try the right-arrow keypad key also)..Ip ^ 8Go to the first page..Ip $ 8Go to the last page..Ip S 8Set the items the selector displays: threads, subjects or articles.If the group is unthreaded setting this to threads will thread thegroup..Ip = 8Switch between the article selector and the subject/thread selector..Ip O 8Pick the order for the items: date, subject, author, item count(for thread/subject groups), and a subject-date grouping ofindividual articles.Typing the selection in lower-case will sort the articles in thedefault direction, while using upper-case will reverse the sort.There is a separate default sort order for the subject/thread selectorand the article selector.See the.B \-Ooption to set your favorite selector mode and sort order as the default..Ip R 8Reverse the current sort order..Ip L 8Switch the selector's display between the long, medium and shortdisplay styles.See the.B \-xoption to set your favorite style as the default..Ip U 8Switch between selecting unread/read articles..Ip X 8Mark all unselected articles as read and start reading..Ip D 8Mark unselected articles on the current page as read andbegin reading if articles are selected, otherwise go to the next page..Ip J 8Mark all selected articles as read (useful after performing some actionon them with the \*(L':\*(R' command)..Ip c 8Catch up \*(-- marks ALL articles as read without affecting their cross-postedcounterparts..Ip A 8Add a subject-search command to the memorized list (a.\|k.\|a. a KILL file)for this group.You are prompted to choose selection (+), junking (j),selection including all replies (.) or junking including all replies (,).If the thread has more than one subject the first subject is the onechosen for the memorized command..Ip T 8Add a thread-oriented command to the memorized list for this group.You are prompted to choose selecting the thread (+), junking thethread (j), or clearing the auto-selection/junking for the thread (c).(Note: there are three other options (\*(L'.\*(R', \*(L',\*(R',and \*(L'C\*(R') on thearticle-reading level \*(-- look there for an explanation of their use.).Ip ^K 8Edit the local list of memorized commands (a.\|k.\|a. a KILL file) for thisnewsgroup.A detailed description of memorized commands is found in the Article Selectionsection..Ip ":command" 8Apply a command to all selected articles.If nothing is selected, apply the command to all the unread articles..SpApplicable commands include \*(L'+\*(R'/\*(L'-\*(R' (select/deselectan article), \*(L"++\*(R"/\*(L"--\*(R" (select/deselect a thread),\&\*(L"T+\*(R" (auto-select the entire thread), \*(L"Tj\*(R"(auto-junk the entire thread), \*(L't\*(R'(display article tree), \*(L"s dest\*(R" (save article to a destination),\*(L"e dir\*(R" (extract to directory), \*(L'E\*(R' (end partial uudecode),as well as: S, |, w, W, m, M, j, = and \*(L',\*(R'..Ip "/pattern" 8Scan all articles for a subject containing.I patternand select it..Ip "/pattern/modifiers:command{:command}" 8Apply the commands listed to articles matching the search command (possiblywith h, a, r, or K modifiers).The default action, if no command is specified, is to select the article'sitem in the selector (e.\|g. the entire thread (\*(L"++\*(R") in the threadselector).See the section on Regular Expressions and the description of patternsearching in the Article Selection section..SpOne example: to scan all the unread articles looking for \*(L"topic\*(R"anywhere in the article and then select its group and save the articles tothe files topic.1, topic.2, etc. use \*(L"/topic/a:++:s topic.%#\*(R"..Ip N 8Go to the next newsgroup with unread news..Ip P 8Go to the previous newsgroup with unread news..Ip & 8Display or set the current status of command-line switches..Ip && 8Display or set the current macro definitions..Ip !command 8Escape to a subshell..Ip q 8Quit this group..Ip "ESC,+" 8Quit the selector to the article level.Note: ESC won't work if trn has mapped your arrow keys with default macrosand the first character that your arrow keys send is an ESC..Ip Q 8Quit the current newsgroup and return to the newsgroup-selection promptfor this group..Sh "Article-Reading Level"On the article-reading level,.I trndisplays unread articles in thread sequence (reading each article and itsreplies before going on to another topic) unless threads are disabled fora particular group, in which case the default order is the order theyarrived at your site (numeric sequence).In either case if you use the subject-search command (^N) you will switchto reading the articles in date order within each matching subject.(Making selections in the subject selector or using the.B \-Sswitch will automatically turn subject search mode on in an unthreaded group.).SpOn the article-reading level you are.I notasked whether you want to read an article before the article is displayed;rather,.I trnsimply displays the first page (or portion of a page, at low baud rates) of anarticle and asks if you want to continue.The normal article-reading prompt comes at the END of an article(although article-reading commands can also be given from within the middleof an article in addition to the pager level commands).The prompt at the end of an article looks like this:.Sp End of article 248 (of 257) \*(-- what next? [npq].SpThe following are the options at this point:.Ip n,SP 8Scan forward for next unread article.(Note: the \*(L'n\*(R' (next) command when typed at the end of an articledoes not mark the article as read, since an article is automatically markedas read after the last line of it is printed.It is therefore possible to type a sequence such as \*(L'mn\*(R' and leavethe article marked as unread.The fact that an article is marked as read by typing n, N, ^N, e, s, S, |,w, or W within the MIDDLE of the article is in fact a special case.).Ip N 8Go to the next article..Ip ^N 8Find the next article with the same subject in date order.This also makes subject search mode (^N) the default command at the endof an article..Ip p 8Scan backward for previous unread article.If there is none, stay at the current article..Ip P 8Go to the previous article..Ip \- 8Go to the previously displayed article (regardless of whether that articleis before or after this article in the normal sequence)..Ip ^P 8Find the previous article with the same subject in date order.Makes subject search mode (^N) the default..Ip _N 8Go to the next article in numeric sequence..Ip _P 8Go to the previous article in numeric sequence..Ip "<, >" 8Browse the previous/next selected thread/subject.If no selections have been made, all the threads that had unread news whenyou entered the newsgroup (or last left the selector) are treatedas selected.Entering an empty newsgroup makes all the already-read threads availablefor browsing..Ip "[, ]" 8Proceed to the left/right in the article tree.Visits already-read articles as well as empty nodes.Try using the left-/right-arrow keys also..Ip "{, }" 8Go to the root/leaf of the article tree, even if the node isalready read or empty.Proceeds to the very first/last node if you're already at a root/leaf ina multi-root thread..Ip "(, )" 8Go to the previous/next sibling in the thread, including \*(L"cousin\*(R"siblings.Try using the up-/down-arrow keys also..Ip t 8Display the entire article tree and all its associated subjects.If the group is not currently threaded, it will become threaded toprocess this command..Ip ^R 8Restart the current article..Ip v 8Restart the current article verbosely, displaying the entire header..Ip ^L 8Refresh the screen..Ip ^X 8Restart the current article, and decrypt as a rot13 message..Ip X 8Refresh the screen, and decrypt as a rot13 message..Ip b 8Back up one page..Ip q 8Quit this newsgroup and go back to the newsgroup-selection level..Ip ^ 8Go to the first unread article..Ip $ 8Go to the last article (actually, one past the last article)..Ip "number" 8Go to the numbered article..Ip "range{,range}:command{:command}" 8Apply a set of commands to a set of articles.A range consists of either <article number> or<article\ number>\-<article\ number>.A dot \*(L'.\*(R' represents the current article, and a dollarsign \*(L'$\*(R' represents the last article..SpApplicable commands include \*(L'm\*(R' (mark as unread), \*(L'M\*(R'(mark as read-until-exit), \*(L'j\*(R' (mark as read), \*(L"s dest\*(R"(save to a destination), \*(L"e dir\*(R" (extract to directory),\&\*(L"!command\*(R" (shell escape), \*(L"=\*(R" (print the subject),\&\*(L'+\*(R'/\*(L'-\*(R' (select/deselect the article),\&\*(L'T+\*(R' (auto-select the entire thread), \*(L'Tj\*(R'(auto-junk the entire thread), \*(L"++\*(R"/\*(L"--\*(R" (select/deselectthe associated thread), \*(L'C\*(R' (cancel),as well as S, |, w, W, and t..Ip ":command" 8Apply a command to all selected articles.If nothing is selected, nothing is done.For applicable commands, see the discussion above for the range command..Ip j 8Junk the current article (i.\|e. mark it as read).If this command is used from within an article, you are left at the end ofthe article, unlike \*(L'n\*(R', which looks for the next article..Ip m 8Mark the current article as still unread.

⌨️ 快捷键说明

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