terry@tah386.manhattan.ks.us (Terry Hull) (01/21/90)
I have bash-1.04 running under SCO UNIX 3.2, but I currently have a major problem with it. I am compiling it with rcc, the AT&T C compiler, since it is not as picky with variable scope as the Microsoft compiler. For example, cc claims that interactive and array_needs_making is undefined in builtins.c. I am defining ATT386 and SYSV in the build. Anyway, I had to tweek glob.c so that it would use the proper includes and readline.c so that bytes.low & 0x7f was not on the left hand side of an assignment. Now when I am running a shell script as follows: for i in 1 2 3 4 5 6 7 8 do cp /etc/termcap /usr/tmp/termcap echo $i done and I interrupt it with DEL while the copy is executing, the cp will terminate, but the script will continue to run to completion. Needless to say, this is somewhat of a problem for me. Secondly, why are both ttold.h (nojobs.c) with the sgtty structure, and termio.h (readline.c) with the termio structure being used? Also, readline only includes termio.h, which on SCO anyway does not define the sgtty structure, but readline uses the sgtty structure. Thirdly, why do defines for both i386 and ATT386 exist? Any place one is used, they are both used. Lastly, bash will not print it's prompt when envoked as a shell inside GNU Emacs on my system. It works, but just does not print the prompt. I think bash will be a GREAT shell when it is complete. Thanks for all your efforts. -- Terry Hull Department of Electrical and Computer Engineering, Kansas State University Work: terry@eecea.eece.ksu.edu, rutgers!ksuvax1!eecea!terry Play: terry@tah386.manhattan.ks.us, rutgers!ksuvax1!eecea!tah386!terry