Nigel Hamilton <[EMAIL PROTECTED]> wrote Wed, Jul 12, 2006: > Hi, Hi Nigel,
> I'm using elinks to browse source code and a user defined protocol > (e.g., goo://) to call an external text editor (e.g., vi, emacs etc). This > works really well! > > However, after I finish editing the file I would ideally like to > return to elinks and redirect it to another URL. Any ideas on how/if this > could be done? I could only think of a rather hackish way to do this (see below), but we should maybe have a reload from editor hook that you could script in Lua/Perl/Ruby/JavaScript ... This thing uses the --remote switch which really isn't ideal because it will cause the screen to be cleared so you have to press ^L to redraw it. ;) elinks-0.11.0-gef05126:~/src/elinks/0.12 > cat editor #!/bin/sh vi $@ url="g asdf" (sleep 1; elinks --remote "$url") & elinks-0.11.0-gef05126:~/src/elinks/0.12 > EDITOR=./editor ./src/elinks ... -- Jonas Fonseca _______________________________________________ elinks-users mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-users
