Friday, June 29, 2018

Re: [LINUX_Newbies] Cant launch IRAF

 

Thanks, Scott. I have just been able to get on to the IRAF discussion
group. Maybe they can resolve this. I will submit your thought, without
your identity of course.
Stan

On 6/27/2018 1:55 PM, Scott scottro@nyc.rr.com [LINUX_Newbies] wrote:
>
> On Wed, Jun 27, 2018 at 01:02:56PM -0700, Stan Gorodenski
> stanlep@commspeed.net [LINUX_Newbies] wrote:
> > I installed a program called IRAF. It came back and said:
> > Congratulations! IRAF has been successfully installed on this system.
> >
> > It then said:
> > To begin using IRAF you can simply type
> > % source ~/.login
> > % cl
> >
> > However, when I executed the first line, i.e. source ~/.login, it came
> > back and said:
> > -bash: /home/stanlepast/.login: line 6: syntax error: unexpected end of
> > file.
> >
> > The .login file has the following statement:
> > # add iraf setup commands
> > if ( -e /home/stanlepast/.iraf/setup.csh) then
> > source /home/stanlepast/.iraf/setup.csh
> > endif
>
> It seems to assume that you are using a C based shell, usually tcsh. That
> has different syntax than bash. Depending upon your distribution, you
> should be able to install csh or tcsh, then change to that shell to
> run it.
>
> I don't know C shell at all, I would guess that the -e means exist, that
> is, if this file exists, then source it.
>
> --
> Scott Robbins
> PGP keyID EB3467D6
> ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
> gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
>
>

__._,_.___

Posted by: Stan Gorodenski <stanlep@commspeed.net>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment