wishlist
- Posted by sephiroth _ <euman2376 at yahoo.com> Apr 11, 2001
- 481 views
here are some things that'd be cool to put in eu... 1) an "ncurses" option for the without keyword to use basic console I/O without initializing ncurses. i have a program i'm writing with Irv's GraphApp wrapper. When someone clicks the menu and then selects Close or Delete or whatever, the window will close and exu will shutdown, but if it was launched from the console, outside of ncurses, no color will be seen, nothing typed will be echoed, and carriage returns don't do anything 2) Defining symbols. For example: --- somefile.e if somecondition then define get_a_life end if ... -- main.ex include somefile.e if defined(get_a_life) then puts(1,"You need a life. How many can I put you down for? ") ... 3) A rename() function: result = rename("afile","anewfilename") 4) A set_attributes() function: result = set_attributes("afile","744") or result = set_attributes("afile,"rwxr--r--") or in DOS/Windows result = set_attributes("afile","+a-h") -- set archive, unset hidden or in any upcoming Macintosh port... result = set_attributes("afile",{"APPL","????",0}) where the first item is the file type, the second is the creator, and the third indicates if the file is locked. 5) Maybe even the ability to use .o and .a files in Linux and .lib and .obj files in DOS