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.


-- 
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/21194.41999.179696.729...@chiark.greenend.org.uk

Reply via email to