*BSD News Article 16354


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!hp9000.csc.cuhk.hk!hkuxb.hku.hk!ipc14!wlcheng
From: wlcheng@ipc14.csd.hku.hk (Cheng Wing Leung)
Subject: Re: Backspace problem, xterm scroll bar problem.
Message-ID: <C7CKvp.5uo@hkuxb.hku.hk>
Sender: usenet@hkuxb.hku.hk (USENET News System)
Nntp-Posting-Host: ipc14.csd.hku.hk
Organization: Dept. of Computer Science, The University of Hong Kong
Date: Thu, 20 May 1993 22:52:36 GMT
Lines: 33

!Brad Colbert:
!
!I have a problem when I run xinit from a textual (console) login
!my backspace key doesn't work correctly in an xterm.  Even when I 
!try to set it with gtty erase.  It doesnt delete the characters on the
!xterm, but it doen move the cursor back.  Works fine when loading from
!xdm.  Whats up with this?

I also have similar problem after xinit and or after vi.
stty -a | diff shows the difference:

1,2c1,2
< speed 9600 baud; 0 rows; 0 columns;
< lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
---
> speed 9600 baud; 24 rows; 80 columns;
> lflags: icanon isig iexten echo -echoe -echok -echoke -echonl -echoctl
7c7
< oflags: opost onlcr oxtabs
---
> oflags: opost onlcr -oxtabs

I don't know why it changes. I am using XFree-1.1 and no patches is installed
except using the new kernel.

!Shawn Carey:
!
!        With regard to the backspace trouble, try "stty echoke" in your
!.cshrc file, it works for me.

"stty echoe" finally works for me rather than "stty echoke".

- Cheng