Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!snorkelwacker!think!ames!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.bugs.4bsd Subject: Re: script problem Keywords: script, pty, ^S/^Q, RAW/CBREAK modes, TIOCPKT Message-ID: <42001@lll-winken.LLNL.GOV> Date: 20 Dec 89 02:16:45 GMT References: <1571@uwm.edu> Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov (Casey Leedom) Organization: Lawrence Livermore National Laboratory Lines: 18 | From: wls@csd4.csd.uwm.edu (Bill Stapleton) | | I note that other programs, notably rlogin, use the TIOCPKT feature of | the pty to figure out when RAW mode is necessary, running CBREAK (with its | own local flow-control) otherwise. Is there a reason that script doesn't | do this? (apologies if I've condensed this down past making any sense) I think you're just running into the fact that script isn't used that often and rlogin, etc. are. It took extra code to do the TIOCPKT processing you describe and it just never became that important an issue. I'm sure that, if you were to write, test and submit it, Berkeley would accept simple patch implementing the same kind of line control facilities found in rlogin. Unfortunately Berkeley is far too busy with other things with higher priorities to have any time left over for this. I mean, which would you rather have: a new virtual memory, NFS, etc. or this small problem in script fixed? :-) Casey