diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2014-10-28 00:38:58 -0400 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2014-10-28 00:38:58 -0400 |
commit | 6213e137ff2e0636284dc294017a39f916f1f3a9 (patch) | |
tree | 5042342c058e032e496bf97ab319a4496e1da0f8 /sys/man/1/newt | |
parent | 4616c93e8d5fbb9fbedf3b2c16f5b86a21e834ac (diff) |
newt: implement ned-style address ranges and overhaul h command to suit
Diffstat (limited to 'sys/man/1/newt')
-rw-r--r-- | sys/man/1/newt | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/sys/man/1/newt b/sys/man/1/newt index e1623b23a..ee3ab6e71 100644 --- a/sys/man/1/newt +++ b/sys/man/1/newt @@ -39,10 +39,35 @@ Default is 30. starts by reading the list of messages in the .I newsgroup, printing out the number of messages, and then prompting for commands. -The prompt itself presents the name of the group followed by -the message number in the form of a file system path, relative to the +The prompt itself represents the name of the group followed by the +message number in the form of a file system path, relative to the .I mountpoint. .PP +Commands, as in +.IR ed (1), +are of the form +.RI `[ range ] +.I command +.RI [ arguments ]'. +The command is applied to each message in the (optional) range. +.PD +.PP +The address range can be: +.TP 1.4i +.I address +to indicate a single message header. +.PD +.TP +.IB address , address +to indicate a range of contiguous message headers. +.PD +.PP +The addresses can be: +.TP 1.4i +.I number +to indicate a particular message. +.PD +.PP The commands are: .PP .TP @@ -51,7 +76,7 @@ Print message .I number. .TP .B b -Print the previous message. +Print the headers for the next ten messages. .TP .B e Enter a new message, honoring the environment variable @@ -59,9 +84,6 @@ Enter a new message, honoring the environment variable Default is .IR hold (1) . .TP -.B f -Jump to the first message in the group. -.TP .BI g " newsgroup Change to the specified .I newsgroup. @@ -70,9 +92,9 @@ The name of a group may be provided in dotted .TP .B h Print the disposition, date, sender and subject line -of all messages in the group. These lines are suitable -for selecting and sending to the prompt, in order to -print messages either singly or in aggregate. +of the message. These lines are suitable for selecting +and sending to the prompt, in order to print messages +either singly or in aggregate. .TP .B help Print a summary of the available commands. @@ -93,12 +115,6 @@ for .I regexp and prints commands suitable for changing to each match. .TP -.B l -Jump to the last message in the group. -.TP -.B n, or enter key -Print the next message. -.TP .B p Print the current message with minimal headers. .TP |