home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / mush / 283 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.mail.mush
  2. Path: sparky!uunet!gatech!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: bart@zigzag.z-code.COM (Bart Schaefer)
  4. Subject: Re: how to use 'tcsh' with mush ?
  5. Message-ID: <9207261514.AA28353@zigzag.zipcode.com>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: bart@zigzag.z-code.com
  8. Organization: The Internet
  9. Date: Sun, 26 Jul 1992 15:14:14 GMT
  10. Lines: 31
  11.  
  12. On Jul 26,  1:14am, B.G. Mahesh wrote:
  13. } Subject: how to use 'tcsh' with mush ?
  14. }
  15. } I have defined my shell to be tcsh in both .mailrc and
  16. } .mushrc. But I can't use the TAB key from the mail prompt.
  17.  
  18. Mush is a shell, like tcsh, so when mush is running, tcsh is politely
  19. waiting for mush to be finished using your terminal.  So your tcsh
  20. key bindings don't work.
  21.  
  22. } I can use CONTROL-D to get the list of possible completions
  23. } of that command or filenames. I want to use the tab key so
  24. } that it will save me the trouble of typing the entire filename.
  25. } How do I do this ?
  26.  
  27. The default completion character is escape, but you can change it to
  28. tab with:
  29.  
  30.     set complete = '\t\CD'    # \t == tab, \CD == ctrl-D
  31.  
  32. If you set complete like this:
  33.  
  34.     set complete = '\t\t'
  35.  
  36. Then when you press tab, if the completion is unique, the name will
  37. be filled in, but if the completion matches a list of file names, the
  38. list will be displayed automatically (as if you had typed ctrl-D).
  39.  
  40. -- 
  41. Bart Schaefer                                     schaefer@zigzag.z-code.com
  42. Z-Code Software Corp.                             schaefer@z-code.com
  43.