lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev How do I debug a HPUX/Lynx problem?


From: T.E.Dickey
Subject: Re: lynx-dev How do I debug a HPUX/Lynx problem?
Date: Thu, 25 Nov 1999 11:12:51 -0500 (EST)

> We've been using Lynx from our application for several years, and now that 
> we're trying to move to HPUX11 (from HPUX10.20) we find that lynx no longer 
> works when called from "inside" our application. Lynx runs fine on HPUX11 
> from a shell, but not when called with "system" from our application. 
> There are three symptoms: 
> 1) Arrow keys no longer work 
> 2) To quit from lynx requires a 'q' AND a carriage return). 

Perhaps there's some problem with the connection to the terminal when
run from system(), i.e., stdin/stdout are redirected.  (I'm not sure:
I can think of some problems where your application's terminal modes
would not be restored properly, but offhand none where the subprocess
would not initialize them properly).

> 3) If the page being viewed is large, you cannot move to the next page by 
> pressing "space". 
>  
> It acts as though lynx is not getting into "raw" mode. 
> I've run stty -a from the shell and from lynx, and find the later has 
> c_cc[VMIN]=4, 
> I've tried setting this to 1 before I call lynx, but it did not appear to 
> help. 
>  
> Any ideas how I'd go about debugging this? 
> I've made a pass at RTFM, but obviously not enough :-) 
>  
> Thanks in advance. 
>  
> ------=_NextPart_000_0001_01BF3686.1E44B4C0 
> Content-Type: text/html; 
>       charset="iso-8859-1" 
> Content-Transfer-Encoding: quoted-printable 
>  
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
> <HTML><HEAD> 
> <META content=3D"text/html; charset=3Diso-8859-1" = 
> http-equiv=3DContent-Type> 
> <META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR></HEAD> 
> <BODY bgColor=3D#ffffff> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>We've = 
> been using=20 
> Lynx from our application for several years, and now that we're trying = 
> to move=20 
> to HPUX11 (from HPUX10.20) we find that lynx no longer works when called = 
> from=20 
> "inside" our application. </SPAN></FONT><FONT face=3DArial = 
> size=3D2><SPAN=20 
> class=3D640414518-24111999>Lynx runs fine on HPUX11 from a shell, but = 
> not when=20 
> called with "system" from our application.</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>There = 
> are three=20 
> symptoms:</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>1) = 
> Arrow keys no=20 
> longer work</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN = 
> class=3D640414518-24111999>2)&nbsp;To quit from=20 
> lynx requires a 'q' AND a carriage return).</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>3) If = 
> the page being=20 
> viewed is large, you cannot move to the next page by pressing=20 
> "space".</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN=20 
> class=3D640414518-24111999></SPAN></FONT>&nbsp;</DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>It = 
> acts as though=20 
> lynx is not getting into "raw" mode.</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>I've = 
> run stty -a=20 
> from the shell and from lynx, and find the later has=20 
> c_cc[VMIN]=3D4,</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>I've = 
> tried setting=20 
> this to 1 before I call lynx, but it did not appear to = 
> help.</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN=20 
> class=3D640414518-24111999></SPAN></FONT>&nbsp;</DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>Any = 
> ideas how I'd go=20 
> about debugging this?</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>I've = 
> made a pass at=20 
> RTFM, but obviously not enough :-)</SPAN></FONT></DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN=20 
> class=3D640414518-24111999></SPAN></FONT>&nbsp;</DIV> 
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D640414518-24111999>Thanks = 
> in=20 
> advance.</SPAN></FONT></DIV></BODY></HTML> 
>  
> ------=_NextPart_000_0001_01BF3686.1E44B4C0-- 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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