On Thu, 2013-06-27 at 11:20 +0200, Stefano Lattarini wrote: > tags 14707 + patch > tags 14707 - moreinfo > thanks > > On 06/24/2013 11:35 PM, Diab Jerius wrote: > > > > On Mon, 2013-06-24 at 23:22 +0200, Stefano Lattarini wrote: > >> > >> On 06/24/2013 04:45 PM, Diab Jerius wrote: > >>> > >>> On the Linux boxes I compile on, there's a /usr/local/bin/cl executable > >>> (from the IRAF package). Unfortunately, it seems that t/compile4.sh > >>> interprets that as a Microsoft compiler. > >>> > >>> The IRAF cl is an interactive program, > >>> > >> What happens if the program is run with its stdin redirected from > >> /dev/null? > >> Does it exit immediately, or does it still hang? > > > > It exits, quite verbosely: > > > > % cl < /dev/null > > Warning: no login.cl found in login directory > > apropos fitsutil lists phist stecf utilities > > color gemini mscred plot stlocal xray > > ctio gmisc nmisc proto stsdas > > dataio images noao rvsao system > > dbms language obsolete softools tables > > > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> ERROR: use `logout' to log out of the CL > > ecl> % > > > Thanks, this is what I needed. Below is a patch that I hope should > fix your problem. Can you give it a try? >
That fixes the problem. Thanks, Diab