lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev 2 Questions ( CTRL-Z and lynxcgi vs lynxexec )


From: Klaus Weide
Subject: Re: lynx-dev 2 Questions ( CTRL-Z and lynxcgi vs lynxexec )
Date: Tue, 12 Jan 1999 11:12:12 -0600 (CST)

On Wed, 6 Jan 1999, Aengus Stewart wrote:

> I have not quite sorted out all the problems I have had in moving our
> CWIS from an old machine and Lynx 2-4-2 to a new machine and Lynx 2-8-1.
> This is on UNIX by the way, IRIX 6.5 to be exact.
> 
> I will readily admit I an no coder, so apologises if my queries are
> basic.
> 
> 1) How do I disable CTRL-Z (SIGTSTP) so that lynx is not suspended?

Try

  lynx -restrictions=suspend

(either as alternative or in addition to the other idea(s) involving
stty)


> 2) I have the following HTML that no longer works.  lynxexec does not
> seem to
> work within ACTION only lynxcgi seems to and I get quite different
> behaviour.
>
> 
> <H1>Setting Postscript Printing or Files</H1>
> <FORM METHOD="get" ACTION="lynxexec:/molbio1/bin/LynxExec '">

I never thought that a lynxexec URL could or should work as a FORM
ACTION - maybe nobody else ever had that idea, or at least not in a long
time...

What do you mean with "does not seem to work", what exactly happens when
you try it?

Maybe it's as simple as removing a check from the code which is too
restrictive for your purposes, if you really want this to work.

But that lone "'" character at the end of your lynxexec certainly looks
suspicious.  What parameter(s) exactly does your LynxExec command expect,
in which form?  Have you tried %-escaping the space character as %20?

You cannot get the direct user interaction behaviour (with prompts etc.)
directly from a lynxcgi script - it doesn't run with the terminal
as standard input and standard output.  There may be a way to achieve the 
same effect indirectly, via redirection from a CGI script, but it would
require a relaxation of checks at least in one place (LYGetFile.c, before
the ILLEGAL_REDIRECTION_URL message).  That change might be simpler than
re-instating direct support for lynxexec as ACTION.


   Klaus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]