[gnu.bash.bug] HP-UX, ignoreeof, key binding

nickson@comp.vuw.ac.nz (Ray Nickson) (07/10/89)

Hi!   I just got my first bug-bash's today; can somebody please fill me
in on any important stuff (bug fixes and/or discussion) that I've
missed since the list started?

I've installed the wonderful bash 1.01 at our site, which includes
HP300s running MORE/BSD, 300's running HPUX, an HP835 running HPUX,
Sun3s and a pyramid 90x.

I fixed the spelling :-) in the #ifdef HPUX'd sections to make it run,
and defined the HPUX ioctls and signal names so that we can have job
control, which _is_ fully supported under recent HPUX releases.

I made ignoreeof work as documented with a minor patch to parse.y; now
ignoreeof=1 will ignore the first eof and exit on the second.

I also added a `bind' builtin, to allow interactive rebinding of rl
functions.  I'm working on hacking in multiple-key bindings by allowing
keymap entries to be keymaps (a la emacs); I presume others have wanted
this so I'll only post if I finish it first :-).

I've thought a little bit about the ability to bind keys to arbitrary
shell functions, which is something I've often wanted in a shell;
perhaps we could discuss possible semantics here if that hasn't already been done.

Finally, a couple of bugs/misfeatures I haven't got around to looking at yet:

- job control: the shell sometimes allows itself to be suspended with C-Z
- if I suspend 2 jobs, then kill the second, bash's notion of current
job       gets screwed so fg doesn't work
- the yank command sometimes doesn't work, appearing to leave the
terminal      in cooked mode (?!?)
- redirecting stdout on a shell function seems to cause the whole
shell's       stdout to be redirected for ever more.
- shell.c, line 328: tmb says don't execute .bashrc in a login shell; I
        DISAGREE!   (discussion please!)

Sorry if any/all these issues have been thrashed out already; of course
if they haven't I can follow up with more details.

Many thanks to all concerned, bash really is wonderful!!!

-rgn
--
nickson@comp.vuw.ac.nz   ...!uunet!vuwcomp!nickson   + 64 4 721000x8142