> From: SMTP%"[EMAIL PROTECTED]" 29-APR-2000 21:49:54.69
> To: JLAURET
> CC:
> Subj: Re: lynx-dev VMS compilation and Slang
>
> X-Authentication-Warning: roadrunner.sig.net: majordom set sender to
>[EMAIL PROTECTED] using -f
> Date: Sat, 29 Apr 2000 20:49:04 -0500 (CDT)
> From: Klaus Weide <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: lynx-dev VMS compilation and Slang
> In-Reply-To: <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Sender: [EMAIL PROTECTED]
> Precedence: bulk
> Reply-To: [EMAIL PROTECTED]
>
> On Sat, 29 Apr 2000, Jerome LAURET wrote:
>
> > Here is a short report of compilation of the lynx-current developpement
> > kit for OpenVMS7.2 Alpha using Compaq C V6.2 (my last posting did not specify
> > the environment) using Slang support :
> >
> > $ cc LYCurses
> >
> > touchwin(stdscr);
> > ....^
> > %CC-I-IMPLICITFUNC, In this statement, the identifier "touchwin" is implicitly d
> > eclared as a function.
> > at line number 1363 in file LYCURSES.C
>
>
> It looks like the VMS-specific #if in the followign is in the wrong place -
> for USE_SLANG, SLsmg_touch_lines() should be used instead of touchwin().
> The lynx code should never see "touchwin" if slang is used. But it
> obviously does, in the following:
The compilation options defined whenever i use @BUILD-SLANG.COM
are :
cc/decc/prefix=all/nomember/DEFINE=(ACCESS_AUTH,MULTINET,_DECC_V4_SOURCE,__SOCKE
T_TYPEDEFS,USE_SLANG,__VMS_CURSES)/INCLUDE=([],[-],[-.WWW.Library.Implementation
],[.chrtrans],[-.slang.src])
so the USE_SLANG is there for sure.
>
> #if defined(HAVE_WREDRAWLN)
> wredrawln(stdscr, row, 1);
> #else
> #if defined(VMS) && !defined(_BSD44_CURSES)
> /* touchline() is not available on VMS before version 7.0, and then
> * only on Alpha, since prior ports of curses were broken.
> */
> touchwin(stdscr);
> #else
> #if defined(FANCY_CURSES)
> touchline(stdscr, row, 1);
> #else
> #if defined(USE_SLANG)
> SLsmg_touch_lines(row, 1);
> #endif
> #endif
> #endif
> #endif
Hum ... Indeed. Let me see if there was a pilot error somewhere. I'll
start again from scratch and will let you know.
Jerome LAURET S.U.N.Y. @ Stony Brook
,,,,, Dept. of Chemistry
( o o ) Stony Brook NY 11794-3400
---m---U---m---------------------------------------------
E-mail: [EMAIL PROTECTED]
URL : http://nucwww.chem.sunysb.edu/jlauret/jlauret.html