Welcome to iraf.net Thursday, May 02 2024 @ 05:44 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 xiraf problem
   
mohack
 11/20/2007 12:31AM (Read 4803 times)  
++---
Junior

Status: offline


Registered: 11/18/2007
Posts: 24
i now installed iraf comlpetely with ds9, x11iraf and ecl. now i want to use xiraf, so i downloaded the xiraf script. when i execute it, i get the message ******************************************************* You can not use xiraf just yet .... You must first define an environment variable, USERIRAF,
which points to your IRAF home directory, that is the
directory where you want to put or, you already have,
your IRAF login.cl file. A good choise may be a directory named ~/iraf_params If you use csh or tcsh as your SHELL this can be done
by adding the following line to your ~/.cshrc file setenv USERIRAF /full_path/to_the/directory Then source the ~/.cshrc file and run xiraf again ... If you use bash as your SHELL this can be done
by adding the following line to you ~/.bash_profile set USERIRAF /full_path/to_the/directory *******************************************************
i'm using the bash, and there are only 2 files in the home directory, .bashrc and .profile. i entered the set USERIRAF /myhomedirectory in both files, even in the /etc/X11/xdm/Xsession file, since i use suse 10.3 with kde, which isn necessarily reading the .bashrc or .profile at startup. but i still get this errormessage. what's wrong and where else do i have to specify my USERIRAF directory?

 
Profile Email
 Quote
fitz
 11/20/2007 12:31AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You need to 'export' the environment variable for other things to see it, e.g. try the command[code:1:91f5b05346]export USERIRAF=/path/to/directory[/code:1:91f5b05346]instead of the 'set' command.-Mike

 
Profile Email
 Quote
mohack
 11/20/2007 12:31AM  
++---
Junior

Status: offline


Registered: 11/18/2007
Posts: 24
well, that worked, thanks.
xiraf is now working properly - except one thing. when i enter (e.g.) "epar imcombine", the parameter list is shown in the terminal, but only as many lines as the terminal actually has, meaning only half of the parameters is shown and i can't scroll down. the cursor just stops at the bottom line. no matter if i use cl, ecl or xiraf with the bash or the xgterm, it's always the same. any idea?

 
Profile Email
 Quote
fitz
 11/20/2007 12:31AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
This could either be a problem in detecting the size of the window, or in using the wrong terminal type. When you first create a login.cl file you specify the terminal type, usually 'xterm' or 'xgterm'. However, you need to actually be running one of those windows and not e.g. a gnome-terminal or rxvt window. The size of the window is normally detected automatically if the terminal and type match, or when the window is resized, but you can set this manually doing something like[code:1:ecd9c0b4b5]cl> stty xgterm nl=45[/code:1:ecd9c0b4b5]In epar, when you reach the bottom of the screen you should see the screen change to the next page of parameters. If not, try the above command. At the unix level, the 'resize' command will tell you the current settings and reset your terminal.-Mike

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