Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Question about terminal input buffering Message-ID: <15154@smoke.brl.mil> Date: 10 Feb 91 09:23:42 GMT References: <1991Feb9.225929.4447@jwt.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 11 In article <1991Feb9.225929.4447@jwt.UUCP> john@jwt.UUCP (John Temples) writes: >Why, when doing something like "cat > file" and typing input from the >keyboard, are long lines truncated? On my System V box, it appears >as though the first 256 characters of a long input line are discarded >when I look at "file". The behavior when more than a certain amount of canonical tty input is buffered up without a new-line is documented in your UNIX Programmer's Reference Manual or Adminstrator's Reference Manual. The behavior varies across different UNIX implementations. One typical one is to just beep and discard everything typed to that point.