Thread View: gnu.bash.bug
3 messages
3 total messages
Started by TYNOR,STEPHEN D.
Thu, 14 Sep 1989 19:38
another History suggestion
Author: TYNOR,STEPHEN D.
Date: Thu, 14 Sep 1989 19:38
Date: Thu, 14 Sep 1989 19:38
14 lines
1075 bytes
1075 bytes
In the spirit of recent postings suggesting that certain items be left
off the history stack (via string length or pattern match), I'd like
to suggest that a line not be pushed onto the stack if it is identical
to the previous command (this makes ^R, ^S searches more reasonable).
Since this would not be consistent with csh (how about ksh?) history,
I 'spose a variable to enable this feature would be in order.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Progress means replacing something wrong with something more subtly wrong.
Steve Tynor
Georgia Tech Research Institute
Artificial Intelligence Branch
tynor@prism.gatech.edu
Re: another History suggestion
Author: James J Dempsey
Date: Thu, 14 Sep 1989 23:13
Date: Thu, 14 Sep 1989 23:13
15 lines
1131 bytes
1131 bytes
>> From: "TYNOR,STEPHEN D." <prism!tynor@gatech.edu>
>> In the spirit of recent postings suggesting that certain items be left
>> off the history stack (via string length or pattern match), I'd like
>> to suggest that a line not be pushed onto the stack if it is identical
>> to the previous command (this makes ^R, ^S searches more reasonable).
I think this is an excellent idea. The Symbolics command processor
uses this approach and I like it a lot. If you do 10 "ps" commands in
a row you don't have to ^P 10 times to get to the command before that.
--Jim Dempsey--
BBN Communications
jjd@bbn.com (ARPA Internet)
..!{decvax, harvard, wjh12, linus}!bbn!jjd
Re: another History suggestion
Author: Ian! D. Allen [CGL]
Date: Mon, 18 Sep 1989 07:08
Date: Mon, 18 Sep 1989 07:08
7 lines
799 bytes
799 bytes
I once wrote a shell that didn't put a command in the history if the command line started with a blank. Thus, my shell didn't need to keep any arbitrary list of non-history-able commands. -- -IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu 129.97.128.64 Computer Graphics Lab/University of Waterloo/Ontario/Canada
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads