Re: hat-trail fails to restore tty state

Fergus Henderson <[email protected]> Wed, 30 Jun 2004 13:31:19 -0700
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
On 30-Jun-2004, Malcolm Wallace <[email protected]> wrote:
> > Also, hat-trail failed to properly restore the tty state after ":q".
> 
> This has been reported by several people, but I can't reproduce
> it on my gnome-terminal.  What terminal emulation are you using?

I am using "Konsole" (specifically, Konsole 1.3.2 with KDE 3.2.2).
But the same problem also happens if I use "xterm".

> Can you tell me the results of 'stty' on a normal terminal window,

	bash$ stty
	speed 38400 baud; line = 0;

	bash$ stty -a
	speed 38400 baud; rows 45; columns 112; line = 0;
	intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S;
	susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
	-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
	-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff -iuclc -ixany imaxbel
	opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
	isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

> and also on a corrupted window?

	bash$ <here I type "stty", but it doesn't echo>speed 38400 baud; line = 0;
	min = 1; time = 0;
	-brkint -imaxbel
	-icanon -echo

-- 
Fergus J. Henderson                 |  "I have always known that the pursuit
Galois Connections, Inc.            |  of excellence is a lethal habit"
Phone: +1 503 626 6616              |     -- the last words of T. S. Garp.