home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16085 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.9 KB  |  58 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!sdd.hp.com!hp-col!fc.hp.com!rwp
  3. From: rwp@fc.hp.com (Bob Proulx)
  4. Subject: Re: Which Shell to Use?
  5. Sender: news@fc.hp.com (news daemon)
  6. Message-ID: <BxFpIA.1oq@fc.hp.com>
  7. Date: Mon, 9 Nov 1992 05:49:22 GMT
  8. References: <1992Nov07.011125.8310@microsoft.com>
  9. Organization: Fort Collins
  10. X-Newsreader: TIN [version 1.1.8 PL6]
  11. Lines: 45
  12.  
  13. Satish Chittamuru (satishc@microsoft.com) wrote:
  14. : BTW, how does one accomplish file name completion in bash. An ESC
  15. : used to do it in ksh, but I haven't been able to do it in bash. I
  16.  
  17. In emacs mode it is TAB.  But to help me be compatible between csh,
  18. ksh and bash I put the following in my $HOME/.inputrc file.  Bash
  19. reads it at startup.  My terminal sends a control-h not a DEL so I
  20. added that too.
  21.  
  22. M-ESC: complete
  23. M-Control-h: backward-kill-word
  24. M-TAB: tab-insert
  25.  
  26. With this ESC-ESC does completion just like ksh.  ESC-backspace kills
  27. the word behind.  ESC-TAB inserts an explicit TAB.  (I shouldn't need
  28. that but I did.)
  29.  
  30. : usually do a C-? to see my options and manually type in the rest
  31. : of the stuff. I know there is a bash.dvi available but I don't have
  32. : TeX setup yet. If anyone can send me the PS version of the manual,
  33.  
  34. Just for you info... There is online help for shell builtins of a sort
  35. in bash.  Try typing in "help help" to get started.  Then try other
  36. commands. 
  37.  
  38. rwp@hprwp:/users/rwp: help help
  39.  
  40. help: help [pattern ...]
  41.     Display helpful information about builtin commands.  If PATTERN is
  42.     specified, gives detailed help on all commands matching PATTERN,
  43.     otherwise a list of the builtins is printed.
  44.  
  45. rwp@hprwp:/users/rwp: help echo
  46.  
  47. echo: echo [-neE] [arg ...]
  48.     Output the ARGs.  If -n is specified, the trailing newline is
  49.     suppressed.  If the -e option is given, interpretation of the
  50.     following backslash-escaped characters is turned on:
  51.         \a      alert (bell)
  52.         \b      backspace
  53. [...deleted...]
  54.  
  55. Bob
  56.  
  57.  
  58.