displaying folder name in xterm title

2002-07-04 Thread Martin Man
hi mutters, is there a way to change xterm's title according to the folder currently opened in a mutt so that it updates correctly whenever the folder inside of mutt is changed? probably some folder-hook magic that can execute shell commands and issue appropriate echo with escape sequences and

Re: displaying folder name in xterm title

2002-07-04 Thread Aragon Gouveia
Hi, There must be a way. It should just be a matter of sending the right escape sequence to the terminal. You can probably do this in the status_format. I think the escape sequences are as follows: \033]0;whatever you want in the title\007 There are also escape sequences for the window name

Re: displaying folder name in xterm title

2002-07-04 Thread Thomas Dickey
On Thu, Jul 04, 2002 at 04:17:13PM +0200, Aragon Gouveia wrote: Hi, There must be a way. It should just be a matter of sending the right escape sequence to the terminal. You can probably do this in the status_format. The question's come up a few times - I don't recall the answer, myself. It

Re: displaying folder name in xterm title

2002-07-04 Thread Dan Boger
On Thu, Jul 04, 2002 at 03:36:20PM +0200, Martin Man wrote: is there a way to change xterm's title according to the folder currently opened in a mutt so that it updates correctly whenever the folder inside of mutt is changed? yup - look at the xtitle patch, linked from the mutt.org patches