[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Set title bar name



> When I run vim from an xterm session it sets the name of the file I'm
> editing.  I'd like to do this with nano, too.  Is there a program to set
> the title bar name that I can use as a wrapper script for nano -- set it
> to the file I'm editing, start nano, then on exit reset to "xterm".

Unless I'm mistaken, the title bar on a terminal can be set with terminal 
control sequences (for VT100 or whatever)... try searching google for a 
reference of such codes, maybe that will show you how you can use echo with 
the appropriate escape characters to change the title.

-- 
forum@users.pc9.org




Reply to: