Re: 'tty' output on kFreeBSD, etc. within sbuild

2014-01-06 Thread Ian Jackson
Alastair McKinstry writes ("Re: 'tty' output on kFreeBSD, etc. within sbuild"): > On 06/01/2014 12:39, Ian Jackson wrote: > > But perhaps more information would enable us to give better advice. > > Thanks, I've been able to adapt the build scripts so it

Re: 'tty' output on kFreeBSD, etc. within sbuild

2014-01-06 Thread Alastair McKinstry
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 pack

Re: 'tty' output on kFreeBSD, etc. within sbuild

2014-01-06 Thread Ian Jackson
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: >

Re: 'tty' output on kFreeBSD, etc. within sbuild

2014-01-03 Thread Colin Watson
On Fri, Jan 03, 2014 at 07:12:51PM +, Roger Leigh wrote: > You aren't guaranteed to have a controlling terminal, particularly when > run via buildd. So while stdin/out/err are all connected and > functional, they are either null (stdin) or pipes (out/err). If you > need to output anything, th

Re: 'tty' output on kFreeBSD, etc. within sbuild

2014-01-03 Thread Roger Leigh
On Fri, Jan 03, 2014 at 06:51:08PM +, Alastair McKinstry wrote: > 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 > >

'tty' output on kFreeBSD, etc. within sbuild

2014-01-03 Thread Alastair McKinstry
Hi, 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). This fails on