1. EUPHORIA in FreeBSD

Can somebody tell me what to do after installing EUPHORIA in FreeBSD? I'v=
e=20
added the /home/cklester/apps/euphoria/bin dir to my path in .cshrc. i've=
=20
created the EUDIR env var in .cshrc. I don't know if csh is what i'm usin=
g as=20
my shell, though... getlost How do I find out?

I've got the special exu for FreeBSD installed. I figure i should be able=
 to=20
run exu via command line and at least get "What program do you want to=20
execute?" but I don't get that.

Help!

-ck

new topic     » topic index » view message » categorize

2. Re: EUPHORIA in FreeBSD

At 01:05 AM 1/12/03 -0600, you wrote:
>Can somebody tell me what to do after installing EUPHORIA in FreeBSD? I've 
>added the /home/cklester/apps/euphoria/bin dir to my path in .cshrc. i've 
>created the EUDIR env var in .cshrc. I don't know if csh is what i'm using
as 
>my shell, though... getlost How do I find out?

Type:

  ps

This will show the names of the processes your current shell is running
including the shell itself.

If that doesn't help try:

  grep cklester /etc/passwd

The last field of the output should indicate what shell you are using.
Possibly /bin/csh or /bin/sh.

Finally try:

  which exu

This should identify where the exu executable is - probably:

  /home/cklester/apps/euphoria/bin/exu

>I've got the special exu for FreeBSD installed. I figure i should be able to 
>run exu via command line and at least get "What program do you want to 
>execute?" but I don't get that.
>
>Help!
>
>-ck

new topic     » goto parent     » topic index » view message » categorize

3. Re: EUPHORIA in FreeBSD

On Sunday 12 January 2003 08:14 am, you wrote:

> >Can somebody tell me what to do after installing EUPHORIA in FreeBSD? =
I've
> >added the /home/cklester/apps/euphoria/bin dir to my path in .cshrc. i=
've
> >created the EUDIR env var in .cshrc. I don't know if csh is what i'm u=
sing
> >as my shell, though... getlost How do I find out?
>
> Type:
>
>   ps

Showed /bin/sh...

> Finally try:
>
>   which exu
>
> This should identify where the exu executable is - probably:
>
>   /home/cklester/apps/euphoria/bin/exu

That didn't show anything.

new topic     » goto parent     » topic index » view message » categorize

4. Re: EUPHORIA in FreeBSD

Ok it sounds like you are running a Bourne shell (or a derivative of it
like bash).  Modifying .cshrc isn't going to help as .cshrc is for the C
shell.

In your home directory type:

  ls -a

This will list all files and include those files which begin with a "."
(period) character - often called hidden files.  Is there one called:

  .profile

?

If not then create an empty .profile file.

Now add the following lines to the .profile file:

EUDIR=$HOME/apps/euphoria
export EUDIR

PATH=$EUDIR/bin:$PATH
export PATH

Logout completely and then log back in again.  Try running exu again by
just typing:

  exu

Any luck?

Regards,

Andy Cranston.

At 10:03 AM 1/12/03 -0600, you wrote:
>
>On Sunday 12 January 2003 08:14 am, you wrote:
>
>> >Can somebody tell me what to do after installing EUPHORIA in FreeBSD? I've
>> >added the /home/cklester/apps/euphoria/bin dir to my path in .cshrc. i've
>> >created the EUDIR env var in .cshrc. I don't know if csh is what i'm using
>> >as my shell, though... getlost How do I find out?
>>
>> Type:
>>
>>   ps
>
>Showed /bin/sh...
>
>> Finally try:
>>
>>   which exu
>>
>> This should identify where the exu executable is - probably:
>>
>>   /home/cklester/apps/euphoria/bin/exu
>
>That didn't show anything.
>
>==^^===============================================================
>This email was sent to: acran at readout.fsnet.co.uk
>
>
>TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: EUPHORIA in FreeBSD

On Sunday 12 January 2003 10:02 am, you wrote:
>
> Now add the following lines to the .profile file:
>
> EUDIR=3D$HOME/apps/euphoria
> export EUDIR
>
> PATH=3D$EUDIR/bin:$PATH
> export PATH
>
> Logout completely and then log back in again.  Try running exu again by
> just typing:
>
>   exu
>
> Any luck?

Yep! 'which exu' showed me the euphoria/bin directory!

I ran 'exu qsort' and it worked! although it crashed with the following:

before sorting:
{182,118,27,199,167,127,205,88,96,126,233,190,80,153,33,170,188,78,
122,70,191,226,215,86,98,243,67,179,71,1,152,47,98,86,93,79,156,94,
192,49,250,142,227,218,234,23,105,37,102,62}

qsort.exu:37
c_proc/c_func: bad routine number (-1)
--> see ex.err

THANKS, Andy!!!!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu