Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 06:20
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy Can Input Chinese Character
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Author Message
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Sat 15 Oct 2005, 05:09    Post subject:  

But there is something strange.

If I want to use fictx(XIM) in leafpad,I must start leafpad in rxvt.
If I start leafpad through menu/Desktop,I can't input chinese.

Why?What's the difference between the 2 methods of starting the promgram?

Chat & abiword also encounter this problem.

Thanks.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 15 Oct 2005, 06:00    Post subject:  

when you start a program from the menu, it is using environmental variables from /etc/profile

for example, in profile, XTERM=linux
in .bashrc, XTERM=xterm

try putting any variables you use, like LANG=... LANGUAGE=... in /etc/profile (or you should be able to put them in /etc/profile.local ... do not forget to export them)
Back to top
View user's profile Send private message 
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Sat 15 Oct 2005, 12:13    Post subject:  

But which XTERM would work.In /etc/profile or in /root/.bashrc?

Thanks.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 15 Oct 2005, 17:19    Post subject:  

i do not know if this is the answer to your problem, but some of the environmental variables are different when you run a program from the menu, compared to in a bash script

in particular, XTERM=linux ... which is limited to ascii characters

on my machine, /etc/profile sets:

XTERM=linux

in a bash script, these are set:

COLORTERM=rxvt-xpm
TERM=xterm

so you could try putting this in /etc/profile.local (create the file if it does not exist)

export COLORTERM=rxvt-xpm
export TERM=xterm

and also maybe something like this (use the correct locale parameters, of course)

export LANG=zh_CN
export LANGUAGE=$LANG
export LC_ALL=$LANG

i do not know if it will work or not
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 15 Oct 2005, 22:56    Post subject:  

Unicode in Linux and Unix
http://eyegene.ophthy.med.umich.edu/unicode/

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Marcel


Joined: 15 May 2005
Posts: 112
Location: Sydney, Australia

PostPosted: Wed 23 Nov 2005, 02:53    Post subject: Fcitx  

RE sccat's posting 3/9/05:
What is fcitx? I'd like to be able to enter Chinese characters as shown on your screenshot - I can do exactly that in WinXP: what must I do to do it in Puppy? (I'm learning Mandarin - simplified characters).
Thanks for any help.

_________________
"It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets." - Voltaire
Back to top
View user's profile Send private message 
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Thu 24 Nov 2005, 00:26    Post subject:  

See this:
http://freeforums.bizhat.com/index.php?mforum=com&showtopic=90

fcitx is an XIM(X input method),like scim.


By the way,Are you Chinese?
Back to top
View user's profile Send private message 
Marcel


Joined: 15 May 2005
Posts: 112
Location: Sydney, Australia

PostPosted: Thu 24 Nov 2005, 01:47    Post subject:  

Thanks sccat. No, I'm not Chinese - just an old guy learning Mandarin for pleasure! Smile
_________________
"It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets." - Voltaire
Back to top
View user's profile Send private message 
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Thu 24 Nov 2005, 07:14    Post subject:  

Have fun.

I'm learning french for pleasure.
Back to top
View user's profile Send private message 
herbalix

Joined: 29 Nov 2005
Posts: 1

PostPosted: Tue 29 Nov 2005, 22:58    Post subject: Input Chinese in Puppy  

Marcel wrote:
Thanks sccat. No, I'm not Chinese - just an old guy learning Mandarin for pleasure! Smile



To me, Puppy Linux is the most fascinating live CD. I intend to learn how to input Chinese using it. Your kind advice in sharing with me your experience will be greatly appreciated!

There is a saying in Chinese: 活到老, 学到老 (Keeping on learning regardless age.) Your motivation in learning Chinese prompts me to write this. If you like a penpal to write in Chinese, please contact me.

The Chinese web site 21cn.com offers mail box up to 10 GB-->7 GB more than Gmail! Beside retrieving emails (not available in Gmail) from, and forwarding emails to other email accounts, it's filled with all sorts of things to read, see, and hear, to help you in the process of learning Mandarin. Sign up for a free account at:
http://fmail.21cn.com/freemail/register.jsp?recommender=herbalix@21cn.com.
My email address is embedded there--one way to encumber spam robots from picking it up for spamming.

Please note that logging into the mail box does not work with FireFox, but Opera, IE, SlimBrowser, Avant Browser.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0599s ][ Queries: 12 (0.0069s) ][ GZIP on ]