home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MUSHP71.ZIP / MUSH.RC < prev    next >
Text File  |  1990-12-20  |  5KB  |  207 lines

  1. # MUSH VARIABLES
  2. #
  3. #
  4. # Here are some suggested configuration parameters
  5. # Any line starting with a hash (#) is ignored
  6. #
  7. # Certain special sequences can prepend a filename:
  8. #
  9. #       +       filename is relative to the $folder directory
  10. #       ~/      filename is relative to $home directory
  11. #       ~user/  filename is relative to user's $home directory
  12.  
  13. # Set home directory
  14. #set home=$HOME         # currently set from $UUPCUSRRC
  15.  
  16. #Set mush directory (default to MushDir in sys.rc file)
  17. #set mushdir=u:/lib/mush
  18.  
  19. #Prompt for subject
  20. set ask
  21.  
  22. # Prompt for cc list just before sending message
  23. set askcc
  24.  
  25. # Automatically enter editor when replying or sending mail
  26. #set autoedit
  27.  
  28. # Automatically print next message after deleting previous one
  29. #set autoprint
  30.  
  31. # Automatically add a signature line
  32. #embedded
  33. #set autosign='\Fred Bloggs,\nDept of Waste Paper Generation,\nLeeds'
  34.  
  35. #from the default signature file, ~/signatur.e
  36. #set autosign
  37.  
  38. #from another signature file
  39. set autosign=~/signatur.e
  40.  
  41. # location of help file (default MushDir/cmd_help)
  42. #set cmd_help=$mushdir/cmd_help
  43.  
  44. # Max number of lines before invoking "pager" to view message
  45. set crt=20
  46.  
  47. # All unrecognised "mush" commands will be interpreted as Dos(tm) commands
  48. # N.B. Dos commands will not pipe into mush commands
  49. #set dos
  50.  
  51. # Place to save dead letters
  52. set dead=~"\dead.let"
  53.  
  54. # Editor to use with ~e command (default is same as "visual")
  55. set editor="pe2"
  56.  
  57. # Place to keep your mail folders
  58. set folder=~/folders
  59.  
  60. # Number of previous commands to remember
  61. set history=30
  62.  
  63. # Do something different at end-of-file (^D or ^Z).  Default is to exit
  64. #first example does nothing, second invokes "help" command
  65. #set ignoreeof
  66. #set ignoreeof=help
  67.  
  68. # Define indent string to be used when including messages in a reply using
  69. # ~i (or ~m) command.
  70. set indent_str="> "
  71.  
  72. # Command to list folders directory, and others
  73. set lister="dir/w"
  74.  
  75. # Default place to save mail that's been read.  Default is ~/mbox
  76. set mbox=~/mbox
  77.  
  78. # Turn off reverse video on current message header (recommended for ADMs)
  79. set no_reverse
  80.  
  81. # Turn off To: header.  This may be useful with mailers which
  82. # insist on inserting their own To: line.  uupc mail can now be suppressed
  83. #set no_to
  84.  
  85. # Program to page through long messages.
  86. #set pager=more
  87. set pager=mushpg
  88. if $prog_name == MUSH6.EXE
  89.         set pager=internal
  90. endif
  91.  
  92. if $prog_name == MUSHN7.EXE
  93.         set pager=internal
  94. endif
  95.  
  96. if $prog_name == mushp
  97.         set pager=internal
  98. endif
  99.  
  100. # Define prompt. %f = folder name, %m = msg no., %t = total no. of msgs
  101. # %F gives full path for folder
  102. if $prog_name == MUSH.EXE
  103.     set prompt="%f: %m of %t. Mush? "
  104. else
  105.     set prompt="%F: %m of %t. Mush? "
  106. endif
  107.  
  108. # Program to run from the "lpr" (hard-copy) command. Message is fed to
  109. # this command as standard input.  mushlpr is simple .bat or .cmd which
  110. # catches this and feeds to Dos "print". e.g.
  111. # @echo off
  112. # if NOT %1x == x goto ok
  113. # echo mushlpr needs 1 temp file argument
  114. # goto end
  115. # :ok
  116. # cat - >%1
  117. # print %1
  118. # del %1
  119. # :end
  120.  
  121. set print_cmd="mushlpr $home\lpr.tmp"
  122.  
  123.  
  124. # Place to record all outgoing mail.
  125. # e.g.1 Directly in mail file
  126. #set record=~/out
  127. # e.g.2 In folders directory (recommended)
  128. #set record=+out
  129.  
  130. # No of headers to display on screen
  131. set screen=10
  132.  
  133. # Mailer command - fail if recipient mailbox does not exist: useful on
  134. #       network with trusted users and common mailbox directory
  135. # set sendmail="mailer -a -n -t"
  136. # Mailer command - create recipient mailbox if it does not exist: presumably
  137. #       server will take care of non-delivery, etc
  138. set sendmail="mailer -n -t"
  139.  
  140. # Show headers for deleted messages (makes it easier to undelete them!)
  141. set show_deleted
  142.  
  143. # Squeeze all blank lines in message to one
  144. #set squeeze
  145.  
  146. # No of lines to print for "top" command.  Default = $crt
  147. #set toplines=10
  148.  
  149. # Wait for verification before sending a message
  150. #set verify
  151.  
  152. # set date format for pick command
  153. set ukdate
  154.  
  155. # Visual editor to use (with "reply -e", "mail -e" command, or ~v sub-
  156. # command).  Default is "vi".
  157. #set visual="pe2"
  158. set visual="e2 -terminal=ibmpc2"
  159.  
  160. # set auto wrap for input mode
  161. set wrapcolumn=75
  162.  
  163.  
  164. #####################################################
  165. # COMMANDS
  166. #
  167. # Commands may be redefined using "cmd".  This may be used to
  168. # shorten them, or allow for brain-damaged Dossers.  Sorry folks :-)
  169.  
  170. # Define cd command to print new directory.  Avoids confusion under Dos
  171. # where cd normally doesn't change drive too.
  172. cmd cd="cd \!*;pwd"
  173.  
  174. # Define some drive IDs to simulate Dos drive change.  Internally, this
  175. # does a "cd X:."
  176. cmd a:="cd a:"
  177. cmd b:="cd b:"
  178. cmd c:="cd c:"
  179. cmd d:="cd d:"
  180. cmd e:="cd e:"
  181. cmd f:="cd f:"
  182. cmd g:="cd g:"
  183. cmd h:="cd h:"
  184. cmd i:="cd i:"
  185. cmd j:="cd j:"
  186. cmd s:="cd s:"
  187. cmd y:="cd y:"
  188.  
  189. # Define "hi" to execute history command
  190. cmd hi=history
  191.  
  192. # Dos users prefer "dir" to "ls"
  193. cmd dir=ls
  194.  
  195. # wait for new mail, then ring those chimes
  196. cmd wait="await; echo -n ; echo -n ; echo -n ; echo -n "
  197.  
  198. #####################################################
  199. # ALIASES
  200. #
  201. # Again to save typing, a short name may expand into a long
  202. # address
  203.  
  204. # Define "foo" to be "foo%bar@snafu.uucp".  Now we can simply mail to "foo"
  205. # WARNING: beware DOS 127 char command line limit!
  206. alias foo=foo%bar@snafu.uucp
  207.