On Fri, 17 Dec 2004, Sean Porterfield wrote:

James Rich wrote:

The columns do not line up for me in xt5250.


They don't? Are you using a proportional font? Can you make a screen shot and post it?

http://linux.porterfield.net/FC3-testscreen.png

I didn't change my font (since it won't change!) I don't know what font it is, but it doesn't look proportional to me.

Woah - that looks really messed up. It looks like a fixed font to me as well. Maybe copying the code from the tests page didn't get everything quite right? But I think you said that x5250 displayed the exact same page just fine...


It would be nice if double click would select a word, though.

I'll keep this in mind.

I've been looking over the code and talking with Martin Rowe and it looks like x5250 should be able to input the cent key. It already handles the cent character on output (at least it does here). I've just made a few changes to ignore some special modifier keys when pressed by themselves but that won't affect anything that matters.

Martin says that he cannot enter the cent character, x5250 doesn't complain but it doesn't enter it either. x5250 will return to lib5250 all keys between keysym XK_space and XK_ydiaeresis, which includes XK_cent. When a key is pressed, x5250 returns to lib5250 the first character of the keysym string. If the keysym does not have a printable character this could be the source of the problem. Perhaps I should do what you tried earlier and return the keysym itself, cast as an int. The Xlib programming manual says not to do this, but I should reread that section to refresh my memory as to why.

I've put in a little test just for the cent key and made a tarball with this change. Care to try it out?

http://www.chowhouse.com/~james/x5250/x5250.tar.gz

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.