From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075320706432.tru64-unix-managers.marc@archive.invalid> From: risler () cgmvax ! cgm ! cnrs-gif ! fr Date: Wed, 07 Jun 1995 11:17:06 +0000 To: tru64-unix-managers Subject: Q: NQS? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075320706432 Dear Gurus, I have installed NQS (CERN version) on my Alpha box (Dec Unix 3.0). Probably because I'm just stupid, I can't submit a job. Suppose I want to run the program FOO with the option -small. Here is the (elementary) script called foo.com: FOO -small << END ... ... input data ... END In interactive mode, no problem. Now if I want to run it in BATCH mode, the command "qsub foo.com" does'nt run FOO and results in the messages: stty: tcgetattr: Not a typewriter Not a terminal Can't << within ()'s I understood that NQS sets a variable ENVIRONMENT to BATCH when invoked, and that the value of $ENVIRONMENT should be used to "do something" about stty. But what, how and when? Thank you for your help, Jean-Loup --------------------------------------------------------------------- Jean-Loup Risler Tel: (33 1) 69 82 31 34 CNRS Fax: (33 1) 69 07 49 73 Centre de Genetique Moleculaire Email: risler@cgmvax.cgm.cnrs-gif.fr 91198 Gif sur Yvette Cedex France ---------------------------------------------------------------------