home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mm / mm-manual-mss.tar.Z / mm-manual-mss.tar / mm-manual / 04-top-ps.mss < prev    next >
Text File  |  1991-01-04  |  18KB  |  392 lines

  1. @part<four,root="mm.mss">
  2. @begin<text>
  3. @Chapter(Top Level)@tag(topmode)
  4.  
  5. @section(What is Top Level?)
  6.  
  7. When you start MM you are at the @b<top level>.  This is identified by
  8. the @i[MM>] prompt being displayed.  At this level, all the power of
  9. MM is available to you via a large number of commands that enable you
  10. to manage your messages, read them, send new ones, reply to old ones
  11. and so forth.
  12.  
  13. This chapter describes the functions and use of each command.  At the
  14. @i(MM>) prompt, you can type @i(help <command-name>) for more
  15. information on each command, with examples.
  16.  
  17. Of all the @b(top level) commands, by far the ones you will use most
  18. frequently are @i<read> and @i<send>.  They each start up their own
  19. mode that is identified by a different prompt from the @b<top level>
  20. prompt, @i[MM>].  Some of the same commands can be used.  See the
  21. following chapters on @b<read mode> and @b<send mode>.
  22.  
  23. @section(Commands in Top Level)
  24.  
  25. Some of the descriptions that follow mention "arguments".  When what
  26. you type is of the form @i<command something>, for example @i<reply
  27. 3>, @i<reply> is the command and @i<3> is the argument.  The argument
  28. that @i<reply> takes is a message sequence.  As you recall from the
  29. earlier description of a message sequence, the argument might also be
  30. @i<4:10> or @i<2,5,7> or @i<from hmh> instead of @i<3>.  When you are
  31. using MM, you can type @i(?) for suggested arguments, like @p(reply
  32. ?).
  33.  
  34. The type of argument for each command is suggested here in brackets
  35. <>.  <Mess-seq> is any message sequence; if none is given the command
  36. refers to the "current" message.  The argument may be optional in some
  37. cases, as noted.
  38.  
  39. @blankspace(1 line)
  40. @end(text)
  41.  
  42. @begin(text2, columnbalance=on)
  43. @begin(itemize) 
  44.  
  45. ANSWER: See @i<reply>.
  46.  
  47. BACKTRACK: Not yet functioning.  It will be used in conjunction with
  48. the @i[follow] command to track a "conversation".  A conversation in
  49. this case is considered to be all messages with the same subject.
  50. @i<Backtrack> moves you to the previous message in the conversation.
  51.  
  52. BLANK: Blanks your screen if you are on a video display terminal.  If
  53. not, then it does nothing.
  54.  
  55. BROWSE <mess-seq>: Displays headers of the messages specified.  It
  56. then allows you several options including reading each message,
  57. replying to it, flagging it, and deleting it.  Type @p(?) during 
  58. @i(browse) to see a list of the options.
  59.  
  60. BUG: Can be used to report problems or suggestions to the maintainers
  61. of MM.  @i<Bug> puts you into @b<send mode> with a predefined list of
  62. addresses to send the message about the bug.  You send it the normal
  63. way you would send any other message.  The response may take a short
  64. while, i.e. a day or two.  Note, for help and advice on using MM, send
  65. mail to "consultant" instead of using @i<bug>.
  66.  
  67. BYE: Exits you from MM and kills the process.  It also asks you
  68. whether you would like to expunge deleted messages.  See EXIT and
  69. QUIT.
  70.  
  71. CD <directory>: The @i<cd> command is similar to the @i(cd) command in
  72. the shell.  It changes the current working directory to one specified
  73. as an argument.  The default directory is your home (login) directory.
  74. The current working directory is the starting point for path names not
  75. beginning with "/".
  76.  
  77. CHECK: Checks for new messages that may have arrived while you are
  78. using MM.  MM does an automatic check every 5 minutes.
  79.  
  80. CONTINUE: If you quit at the @i(Send>) prompt, @i<continue> returns you
  81. to the @i(Send>) prompt.
  82.  
  83. COPY <filename mess-seq>: Copies messages to an additional mail file.
  84. It takes two arguments: the first is the filename of the additional
  85. mail file, and the second is a message sequence.  The messages are
  86. left unchanged in the original mail file.  If the file to copy to does
  87. not exist yet, it is created.  See MOVE.
  88.  
  89. COUNT <mess-seq>: Accepts a message sequence (default @i<all>) and
  90. displays the message numbers and total number of messages in the
  91. sequence.
  92.  
  93. DAYTIME: Tells you the current date and time.
  94.  
  95. DEFINE <alias user(s)>: The @i<define> command is used to create
  96. nicknames or mailing lists, known in MM as aliases.  The two arguments
  97. are first, the alias you will use, and second, the real address (which
  98. may be a list of users, separated by commas).  See page
  99. @Pageref<defref> for an example.  You can also refer MM to a file
  100. listing the users, as explained at the example.  To keep the alias
  101. permanently, use the @i<save-init> command.
  102.  
  103. DELETE <mess-seq>: Marks a message or set of messages for deletion.
  104. The messages are not erased until the @i<exit> or @i<expunge> command
  105. is given.
  106.  
  107. ECHO <text>: Prints the same text back at the terminal.  Useful in
  108. files of mm commands that you would @i<take>.  See TAKE.
  109.  
  110. EDIT <mess-seq>: Edits a message or set of messages in your mail file,
  111. using the editor specified in your @i<.mminit> file.  The default
  112. editor is @i<emacs>.
  113.  
  114. EXAMINE <filename>: Changes your current mail file to an additional
  115. file in read-only mode. It is like the @i<get> command except that the
  116. file is read-only, and the file reference date is not updated.
  117.  
  118. EXIT: Ends your current MM session and suspends the process.  It will
  119. also erase any messages you have marked for deletion in the current
  120. mail file (the one you are in when you @i(exit)).  See BYE and QUIT.
  121.  
  122. EXPUNGE: Permanently eliminates messages marked for deletion.  It
  123. actually writes out a new copy of the file without the deleted
  124. messages, so in effect it makes the file shorter.  The command
  125. @i<exit> does an @i<expunge> for you.
  126.  
  127. FINGER: The @i<finger> command is the same one available to you at the
  128. shell.  It shows you information about other users on the system.  See
  129. the examples on page @pageref(fingr).  For further information, type
  130. @i<man finger> at the shell prompt, or @i<!man finger> at any of the
  131. MM prompts.
  132.  
  133. FLAG <mess-seq>: Makes the messages specified "stand out" in your mail
  134. file by marking them as flagged.  You can refer to them with the
  135. message sequence @i<flagged>.  @i(Flagged) messages are also displayed
  136. when you start MM, along with the unseen messages.
  137.  
  138. FOLLOW: Not yet functioning.  It will be used in conjunction with the
  139. @i[backtrack] command to track a "conversation".  A conversation in
  140. this case is considered to be all messages with the same subject.
  141. @i<Follow> moves you to the next message in the conversation.
  142.  
  143. FORWARD <mess-seq>: Forwards a message you have received to some other
  144. address.  It is similar to REMAIL, but it allows you to insert a
  145. message on top of the one being forwarded.  You are the "sender" of
  146. the forwarded message, so replies come to you.
  147.  
  148. GET <filename>: Changes your current mail file to the file named.  All
  149. MM commands now apply to that file.  With no argument, refers to your
  150. main mail file.  See EXAMINE.
  151.  
  152. HEADERS <mess-seq>: Lists "headline" summaries of messages in your
  153. current mail file.  If you follow this command with a message
  154. sequence, it will output all the headers of that sequence in order of
  155. lowest message number to highest.  See page @pageref<hdrs> for a
  156. detailed explanation of each of the fields that appear when you use
  157. this command.
  158.  
  159. HELP: Displays help on various topics including all the commands at
  160. the level at which @i<help> is being invoked.  To find out the things
  161. you can get help on type @i<help ?>.  You can also type @i(help
  162. <command>) for help on that command.
  163.  
  164. JUMP <message>: Resets a certain message to be the @i<current>
  165. message.  For instance, @i[jump 10] will make message number
  166. 10 be the current message.
  167.  
  168. KEYWORD <word-list mess-seq>: Allows you to group together related
  169. messages by assigning them keywords.  The first argument is one or
  170. more keywords separated by commas, and the second argument specifies
  171. what messages to assign them to.  Later, when you use the message
  172. sequence @i(keyword <word>), it refers to all messages to which you
  173. gave that keyword.
  174.  
  175. LIST </switch filename mess-seq>: This use of @i<list> formats
  176. messages nicely and copies them to a file.  The difference from
  177. @i(copy) is that the file cannot be read by MM.  There are three
  178. arguments.  The first is optional, either @i</headers-only>, which
  179. lists only the header (meaning what you would see from a @i<header>
  180. command), or @i</separate-pages>, which puts a page break between
  181. messages.  The second argument is the name of the file.  The last
  182. argument is a message sequence.  
  183.  
  184. LIST </switch | "shell-command" mess-seq>: This use of @i<list>
  185. formats messages nicely and sends them as input to a shell command.
  186. There are three arguments.  The first is optional, either
  187. @i</headers-only> or @i</separate-pages>, as described above.  The
  188. second argument is a pipe symbol (|) followed by any shell command, in
  189. double quotes, that will take the input.  The last argument is a
  190. message sequence.  This use of @i<list> can be used to print messages
  191. by putting the appropriate shell print command in quotes (like "lpr
  192. -P<printer>").  It can also be used to send the message into Kermit so
  193. you can copy it to a file on your PC; see page @pageref(klist).
  194.  
  195. LITERAL <command>: @i<Literal> is a prefix to the @i<list, print> and
  196. @i<type> commands that causes them to ignore the
  197. @i<dont-@_print-@_headers>, @i<only-@_print-@_headers>, 
  198. @i<dont-@_type-@_headers> and @i<only-@_type-@_headers> variables.
  199.  
  200. MARK <mess-seq>: Marks a message or set of messages as @b<seen>.
  201.  
  202. MOVE <filename mess-seq>: Moves messages into an additional mail file.
  203. It works like @i<copy>, but also marks the messages for deletion from
  204. your current mail file.  See COPY.
  205.  
  206. NEXT:  Goes to the next message in the file and types it if it is not
  207. deleted. The next message is considered to be the one directly after
  208. the current one.  
  209.  
  210. PREVIOUS:  Goes to the previous message in the file and types it if
  211. it is not deleted.  The previous message is considered to be the one
  212. directly before the current one.  
  213.  
  214. PRINT </switch mess-seq>: Prints the specified messages using the
  215. print program defined by the @i(print-filter) variable.  The first
  216. argument is optional, and the only possibility is @i</separate-pages>,
  217. which puts a page break between messages, so each starts on a new
  218. page.  The default @i(print-filter) is @i(/usr/local/bin/print), which
  219. will ask what printer you want to use.  If you connect via Kermit from
  220. a PC with its own printer directly attached, try the command @i<set
  221. print-filter pcprint>, and @i<print> will then direct printing to your
  222. PC's printer.  As an example of the full command, @i<print
  223. /separate-pages 6:10> prints messages 6 to 10 with each on its own
  224. page.
  225.  
  226. PROFILE: Helps you set up an environment for using MM corresponding to
  227. your preferences in message handling.  It asks you a series of
  228. questions and then makes MM remember your responses (via the
  229. @i<.mminit> file).  It does not go through all of the @i<.mminit>
  230. options possible.  For further details see the chapter on
  231. @b<Customization>.
  232.  
  233. PUSH: Gives you a new (inferior) shell.  At that point you can then do
  234. anything you could ordinarily do in the shell, and you get back to MM
  235. by exiting the shell.  A different option is to enter shell commands
  236. at any of the MM prompts simply by preceding them with a "!", e.g.
  237. @i<!man finger>.  Still another option is to quit from MM by @i<quit>
  238. or @i<exit> and then return to MM afterwards.
  239.  
  240. PWD: The @i<pwd> command is similar to the @i<pwd> command in the shell.
  241. It displays your current working directory.  See the @i<cd> command to
  242. change your working directory.
  243.  
  244. QUIT: Quits out of MM, without expunging, and suspends the process.
  245. See BYE and EXIT.
  246.  
  247. READ <mess-seq>: Starts reading the messages specified in @b<read
  248. mode>.  For more information see the chapter on @b<read mode>.
  249. Without an argument, @i<read> will read any messages you have not yet
  250. seen.
  251.  
  252. REMAIL <mess-seq>: Similar to @i<forward>, but the message is sent as
  253. is, with nothing added except modification to the header fields to
  254. indicate who did the remailing.  Each message in a sequence is sent as a
  255. separate piece of mail.  The original sender will get any replies.
  256.  
  257. REPLY <mess-seq>: Most commonly used in @b<read> mode to reply to the
  258. current message, but can also be commanded from top-level.  With no
  259. argument, refers to the current message.  When invoked from
  260. @b(top-level), it will ask who to reply to after you type the command
  261. @i<send>: type @i(sender), @i(all) (meaning everyone who received the
  262. message), or @i(none) (meaning don't send a reply to this message);
  263. also type @i(including) to include the original message in the reply,
  264. for example @i(sender including).
  265.  
  266. RESTORE-DRAFT <filename>: @tag<restdf>Continue sending a message you
  267. saved in mid-composition using the @i<save-draft> command (page
  268. @pageref<savedf>).
  269.  
  270. REVIEW <mess-seq>: Like @i[read], but when no message sequence is
  271. specified, review prompts you for one.
  272.  
  273. ROUTE <user>: Forwards all mail sent to you to another address.  The
  274. address can be either a local user ID or a remote mail address in the
  275. form @i<user@@host>.  To stop the forwarding, type @i<route> with no
  276. argument.  The command creates a file called @i<.forward> in your
  277. directory.
  278.  
  279. SAVE-INIT: Used after one or more @i<define> or @i<set> commands to
  280. save the definition or setting permanently in the file called
  281. @i<.mminit> .  See DEFINE and the chapter on @b<Customization>.  
  282.  
  283. SEND: Start writing a message to be sent.  See the chapter on @b<send
  284. mode>.  An alternative format is @i(send <user>), specifying the user
  285. you are sending to.
  286.  
  287. SET <variable-name value>: Customize MM to act differently, by
  288. resetting one of its variables.  See the chapter on @b<Customization>.
  289.  
  290. SHOW <variable-name or mail-alias>: With no argument, displays the
  291. current MM environment variable settings and mail aliases, as
  292. established by the @i<set> and @i<define> commands.  You can also
  293. specify a particular variable or alias to see what value it has
  294. currently.  See DEFINE and the chapter on @b<Customization>.
  295.  
  296. SORT: Sorts the mail file chronologically by the dates the messages
  297. were generated.
  298.  
  299. SPELL <mess-seq>: Invokes the program indicated by the @i<speller>
  300. variable on the message specified.  (The default speller is
  301. @i[ispell].)  You should @i(spell) one message at a time.  Type @i[man
  302. ispell] in the shell (or @i<!man ispell> at any of the MM prompts) for
  303. more information.  Once you are in @i(ispell), type @i[?]  for help or
  304. @i[X] to exit without changing the file.
  305.  
  306. STATUS: Tells you relevant information and statistics about your
  307. current message file, i.e. how many messages are deleted, unseen, how
  308. large the file is, etc.  Typing @i<status verbose> gives you in
  309. addition the process ID number and user name.
  310.  
  311. SUSPEND: Suspends execution of MM.  It may be continued later with the
  312. shell @i[fg] (foreground) command.  Modified mail files will be saved
  313. before control is returned to the shell.
  314.  
  315. TAKE <filename filename filename>: Directs MM to an external file of
  316. MM commands and executes the commands.  It takes three arguments: the
  317. first is the file containing the commands; the other two are optional
  318. and are for output and error messages respectively.  If no output file
  319. is specified, the commands themselves will be invisible and only the
  320. results of the commands will appear.  If you define the output file as
  321. @i</dev/tty>, the commands themselves will be displayed at your
  322. terminal as well as the output from the commands.  MM closes the file
  323. and restores input from the terminal when any of the following happen:
  324. end of file, command error, or a @i<take> command with no argument
  325. (this suppresses the "[End of ...]" message).  Note, each time MM
  326. starts up it automatically @i<take>s the files @i<.mminit> and
  327. @i<.mmrc> in your login directory.
  328.  
  329. TYPE <mess-seq>: Displays the messages specified without going into
  330. @b(read) mode.
  331.  
  332. UNANSWER <mess-seq>: Removes the answered status from messages.
  333.  
  334. UNDELETE <mess-seq>: "Undeletes" messages; that is, it removes the
  335. marker that calls for deletion.  (Expunged messages no longer appear
  336. in @i(headers) and cannot be "unexpunged".)
  337.  
  338. UNKEYWORD <word-list mess-seq>: Removes specified keyword(s) from the
  339. specified message(s).  
  340.  
  341. UNFLAG <mess-seq>: Removes the flag, as set by @i(flag).
  342.  
  343. UNMARK <mess-seq>: Unmarks messages; that is, makes them appear unseen. 
  344.  
  345. VERSION: Shows MM's current version number, copyright notice, and bug
  346. report address.
  347.  
  348. WHO <mail-alias or user>: Shows how a given mail address will be
  349. translated by the mail system into a list of one or more actual
  350. recipients.  With an alias, shows the users (or the file containing a
  351. list of users).  With a user ID, usually shows the user ID, but will
  352. show any forwarding or other re-addressing that may be in effect.
  353.  
  354. WRITE <filename>: Writes out a new copy of the mail file.  It does not
  355. remove deleted messages.  With the optional filename argument, it will
  356. make a copy of your mail file with the new name.
  357.  
  358. @end(itemize)
  359. @end(text2)
  360. @begin(text)
  361.  
  362. @Section(CCMD)
  363.  
  364. At any MM prompt, you are using a command parser called CCMD, which
  365. you can use to help you enter commands.
  366.  
  367. Partially typed commands can be completed by typing @i<[TAB]>.  For
  368. example, to issue the command @i(check), you could type just @i(ch)
  369. and then @i([TAB]).  The reason this works is that only one command
  370. begins with @i(ch).  Try typing @i(c[TAB]): it will be completed too,
  371. but not perhaps as you wish, since there is more than one command
  372. starting with @i(c); abort with @i(<ctrl/u>), or backspace over it.
  373.  
  374. If the partially typed command takes an argument, CCMD will describe
  375. what it is.  For example, if you type @i(cop[TAB]), CCMD fills it out
  376. as @i[copy (into file)], meaning you should fill in a file name.
  377.  
  378. To see whether a command has a default argument, type @i<[TAB]> where
  379. you would normally type the argument. For example, @i(headers [TAB])
  380. is completed as @i(headers current).  If you want the default, just
  381. press @i([RETURN]); otherwise, abort with @i(<ctrl/u>), or backspace
  382. over it and type what you want instead.  If there is no default, your
  383. terminal will beep.
  384.  
  385. Lastly, CCMD performs the @i(?) help function.  At almost any point,
  386. you can type ? to see a list of suggestions.  Sometimes it just
  387. reminds you how to type out a command, and other times it may show you
  388. something you never heard of that looks useful.  Follow up by typing
  389. @i(help <command>) for more information.
  390.  
  391. @end<text>
  392.