bug-ncurses
[Top][All Lists]
Advanced

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

AW: Border problem


From: Hohl, Gerrit
Subject: AW: Border problem
Date: Mon, 16 Mar 2015 09:19:01 +0100

Hello Thomas,

thanks for your reply. The problem is that I'm using a Java library which uses 
the curses. So I don't know which version of the library they use.
But I started to write my own Java library which uses the libncursesw library. 
And using that everything works fine.

Regards,
Gerrit



-----Ursprüngliche Nachricht-----
Von: Thomas Dickey [mailto:address@hidden 
Gesendet: Samstag, 14. März 2015 15:08
An: Hohl, Gerrit
Cc: address@hidden
Betreff: Re: Border problem

On Fri, Mar 13, 2015 at 04:26:29PM +0100, Hohl, Gerrit wrote:
> Hello everyone,
> 
> I have a 2nd question, this time regarding borders with ncurses.
> I've written a small program with curses. It is started during the boot 
> process before the login is shown to the user.
> Therefore I have edited /etc/init/tty1.conf and the last line looks like this 
> now:
> 
> exec /sbin/rungetty -u root -d 5 tty1 /usr/local/myprogram
                                                   ^^^^^^^^^

I don't see a source for the program.  Perhaps you overlooked this:

       The  library uses the locale which the calling program has initialized.
       That is normally done with setlocale:

             setlocale(LC_ALL, "");

       If the locale is not initialized, the library assumes  that  characters
       are  printable  as in ISO-8859-1, to work with certain legacy programs.
       You should initialize the locale and not rely on  specific  details  of
       the library when the locale has not been setup.

> Any hints?

--
Thomas E. Dickey <address@hidden> http://invisible-island.net 
ftp://invisible-island.net



reply via email to

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