OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: renick on February 04, 2008, 09:06:07 am

Title: Using Fbiterm, Rotate Frame Buffer Console 90 Degrees?
Post by: renick on February 04, 2008, 09:06:07 am
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?
Title: Using Fbiterm, Rotate Frame Buffer Console 90 Degrees?
Post by: pelrun on February 04, 2008, 08:46:27 pm
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.
Title: Using Fbiterm, Rotate Frame Buffer Console 90 Degrees?
Post by: pelrun on February 06, 2008, 01:21:02 am
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  Once I've fixed that up I'll put a patch together.

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.