[Top][All Lists]

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

Re: Cat and -u, unbuffered output support

From: Paul Jarc
Subject: Re: Cat and -u, unbuffered output support
Date: Tue, 24 Jun 2003 12:08:41 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

address@hidden (Bob Proulx) wrote:
>    % stty raw
>    % cat -u > fi

This may not work; the interactive shell may reset the tty modes after
each command, so the first stty would bhave no effect.  This might
% sh -c 'stty raw; cat -u > fi; stty sane'

> Either Stevens with Advanced Programming in the UNIX Environment or
> Rochkind with Advanced UNIX Programming would be my references for
> detailed information about the tty driver.  But I am sure it is
> documented elsewhere too.

The glibc manual has some good bits.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]