🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #31

Re: how to use 'tcsh' with mush ?

#31
From: Bart Schaefer
Date: Sun, 26 Jul 1992 15:14
31 lines
1559 bytes
On Jul 26,  1:14am, B.G. Mahesh wrote:
} Subject: how to use 'tcsh' with mush ?
}
} I have defined my shell to be tcsh in both .mailrc and
} .mushrc. But I can't use the TAB key from the mail prompt.

Mush is a shell, like tcsh, so when mush is running, tcsh is politely
waiting for mush to be finished using your terminal.  So your tcsh
key bindings don't work.

} I can use CONTROL-D to get the list of possible completions
} of that command or filenames. I want to use the tab key so
} that it will save me the trouble of typing the entire filename.
} How do I do this ?

The default completion character is escape, but you can change it to
tab with:

	set complete = '\t\CD'	# \t == tab, \CD == ctrl-D

If you set complete like this:

	set complete = '\t\t'

Then when you press tab, if the completion is unique, the name will
be filled in, but if the completion matches a list of file names, the
list will be displayed automatically (as if you had typed ctrl-D).

-- 
Bart Schaefer                                     schaefer@zigzag.z-code.com
Z-Code Software Corp.                             schaefer@z-code.com
Technical Details
Message-ID: <9207261514.AA28353@zigzag.zipcode.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!bloom-beacon!INTERNET!dont-send-mail-to-path-lines

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.mush
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
From: bart@zigzag.z-code.COM (Bart Schaefer)
Subject: Re: how to use 'tcsh' with mush ?
Message-ID: <9207261514.AA28353@zigzag.zipcode.com>
Sender: daemon@athena.mit.edu (Mr Background)
Reply-To: bart@zigzag.z-code.com
Organization: The Internet
Date: Sun, 26 Jul 1992 15:14:14 GMT
Lines: 31