SUMMARY: Esc K for history in ksh

From: Joe R. Jah (jjah@sol.ccsf.cc.ca.us)
Date: Sat Jan 25 1997 - 01:00:13 CST


Many thanks to:

Craig Gates <cgates@fnoc.navy.mil>
Pete Schmitt <pete@voyager.crrel.usace.army.mil>
Jafar Shameem <jafar@finance.capital.ge.com>
"Marc S. Gibian" <gibian@stars1.hanscom.af.mil>
Mark Henderson <mch@squirrel.com>
"Mark A. Baldwin" <baldma@aur.alcatel.com>
"D461-Viet_Q_Hoang(0)82572" <vqh@dwrock.dw.lucent.com>
"Lau, Victoria H" <vlau@msmail2.hac.com>
Kris Briscoe <hxktb0@svho1nfs_1.supervalu.com>
Tim Evans <tkevans@eplrx7.es.dupont.com>
Keith Willenson <Keith.Willenson@sunny.health.state.mn.us>
Fernando Frota Redigolo <fernando@caju.larc.usp.br>
Charlie Mengler <charliem@mwh.com>
Ken Small <ken@trdlnk.com>
pam.herbert@imail.exim.gov
"Ing. Carlos R. Guevara" <cguevara@velu.com>
"Feeney, Tim" <Tim.Feeney@FMR.COM>
Alex Davis <adavis@groucho.sms.lmco.com>
john <john@tdi.com>
"Michael J. Shon {*Prof Services} Sun Rochester"<mshon@sunrock.East.Sun.COM>

Solution:

At the prompt (or in .profile or in /etc/profile) type 'set -o vi'

The original message:

> I run a Solaris 2.5 box. "Esc k" does not do what it is supposed to do in
> ksh, ie bringing the last command to the screen. As soon as I press Esc
> key "^[" pops up.
>
> Is there any thing I can do to correct that?

     _/ _/_/_/ _/ ___________ __o
     _/ _/ _/ _/ ______________ -\<,
 _/ _/ _/_/_/ _/ _/ ......O/ O
  _/_/ oe _/ _/. _/_/ ah jjah@sol.ccsf.cc.ca.us



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT