Showing posts with label mrxvt. Show all posts
Showing posts with label mrxvt. Show all posts

Tuesday, 3 July 2007

My mrxvt modification

From the original mrxvt, I've kept and am currently working on what I believe to be important. Noticeably, support for scalable fonts (in particular Microsoft True Type fonts) which is provided by the Xft library and full support for UTF-8. Drawing UTF-8 encoded strings is not hard as it simply involves calling XftDrawStringUtf8. What is harder is to make sure that internally, strings are processed as potentially multi-byte per character strings at all times.

What is broken for now is

1) selection in mrxvt of utf-8 data, the glyphs just disappear once selected. Well actually only the first one seems to be copied and can only be pasted once in mrxvt
2) backspace doesn't work properly

For example in python I do:
print u"\u0540\u0539\u0538"
which prints out 3 characters:
ՀԹԸ
but when I select those 3 chars all that remains is:
Հ
and when I paste it in the terminal then it is not possible to delete the first character

I'll complete this post as I go along...

Monday, 25 June 2007

User applications

Overall
Minimalist and efficient. Ideally only run software which I can tweak for my own usage. Understand as much as possible. Be a control and performance freak.
The window manager: fvwm2
Small memory footprint. Keyboard driven. At most 2 applications per page at a time.
The terminal emulator: mrxvt
I am currently studying and modifying the code for my own use. I really like the tab support. Still not as complete as xterm (no UTF8 support for example). My mrxvt has been trimmed from all the visual stuff I deem unnecessary. I removed the -g flag from the final build and it is presently at 316K. I'm using the XFT functions for drawing fonts which don't support UTF-8 as of yet. I am hence currently looking at XFT functions which can either handle UTF-8 straight or maybe I'll do the conversion to another encoding first like UTF-16. More on this in next post...
The editor: vim
I am very impressed with vim but not that proficient yet. Smaller and faster than emacs. Very extensible for programming (ctag support).

The web browser: firefox or links?
This might be the most dependencies-hungry application I'll require. links is small and I have some hope of understanding and customising the source. firefox is huge and the code base seems huge. I don't think I'll be able to do with links only.

The email client: mutt?
I already use an ssh tunnel to get my mail from my POP server with thunderbird. Using fetchmail with mutt offer much better performance.

C code browsing tools
Exuberant ctags. Cscope. Cflow.