On 06/01/2014 12:39, Ian Jackson wrote:
> Alastair McKinstry writes ("'tty' output on kFreeBSD, etc. within sbuild"):
>> Can anyone answer the following question which is puzzling me;
>> I have a piece of csh code which gets called during the build of a package
>> i'm maintaining. it does the following:
>>
>> echo "useful information" > /dev/tty
>>
>> within the script. (stdout, stderr being redirected, I think).
> Others have explained why you shouldn't do this.
>
> If you want to bypass some redirection in the rest of your package's
> build system, you could stash a copy of stderr in fd 3 or 5 or
> something (eg, in the rules file, with 3>&2), and then write to fd 5.
>
> But perhaps more information would enable us to give better advice.
>
> Thanks,
> Ian.
>
>
Thanks, I've been able to adapt the build scripts so it is not necessary;
they just output to stdout.

Regards
Alastair


-- 
Alastair McKinstry  , <alast...@sceal.ie> , <mckins...@debian.org>    
http://blog.sceal.ie

Anyone who believes exponential growth can go on forever in a finite world
is either a madman or an economist - Kenneth Boulter, Economist.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52cab929.9050...@sceal.ie

Reply via email to