Date: Tue, 26 Aug 2008 20:52:50 +0300 From: Giorgos Keramidas <keramida@freebsd.org> To: Ed Schouten <ed@80386.nl> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Inserting flow-control chars with an mpsafetty kernel Message-ID: <878wujll3h.fsf@kobe.laptop> In-Reply-To: <20080826160144.GG99951@hoeg.nl> (Ed Schouten's message of "Tue, 26 Aug 2008 18:01:44 %2B0200") References: <87fxot5hoi.fsf@kobe.laptop> <20080826160144.GG99951@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Aug 2008 18:01:44 +0200, Ed Schouten <ed@80386.nl> wrote: > Screen(1) is a fairly moronic written application, which uses packet > mode for no sensible reason at all. If you just comment out TIOCPKT in > /usr/include/sys/ttycom.h and recompile screen(1), your problems are > gone, right? Yep. That fixed it. I just #ifdef'd out the TIOCPKT* stuff: #if 0 #define TIOCPKT _IOW('t', 112, int) /* pty: set/clear packet mode */ #define TIOCPKT_DATA 0x00 /* data packet */ #define TIOCPKT_FLUSHREAD 0x01 /* flush packet */ #define TIOCPKT_FLUSHWRITE 0x02 /* flush packet */ #define TIOCPKT_STOP 0x04 /* stop output */ #define TIOCPKT_START 0x08 /* start output */ #define TIOCPKT_NOSTOP 0x10 /* no more ^S, ^Q */ #define TIOCPKT_DOSTOP 0x20 /* now do ^S ^Q */ #define TIOCPKT_IOCTL 0x40 /* state change of pty driver */ #endif and rebuilt screen. In the following few days I'll be upgrading more ports, so if this change breaks anything I'll report back :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?878wujll3h.fsf>