On Wed, 2003-03-19 at 09:50, Bryan Murdock wrote:
> 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 :)

Kudos to your co-worker. Have you considered that perhaps he has good
reasons for staying with vi? I suspect you are the one that needs to
switch. We will welcome you brother when you see the light.

Of course, anyone with any sense usually means vim when they say vi.
Vanilla vi is good for quick editing, but nothing can match vim for
shear pleasure.

> 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.

Sounds like this page will be good enough for him.

http://www-vlsi.stanford.edu/~jsolomon/vim/

-- 
Stuart Jansen <[EMAIL PROTECTED]>

#define FALSE 0 /* This is the naked Truth */
#define TRUE  1 /* and this is the Light   */ -- mailto.c


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

Reply via email to