home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os9 / 1406 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.1 KB  |  50 lines

  1. Newsgroups: comp.os.os9
  2. Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!jabba.ess.harris.com!mlb.semi.harris.com!x102a!ferguson
  3. From: ferguson@x102a.harris-atd.com (ferguson ct 71078)
  4. Subject: Re: Information on OSK
  5. References: <ceyGu9600YUnIiy4pk@andrew.cmu.edu> <1992Nov5.204909.20283@newshub.sdsu.edu>
  6. Date: Sat, 7 Nov 1992 06:09:05 GMT
  7. Nntp-Posting-Host: x102a.ess.harris.com
  8. Reply-To: ferguson@x102a.ess.harris.com (ferguson ct 71078)    
  9. Organization: Harris Corporation GSS, Melbourne, Florida
  10. Sender: news@mlb.semi.harris.com
  11. Message-ID: <1992Nov7.060905.7411@mlb.semi.harris.com>
  12. Lines: 36
  13.  
  14. In article <1992Nov5.204909.20283@newshub.sdsu.edu> butler@saturn.sdsu.edu (Michael Butler) writes:
  15. >In the latest FAQ of OSk that was published, this was said about
  16. >the TOP shell 'sh':
  17. >
  18. >........     It supports aliasing, command-line editing, history,
  19. >environment variable replacement, shell scripting, the `command`
  20. >operator   .............
  21. >
  22. >I am trying to use it right now, and am able to get the aliasing and
  23. >history functions to work.  I do not know how to use the command-line
  24. >editing though.  Any hints ??
  25. >
  26. >Thanks,
  27. >
  28. >Mike Butler
  29. >butler@saturn.sdsu.edu
  30. >
  31.  
  32.  
  33. I tinkered with the bourne shell for a while (and gave up) and the
  34. following is from memory.  First of all, the command line editing did
  35. not work completely unless 'sh' was the login shell.  When executed as
  36. a subshell to a 'shell' parent, only a few of the command line editing
  37. commands worked.  Command history did not work at all unless 'sh' was
  38. the login shell.
  39.  
  40. The command line editing key bindings are borrowed from emacs.  ^A
  41. moves the cursor to the beginning of the line being edited.  ^E to the
  42. end of the line.  ^D deletes the character under the cursor.  <RUBOUT>
  43. deletes the character preceding the cursor.  There may be others, but
  44. these are the most commonly used.  
  45.  
  46. Chuck Ferguson             Harris Government Information Systems Division
  47. (407) 984-6010             MS: W1/7742  PO Box 98000  Melbourne, FL 32902
  48. Internet:                  ferguson@x102c.ess.harris.com
  49. Usenet:                    uunet!x102a!x102c!ferguson
  50.