jhd@irfu.se (Jan Dj{rv) (02/09/90)
Hi, I've got bach-1.04 here on a machine which is a HP 835 running HP-UX 7.0. After a bit of hacking in the code I managed to get it working. However, in jobs.c you say: /* You must give the tty away before you set the process group, and you must do these things only in the child. Otherwise, race conditions can occur. */ The thing is that no matter how I set process group, I MUST give away the terminal AFTER setting the process group, quite the opposite to the above statement. If I do as you say, I always get Stopped (terminal output) on commands I try to execute. I know wonder if I'm in for big trouble or if perhaps there is a difference in semantics for this between BSD and SYSV-based systems? One other thing is that when I used bison to compile parse.y I got a nasty bug. When I did something like [ -n "$BASH" ] || echo "Hello" the shell died (bad connector) and mailed you a bug report. Using yacc made the bug go away. I don't know the version of bison but the guy who installed it assures me that it's the latest. I also added that /bin/login be executed without forking (as in ksh), the ksh cd - , to take you back to $OLDPWD. I also changed in vi-mode so that cc and dd works, and changed the keybindings so they more resemble ksh. I will mail you the patches for this if you are interested. Jan D. -- ------------------------------------------------------------------------ Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden [In Swedish: Institutet f|r RymdFysik, Uppsalaavdelningen (IRFU)] Phone: (+46) 18-403005. Telex: 76036 (IRFUPP S). Fax: (+46) 18-403100 INTERNET: jhd@irfu.se UUCP: ...!uunet!mcvax!sunic!irfu!jhd ------------------------------------------------------------------------