Strange hostname completions after unset HOSTFILE

2009-08-02 Thread Freddy Vulto
Configuration Information: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bas

Re: Strange hostname completions after unset HOSTFILE

2009-08-02 Thread Chet Ramey
Freddy Vulto wrote: > Bash Version: 3.2 > Patch Level: 48 > Release Status: release > > Description: > The manual says that upon unsetting HOSTFILE, the hostname list is > cleared: > > HOSTFILE > Contains the name of a file in the same format as /etc/hosts > that

Re: Need info on input keys

2009-08-02 Thread Mike Stroyan
On Tue, Jul 07, 2009 at 12:17:37PM +0530, seshikanth varma wrote: > I need to implement history feature in an emulated shell environment. I need > to read keys present in the keyboard and define handler for each key. For > example, Up arrow gives the previous command in the history. Can u please >