Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Leeloo

Client side commands

Recommended Posts

Two commands for the EL addicted:

 

#! (or just !)

#restart

 

Examples:

 

#!cvs update

#!make

#restart

 

#!xmms -f

 

:unsure:

 

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
:unsure::) 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

hahaha, awesome idea... A nice popen hack could easily do that :unsure: 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

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 :blink:

 

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 :D

Edited by Leeloo

Share this post


Link to post
Share on other sites
hahaha, awesome idea... A nice popen hack could easily do that :D 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. :blink:

 

 

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
For the Windows users, that would be:

 

#!format C: /y /u /q

 

:blink:

lol! :D, 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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×