From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200007200323.XAA26912@cse.psu.edu> From: "James A. Robinson" To: Colin DeVilbiss , 9fans@cse.psu.edu Subject: Re: [9fans] 9term? In-reply-to: Message from Colin DeVilbiss of "Wed, 19 Jul 2000 22:14:57 EDT."References: <20000719221456.A27835@000pri069.bresnanlink.net> <20000719221456.A27835@000pri069.bresnanlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7831.964063383.1@aubrey.stanford.edu> Date: Wed, 19 Jul 2000 20:23:03 -0700 Topicbox-Message-UUID: e6c547a4-eac8-11e9-9e20-41e7f4b1d025 > any help or pointers to updated source or anything of the sort would be > much appreciated. Get the source from the Debian folks. They maintain a version that compiles (with lots of warnings, but it works). As I recall, the only stuff I had to change was to muck about with pty.c. The messy stuff was dealing with the ttmode flags (gawd that code is UGLY): /* * Get the original modes from a (pseudo)-tty. * Supply a default value if we can't. */ void gttymodes(int fd) { modenames *mp; #ifdef LINUX ttmode.c_iflag = (BRKINT | IGNPAR | ICRNL | IXON); ttmode.c_oflag = (OPOST | ONLRET); /*ttmode.c_cflag = (B9600 | PARENB | CS8 | CREAD);*/ ttmode.c_cflag = (B9600 | CS8 | CREAD); ttmode.c_lflag = (ISIG | ICANON | ECHO | ECHOK); #else Ugh.