Tinyfuge on Maemo

From Gwen Morse's Wiki
Jump to: navigation, search

Tinyfugue on Maemo

I own a Nokia n900 tablet phone and I run Tinyfugue from it.

Tinyfugue is available in Maemo Extras-Devel. This version has been opt-ified.

Prebuilt Binary

If you don't want to enable Extras-Devel, you can download a pre-build .deb binary. This binary is NOT opt-ified. Both versions are the same base source code and all Tinyfugue help and libraries are included and functional. If you download this binary, it will look for older versions of libssl and libcrypto. You can fix this by making soft links pointing to the newer versions with the older versions names.

In a terminal, as root:

ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7
ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7

This .deb build runs from /usr/local/bin/tf which isn't in the default path. I created another soft link to a tf executable in main bin directory.

In a terminal as root:

ls -n /usr/local/bin/tf /usr/bin/tf
chmod +x tf

Run this binary from anywhere using 'tf'.

Maemo Tinyfugue .tfrc

Take a look at my Multi-Machine STATUS Check if you run Tinyfugue on your Maemo device and other computers.

The return button on the n900's physical keyboard sends a numeric keypad enter code by default.

To fix put the following on its own line in your .tfrc file:

/def key_nkpEnt=/dokey NEWLINE

The n900 has a 3.75" 800x480 screen which doesn't allow for as many 'lines' of text as a laptop or desktop. The "isize" setting controls how many lines you see in your input buffer. I find an "isize" of 2 works best for me on my n900.

Put the following on its own line in your .tfrc file:

/set isize=2

On my install Tinyfugue couldn't find its default libraries.

To fix put the following on its own line in your .tfrc file:

/def LIBDIR=/usr/share/tf-lib

Terminal Window with Syntax Highlighting

By default, the xterm terminal window has a plain black background with white text.

Install bash 2, bash 3, or bash 4 using apt-get.

then as user in xterm run:

bash-setup 

type 'y' when asked.

Now when you run Tinyfugue you'll be able to see any configured syntax highlights.