Thread View: gnu.bash.bug
2 messages
2 total messages
Started by Jody Baze
Thu, 05 Oct 1989 06:14
Bash port to HP9000s835?
Author: Jody Baze
Date: Thu, 05 Oct 1989 06:14
Date: Thu, 05 Oct 1989 06:14
16 lines
1130 bytes
1130 bytes
I'm having some problems porting bash (1.03) over to our HP9000 series 835.
We're running HP-UX version 3.10. I keep getting nasty messages complaining
about undefined symbols (TIOCSETN is among them. It's correct in complaining
about it though - nowhere else on the system do we have anything called
TIOCSETN. This is, of course, only one example). Anybody got a clue?
Thanks,
JLB
--
Jody Baze (baze@jupiter.nmt.edu) | Petroleum Recovery Research Center
"You can lead a camel to a | New Mexico Tech, Campus Station
neddle, but you can't make | Socorro, NM 8781
him thread it..." | (505) 835-5812
Re: Bash port to HP9000s835?
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads