bug-ncurses
[Top][All Lists]
Advanced

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

Re: Glitch after system start


From: Thomas Dickey
Subject: Re: Glitch after system start
Date: Fri, 3 Jul 2015 12:31:23 -0400 (EDT)

----- Original Message -----
| From: "Gerrit Hohl" <address@hidden>
| To: address@hidden
| Sent: Friday, July 3, 2015 11:24:23 AM
| Subject: Glitch after system start
| 
| 
| 
| 
| 
| Hello everyone,
| 
| 
| 
| I have a setup program written in Java based on Java Curses Library
| which is based on NCurses.
| 
| The setup program is executed at the boot time of an Ubuntu Linux.
| 
| Most of the time everything works fine, but sometimes I get odd
| characters.
| 
| 
| 
| Some of them occurred while some services where still starting in the
| background and produces some output.
| 
| I could solve that using the Linux kernel parameter "console=tty7".
| 
| 
| 
| But now I'm still facing a problem - at least from time to time as it
| doesn't appear all the time. I get a [79G in the upper left corner
| followed by a vertical line (ASCII block graphic). And after that
| the Java Curses Library / NCurses draws everything the right way,
| even the width is okay (in this case it's the border of window which
| is drawn. The upper left corner is right in the upper left corner of
| the screen [0, 0]).

It sounds as if the terminal is not honoring CHA:

http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
    CSI Ps G  Cursor Character Absolute  [column] (default = [row,1]) (CHA).
http://man7.org/linux/man-pages/man4/console_codes.4.html
    G   CHA       Move cursor to indicated column in current row.

http://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-basic
    hpa=\E[%i%p1%dG,


| 
| So it should like this (hopefully it will be shown correctly in your
| mail client):
| 
| ┌────────┐
| 
| │ │
| 
| │ │
| 
| │ │
| 
| └────────┘
| 
| 
| 
| But looks like that:
| 
| [79G│────┐
| 
| │ │
| 
| │ │
| 
| │ │
| 
| └────────┘
| 
| While the window and the border has a gray background and a black
| foreground, that characters have a black background and a gray
| foreground.
| 
| 
| 
| I looked in the Internet for that sequence [79G, but couldn't find
| any information about it (because it looks like a console code).
| 
| 
| 
| Does anyone of you know what that [79G means?
| 
| If I would know what it means I maybe could track down the problem.
| 
| 
| 
| Regards,
| 
| Gerrit
| 
| 
| _______________________________________________
| Bug-ncurses mailing list
| address@hidden
| https://lists.gnu.org/mailman/listinfo/bug-ncurses
| 

-- 
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]