Welcome to iraf.net Tuesday, April 30 2024 @ 02:40 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 UNIX commands in IRAF
   
jes
 11/14/2006 01:01AM (Read 3260 times)  
+----
Newbie

Status: offline


Registered: 11/13/2006
Posts: 1
Has anyone ever come across a situation where UNIX commands cannot be executed from within the IRAF shell? For example, I type "ls" or "cd .." and nothing happens. If anyone knows how to remedy this, please advise!jes

 
Profile Email
 Quote
fitz
 11/14/2006 01:01AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Two situations come to mind: 1) Your .cshrc file is doing something which requires a response (e.g. a tty setting), or your .cshrc file is doing something in which some NFS directory in the $path is not responding.A unix command is declared as a foreign command in your login.cl file, it is executed in a new shell spawned just to execute the command and so the contents of your .cshrc file are read each time. Actually, a foreign command and a '!' escape behave the same way and use whatever shell you use, if you start a command using '!!' from the 'cl' prompt a bash shell is forced and can help rule out/in problems in your default environment. Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.07 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