home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / bash / bug / 549 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.8 KB  |  57 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
  3. From: chet@odin.ins.cwru.edu (Chet Ramey)
  4. Subject: Re: completion and C-o
  5. Message-ID: <9208131345.AA13211.SM@odin.INS.CWRU.Edu>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: chet@po.cwru.edu
  8. Organization: GNUs Not Usenet
  9. References: chet@odin.ins.cwru.edu (Chet Ramey)
  10. Distribution: gnu
  11. Date: Thu, 13 Aug 1992 05:45:38 GMT
  12. Approved: bug-bash@prep.ai.mit.edu
  13. Lines: 42
  14.  
  15. > I am having some problems with line editing.  Here is the
  16. > only line in my ~/.inputrc file:
  17. > set horizontal-scroll-mode On
  18. > The C-O command does not work, although bind -v returns,
  19. > among other things,
  20. > operate-and-get-next can be found on "\C-o".
  21. > When I say that it doesn't work, I mean that the previous
  22. > line I'm viewing just stays there, and can still be used as
  23. > input to the shell by pressing enter.
  24.  
  25. ^O happens to be the tty driver's `flush output' character.  You
  26. have to disable that with `stty flush u' before ^O works.
  27.  
  28. > Also, hostname completion is the only type of completion that
  29. > doesn't work.  Here I suspect I didn't do something like
  30. > inform the shell about a name server.
  31.  
  32. You need to provide the name of a file in /etc/hosts format for bash
  33. to use as the value of the `hostname_completion_file' variable.  If
  34. that variable doesn't exist, bash uses /etc/hosts.  Since you're on
  35. a Sun, I suspect your /etc/hosts is quite small.  Try
  36.  
  37.     ypcat hosts > /tmp/hosts.$$
  38.     hostname_completion_file=/tmp/hosts.$$
  39.  
  40. > I noticed that I can't get a list of files in this case:
  41. > bash$ more *.c
  42.  
  43. Bash completion does not do globbing.
  44.  
  45. Chet
  46.  
  47. --
  48. ``The use of history as therapy means the corruption of history as history.''
  49.     -- Arthur Schlesinger
  50.  
  51. Chet Ramey, Case Western Reserve University    Internet: chet@po.CWRU.Edu
  52.  
  53.