bug-ncurses
[Top][All Lists]
Advanced

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

Re: Border problem


From: Thomas Dickey
Subject: Re: Border problem
Date: Sat, 14 Mar 2015 10:07:45 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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