Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 23:17:04 -0400
From:      "David Loszewski" <stealth215@mediaone.net>
To:        "'Jonathan Chen'" <jonathan.chen@itouch.co.nz>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: vi question, please help...
Message-ID:  <004601c13ccb$bd98f430$3000a8c0@sickness>
In-Reply-To: <20010914150305.B35048@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
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 = <undef>;
        eol2 = <undef>; 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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                        "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004601c13ccb$bd98f430$3000a8c0>