From owner-freebsd-questions Thu Mar 7 12:56:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 0F16737B402 for ; Thu, 7 Mar 2002 12:56:44 -0800 (PST) Received: from sdn-ar-007dcwashp004.dialsprint.net ([63.178.91.12] helo=moo.holy.cow) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16j4wJ-0000qF-00; Thu, 07 Mar 2002 12:56:39 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 5B87C50B81; Thu, 7 Mar 2002 15:58:53 -0500 (EST) Date: Thu, 7 Mar 2002 15:58:53 -0500 From: parv To: Seth Hieronymus Cc: freebsd-questions@freebsd.org Subject: Re: vi question Message-ID: <20020307205853.GD16096@moo.holy.cow> Mail-Followup-To: Seth Hieronymus , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message , wrote Seth Hieronymus thusly... > > Is there any way to stop vi from going back into command mode when > I arrow over to the first column (while in insert mode)? (in aterm) in vi, not only vim, i can use arrow keys, as intended, in insert mode... seems like a problem w/ stty & termcap/terminfo and everything else related. i have the following... # stty -a speed 38400 baud; 34 rows; 132 columns; lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk brkint -inpck ignpar -parmrk oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd -hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^H; erase2 = ^A; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^G; stop = ^S; susp = ^Z; time = 0; werase = ^W; # echo $TERM xterm-color ...some may argue that TERM value is incorrect. my problem is that after invoking aspell, arrow keys are rendered unusable even in command mode, until i start new session; vim doesn't have the problem though. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message