Article View: gnu.bash.bug
Article #1051BASH on DECstations
From: David C Lawrence
Date: Mon, 18 Dec 1989 03:22
Date: Mon, 18 Dec 1989 03:22
49 lines
2162 bytes
2162 bytes
Would anyone who has gotten BASH to run (with functioning readline) on
the DECsystem 5400/DECstation 3100 running Ultrix v3.1 please contact
me? I've got gcc 1.36 compiled for it but neither gcc nor cc produces
a fully functional bash binary. gcc -traditional didn't work because
of many complaints about parse errors in the system header files.
Without the -traditional, this was the only fatal compilation message
I got:
gcc -c -DVAX -DTARGET=VAX -DBsd -I./ builtins.c
builtins.c: In function logout_builtin:
builtins.c:1231: `interactive' undeclared (first use this function)
builtins.c:1231: (Each undeclared identifier is reported only once
builtins.c:1231: for each function it appears in.)
builtins.c: In function exit_or_logout:
builtins.c:1252: `interactive' undeclared (first use this function)
builtins.c: In function declare_internal:
builtins.c:2414: `array_needs_making' undeclared (first use this function)
*** Error code 1
(The VAX/Bsd combination was suggested by someone who has it going on
the DECs, but whose name and address I've unfortunately lost.)
Upon blithely adding the extern int declarations to the three
functions which builtins.c complained about, this was the result:
$ ./bash
initialize_jobs: get line disc: jobs.c: Not a typewriter
bash$
Command execution seems to work but there is no readline activity at
all -- control characters just get inserted.
It also has problems like this:
bash$ rm bash
rm: override protection 755 for bash?
[1]+ Stopped (tty input) rm bash
bash$ fg
rm bash
[1]+ Stopped (tty input) rm bash
bash$
Any advice for getting this running in the DECstation environment
would be greatly appreciated.
Dave
--
(setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))
Technical Details
Message-ID:
<N-}WC#@rpi.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!taleShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!tale From: tale@cs.rpi.edu (David C Lawrence) Newsgroups: gnu.bash.bug Subject: BASH on DECstations Message-ID: <N-}WC#@rpi.edu> Date: 18 Dec 89 03:22:06 GMT Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 49