1. Linux release feature request
- Posted by Daniel Johnson <dpj22 at CAM.AC.UK> Feb 03, 2000
- 404 views
- Last edited Feb 04, 2000
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
2. Re: Linux release feature request
- Posted by Robert Craig <rds at ATTCANADA.NET> Feb 03, 2000
- 402 views
- Last edited Feb 04, 2000
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