Path: utzoo!utgpu!water!watmath!uunet!ukma!cwjcc!tut.cis.ohio-state.edu!mailrus!ames!zorch!pacbell!gladys!bakerst!ethos!pcid!gizzmo!u1100a!krohn
From: krohn@u1100a.UUCP (Eric Krohn)
Newsgroups: unix-pc.bugs
Subject: Re: Bug report--window driver 3.51
Message-ID: <2124@u1100a.UUCP>
Date: 20 Sep 88 16:17:11 GMT
References: <10552@stb.UUCP> <761@rush.cts.com> <10581@stb.UUCP> <404@amanue.UUCP>
Reply-To: krohn@u1100a.UUCP (Eric Krohn)
Organization: Bell Communications Research, Piscataway, NJ
Lines: 21

In article <404@amanue.UUCP> jr@amanue.UUCP (Jim Rosenberg) writes:
] One *can* make oneself learn the habit to hit ESC before a window switch, but
] it isn't easy!  And of course this does you no good outside of ksh.
] 
] [BTW:  I use the vi mode of ksh; no flames please if the character to enter
] edit mode for emacs mode isn't ESC -- you get the idea.]

I run ksh with set -o vi -o viraw.  This forces all input to ksh to be done
in raw mode, with its inefficiencies (not that I care).  I need not type ESC
before switching windows to preserve my typeahead.  (This is probably why I
never noticed this bug that (most) everyone is yelling about! :-)  The real
reason I run with viraw mode is so the ^W word erase and ^U (my line kill)
behave as in vi as soon as I start typing a command.

Emacs mode of ksh always runs in raw mode so no need for the ESC game to
switch from cooked to raw.
-- 
--
Eric J. Krohn
krohn@ctt.ctt.bellcore.com  or  {bcr,bellcore}!u1100a!krohn
Bell Communications Research,	444 Hoes Ln,    Piscataway, NJ 08854