Article View: gnu.bash.bug
Article #660Re: Bash port to HP9000s835?
From: Bob Desinger
Date: Mon, 09 Oct 1989 08:08
Date: Mon, 09 Oct 1989 08:08
21 lines
1346 bytes
1346 bytes
Jody Baze (baze@nmtsun.nmt.edu) writes:
> nowhere else on the system do we have anything called TIOCSETN.
TIOCSETN is a Berkeleyism for the System V TCSETA parameter. My cheat
sheet on porting BSD code to SysV sez:
Terminal IO calls:
--- BSD --- --- SysV ---
#include <sgtty.h> #include <termio.h>
struct sgttyb tty; struct termio tty;
TIOCSETN TCSETA [not TCSETAW or TCSETAF]
CBREAK ICANON and c_cc[VMIN] etc.
ttyflags = tty.sg_flag; tty_iflag, tty_oflag, tty_lflag
Marc Rochkind's book _Advanced_Unix_Programming_ treats terminal IO
under System V pretty thoroughly. HP ships a copy with each Series
800, so you should have one in your manual set. Rochkind doesn't
cover BSD in much depth, but the principles are the same.
Hope this helps.
-- bd
Technical Details
Message-ID:
<6780001@hp-ses.SDE.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!ginosko!ctrsol!sdsu!ucsdhub!hp-sdd!hplabs!hp-ses!bdReferences:
<3285@nmtsun.nmt.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!ginosko!ctrsol!sdsu!ucsdhub!hp-sdd!hplabs!hp-ses!bd From: bd@hp-ses.SDE.HP.COM (Bob Desinger) Newsgroups: gnu.bash.bug Subject: Re: Bash port to HP9000s835? Message-ID: <6780001@hp-ses.SDE.HP.COM> Date: 9 Oct 89 08:08:57 GMT References: <3285@nmtsun.nmt.edu> Organization: HP Software Engineering Systems, Palo Alto Lines: 21