X-Spam-Check-By: sourceware.org Date: Mon, 19 Dec 2005 21:00:13 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Luke Vanderfluit cc: cygwin AT cygwin DOT com Subject: Re: vim under cygwin In-Reply-To: <43A75ABD.3090105@internode.com.au> Message-ID: References: <43A74FD2 DOT 70802 AT internode DOT com DOT au> <43A75ABD DOT 3090105 AT internode DOT com DOT au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, 20 Dec 2005, Luke Vanderfluit wrote: > Igor Pechtchanski wrote: > > > On Tue, 20 Dec 2005, Luke Vanderfluit wrote: > > > > > > > Hi. > > > > > > I'm a vi user :-) > > > > > > I recently started using cygwin, so forgive me if this is an obvious > > > one. I want to use vi under cygwin but I'm having trouble with > > > terminal settings. > > > > > > apparently these are the possible term settings. > > > > > > builtin_ansi > > > builtin_xterm > > > builtin_iris-ansi > > > builtin_dumb > > > > > > However, none of these work right. > > > Can someone advise me on the term settings for windows XP/cygwin or > > > point me to an appropriate resource. > > > > Just to clarify: if you use the default cmd.exe "console" window > > (i.e., the default Cygwin shortcut), then your TERM is "cygwin". If > > you use rxvt or xterm, you'd use TERM="xterm", of course... > > HTH, > > Thanks for your reply. > I'm using rxvt. I use the following in cygwin.bat: > > bash --login -i -c 'rxvt -geometry 80x29 -sb -sl 10000 -bg Black -fg green -bd LightSeaGreen -fn Courier -font 7x15' > > I've tried setting > term=builtin_xterm -> bad characters when using cursor, no > backspace=delete to previous line as in vim set backspace=2, no info > telling me which mode I'm in. > term=ansi, backspace=2 -> no mode info, backspace deletes but screen > doesn't show deletions until next insert (annoying, not workable) > > If there are any cygwin users on XP who have a nicely working vi, please > let me know what your settings are. I use vi under XP all the time. Here are my settings: :set --- Options --- background=dark isprint=@,129-255 scroll=11 term=cygwin nocompatible laststatus=2 shell=/bin/sh visualbell incsearch ruler shiftwidth=2 nowrapscan formatoptions=tcroq shortmess=filnxtToOI If you wish, I could also email you the output of ':set all' off-list... HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/