[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev More system()'d commands don't work (was: SYSTEM_EDITOR argumen
From: |
Klaus Weide |
Subject: |
lynx-dev More system()'d commands don't work (was: SYSTEM_EDITOR arguments) |
Date: |
Thu, 21 Jan 1999 05:02:48 -0600 (CST) |
On Tue, 19 Jan 1999 address@hidden wrote:
> > Somewhere between lynx 2-8-2dev.9 and lynx 2-8-2dev.13, support for
> > arguments to the SYSTEM_EDITOR in lynx.cfg seems to have been taken out.
> > Previously, I could have:
>
> my error (the space's being quoted). will revisit & fix.
>
> > SYSTEM_EDITOR:/usr/local/bin/pico -t
> >
> > or
> >
> > SYSTEM_EDITOR:/usr/local/bin/pico -s /usr/local/bin/ispell -t
Here's another case of what I assume is HTAddParam failure:
My lynx.cfg contains, among others,
DOWNLOADER:Specify your own bash command:echo -n "Enter a shell command\: ";
read word; bash -c "$word %s":FALSE
That used to work, and I see no justifiable reason why it should stop to
work.
After downloading a file, and selecting the corresponding download option,
nothing happens (except for a stop_curses/start_curses screen refresh);
The tracelog shows:
getfile: getting
LYNXDOWNLOAD://Method=6/File=/tmp/L9634-6TMP.html/SugFile=util-linux_2.9g-3.diff.gz
HTParse:
aName:LYNXDOWNLOAD://Method=6/File=/tmp/L9634-6TMP.html/SugFile=util-linux_2.9g-3.diff.gz
relatedName:
HTParse: result:Method=6
PARAM-ADD:echo -n "Enter a shell command: "; read word; bash -c "$word
/tmp/L9634-6TMP.html
PARAM-END:echo -n "Enter a shell command: "; read word; bash -c "$word
/tmp/L9634-6TMP.html
command: echo -n "Enter a shell command: "; read word; bash -c "$word
/tmp/L9634-6TMP.html
(All relevant code should be from 2.8.2dev.13, although my current version
is a bit mixed up, I haven't verified this with a clean dev.13 or dev.14).
Klaus