Welcome to iraf.net Saturday, April 20 2024 @ 06:36 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 input redirection
   
marco.03
 07/09/2014 05:05PM (Read 723 times)  
+----
Newbie

Status: offline


Registered: 12/19/2010
Posts: 10
according to http://iraf.noao.edu/faq/FAQsec12.html I should be able to run cl script from any shell by doing:
% cl
PHP Formatted Code

imstat dev$pix
logout
 

using the
cl -old

 
Profile Email
 Quote
marco.03
 07/09/2014 05:15PM  
+----
Newbie

Status: offline


Registered: 12/19/2010
Posts: 10
I am sorry, my previous post got all messed up, and I cannot edit it anymore, so I'll clarify my question
I am using IRAF v2.15.1a, I should be able to call the cl program from the shell. However running 'cl -old
PHP Formatted Code

imstat dev$pix
logout
 

does not work, and the following shell prompt is left with the characters ";24;80".
Without the -old option, the command enters an infinite loop. The same happens with newer versions of IRAF (e.g. 2.16.1), because essentially I think the -old option has no effect.
What am I doing wrong?

 
Profile Email
 Quote
marco.03
 07/09/2014 05:22PM  
+----
Newbie

Status: offline


Registered: 12/19/2010
Posts: 10
I think there is some kind of security mechanism that somehow prevents my messages from being displayed correctly.. the command I want to give to the shell is
PHP Formatted Code
 % cl -old "`less than` sign" prog.cl
 

anyway, it's the "second case", in the "Unix C-shell scripts" question at the link I gave above..

again, sorry for the triple posting,

 
Profile Email
 Quote
   
Content generated in: 0.10 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login