Re: xterm title bars

From: Matt Price (matt.price_at_utoronto.ca)
Date: 11/28/03

  • Next message: Nathan Poznick: "Re: Convert ext2 to ext3?"
    Date: Fri, 28 Nov 2003 14:20:43 -0500
    To: debian users <debian-user@lists.debian.org>
    
    

    On Thu, Nov 27, 2003 at 04:04:41PM -0800, Marc Wilson wrote:
    > On Thu, Nov 27, 2003 at 03:21:31PM -0500, Matt Price wrote:
    > > I've used this (excellent) howto to set my prompt up nicely, and to
    > > echo things like pwd, time, and username to the xterm title. However,
    > > I would love to add {basename} of the currently active process to the
    > > title...
    >
    > You can't do that in bash, as it doesn't provide any way to get the name of
    > the currently executing process in a fashion that would let you set the
    > title.
    >
    > You can do it if you're willing to switch to zsh as your shell, though,
    > because it has PRECOMMAND (or whatever zsh calls it).
    >
    eerrrr... I don't think Im ready for that. Maybe soon!

    thanks for the info,
    matt

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Nathan Poznick: "Re: Convert ext2 to ext3?"

    Relevant Pages

    • Re: xterm title bars
      ... > echo things like pwd, time, and username to the xterm title. ... > I would love to add of the currently active process to the ... You can do it if you're willing to switch to zsh as your shell, though, ...
      (Debian-User)
    • Re: xterm title to show path
      ... how can I make my xterm title bar to show the path where I am rather ... I use zsh and do this: ... bash, but bash doesn't let you print prompt-like escapes in arbitrary ...
      (comp.unix.shell)
    • Re: Request for Comments -- shell features and documentation
      ... > As you know, I've been adding to Bash many useful features from Awk, ... > Python, Zsh, and Ksh, and other things that you probably never heard of. ... > If command substitution string begins with '..', ...
      (comp.unix.shell)
    • Re: bash: is nested parameter expansion possible?
      ... what you're seeing in bash is rightfully considered as a bug ... :> It is not a bug, but an important part of the design of the shell ... zsh happens to be the only shell that does just that. ...
      (comp.unix.shell)
    • [OT] bash vs zsh (Re: How to configure backspace when executing a shell (external) command)
      ... advantages does it have over bash on the command line? ... command line all the time. ... The features I like most from zsh are: ... its mistakes (ksh started as a set of dirty hacks over the ...
      (comp.editors)