home *** CD-ROM | disk | FTP | other *** search
/ ftp.freefriends.org / ftp.freefriends.org.tar / ftp.freefriends.org / arnold / Source / mush.rstevens.tar.gz / mush.tar / Mailrc < prev    next >
Text File  |  1990-07-04  |  2KB  |  71 lines

  1. # .mushrc to cause Mush to emulate UCB Mail
  2. # -- Bart Schaefer (schaefer@cse.ogi.edu)
  3. #
  4. # This file can be used as either the DEFAULT_RC or the ALT_DEF_RC (see
  5. #  config.h) but such use is NOT recommended.  Instead, you should modify
  6. #  one of those files to "source" this file.
  7. #
  8. #----------------------------------------------------------------------------
  9. # Shortcomings:
  10. #  Mush does not support the "noisy phone line" flags of Mail
  11. #   (-i command line option or "set ignore" to ignore RUBOUT characters)
  12. #  Mush will never remove a system mailbox (no "unset keep" equivalent)
  13. #  See comments below on (lack of) command prefix recognition
  14. #----------------------------------------------------------------------------
  15. #
  16. # Set up prompting, headers
  17. #
  18. set prompt='& '
  19. set mil_time date_received
  20. set hdr_format='%8.80a %D %M %-2N %5T  %l/%c "%.29s"'
  21. #
  22. # Set up mailing/replying miscellaneous
  23. #
  24. set indent_str = "    "
  25. set reply_to_hdr auto_route
  26. #
  27. # Set up command interface
  28. #  Note that a full emulation is difficult, because Mush does not support
  29. #  command prefix recognition (e.g., Mail interprets "Rep" as "Reply").
  30. #
  31. # Don't barf if history doesn't work, but still do cmd expansion
  32. #
  33. set nonobang
  34. #
  35. # This stuff is fine, but really needs prefix recognition.
  36. #
  37. cmd Reply replysender
  38. cmd R replysender
  39. cmd alt alternates
  40. cmd chdir cd
  41. cmd chd cd
  42. cmd + next
  43. cmd ch cd
  44. cmd c copy
  45. cmd file folder
  46. cmd fi folder
  47. cmd hold preserve
  48. cmd ho hold
  49. cmd reply replyall
  50. cmd r replyall
  51. cmd retain "set show_hdrs='\!*'"    # Not quite right, but ...
  52. cmd se set
  53. cmd shell sh
  54. cmd so source
  55. cmd u 'u \!* | pick -1 | from -' # "u" changes current message in Mail
  56. cmd un u
  57. cmd undelete u
  58. cmd unread 'flags \!* +U'    # "unread" is undocumented in Mail
  59. cmd uns unset
  60. cmd vi v
  61. cmd z 'z \!* + | from -'    # "z" changes current message in Mail
  62. cmd z+ z
  63. cmd z- 'z \!* -'
  64. #
  65. # You may want this file sourced, especially if you are not using the
  66. #  supplied Mushrc file as your DEFAULT_RC.
  67. #
  68. # set ALT_DEF_RC = "/usr/lib/Mail.rc"
  69. # source $ALT_DEF_RC
  70. # unset ALT_DEF_RC
  71.