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

📄 trn.1

📁 早期freebsd实现
💻 1
📖 第 1 页 / 共 5 页
字号:
.\" $Id: trn.1,v 3.0 1992/12/14 00:14:10 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. .\" .de Sh.br.ne 5.PP\fB\\$1\fR.PP...de Sp.if t .sp .5v.if n .sp...de Ip.br.ie \\n.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...\" unbreakable dash..tr \(*W-|\(bv\*(Tr.ie n \{\.ds -- \(*W-.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch.ds L" "".ds R" "".ds L' '.ds R' ''br\}.el\{\.ds -- \(em\|.tr \*(Tr.ds L" ``.ds R" ''.ds L' `.ds R' ''br\}.TH TRN 1 LOCAL.UC 6.SH NAMEtrn - threaded read news program.SH SYNOPSIS.B trn [options] [newsgroups].SH DESCRIPTION.I Trnis a threaded version of.I rn,which is a replacement for the readnews(1) program.Being \*(L"threaded\*(R" means that the articles are interconnectedin reply order.Each discussion thread is a tree of articles where all thereply (child) articles branch off from their respective originating(parent) articles.A representation of this tree (or a portion of it) is displayed in thearticle header as you are reading news.This gives you a better feel for how all the articles are related, andeven lets you see at a glance when an article has replies \*(-- a goodthing to check before posting.In addition,.I trnhas an thread selector that allows you to quickly browse through alist of subjects and choose the ones you find interesting.This thread selector can be sorted by in a variety of orders and switchedinto various display modes that allows you to pick all the subjectsseparately (threads can have multiple subjects) or even pick individualarticles.Any items you don't select can be saved for reading later ormarked as read with a single keystroke..PPIf you are already familiar with.I trnyou may just want to read the.IR "WHAT'S NEW" section.People upgrading from.I rnwill probably want to pay attention to the sections on.IR "The Selector" ,.IR "The Tree Display" ,and the aforementioned.IR "WHAT'S NEW" .If you're impatient, just dive in and get started.All the regular commands will be familiar to an.I rnor.I trnuser, and the on-line help will give you a quick run-down of what commandsare available (just type \*(L'h\*(R' from any prompt).I'd also suggest using the command:.Sp    trn \-x \-X.Spto make sure some of the best features are turned on..Sh "Starting Trn"If no newsgroups are specified, all the newsgroups which have unread newswill be presented to the user in the order in which they occur in the.I .newsrcfile.At the prompt for each group you can choose to read it, skip it, move it,etc.If a list of newsgroups is provided on the command line,.I trnwill start up in \*(L"add\*(R" mode, using the list as a set of patterns toadd new newsgroups and restrict which newsgroups are displayed (see alsothe discussion of the \*(L'a\*(R' command on the newsgroup-selection level)..PP.I Trnoperates on four levels: the newsgroup-selection level, the threadselector, the article-reading level, and the paging level.Each level has its own set of commands, and its own help menu.At the paging level (the bottom level).I trnbehaves much like the.IR more (1)program.At the article-reading level articles are presented to you in theorder of their replies, with the subjects being ordered by the dateof the oldest unread article (though there are commands for changingthe default display order).In the thread selector you are presented with the subjects and(usually) authors associated with each discussion thread, and givena chance to choose which ones you wish to read now, save for later, ormanipulate in some way.At the newsgroup-selection level (the top level), you may specify whichnewsgroup you want next, or read them in the default order, which is theorder that the newsgroups occur in your.I .newsrcfile.(You will therefore want to rearrange your.I .newsrcfile to put the most interesting newsgroups first.This can be done with the \*(L'm\*(R' command on the Newsgroup Selection level.WARNING: invoking readnews/vnews (the old user interface) in any way (includingas a news checker in your login sequence!) will cause your.I .newsrcto be disarranged again.).PPOn any level, at ANY prompt, help is available by typing an \*(L'h\*(R'.This gives you a summary of available commands and what they do.Remember this command, you'll need it..PPTyping space to any question means to do the normal thing.You will know what that is becauseevery prompt has a list of several plausible commands enclosed insquare brackets.The first command in the list is the one which will be done if you typea space.(All input is done in cbreak mode, so carriage returns should not be typedto terminate anything except certain multi-character commands.Those commands will be obvious in the discussion below because they take anargument.).PPUpon startup,.I trnwill do several things:.Ip 1. 4It will look for your.I .newsrcfile, which is your list of subscribed-tonewsgroups.If.I trndoesn't find a.IR .newsrc ,it will create one.If it does find one, it will back it up under the name \*(L".\|oldnewsrc\*(R"..Ip 2. 4It will input your.I .newsrcfile, listing out the first several newsgroupswith unread news..Ip 3. 4It will perform certain consistency checks on your.IR .newsrc .If your.I .newsrcis out of date in any of several ways,.I trnwill warn you and patch it up for you, but you may have to wait a littlelonger for it to start up..Ip 4. 4.I Trnwill next check to see if any new newsgroups have been created, and giveyou the opportunity to add them to your.IR .newsrc ..Ip 5. 4.I Trngoes into the top prompt level \*(-- the newsgroup-selection level..Sh "Newsgroup Selection Level"In this section the words \*(L"next\*(R" and \*(L"previous\*(R" refer tothe ordering of the newsgroups in your.I .newsrcfile.On the newsgroup-selection level, the prompt looks like this:.Sp====== 17 unread articles in talk.blurfl \*(-- read now? [ynq].Spunless the group is set for unthreaded reading, in which case the firstsix characters are \*(L"******\*(R".The following commands may be given at this level:.Ip \+ 8Enter this newsgroup through the selector..Ip y 8Begin reading this newsgroup now..Ip SP 8Enter the newsgroup by executing the default command listed in []'s..Ip .command 8Do this newsgroup now, but execute.I commandbefore displaying anything.The command will be interpreted as if typed on the article selection level..Ip = 8Start this newsgroup, but list subjects before displaying articles..Ip U 8Enter this newsgroup through the \*(L"Set unread\*(R" prompt..Ip t 8Toggle the newsgroup between threaded and unthreaded reading.The default is threaded, and the current setting is stored in your .newsrc..Ip n 8Go to the next newsgroup with unread news..Ip N 8Go to the next newsgroup..Ip p 8Go to the previous newsgroup with unread news.If there is none, stay at the current newsgroup..Ip P 8Go to the previous newsgroup..Ip \- 8Go to the previously displayed newsgroup (regardless of whether it isbefore or after the current one in the list)..Ip 1 8Go to the first newsgroup..Ip ^ 8Go to the first newsgroup with unread news..Ip $ 8Go to the end of the newsgroups list..Ip "g newsgroup" 8Go to.IR newsgroup ,which can be the group's name or a zero-relative number of the groups inyour .newsrc (see the \*(L'L\*(R' command to list your .newsrc).If it isn't currently subscribed to, you will be asked if you want tosubscribe..Ip "/pattern" 8Scan forward for a newsgroup matching.IR pattern .Patterns do globbing like filenames, i.\|e., use ? to match a singlecharacter, * to match any sequence of characters, and [] to specify a listof characters to match.(\*(L"all\*(R" may be used as a synonym for \*(L"*\*(R".)Unlike normal filename globbing, newsgroup-searching is not anchored tothe front and back of the filename, i.\|e. \*(L"/ski\*(R" will findrec.skiing.You may use ^ or $ to anchor the front or back of the search:\*(L"/^test$\*(R" will find newsgroup test and nothing elseIf you want to include newsgroups with 0 unread articles, append /r.If the newsgroup is not found between the current newsgroup and the lastnewsgroup, the search will wrap around to the beginning..Ip "?pattern" 8Same as /, but search backwards..Ip u 8Unsubscribe from the current newsgroup..Ip "l string" 8List newsgroups not subscribed to which contain the string specified..Ip L 8 13vLists the current state of the.IR .newsrc ,along with status information..Sp.nf    \h'|0.5i'Status    \h'|2i'Meaning    \h'|0.5i'<number>  \h'|2i'Count of unread articles in newsgroup.    \h'|0.5i'READ      \h'|2i'No unread articles in newsgroup.    \h'|0.5i'UNSUB     \h'|2i'Unsubscribed newsgroup.    \h'|0.5i'BOGUS     \h'|2i'Bogus newsgroup.    \h'|0.5i'JUNK      \h'|2i'Ignored line in .newsrc\h'|2i'(e.\|g. readnews \*(L"options\*(R" line)..fi.Sp(A bogus newsgroup is one that is not in the list of active newsgroupsin the active file, which on most systems is /usr/lib/news/active unlessyou use NNTP.).Ip "m {name}" 8Move the named newsgroup somewhere else in the.IR .newsrc .If no name is given, the current newsgroup is moved.There are a number of ways to specify where you want the newsgroup \*(-- typeh for help when it asks where you want to put it..Ip c 8Catch up \*(-- mark all unread articles in this newsgroup as read..Ip A 8Abandon the changes made to the current newsgroup since.I trnwas started.Useful when you accidentally mark a group as read..Ip "o {pattern}" 8Only display those newsgroups whose name matches.IR pattern .Patterns are the same as for the \*(L'/\*(R' command.Multiple patterns may be separated by spaces, just as on thecommand line.The restriction will remain in effect either until there are no articlesleft in the restricted set of newsgroups, or another restriction commandis given.Since.I patternis optional, \*(L'o\*(R' by itself will remove therestriction..Ip "a pattern" 8Add unsubscribed newsgroups matching.IR pattern .If any matching newsgroups are found, you will be asked for each one whetheryou would like to add it.If you want to add all the newsgroups, you cantype \*(L'Y\*(R' and they will be added the the end of the.I .newsrcfile.If you don't want to subscribe, allthe remaining groups can be ignored by typing \*(L'N\*(R'.After any new newsgroups have been added, the \*(L'a\*(R' command alsorestricts the current set of newsgroups just like the \*(L'o\*(R' commanddoes..Ip & 8Print out the current status of command-line switches and any newsgrouprestrictions..Ip "&switch {switch}" 8Set additional command-line switches..Ip && 8Print out the current macro definitions..Ip "&&keys commands" 8Define additional macros..Ip !command 8Escape to a subshell.One exclamation mark (!) leaves you in your own news directory.A double exclamation mark (!!) leaves you in the spooldirectory for news, which is usually /usr/spool/news unless you'reusing NNTP to read news.

⌨️ 快捷键说明

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