home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15848 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.9 KB  |  53 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!gatech!asuvax!cs.utexas.edu!torn!newshost.uwo.ca!uwovax.uwo.ca!brent
  3. From: brent@uwovax.uwo.ca (Brent Sterner)
  4. Subject: Re: History in ksh?
  5. Organization: University of Western Ont, London
  6. Date: Fri, 22 Jan 1993 15:16:11 GMT
  7. Message-ID: <1993Jan22.111611.1@uwovax.uwo.ca>
  8. References: <1299@alsys1.aecom.yu.edu> <1993Jan21.141915.3359@candle.uucp>
  9. Sender: news@julian.uwo.ca (USENET News System)
  10. Nntp-Posting-Host: hydra.uwo.ca
  11. Lines: 40
  12.  
  13. In article <1993Jan21.141915.3359@candle.uucp>, root@candle.uucp (Bruce Momjian) writes:
  14. > Chaim Manaster (manaster@yu1.yu.edu) wrote:
  15. > Add this to your .kshrc file:
  16. >     set -o emacs
  17. >     alias __A=^P
  18. >     alias __B=^N
  19. >     alias __C=^F
  20. >     alias __D=^B
  21. > Now the ^P is really a control-P in the file.  The __? alias works as an
  22. > alias for ESC-[-?.  This is mentioned in some ksh manual pages, not in
  23. > others.  This assumes ANSI-compatable cursor keys.
  24.  
  25.    The system I work on is AIX.  I'm very new to unix in general, and really
  26.    appreciated the following uuencoded form of the above, especially since I
  27.    had no idea how to create control characters within a file.
  28.  
  29. table
  30.  !"#$%&'()*+,-./0123456789:;<=>?
  31. @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
  32. begin 644 .filespec
  33. M<V5T("UO(&5M86-S"@IA;&EA<R!?7T$](A B(" @(" @(" C(')E8V%L;"!Pz
  34. M<F5V:6]U<R!L:6YE"F%L:6%S(%]?0CTB#B(@(" @(" @(",@9V]T;R!N97ATy
  35. M(&QI;F4*86QI87,@7U]$/2("(B @(" @(" @(R!G;R!B86-K(&EN(&$@;&ENx
  36. M90IA;&EA<R!?7T,](@8B(" @(" @(" C(&=O(&9O<G=A<F0@:6X@82!L:6YEw
  37. !"@IAv
  38.  u
  39. end
  40.  
  41.    Further, if you happen to be running AIX, you require PTF U406855
  42.    for ksh in AIX 3.2 to make it all behave.
  43.  
  44.    Hope this is useful to someone.  b.
  45. --
  46. Brent Sterner                AIX System Manager Apprentice
  47. Fast:        <BRENT@uwovax.uwo.ca>    <129.100.2.13>
  48. Medium:        (519)661-2151 x 6036    Fax:   (519)661-3486
  49. Slow:  Computing & Communications Services, Natural Sciences Building
  50.        The University of Western Ontario, London, Ontario, Canada  N6A 5B7
  51.