[comp.unix.aix] ksh on aix?

ben@cunixf.cc.columbia.edu (Ben Fried) (01/04/90)

I've successfully compiled a hacked-up ksh on a PS/2 model 80, running
AIX.  It seems to work fine, except that users (even ones with system as
their primary group) can't su with it, and can't use the open command -
it returns error 069-055: 'You cannot Open the "xxx" window because the
system cannot find the necessary control information', which the
messages reference says is caused because the system was not able to
Open the console window.  What's the problem?  Do I have to hack on the
ksh more?  I notice that open and on are documented in the sh and csh
man pages, indicating that they may be shell builtins.

Oh - by hacked-up, I mean a ksh that behaves in a little more
"tenex"-like fashion: completion on tab or esc, listing on '?', more
emacs-like control-t behavior, uppercase et. al. backwards added, and a
"kept forks" concept, similar to tops-20's kept jobs.  These shouldn't
be causing my problems, though.

Ben
--
Benjamin Fried
ben@cunixf.cc.columbia.edu				rutgers!columbia!ben

dyer@spdcc.COM (Steve Dyer) (01/04/90)

AIX PS/2's setpgrp() is the Sys V setpgrp.  You want to call instead
setpgid(pid, pgrp), which has the same calling sequence as BSD4.3's setpgrp.

If you DON'T do this, and mistakenly call setpgrp(), you'll get the problems
you report ("open" command not working, etc.)

-- 
Steve Dyer
dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
dyer@arktouros.mit.edu, dyer@hstbme.mit.edu