Help - Search - Members - Calendar
Full Version: Unicode Pim Terminal Apps
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
ZDevil
It's great to see Wellswang compile rxvt-unicode that can take unicode characters, besides gtkterm2.

I did get xim input working in these terminals. However, the question is whether there is any terminal applications for PIM that can do that.

I tried calcurse and a couple others, but even though they can run under these terminals, they don't seem to like unicodes, let alone xim input.

Is there any working terminal PIM applications that can work with unicode and xim under pdaX?

So far I am only aware of gvim, but it is still too complicated and not so intuitive to me as a non-hacker and non-programmer.

Any good suggestions? I bet many CJK users are also seeking something like this.
rolleyes.gif
ZDevil
Further googling a bit I came across this which looks very promising:

http://blog.kanru.info/archives/category/linux/

Sorry, it's in Chinese, just because it's talking about using Xft in the GTK interface of Emacs 22! tongue.gif

So I wonder if anyone can verify if the emacs package for pdaX can do this. If yes, I will definitely go for it, and, I promise a noob-free guide on "using emac for pim under pdaX" for the dummies (like me) here.
Am I already going too far?

[EDIT]
Found another one on compiling (in English!): smile.gif
http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs
Looks good. Will give it a go when leaving from work late tonight. smile.gif
2or0
QUOTE(ZDevil @ Mar 5 2007, 07:16 AM)
Further googling a bit I came across this which looks very promising:

http://blog.kanru.info/archives/category/linux/

Sorry, it's in Chinese, just because it's talking about using Xft in the GTK interface of Emacs 22!  tongue.gif

So I wonder if anyone can verify if the emacs package for pdaX can do this. If yes, I will definitely go for it, and, I promise a noob-free guide on "using emac for pim under pdaX" for the dummies (like me) here.
Am I already going too far?

[EDIT]
Found another one on compiling (in English!):  smile.gif
http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs
Looks good. Will give it a go when leaving from work late tonight. smile.gif
*


I already compiled and use XftGnuEmacs. Everything works quite well except the file size is too big.

- yonggun
ZDevil
Hi 2or0,

Could you upload the package and show me how to compile XftGnuEmacs?

I've tried to compiled from the cvs source.
At first I ran into /usr/lib/crt1.o not found error when "make bootstrap"
Then I learned from a newsgroup posting a hint that the crt*.o stuff now go to the new locations in the compiler. This is fixed after changing the paths in the xterm.h
But then I ran into errors when it comes to the gtk stuff.
First it said gtk.h and gdkx.h are not found (they seem to be specified correctly in src/Makefile. Then I changed them into full paths. And I got tons of syntax errors when "make bootstrap" was reading the headers. What to do?
Many thanks!
pgas
QUOTE
Am I already going too far?

If you want to run emacs in a terminal you don't need the xft branch,
you don't even need to build with X at all for what it's worth.

about pim in emacs, have a look at "planner" and at "org-mode". (and bbdb for addresses)
ZDevil
QUOTE(pgas @ Mar 9 2007, 08:53 AM)
QUOTE
Am I already going too far?

If you want to run emacs in a terminal you don't need the xft branch,
you don't even need to build with X at all for what it's worth.

about pim in emacs, have a look at "planner" and at "org-mode". (and bbdb for addresses)
*



Hey, thanks pgas. wink.gif
The reason I wanna use XftGnuEmacs is that there is unicode support, which means in principle I can use xim to handle CJK stuff in emacs.
It seems the current emacs 21 does not have unicode support, so even if i run in under, let say, unicode-rxvt or gtkterm2, I am not sure if i can get unicode working.
But correct me if am wrong (i reall wish I am laugh.gif )

I just don't feel like wasting so much time again fiddling with this and that and finally feeling tired and giving up all the effort.

And this is what all I want to do:

Planner mode + Planner brower cool.gif



http://www003.upp.so-net.ne.jp/quasi/red/p...browser-en.html
pgas
emacs21 supports unicode,
emacs22 has better support for unicode

I believe the unicode xft branch uses unicode internally, which doesn't mean emacs22
doesn't support unicode.

Note, that I am not an expert about these subjects, you can find more infos there:
http://www.emacswiki.org/cgi-bin/wiki.pl?UniCode


and in any case, if you only want to use it in a terminal you can use --with-x=no

(I think some people might give you better answers on this on #emacs@irc.freenode.net)
ZDevil
QUOTE(pgas @ Mar 9 2007, 12:54 PM)
emacs21 supports unicode,
emacs22 has better support for unicode
I believe the unicode xft branch uses unicode internally, which doesn't mean emacs22
doesn't support unicode.
Note, that I am not an expert about these subjects, you can find more infos there:
http://www.emacswiki.org/cgi-bin/wiki.pl?UniCode
*


Thanks for the pointer. From what i read there emacs21 has (rather) limited unicode support; emacs22 still cannot handle unicode characters like CJK correctly.... which means I may have to fall back on xftgnuemacs again.
I will give it one more try to compile without gtk (perhaps x too) support. Will post my result later today. unsure.gif
tanjian2
QUOTE(ZDevil @ Mar 9 2007, 01:25 PM)
QUOTE(pgas @ Mar 9 2007, 12:54 PM)
emacs21 supports unicode,
emacs22 has better support for unicode
I believe the unicode xft branch uses unicode internally, which doesn't mean emacs22
doesn't support unicode.
Note, that I am not an expert about these subjects, you can find more infos there:
http://www.emacswiki.org/cgi-bin/wiki.pl?UniCode
*


Thanks for the pointer. From what i read there emacs21 has (rather) limited unicode support; emacs22 still cannot handle unicode characters like CJK correctly.... which means I may have to fall back on xftgnuemacs again.
I will give it one more try to compile without gtk (perhaps x too) support. Will post my result later today. unsure.gif
*



Have you tried talking to the guy here Zaurus emacs? Seems he has emacs running with lots of Japanese font support - albeit on a Sharp ROM ...
ZDevil
Nice! That should work as it doesn't seem to use any qtopia stuff. I will try it out after I'm done with my trial build. smile.gif

[EDIT]
hmmm ... seems i was getting too excited. His pdf readme says the x11 version depends on X/Qt. Perhaps the terminal mode still works. let's see ... unsure.gif
deckard73
Hello

I compiled emacs-cvs by myself and did a set-input-method japanese inside emacs.
After that I can use hiragana, katakana, kanji in emacs buffer. emacs edict works fine.
You need a japanese font, too!

One problem (bug) exists. Some characters disappear if I move the cursor around. If the cursor is again over the character it appears again. Strange. I use the gtk version of emacs. But same for other toolkits.
On PC same works very well without the above mentioned bug

Hope this info helps
Enno

QUOTE(ZDevil @ Mar 9 2007, 03:08 PM)
Nice! That should work as it doesn't seem to use any qtopia stuff. I will try it out after I'm done with my trial build. smile.gif

[EDIT]
hmmm ... seems i was getting too excited. His pdf readme says the x11 version depends on X/Qt. Perhaps the terminal mode still works. let's see ...  unsure.gif
*
ZDevil
QUOTE(deckard73 @ Mar 9 2007, 09:21 PM)
Hello

I compiled emacs-cvs by myself and did a set-input-method japanese inside emacs.
After that I can use hiragana, katakana, kanji in emacs buffer. emacs edict works fine.
You need a japanese font, too!

One problem (bug) exists. Some characters disappear if I move the cursor around. If the cursor is again over the character it appears again. Strange. I use the gtk version of emacs. But same for other toolkits.
On PC same works very well without the above mentioned bug

Hope this info helps
Enno

*


Great. Thanks. So could you show me how to compile with gtk enabled?
I was building it again for around 3 hours (still make bootstrap). Things seem to go well (without gtk but stilll with x). Unfortunately i left my PSP power pack at home and the make sucked up almost all the juice... So gotta go home tonight and start over again. This time will do it with overclocking.
deckard73
Hi

[/quote]

Great. Thanks. So could you show me how to compile with gtk enabled?
I was building it again for around 3 hours (still make bootstrap). Things seem to go well (without gtk but stilll with x). Unfortunately i left my PSP power pack at home and the make sucked up almost all the juice... So gotta go home tonight and start over again. This time will do it with overclocking.
[/quote]

I did it with padXrom Version 1.1.0beta1

check out emacs-cvs sources. Then ...

If I remember right a

./configure --prefix=/mnt/card/local/ --with-x-toolkit=gtk
make
make install

did the job

It takes a long time!

bye
Enno
ZDevil
Thanks, Enno.
A little update:
Alright, now XftGnuEmacs seems to compile with gtk... (Earlier on I tried to compile without gtk and it went through.)
It took me quite a bit of time to figure out what was going on.
Basically the tons of errors are due to the wrong pointers in many headers to the freetype, gtk, gdk and glib headers.
I just did a quick and dirty trick by making symlinks of all the required headers in /opt/native/.../armv5tel-cacko-linux/include/
Now I can only wait for a few more hours to see what happens next ...
deckard73
QUOTE(ZDevil @ Mar 11 2007, 09:32 PM)
Thanks, Enno.
A little update:
Alright, now XftGnuEmacs seems to compile with gtk... (Earlier on I tried to compile without gtk and it went through.)
It took me quite a bit of time to figure out what was going on.
Basically the tons of errors are due to the wrong pointers in many headers to the freetype, gtk, gdk and glib headers.
I just did a quick and dirty trick by making symlinks of all the required headers in  /opt/native/.../armv5tel-cacko-linux/include/
Now I can only wait for a few more hours to see what happens next ...
*


Oops. I forgot to mention the symlink problem. Its half a year ago I compiled emacs. So I didnt remember. I use planner-mode, too. Changed some of the special keys to get the full power of shortcuts. I also started a translation of the planner manual into german. 25 percent done so far. Hard work, less time sad.gif

On the other hand, I dislike some planner internals. It should not have data doubling. Remember DRY-principle. But working with is fun. This tool is great.

bye
Enno
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.