OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Using Fbiterm, Rotate Frame Buffer Console 90 Degrees?
renick
post 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?
Go to the top of the page
 
+Quote Post
pelrun
post 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.
Go to the top of the page
 
+Quote Post
pelrun
post 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 biggrin.gif 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.

Attached File(s)
Attached File  fbiterm.tar.gz ( 14.91K ) Number of downloads: 8
 
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2014 - 09:58 AM