[Top][All Lists]

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

Re: Spurious characters echoed to screen by raw() and endwin()

From: Thomas Dickey
Subject: Re: Spurious characters echoed to screen by raw() and endwin()
Date: Thu, 7 Mar 2002 19:42:56 -0500
User-agent: Mutt/1.2.5i

On Tue, Mar 05, 2002 at 01:03:37PM -0600, Jerry Rains wrote:
> I have run into a problem with a keyboard input program (waitkey) that I
> have written that uses ncurses.  'waitkey' is accessed through a SYSTEM call
> from a filePro program.  When run from a login on the same machine all is
> fine.  However, the filePro program has been moved to a RedHat7.1 machine.
> In the /usr/include/ncurses/curses.h file it says it is Version 1.97
> 2000/12/10 02:00:24.
> It is now being accessed through a login on a SCO OpenServer5.0.4 box that
> uses rlogin to access my program on the RH7.1 box.  The program runs fine
> but the raw() function echos an accented E and the endwin() function echos
> an accented a.  This causes the cursor to be in the wrong place and
> overwrites the characters that are supposed to be under the cursor.

I don't have enough context to see.  raw() doesn't affect echoing.  Assuming
that you have echoing enabled (or are printing to the screen), an accented E
sounds as if the locale is set for Latin-1 (your environment variables
for LC_ALL, etc), which is normally the case with Redhat.  That affects the
behavior of a program which checks if a character is printable, etc.

Thomas E. Dickey <address@hidden>

reply via email to

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