Re: [PATCH]: script: don't flush input when starting script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 29 July 2008 23:56:05 Andrew McGill wrote:
> script currently flushed the input buffer when starting up.  This
> undocumented behaviour prevents typeahead when starting up (e.g. as part of
> .profile). Rather retain queued input. Don't discard queued output either.
Replying to my own patch.  To duplicate the issue, run:
      sleep 5 ; script
During the `sleep', type something.  When script starts, that something is 
discarded.  You will get similar behaviour by running `script' on a live CD 
distribution, where the loading time is significant.

&:-)
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux