[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exiting tail
From: |
Paul Eggert |
Subject: |
Re: exiting tail |
Date: |
Mon, 14 Aug 2006 09:04:02 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Pádraig Brady <address@hidden> writes:
> if (isatty(stdin) && isatty(sterr)) {
> fprintf(stderr,"Hit Ctrl-d to end\n");
> }
>
> Can anyone think of non human interactions
> between tail and terminals where the above
> wouldn't be appropriate?
Sure: "tail -f /dev/tty". Let's not make this change; it's a can of
worms.