(05/06/2004, 01/04/2004)
I'm a very lazy guy. It's unclear how often and how many information I'll put here. :-( Anyway, I'll be happy if you get some help from this page.

Why do I use GNU/Linux?
LaTeX xev diff strip
How to use Hangul in Mozilla 1.5?
How to install print program on the fresh LFS system?

Why do I use GNU/Linux?

I've been using Linux since 1991. At that time, it was the beginning of Internet. I used to download 'Slackware Linux installation 5.25" disks through 2,400 bps modem from the Hitel ISP. After several times of installation trial on a IBM compatible 80386 PC for a week, I booted up Linux finally and amazed at seeing the X Window screen. The only the fact I was running X Window made me feel so good. The workstations in the school lap always showed authority for whom has power - professors, instructors, lap workers. Using X Window in PC was impossible for students who could not afford to buy a workstation - Solaris, Irix. As I met Linux first time, I saw the potential of GNU/Linux in future.

It passed over 10 years. I had worked as a computer programmer until 2000. Luckily the last company I worked was running Linux business. If I liked computer than Freedom, I would have worked for the company still. I have been out of computer business since I moved to Canada in 2001. But, I'm still use Linux everyday.

I believe the OS (Operating System) should be free for general public like GNU/Linux or FreeBSD do. I think GNU/Linux is an airplane, and the commercial OS is a car. There is a huge difference. In the sky where there is no speed limit neither signs the pilot has to follow: balloon, fixed-wing airplane, airliner. Freedom is very hard to get. I prefer to say having freedom is having power.

strip

It removes unnessary data from object files such as executable or library files. In some cases, strip reduces a file over 50% of its original size. It's worth to use for saving space after installing new package especially big library.

LaTeX

This site introduces about LaTeX guide documents for beginner. The web address is http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/LaTeX_intro.html
I recommend "LaTeX for Word Processor Users" on the above web site.

xev

It's a program that shows the key code in X-Window.

How to use diff command?

Compare two files.

	$ diff old.txt new.txt > oldnew.patch
Patches in unified format.
	$ diff -u old.txt new.txt > oldnew.patch
Compare two source trees
	$ diff -ruN ./old ./new > tree.diff
Patch entire tree
	$ patch -0 -u < tree.diff
Unapply the patch
	$ patch -p0 -R < tree.diff
How to use Hangul in Mozilla 1.5?

Hangul is Korean alphabet. You can have idea about it on this site . I explain the installation step for using Hanguel in Mozilla 1.5 in Linux. I configured Linux system as below:

GLibc 2.3.2
Linux kernel 2.6.0
XFree86 4.3.0
Gtk+-2.2.0: Nabi needs this library for running.

Mozilla 1.5 has built-in i18n function like Microsoft Internet Explorer. To view korean web site, what you need is to install korean font. The XFree86 4.3.0 provides obsolete Korean font called "daewoo". There is a better Korean font called 'baekmuk" which is free. Install this font.
Nabi works like Global IME in MS Windows. It makes user input Korean in various X-Window program supports XIM (X Input Method). Mozilla 1.5 supports XIM too. You can get Nabi package from KLDP.net. You should check few things before firing up Nabi in command line.
  1. LANG should be set ko_KR.euckr
  2. Check your system supports Korean locale using locale command. locale shows current locale setup. locale -a show all the locales it provides.
  3. Check fontconfig runs properly. fc_list should shows font names in the system. If it doesn't work, run fc_cache command. It will generate font list in the system.
  4. Run Nabi typing nabi &. It will show tiny status box on the bar whichever you use: KDE, GNOME, WindowMaker, and etc.
  5. Run Mozilla 1.5
  6. Go to a Korean Web site and use Shift-Space to input Hangul.
Suppose you can input Hangul and other language smoothly, then modify the .profile or .bashrc file.
	export LANG=ko_KR.euckr
	export XMODIFIERS="@im=nabi"
	export XIM_PROGRAM=/usr/local/bin/nabi
How to install print program on fresh LFS (Linux From Scratch) system?

I had built the LFS system version 5.0. I got hard time to install print program for several days. The error I had confronted was "permission denied" as daemon - lpd, cupsd - started. I had searched many documents to solve this simple but important problem and finally I found the solution.
Before install print program, please check the permission for /var/spool directory. It would show
	drwxr-xr-x 	root	root	spool
It's the wrong permission setup. It should be
	drwxr-sr-x	root	root	spool
s means set user or group ID on execution. I really want to hear from someone who installed printer program with the default permission setup, which mentioned in the LFS-5.0 document. 1