Date: Thu, 21 Apr 2005 08:29:21 -0400 From: Tom McLaughlin <tmclaugh@sdf.lonestar.org> To: Jose M Rodriguez <josemi@freebsd.jazztel.es> Cc: gnome@freebsd.org Subject: Re: gnome-terminal and FreeBSD's vi. Message-ID: <1114086561.15465.103.camel@compass.straycat.dhs.org> In-Reply-To: <200504210842.28696.josemi@redesjm.local> References: <1114059152.15465.91.camel@compass.straycat.dhs.org> <200504210842.28696.josemi@redesjm.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-04-21 at 08:42 +0200, Jose M Rodriguez wrote: > El Thursday 21 April 2005 06:52, Tom McLaughlin escribió: > > Just wondering, has anyone ever gotten FreeBSD's own vi to work well > > with gnome-terminal? I've found that unless $TERM is set to cons25 > > then vi has problems handling ASCII DEL (^?) sequences correctly. > > > > Right now in the gnome-terminal profile I have Backspace generating a > > Ctrl+H and Delete generating an ASCII DEL. That's standard xterm > > vt100 emulation and matches cons25 terminal behavior. (In case > > you're wondering why I changed the default behavior it's because vi > > doesn't handle the ^[[3~ escape sequence very well either.) When > > using vi in insert mode, delete is generating a ^? on screen each > > time it is pressed. In other modes I get an error stating "^? isn't > > a vi command". > > <snip/> > > One of the mayor source of problems with vim in any unix is working in > compatible mode. > > Have you tried to work your .vimrc > from /usr/local/share/vim/vim63/vimrc_example.vim? > > At last, try 'set nocompatible'. > > -- > josemi > Vim is already fixed. Only Vi still has problems. Thanks. Tom -- BSD# Project - Porting Mono to FreeBSD http://www.mono-project.com/Mono:FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1114086561.15465.103.camel>