nohup and ksh

Thad P Floryan thad at cup.portal.com
Thu Nov 22 09:42:50 AEST 1990


jim at jagubox.gsfc.nasa.gov (Jim Jagielski) in <3955 at dftsrv.gsfc.nasa.gov>
writes:

	I use the Korn shell (ksh) all the time. I like it alot. However, as
	you other "Korners" out there may know, nohup does NOT like ksh and
	will kill your background process if you log off even if you proceed
	it with "nohup".

Not one to defend software I didn't write, I was incredulous at Jim's comment
(above); I simply didn't believe it.  And I still don't.

Did you remember to append an "&" on the command line per the following
example (you MUST have, else why the comment "background process"?):

	ksh> nophup  command  &

In any event, I just tried the command form "nohup command &" on four systems
I could access from home (two HP-UX (3.* and 7.*), one Amdahl UTS, and one 3B1)
using the "stock" ksh and nohup suppplied with each system and they all worked
fine, so the problem might be specific to A/UX; I'll try it out on some other
systems and on both A/UX 2.0 and 1.* when I get to my office later today.

Sheesh, if it IS a problem with A/UX, then I've problems, since I need that
capability; will check out Jim's workaround since I just checked the AT&T
ToolChest and the price for the sources to ksh 88e is $3,000.  Anyone brought
up "bash" on A/UX yet?

This is getting ridiculous: to get my job done, I've had to replace MAJOR (to
me) A/UX components since the cc and make supplied with A/UX simply cannot
handle the tasks I needed performed (am now using the GNU gcc and make).  And
I finally located a version of "curses" that is at least compatible with
SVR3.2 ... in the IBM PC marketplace of all places (from Aspen Scientific).

Sheesh.  If it wasn't for several customers asking for my product on A/UX, I
wouldn't be using this platform; I already have SVR3.2.2 and SVR4 "boxes"
available to me for my major port to 680x0 platforms (I singled the CPU out
because I also have a code-generator in the product).

Thad Floryan [ thad at cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ]



More information about the Comp.unix.aux mailing list