[comp.soft-sys.andrew] HP9000 and Typescript

kriso@NORTHSTAR.DARTMOUTH.EDU (Kris Olander) (02/19/91)

Good morning folks,

I've been attempting to add the suggested patches to tscript.c that 
Todd Inglett suggested a few months back.  I've had little success.

I suspect that HP isn't following System V type rules for inheriting a 
controlling terminal.  I'm guessing this because a header file called
'sys/bsdtty.h' is included when compiling on hpux.  

Has anyone been able to make a typescript on an HP 9000 system
fork and open its own controlling terminal?


-Kris Olander

p.s.  If this is fixed in patch 10, where can I get my hands on an early
        copy?  We are connected to the ITC via AFS, so if some kind soul
        could supply us with a path to the patch, ... :)

gk5g+@ANDREW.CMU.EDU (Gary Keim) (02/22/91)

Excerpts from misc: 19-Feb-91 HP9000 and Typescript Kris
Olander@northstar.d (683+0)

> I've been attempting to add the suggested patches to tscript.c that 

> Todd Inglett suggested a few months back.  I've had little success.


Yes, this is a tough one.  We've applied Todd's patch to typescript and
it appears to work fine on rt_r{3,4}, rs_aix31, sun3_35, and ps_aix12
platforms.  Nobody has tested it on the HP boxes.  We don't have a
working HP at the moment.

Excerpts from misc: 19-Feb-91 HP9000 and Typescript Kris
Olander@northstar.d (683+0)

> I suspect that HP isn't following System V type rules for inheriting a 
> controlling terminal.  I'm guessing this because a header file called
> 'sys/bsdtty.h' is included when compiling on hpux.  


I think that you may be right about that.  That file is still include in
the new version of tscript.c but you may find that you need to remove
that inclusion.

Excerpts from misc: 19-Feb-91 HP9000 and Typescript Kris
Olander@northstar.d (683+0)

> p.s.  If this is fixed in patch 10, where can I get my hands on an early
>         copy?  We are connected to the ITC via AFS, so if some kind soul
>         could supply us with a path to the patch, ... :)


As I said, typescript may be fixed in what will be patch10.  We haven't
yet put together a test patch10 but when we do we'll let you know where
it lives so that you can test it for us.  Thanks for the offer.

Gary Keim
ATK Group