Path: 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 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 #include 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