Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-05 Thread Martin Baehr
On Sat, Sep 06, 2003 at 01:27:24PM +1200, Volker Kuhlmann wrote: > Key bindings? I always assumed it would be possible to change that, > been on the lookout... Would you be able to email me (offlist) your > bash key bindings i'll include the relevant one here: "\e\C-h": backward-kill-word "\e\C-?

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-05 Thread Volker Kuhlmann
> > I am not interested in having dumb shell arguments. > i am not going to start one, i just want to satisfy my curiosity. ;) > however, i didn't know about esc-bs, and after trying it i found that it > DOES erase to the /. Key bindings? I always assumed it would be possible to change that, been

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-05 Thread Volker Kuhlmann
> Neither am I, but people might be interested to read the > "Csh Programming Considered Harmful" FAQ which is at:- > > http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/#ct > > It's dated 6 Oct 1996 14:03:18 GMT The old FUD. It is specific about csh only as well, tcsh was split off for a reaso

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-05 Thread Christopher Sawtell
On Fri, 05 Sep 2003 23:33, you wrote: > On Fri, Sep 05, 2003 at 01:10:34PM +1200, Volker Kuhlmann wrote: > > I am not interested in having dumb shell arguments. Neither am I, but people might be interested to read the "Csh Programming Considered Harmful" FAQ which is at:- http://www.faqs.org/faqs

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-05 Thread Martin Baehr
On Fri, Sep 05, 2003 at 01:10:34PM +1200, Volker Kuhlmann wrote: > I am not interested in having dumb shell arguments. i am not going to start one, i just want to satisfy my curiosity. > The by far most annoying I can remember is that esc-bs only erases to > the previous period, so keeping a fing

Re: Command history for multiple shells

2003-09-04 Thread Volker Kuhlmann
> > DWIM: 'cta' not found ... did you mean 'cat'? y/n > > > > But I don't think the code lived very long ... :-( > > on the contrary, i have seen this feature in somewhere recently, > the code (or at least the idea) definetly survived. tcsh has done this for over a decade now. I always turn it o

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-04 Thread Volker Kuhlmann
> > > No freaking way am I going back to tcsh :-) > > There are a few minor utter time-wasters in bash which I haven't found > > out how to fix > > which are? I am not interested in having dumb shell arguments. If I had had the time, I'd have picked the collective brain already :), therefore if y

Re: Command history for multiple shells

2003-09-04 Thread Mike Beattie
On Fri, Sep 05, 2003 at 12:17:30AM +0200, Martin Baehr wrote: > > DWIM: 'cta' not found ... did you mean 'cat'? y/n > > But I don't think the code lived very long ... :-( > > on the contrary, i have seen this feature in somewhere recently, > the code (or at least the idea) definetly survived. zsh

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-04 Thread Martin Baehr
On Fri, Sep 05, 2003 at 10:23:22AM +1200, CF wrote: > > i find it terribly annoying that filename completion uses -d in tcsh > > and only works at the end of the buffer. > Thats cos ^D is delete char too. To do command completion in the middle > of a command do ^D ugh, three keys for what is one

Re: tcsh vs bash (Re: Command history for multiple shells)

2003-09-04 Thread CF
On Fri, 2003-09-05 at 10:14, Martin Baehr wrote: > i find it terribly annoying that filename completion uses -d in tcsh > and only works at the end of the buffer. Thats cos ^D is delete char too. To do command completion in the middle of a command do ^D

Re: OT. Re: Command history for multiple shells

2003-09-04 Thread Martin Baehr
On Wed, Sep 03, 2003 at 09:54:40AM +1200, CF wrote: > > > sick of distro wars, desktop wars, lets do shell wars :-) > > Bash them. > Phil... just sh! ksh! no yelling! greetings, martin. -- Pike Conference 2003 - Sep 25-27 - http://pike.ida.liu.se/conferences/2003/ -- interested in doing pike

Re: Command history for multiple shells

2003-09-04 Thread Martin Baehr
On Wed, Sep 03, 2003 at 09:44:44AM +1200, Jim Cheetham wrote: > ssh - Super Shell, from Dublin in the mid 1980's ... > $ cta /etc/motd > DWIM: 'cta' not found ... did you mean 'cat'? y/n > > But I don't think the code lived very long ... :-( on the contrary, i have seen this feature in somewhere

tcsh vs bash (Re: Command history for multiple shells)

2003-09-04 Thread Martin Baehr
On Wed, Sep 03, 2003 at 01:04:34PM +1200, Volker Kuhlmann wrote: > > No freaking way am I going back to tcsh :-) > There are a few minor utter time-wasters in bash which I haven't found > out how to fix which are? i find it terribly annoying that filename completion uses -d in tcsh and only works

Re: Command history for multiple shells

2003-09-02 Thread Carl Cerecke
Volker Kuhlmann wrote: bash is able to have a separate history file for each invocation. Yuck, why would I want that for? Next time I might log in via VT100 and ssh - oops, no history. Using any of the other gazillion X-terminals - oops, no history. Doesn't cut it. The shell needs to be able to me

Re: Command history for multiple shells

2003-09-02 Thread Volker Kuhlmann
> bash is able to have a separate history file for each invocation. Yuck, why would I want that for? Next time I might log in via VT100 and ssh - oops, no history. Using any of the other gazillion X-terminals - oops, no history. Doesn't cut it. The shell needs to be able to merge the histories, a

Re: OT. Re: Command history for multiple shells

2003-09-02 Thread CF
On Wed, 2003-09-03 at 09:53, Philip Charles wrote: > On Wed, 3 Sep 2003, Nick Rout wrote: > > sick of distro wars, desktop wars, lets do shell wars :-) > Bash them. > Phil. Phil... just sh!

OT. Re: Command history for multiple shells

2003-09-02 Thread Philip Charles
On Wed, 3 Sep 2003, Nick Rout wrote: > sick of distro wars, desktop wars, lets do shell wars :-) Bash them. Phil. -- Philip Charles; 39a Paterson Street, Abbotsford, Dunedin, New Zealand +64 3 488 2818Fax +64 3 488 2875Mobile 025 267 9420 [EMAIL PROTECTED] - preferred.

Re: Command history for multiple shells

2003-09-02 Thread Jim Cheetham
On Wed, 2003-09-03 at 09:29, Mike Beattie wrote: > On Wed, Sep 03, 2003 at 09:08:46AM +1200, Nick Rout wrote: > > > > I use tcsh shell. > > > No freaking way am I going back to tcsh :-) > > sick of distro wars, desktop wars, lets do shell wars :-) > ZSH! ssh - Super Shell, from Dublin in the mid 1

Re: Command history for multiple shells

2003-09-02 Thread Mike Beattie
On Wed, Sep 03, 2003 at 09:08:46AM +1200, Nick Rout wrote: > > > I use tcsh shell. > > No freaking way am I going back to tcsh :-) > sick of distro wars, desktop wars, lets do shell wars :-) ZSH! (which was the first shell to have *native* extended completion (like completing command options))

Re: Command history for multiple shells

2003-09-02 Thread Nick Rout
On Wed, 03 Sep 2003 08:41:16 +1200 Carl Cerecke <[EMAIL PROTECTED]> wrote: > Volker Kuhlmann wrote: > > I use tcsh shell. > No freaking way am I going back to tcsh :-) > > Cheers, > Carl. > sick of distro wars, desktop wars, lets do shell wars :-) -- Nick Rout <[EMAIL PROTECTED]>

Re: Command history for multiple shells

2003-09-02 Thread Carl Cerecke
Volker Kuhlmann wrote: The problem is that the command histories are not preserved. The .bash_history file contains the history of whatever bash saved to it last before logout. Yes, me too. :) I use tcsh shell. The cwd is preserved, I expect this is done by konsole as tcsh itself wouldn't have

Re: Command history for multiple shells

2003-09-01 Thread Volker Kuhlmann
> The problem is that the command histories are not > preserved. The .bash_history file contains the history > of whatever bash saved to it last before logout. Yes, me too. :) I use tcsh shell. The cwd is preserved, I expect this is done by konsole as tcsh itself wouldn't have a clue about it (k

Command history for multiple shells

2003-09-01 Thread Carl Cerecke
I have usually 3-4 Konsole applications running at once. Each konsole may have 1-4 bash shells within it. Because konsole is session-managed by KDE, when I log in each morning I get the same konsole windows with the same number of bash shells in each. Each bash shell also has the same cwd as it did