🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Brian Matthews Sun, 17 Sep 1989 18:53
Does anyone have bash working on System V?
#618
Author: Brian Matthews
Date: Sun, 17 Sep 1989 18:53
17 lines
1073 bytes
I recently picked up bash 1.03, and am trying to get it to run on a
fairly standard System V Release 2 box, but not having much luck.

The problems seem mostly to do with nojobs.c.  For instance, it uses
sigignore and sigrelse, which aren't available in SVR2, and nojobs.c
doesn't contain wait_for_{single,background}_pid functions, even
though jobs.c does and builtins.c calls them.

So, has anyone had any luck getting bash running on SVR2?  If so, could
you give me some pointers?

If no one's done this, I'll probably try to get it working (but it won't
be soon, being I have to do it in my copious free time :-).

Thanx much,
Brian L. Matthews
blm@6sigma.UUCP
Re: Does anyone have bash working on System V?
#622
Author: Tim Henrion
Date: Wed, 20 Sep 1989 18:04
20 lines
1190 bytes
I've got bash 1.03 to work, for the most part, on our SYSV.3.2
implementation. There are a few problems (a lot of them non-SYSV
dependent).

	1) A lot of the source files that have conditional (#ifdef)
	   code DON'T INCLUDE "config.h" (like parse.y)! You have to
	   fix this for files that need it
	2) You'll have to hack nojobs.c. You can take
	   wait_for_single_pid() from jobs.c but wait_for_background_pids()
	   uses job control stuff and can't be used. You'll have to
	   #ifdef JOB_CONTROL the calls to it out of builtins.c.

The only remaining problem I have is that it barfs sometimes trying
to execute shell scripts. I think the error message is:
	bash: can't execute binary file
or something like that. I'll see if I can find that one soon.

Tim Henrion
Banyan Systems Inc.
tim@banyan.com --or-- ...!buita!banyan!tim
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads