![]() ![]() |
Feb 4 2008, 06:06 AM
Post
#1
|
|
|
Group: Members Posts: 11 Joined: 12-January 07 Member No.: 13,884 |
Frustrated with the slow speed of any X11 app on my zaurus, I'm trying to set up a Japanese console environment. fbiterm appears to display Japanese text fine, except that it's portrait rather than landscape. This won't do. How do I rotate the frame buffer by 90 degrees so that it displays landscape?
|
|
|
|
Feb 4 2008, 05:46 PM
Post
#2
|
|
|
Group: Members Posts: 369 Joined: 6-September 04 From: Brisbane, Australia Member No.: 4,488 |
Since fbiterm directly addresses the framebuffer, there isn't a nice commandline option to rotate the display - support needs to be coded into the app.
|
|
|
|
Feb 5 2008, 10:21 PM
Post
#3
|
|
|
Group: Members Posts: 369 Joined: 6-September 04 From: Brisbane, Australia Member No.: 4,488 |
Ok, attached is a preliminary binary which will work on the Z in landscape orientation.
It seems pretty fast, but it could probably do with optimisation. Also, it won't work on a native-landscape (i.e. non-Z) display anymore... it doesn't scroll the right way For future reference, you need to have a UTF-8 locale set (e.g. LANG=en_US.UTF-8) before starting fbiterm; I wasted a few hours trying to get japanese characters to display before I figured that out. Changing LANG inside fbiterm isn't enough.
Attached File(s)
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 08:29 PM |