Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-03-2006, 04:40 AM
|
#1
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Rep:
|
Chinese input/printting on Slackware?
Hi everyone!!
I'm wondering whether some of you is able to print a chinese webpage?
I use mozilla 1.7.12 and when I do so, I get some strange square, not chinese caracter i mean.
Whereas I'm able to display chinese caracters from html page ....
I guess it's a problem from ps font .... or mozilla configuration.
Any idea?
Regards,
Haike.
|
|
|
|
03-03-2006, 08:13 AM
|
#2
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Welcome to LQ!
I printed this page okay with Chinese characters:
http://www.google.com/search?hl=zh-C...C%E7%B4%A2&lr=
Using Slackware 10.2, Firefox 1.5, and default settings.
|
|
|
|
03-03-2006, 06:05 PM
|
#3
|
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,357
Rep: 
|
Hi all,
Regarding the "input" part of this topic, can anyone help me with inputting Chinese characters?
I have installed scim, scim-pinyin and skim. It starts up fine and allows me to configure it, but I can't figure out how to actually use it. The config seems to suggest that I can trigger it with Ctl-Space, but that doesn't do anything.
Thanks,
Brian
|
|
|
|
03-03-2006, 08:22 PM
|
#4
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Brian,
You have hijacked aihaike's thread. If you will search here
at LQ, you will find some threads discussing Chinese input.
aihaike,
I didn't even install "kde-i18n-zh_CN" and/or "kde-i18n-zh_TW"
on this Slackware install, and it prints characters. So I'm
not sure where the font support comes from, but I do have some
Chinese fonts available. Can you post a link to a page that you
cannot get to print properly? I'll try it...
|
|
|
|
03-04-2006, 12:19 AM
|
#5
|
|
Member
Registered: Mar 2006
Distribution: fedora 7
Posts: 62
Rep:
|
[CHN]见到中国人真好哈哈
[ENG]Hello all, good to see some chinese faces here.
I am afraid I have to hijack this thread again. Is it possible to get Chinese display under CLI? say in links
|
|
|
|
03-04-2006, 09:33 AM
|
#6
|
|
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 273
Rep:
|
If you install zhcon you can input Chinese under cli.
As for activation of scim, I think you have to modify /etc/profile.d/lang.sh , please google for it. And then you must use scim -d to start it, then you can call it by Ctrl+Space
Regarding printing Chinese website, firefox 1.5 or greater does the magic 
|
|
|
|
03-04-2006, 03:00 PM
|
#7
|
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,357
Rep: 
|
Quote:
|
Originally Posted by kite
As for activation of scim, I think you have to modify /etc/profile.d/lang.sh , please google for it. And then you must use scim -d to start it, then you can call it by Ctrl+Space
|
Kite,
Everything displays fine and changing the locale gives me a Chinese UI, scim starts just fine, but I still cannot seem to activate the Chinese input (Ctl+Space does nothing).
Brian
|
|
|
|
03-04-2006, 10:00 PM
|
#8
|
|
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 273
Rep:
|
Here is my lang.sh file. Watch the line of export XMODIFIERS=@im=SCIM
[PHP][#!/bin/sh # Set the system locale. (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
# locale -a
# en_US is the Slackware default locale:
export LC_ALL=zh_CN.UTF-8
export LANG=zh_CN.UTF-8
export G_BROKEN_FILENAMES=1
export XMODIFIERS=@im=SCIM
#export GTK_IM_MODULE=xim
export GST_ID3_TAG_ENCODING=GBK
# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968. These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#export LANG=C
# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly. In those cases, you can set LANG=C before
# starting them. Still, I'd avoid UTF unless you actually need it.
#export LANG=en_US.UTF-8
# Another option for en_US:
#export LANG=en_US.ISO8859-1
# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places. Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C
# End of /etc/profile.d/lang.sh
~
/PHP]
|
|
|
|
03-07-2006, 12:35 AM
|
#9
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Original Poster
Rep:
|
Quote:
|
Originally Posted by BCarey
Kite,
Everything displays fine and changing the locale gives me a Chinese UI, scim starts just fine, but I still cannot seem to activate the Chinese input (Ctl+Space does nothing).
Brian
|
My sorry but I thought that in order to print chinese one had to install xcin or gcin. What is scim, scim-pinyin,zhcon ,skim and CLI?
Kite,
when I set up my /etc/profile.d/lang.sh with your parameters fonts used by in my environement look not nice. When I go back to LANG=en_US it works find and I can evan read chinese in cxterm.
Leonard,
you're right printing chinese with firefox 1.5 is just magic!!
Haike.
|
|
|
|
03-07-2006, 04:01 AM
|
#10
|
|
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 273
Rep:
|
Scim is an input method (platform) for non-English languages. And scim-pinyin is a input table only for Chinese which input Chinese characters by their pronunciation syllable(we call it pinyin).
Skim is an input method platform based upon scim-lib under *NIX systems (including GNU/Linux and FreeBSD) optimized for KDE. It provides a GUI panel (named scim-panel-kde), a KConfig config module and setup dialogs for itself and the libscim. It also has its own plugin system which supports on-demand loadable actions. Please check their homepage out: http://www.scim-im.org
Zhcon is a Fast double-byte virtual console for Chinese/Japanese/Korean (CJK) running under GNU/Linux and FreeBSD. It adds the ability of displaying and inputing CJK double-byte characters on console device. Check its homepage out: http://zhcon.sourceforge.net/
Regarding bad looking fonts, what exactly it is? Any screenshot? Is it the story of anti-aliasing Chinese fonts?
|
|
|
|
03-08-2006, 01:10 AM
|
#11
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Original Poster
Rep:
|
Quote:
|
Originally Posted by kite
Regarding bad looking fonts, what exactly it is? Any screenshot? Is it the story of anti-aliasing Chinese fonts?
|
well, in fact I think I don't have zh_CN.UTF-8 or zh_TW.UTF-8.
With zh_CN.GBK,zh_HK.UTF-8,zh_HK.Big5HKSCS and zh_TW.Big5 it seems working ....
|
|
|
|
03-08-2006, 09:04 AM
|
#12
|
|
Member
Registered: Jan 2005
Location: New York, NY
Distribution: Slackware 13.0
Posts: 56
Rep:
|
To BCarey: Did you try going into scim config and see if your preferred input methods are setup properly?
|
|
|
|
03-14-2006, 07:06 PM
|
#13
|
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,357
Rep: 
|
Yuchai,
They seem to be set up, but perhaps not correctly?
Brian
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:39 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|