Reply
Thread Tools
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#1
I compiled game (Cataclysm-DDA) which is using libncurses.

Code:
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x402b2000)
libtinfo.so.5 => /usr/lib/libtinfo.so.5 (0x40388000)
libstdc++.so.6 => /opt/gcc510/lib/libstdc++.so.6 (0x403e4000)
libm.so.6 => /lib/libm.so.6 (0x40579000)
libgcc_s.so.1 => /opt/gcc510/lib/libgcc_s.so.1 (0x40676000)
libc.so.6 => /lib/libc.so.6 (0x40769000)
/lib/ld-linux-armhf.so.3 (0x400bc000)
It works over ssh as expected, but locally using fingerterm it shows wrong characters and doesn't do cleaning/refresh correctly. What is causing this?

Attachment: Upper is Jolla's screen over VNC server (it looks same in device's screen). Bottom is ssh with konsole (xterm and xfce4-terminal look the same).

a) Horizontal line (made with some non-ascii character) is printed as 'q'
b) After showing Credits, screen is not refreshed (cleaned). This happens so many place, that game can't be started.
Attached Images
 
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#2
Asked the guys on github about the q's:
Just not sure how to fix those q's, are those some ANSI characters?

They are supposed to be Unicode line-drawing characters https://en.wikipedia.org/wiki/Box-dr...racter#Unicode - your system seems to have problems with UTF-8?
https://github.com/CleverRaven/Catac...A/issues/12963

Check if it renders better in thumbterm, it has some ansi fixes (qqqq are still there though)


btw, just checked, with the fingerterm terminfo in place fingerterm renders and hides MOTD correctly

http://urs.nerd2nerd.org/fingerterm.ti
this works quite nicely (bit of issues still remain, like view/edit modes in mc)

The fix for the screen cleaning got pull requested:
https://github.com/Ape/fingerterm/co...483c1849ed6a37

Last edited by szopin; 2015-07-17 at 15:11.
 

The Following 2 Users Say Thank You to szopin For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:21.