Welcome to iraf.net Friday, May 17 2024 @ 09:58 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Cannot get local task to be loaded at IRAF startup
   
lpetras
 04/21/2009 01:19PM (Read 1891 times)  
++---
Junior

Status: offline


Registered: 08/12/2006
Posts: 16
I have a simple question. If I define a local task and put it into the loginuser.cl file, I don't see it in the main menu when IRAF prints the login screen, yet if I define the task directly at the ECL> it appears to load and I can see it at the main menu. I get no errors when I have the task defined in the loginuser.cl file.The task is defined as follows in the loginuser.cl filetask $foo = /home/xxx/iraf/foo/foo.cland if I type this in at the ECL prompt IRAF recognizes the task without error.What am I doing wrong . Cry Linas

 
Profile Email
 Quote
fitz
 04/21/2009 01:19PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Tasks defined in the loginuser.cl file go into the 'user' package, what you see at the login screen is the main 'cl' package. Use the cmd[code:1:4cb77df53d]cl> ?user[/code:1:4cb77df53d]to list the contents of the user package. Note that if you'd declared the task after loading e.g. the onedspec package it would appear in that menu, so task declarations go into the current package, not strictly the 'cl' package.-Mike

 
Profile Email
 Quote
lpetras
 04/21/2009 01:19PM  
++---
Junior

Status: offline


Registered: 08/12/2006
Posts: 16
Hi Mike,OK, thanks for the clarification... Linas

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