Re: adding codepage

2001-08-09 Thread Linuxism Chang

I will follow your way first.
hope the 2.2.14 kernel has the cp950.c

> you could recompile your kernel, or, do the following
> cp /usr/src/linux/fs/nls/cp950.c (dot)
> gcc -c -D__KERNEL__ -DMODULE -O2 -Wall -Wstrict-prototypes 
> -fomit-frame-pointer -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe 
> -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include
> -DMODVERSIONS  -include /usr/src/linux/include/linux/modversions.h   
> nls_cp950.c
> this will give you nls_cp950.o
> cp nls_cp950.o /lib/modules/2.2.14-4/fs
> depmod -a
> modprobe nls_cp950


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: adding codepage

2001-08-09 Thread Mike Andrew

On Thursday 09 August 2001 14:20, Linuxism Chang wrote:

> I did
> rpm -qf nls_cp950.o
> no such file.

rpm requires the FULL pathname as an identifier

anyway, i checked, and no, col2.4 does NOT supply this in

linux-kernel-binary-2.2.14-4.i386.rpm

-

you could recompile your kernel, or, do the following


mkdir elephants
cd elephants

cp /usr/src/linux/fs/nls/cp950.c (dot)


type the following magic ALL ON ONE LINE

gcc -c -D__KERNEL__ -DMODULE -O2 -Wall -Wstrict-prototypes 
-fomit-frame-pointer -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe 
-mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux/include
-DMODVERSIONS  -include /usr/src/linux/include/linux/modversions.h   
nls_cp950.c


---

this will give you nls_cp950.o

you can

/sbin/insmod nls_cp950.o

you can

cp nls_cp950.o /lib/modules/2.2.14-4/fs

depmod -a

modprobe nls_cp950

-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: adding codepage

2001-08-08 Thread Linuxism Chang

guess you are using the latest n greating.

in edesktop 2.4, there is only /lib/modules/2.2.14/fs.
I did
rpm -qf nls_cp950.o
no such file.
ls /lib/modules/2.2.14/fs also revealed no suck codepage.

So my only option to recompile, I guess... hmm.
is cp950 in your 2.4 kernel's (or menuconfig)
and is there any site that would allow me download
the cp_950.o for 2.2.14 kernel?

> rpm -qf /lib/modules/2.2.14/kernel/fs/nls/nls_cp950.o  
> if it replies with the name of an rpm then that rpm 
> came from the distro unless you ftp'd it from somewhere.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: adding codepage

2001-08-08 Thread Mike Andrew

On Wednesday 08 August 2001 19:53, Linuxism Chang wrote:
> oh no.. it's really not there edesktop 2.4
> does 2.2.14 kernel have chinese language support
> by default? or was it caldera who stripped it out?

nothing is by 'default' in a kernel, not even the cpu and machine 
architecture. Each distro chooses to have / not have various modules 
compiled. Since modules do no harm being there if they aren't used, almost 
all distros compile almost all modules 'by default' 

to answer your question

rpm -qf /lib/modules/2.2.14/kernel/fs/nls/nls_cp950.o  

if it replies with the name of an rpm then that rpm came from the distro 
unless you ftp'd it from somewhere.


-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: adding codepage

2001-08-08 Thread Linuxism Chang

oh no.. it's really not there edesktop 2.4
does 2.2.14 kernel have chinese language support
by default? or was it caldera who stripped it out?

> /lib/modules/<2.4.x>/kernel/fs/nls/nls_cp950.o 
> simply? modprobe nls_cp950
> if it aint there. recompile your kernel.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: adding codepage

2001-08-07 Thread Mike Andrew

On Wednesday 08 August 2001 13:31, Linuxism Chang wrote:
> I suspect that caldera edesktop 2.4 didn't include codepage 950
> and iocharset 950. any SxS for adding codepages to linux?

it _should_ be in

/lib/modules/<2.4.x>/kernel/fs/nls/nls_cp950.o 

simply? modprobe nls_cp950

if it aint there. recompile your kernel.


-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users