🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #129

Re: tcsh in the future - what should it be like?

#129
From: Tony J Yeates
Date: Thu, 23 Jul 1992 18:59
29 lines
1873 bytes
sjane@bmers248.bnr.ca (sjs) writes:

>In article <yeates.711122638@beryl17> yeates@rtsg.mot.com (Tony J Yeates) writes:
  I have only one suggestion
>>for improvement in this area - command line completion using the command history list
>>(as well as the "by filename completion feature" - which is great), as 4DOS has.
>>e.g. type "vi " then hit a "choosen key" (up arrow is already taken) to scroll thro'
>>(only) the previous vi commands.

>This function is already available.  It is called history-search-backward.
>You can bind it to a function key as I have bound it to F7  on my Sun:

>bindkey ^[[230z history-search-backward

>History-search-forward is also available in case you go too far too fast
>with history-search-backward.

Somebody else suggested using:-
bindkey "^[[A" history-search-backward

... which worked on my Sun.  Excellent, tcsh is now complete (almost!).

>====================================================================
>I'd also like the file completion to select one of completions if there
>are many instead of just beeping at me.  And then if I hit the tab key
>again, it should select another possible completion.. just like the PC.

I would second this suggestion.  Perhaps something like the way
<TAB> and <space> can be used to select groups (G) when using nn.
Technical Details
Message-ID: <yeates.711917978@beryl17>
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!motsrd!white!sapphire.rtsg.mot.com!beryl17!yeates
References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!motsrd!white!sapphire.rtsg.mot.com!beryl17!yeates
From: yeates@rtsg.mot.com (Tony J Yeates)
Subject: Re: tcsh in the future - what should it be like?
Message-ID: <yeates.711917978@beryl17>
Keywords: tcsh
Sender: news@rtsg.mot.com
Nntp-Posting-Host: beryl17
Organization: Motorola Inc., Cellular Infrastructure Group
References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca>
Distribution: comp.unix.shell
Date: Thu, 23 Jul 1992 18:59:38 GMT
Lines: 30