From owner-freebsd-questions Thu Sep 13 20:19:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls16.mediaone.net (chmls16.mediaone.net [24.147.1.151]) by hub.freebsd.org (Postfix) with ESMTP id 61FA937B401 for ; Thu, 13 Sep 2001 20:19:45 -0700 (PDT) Received: from sickness (h0000c0f0bdd0.ne.mediaone.net [24.91.160.109]) by chmls16.mediaone.net (8.11.1/8.11.1) with ESMTP id f8E3K9T21990; Thu, 13 Sep 2001 23:20:09 -0400 (EDT) From: "David Loszewski" To: "'Jonathan Chen'" Cc: Subject: RE: vi question, please help... Date: Thu, 13 Sep 2001 23:17:04 -0400 Message-ID: <004601c13ccb$bd98f430$3000a8c0@sickness> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <20010914150305.B35048@itouchnz.itouch> Importance: Normal 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 I am currently using vi on both SecureCRT as well as on the freebsd console and I get the same output when I do that: zeus% stty -a speed 9600 baud; 71 rows; 111 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 = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; also...Control-V Backspace it gives me '^?', get similar results from Control-V Del, when I press control-v it gives me '^V' Thanks for your timely answers, Dave -----Original Message----- From: Jonathan Chen [mailto:jonc@itouch.co.nz] On Behalf Of Jonathan Chen Sent: Thursday, September 13, 2001 11:03 PM To: David Loszewski Cc: freebsd-questions@freebsd.org Subject: Re: vi question, please help... On Thu, Sep 13, 2001 at 10:43:26PM -0400, David Loszewski wrote: > When I press 'backspace' it doesn't do anything, I get no response. > When I press 'delete' it changes the casing of the letter that it's on > ie. N --> n. > The only thing I've been able to do even close to deleting is that if I > type some text and then press the arrow left arrow key it kind of undo > what I just typed. I have no idea how to delete. I've used vi many > times on many different systems and this is usually not the behavior > that I would get out of it. Are you using an xterm (XFree86-3 or XFree86-4)? Or are you on the console? What does "stty -a" produce? When you are in vi's insert mode, what does Control-V DEL produce? Similarly what does Control-V BACKSPACE produce? All this sounds like a problem with your terminal-modes and key-mappings rather than a problem with vi. -- Jonathan Chen ---------------------------------------------------------------------- "Irrationality is the square root of all evil" - Douglas Hofstadter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message