lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Textarea notes - on ^V


From: Klaus Weide
Subject: Re: lynx-dev Textarea notes - on ^V
Date: Mon, 1 Feb 1999 08:41:19 -0600 (CST)

On Sun, 31 Jan 1999, Larry W. Virden wrote:
> From: Klaus Weide <address@hidden>
> 
> > Does toggling stty -iexten change anything?  (Make sure it sticks.)
> 
> Yes, if I turn off this functionality then the ^V works right away.
> Perhaps lynx should turn this off during it's execution and reset before
> exit?

It was only a guess that ^V might be controlled by -iexten, I've never
seen it do that here.  Just learned something new.

It's probably too system-dependent to belong in the Lynx code, which
doesn't anything directly to manipulate terminal modes AFAIK.
I think it is something the curses lib's initscr (or other function)
should do, on those systems where it is needed to really get a "raw" ^V.

Maybe there is already a function in your curses with the effect of
turning iexten off - if you want to test, find the part in LYCurses.c

#ifdef VMS
    crmode();
    raw();
#else
#if HAVE_CBREAK
    cbreak();
#else
    crmode();
#endif /* HAVE_CBREAK */
   ....
#endif /* VMS */

and replace that last cbreak() or crmode() [don't know which applies]
with raw().

   Klaus

reply via email to

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