Welcome to iraf.net Friday, May 03 2024 @ 11:06 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 I have a quistion for iIRAF
   
Anonymous: Guest
 12/05/2006 12:13PM (Read 4192 times)  



I have a question for IRAFI install IRAF. My computer was installed Fedora core 5I entered "cl" then generated error Error is
ERROR: Newline while processing string
    cl ()
    cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error.  CL dies.iraf' login.cl file is # LOGIN.CL -- User login file for the IRAF command language.# Identify login.cl version (checked in images.cl).
if (defpar ("logver"))
    logver = "IRAF V2.12.2 January 2004"set     home            = "/home/iraf/iraf/local/"
set     imdir           = "/iraf/imdirs/iraf/"
set     uparm           = "home$uparm/"
set     userid          = "iraf"# Set the terminal type.
if (envget("TERM") == "xterm") {
    if (!access (".hushiraf"))
        print "setting terminal type to xgterm..."
    stty xgterm
} else {
    if (!access (".hushiraf"))
        print "setting terminal type to xterm..."
    stty xterm
}# Uncomment and edit to change the defaults.
#set    editor          = vi
#set    printer         = lp
#set    pspage          = "letter"
#set    stdimage        = imt800
#set    stdimcur        = stdimage
#set    stdplot         = lw
#set    clobber         = no
#set    filewait        = yes
#set    cmbuflen        = 512000
#set    min_lenuserarea = 64000
#set    imtype          = "imh"
#set    imextn          = "oif:imh fxf:fits,fit plf:pl qpf:qp stf:hhh,??h"
# XIMTOOL/DISPLAY stuff.  Set node to the name of your workstation to
# enable remote image display.  The trailing "!" is required.
#set    node            = "my_workstation!"
# CL parameters you mighth want to change.
#ehinit   = "nostandout eol noverify"
#epinit   = "standout showall"
showtype = yes# Load the default CL package.  Doing so here allows us to override package
# paths and load personalized packages from our loginuser.cl.
clpackage
# Default USER package; extend or modify as you wish.  Note that this can
# be used to call FORTRAN programs from IRAF.package user task    $adb $bc $cal $cat $comm $cp $csh $date $dbx $df $diff  = "$foreign"
task    $du $find $finger $ftp $grep $lpq $lprm $ls $mail $make = "$foreign"
task    $man $mon $mv $nm $od $ps $rcp $rlogin $rsh $ruptime    = "$foreign"
task    $rwho $sh $spell $sps $strings $su $telnet $tip $top    = "$foreign"
task    $vi $emacs $w $wc $less $rusers $sync $pwd $gdb         = "$foreign"task    $xc $mkpkg $generic $rtar $wtar $buglog                 = "$foreign"
#task   $fc = "$xc -h $* -limfort -lsys -lvops -los"
task    $fc = ("$" // envget("iraf") // "unix/hlib/fc.csh" //
            " -h $* -limfort -lsys -lvops -los")
task    $nbugs = ("$(setenv EDITOR 'buglog -e';" //
            "less -Cqm +G " // envget ("iraf") // "local/bugs.*)")
task    $cls = "$clear;ls"
task    $clw = "$clear;w"
task    $pg = ("$(less -Cqm $*)")if (access ("home$loginuser.cl"))
    cl < "home$loginuser.cl"
;keep
prcache directory
cache   directory page type help # Print the message of the day.
if (access (".hushiraf"))
    menus = no
else {
    clear; type hlib$motd
}# Delete any old MTIO lock (magtape position) files.
if (deftask ("mtclean"))
    mtclean
else
    delete uparm$mt?.lok,uparm$*.wcs verify-# List any packages you want loaded at login time, ONE PER LINE.
images          # general image operators
plot            # graphics tasks
dataio          # data conversions, import export
lists           # list processing# The if(deftask...) is needed for V2.9 compatibility.
if (deftask ("proto"))
    proto       # prototype or ad hoc tasks
    clear; type hlib$motd
}# Delete any old MTIO lock (magtape position) files.
if (deftask ("mtclean"))
    mtclean
else
    delete uparm$mt?.lok,uparm$*.wcs verify-# List any packages you want loaded at login time, ONE PER LINE.
images          # general image operators
plot            # graphics tasks
dataio          # data conversions, import export
lists           # list processing# The if(deftask...) is needed for V2.9 compatibility.
if (deftask ("proto"))
    proto       # prototype or ad hoc taskstv              # image display
utilities       # miscellaneous utilities
noao            # optical astronomy packages keep
I have many attempt to correct this form but failedthis computer's derectory exist as under form
     home            = "/home/iraf/iraf/local/"
     imdir           = "/home/iraf/iraf/imdirs/iraf/"
     uparm           = "/home/iraf/iraf/localuparm/"
     userid          = "iraf"

Please help me !!
I'm very sad for it
I'm waiting for your reply. Thank you.

 


 
 Quote
fitz
 12/05/2006 12:13PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The message at startup usually means there is an error in the hlib$extern.pkg file for declaring external packages, e.g. an unescaped newline when defining the 'helpdb' string at the bottom, or an unclosed quote around the package path. Please check this file and post it if you can't find the problem.-Mike

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