1. Linux release feature request

Sorry if I am duplicating anyone, I have been unsubscribed for about a year.

As you may know it is normal on linux for executables to have no file
extension. When I create a programme called "eg"

#!/bin/exu
eg(test)

and give it appropriate permissions, it does not work, because ex looks for
eg.exu

this looks extremely unprofessional and makes me type extra too (lazy lazy)

secondly why does ex say 'press Enter to continue' as opposed to just exiting
like the DOS version. Since ee also does this I have to hit three keys to get
back to editing my programme if it exits with an error.

Other ideas

1.
{x,y}=func()   --another vote

2.
s2=s1[1..3][2]  --vertical slicing

3.
find(object x, sequence s)
if x is an integer then behaviour is as current
if x is a 1d sequence then find looks for any of the values in it and returns
a sequence containing the position of the character in the first sequence that
was found, and the position in the second sequence where it found it.

Keep up the good work RDS !

--

Daniel Johnson               Engineer, smartypants and clown
Jesus College, Cambridge     all at a very reasonable price
dpj22 at cam.ac.uk
zeus.jesus.cam.ac.uk/~dpj22  talk dpj22 at jewish.jesus.cam.ac.uk

new topic     » topic index » view message » categorize

2. Re: Linux release feature request

Daniel Johnson writes:
> As you may know it is normal on linux for executables
> to have no file extension. When I create a programme called "eg"
>
> #!/bin/exu
> eg(test)
>
> and give it appropriate permissions, it does not work,
> because ex looks for eg.exu

I'll do something about that for the next release.

> secondly why does ex say 'press Enter to continue' as
> opposed to just exiting like the DOS version. Since ee also
> does this I have to hit three keys to get back to editing my
> programme if it exits with an error.

Euphoria uses curses to get 2-d positioning of text on Linux.
Unfortunately, in an xterm, curses will clear the window when it
exits. This can cause the output of some programs to appear
and disappear so quickly that you would doubt that the program
even ran at all. That's why exu will normally issue the prompt.
To prevent the prompt from appearing you can call
free_console() just before your program exits.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu