Path: utzoo!yunexus!ists!mathieu From: mathieu@ists.ists.ca (Pierre Mathieu) Newsgroups: comp.sys.hp Subject: UNIX C compilers and ANSI C Keywords: unix compiler Message-ID: <356@ists.ists.ca> Date: 30 Jan 89 22:18:12 GMT Article-I.D.: ists.356 Sender: news@ists.ists.ca Lines: 17 I've been trying to use function prototypes as described in the second edition of Kernighan & Ritchie. It appears though that the cc compiler on our HP9000 series 350 does not support these features. Can someone tell me if it is correct that the C compiler is a vanilla C conforming to the first edition of K&R? Should I abandon prototyping, especially if I want my programs to be easily portable? On a second note, I have unsuccessfully tried to figure out what the form of the tset command should be so that it will properly detect the terminal type when rlogin is used from another machine over an Ethernet link. I am using HP-UX 6.1 with release 6.0 of the Berkeley network utilities. (To narrow this down a bit, what device should I use with the -m option (ether, lan)? It works with ether on another of our HPs which hasn't yet been upgraded from HP-UX 5.5 (or so).) Does anyone know what this should be?