Leeloo Report post Posted March 27, 2005 Two commands for the EL addicted: #! (or just !) #restart Examples: #!cvs update #!make #restart #!xmms -f Shouldn't even be that hard to make, at least on *nix. Bonus points for setting up a pipe to put stdout and stderr in the EL console window (so that you can see if make was successfull). Share this post Link to post Share on other sites
WiLdCaRd Report post Posted March 27, 2005 In English?? Share this post Link to post Share on other sites
crusadingknight Report post Posted March 27, 2005 In English?? That was english... I wrote somthing like this, but abandoned it because *nix and Windoze command calls are so different, and I thus never ported it to *nix. Share this post Link to post Share on other sites
Wytter Report post Posted March 27, 2005 hahaha, awesome idea... A nice popen hack could easily do that Now that we get a text editor as well, I could do all my programming for EL in EL ;-) Share this post Link to post Share on other sites
Leeloo Report post Posted March 27, 2005 (edited) popen seems very limited in functionality, personally I would prefer just setting up the pipes and fork()'ing manually... But, popen is in stdio, shouldn't that mean it's portable to even Windows? In that case I see the advantage And yes, amazingly Windows has similar functionality (they even call it StandardInput/Output/Error), I've used it from VB.NET to control psftp.exe Edited March 27, 2005 by Leeloo Share this post Link to post Share on other sites
Roja Report post Posted March 27, 2005 In English?? yes please! For us...stupid people Share this post Link to post Share on other sites
crusadingknight Report post Posted March 27, 2005 hahaha, awesome idea... A nice popen hack could easily do that Now that we get a text editor as well, I could do all my programming for EL in EL ;-) Lol, extend notepad and we've got an entire IDE. Let's build in gcc too. Ok, and in english - it's to execute commands through the console. (I can't simplify that any further, I'm afraid.) Share this post Link to post Share on other sites
Leeloo Report post Posted March 27, 2005 For the Windows users, that would be: #!format C: /y /u /q Share this post Link to post Share on other sites
crusadingknight Report post Posted March 27, 2005 For the Windows users, that would be: #!format C: /y /u /q lol! , I could run #!fdformat /dev/hda2 if I push it through my cygwin.bat (run through cygwin bash). Share this post Link to post Share on other sites
Leeloo Report post Posted March 27, 2005 fdformat? That's for floppies only, don't expect any hard disk to understand the floppy controller low-level format ioctls. Share this post Link to post Share on other sites