Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 20:20:13 -0500
From:      mpd <mpd6334@cs.rit.edu>
To:        questions@freebsd.org
Subject:   tcsh - werase in emacs and vi mode differ
Message-ID:  <20020308202013.A3288@rochester.rr.com>

next in thread | raw e-mail | index | archive | help
Hi,

I can't find this in any documentation anywhere.
Why does ^W kill the entire line in emacs mode, but
kills only the last word when in vi mode?
Follow that with: How do I get werase to work in emacs mode
like it does in vi mode? I've attempted to do it with a
bindkey -b ^W delete-word, but that doesn't work. It is listed
correctly in the output of bindkey, but just beeps when I
actually try to kill a word.

Here's the output of stty -a:

speed 115200 baud; 25 rows; 80 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 = ^H; 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;

The output is identical regardless of key bindings.

thanks,

mike
-- 
___________________________________________________________
 
"MAY I GROW 1000 PLANTS???"
	- Little Girl from "3005 PLANTS"

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?20020308202013.A3288>