I'm asking this in behalf of a co-worker who uses vi.  I tried to get
him to just use emacs, but after something like 20 years of vi, he just
couldn't make the switch :)

Anyway, in HP-UX he has some script or environment variable that would
label his xterms with the pwd.  He says he's figured out how to do that
on this new fangled linux machine that he got, but he'd like the title
to change to the name of the file he's editing when he opens vi in that
xterm.  Does anyone know how to do this?  He says:

there's a special sequence that we use in hpux scripts to create a
set_title  or title_window comand:
    echo "\033&f0k${#title}D$title\c"

and I have know idea what he's talking about.

Thanks,

Bryan



____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to