Re: bash: display running foreground command in xterm title

2003-07-02 Thread Vineet Kumar
* Michael Heironimus ([EMAIL PROTECTED]) [030702 15:05]: > On Wed, Jul 02, 2003 at 01:20:31AM +0200, Sebastian Kapfer wrote: > > and pushes the Enter key - how will I know? csh seems to have a precmd > > function which the user can define and which is executed before each > > command. The only thin

Re: bash: display running foreground command in xterm title

2003-07-02 Thread Michael Heironimus
On Wed, Jul 02, 2003 at 01:20:31AM +0200, Sebastian Kapfer wrote: > and pushes the Enter key - how will I know? csh seems to have a precmd > function which the user can define and which is executed before each > command. The only thing that comes close in bash is PROMPT_COMMAND. But > that's obviou

Re: bash: display running foreground command in xterm title

2003-07-02 Thread Tim Connors
In linux.debian.user, you wrote: >> If you do pop into something that does fix this up (even a source patch to >> bash, but not like I really feel like playing with that any time soon) let >> the list know plz :) > > I'm close to hacking bash out of pure frustration :-) Ahhh, when you do, can you

Re: bash: display running foreground command in xterm title

2003-07-02 Thread Sebastian Kapfer
On Tue, 01 Jul 2003 21:50:18 +0200, Paul Foote wrote: > I gave it a little try, but the problem is figuring out which one is the > forground proccess. the only way that I could figure it out was using w, > and some grep magic, but its a well known fact that if you run w, or ps, > or anything like

Re: bash: display running foreground command in xterm title

2003-07-01 Thread Paul Foote
On Mon, Jun 30, 2003 at 09:17:03PM +0200, Sebastian Kapfer wrote: > How can I get bash to display the currently running command (at least the > foreground process) in the titlebar of an xterm? All I'm finding on Google > involves the C shell, which I don't use. I gave it a little try, but the prob

bash: display running foreground command in xterm title

2003-07-01 Thread Sebastian Kapfer
How can I get bash to display the currently running command (at least the foreground process) in the titlebar of an xterm? All I'm finding on Google involves the C shell, which I don't use. It it even possible with the current bash? Different question: Is it feasable for the terminal emulator to