   ߴ  ҿ 
Դϴ.   X11R5 ִ xterm  ΰ ۼǾ
 Ұ    ٸ κ ־ ȥ 
 ; ̷ ڸ   ̸
README.old ٲپϴ.
 ִ   κ Ȳ ٲϴ. ⿡
  ܵӴϴ.
  [ -- Ȳ ġ]

----------------
  Installation
----------------

You need X Window System 11 Release 4 or Release 5 to install hanterm.
(I didn't checked on R4).

1. Do "xmkmf".
    It makes Makefile from Imakefile in the directory.

    [ OpenWindows 3 User ]
    Do "imake -DOpenWindows /usr/openwin/lib/config"

    Some systems have no xmkmf. Even worse, they have it
    with incorrect configuration files. Ask your system
    admin to install it correctly.

    For HP users, I included "Makefile.hp". Try "make -f Makefile.hp"
    if you dont have xmkmf.

    For DGUX users, try "make -f Makefile.dgux". It is from dkim@cwc.com.

2. Do "make".
    It makes "hanterm" in the directory.

    [ OpenWindows 3 User ]
    They says error messages like:
	ld: Undefined symbol
	   _sin
	   _cos
	   _pow
	   _floor
	   _get_wmShellWidgetClass
	   _get_applicationShellWidgetClass
    Don't worry, hanterm works anyway.

3. Install "hanterm" to a system directory.
    "su root"
    "make install"

    Normally it will install hanterm to /usr/bin/X11/hanterm, and
    Hanterm.ad to /usr/lib/X11/app-defaults/Hanterm.

    [ Non Super User ]
    Just place hanterm where you like.

Now let's install Hangul fonts.

4. Do "bdftopcf johabg16.bdf > johabg16.pcf",
      "bdftopcf johabm16.bdf > johabm16.pcf",
      "bdftopcf johabp16.bdf > johabp16.pcf".
      "bdftopcf johabsg16.bdf > johabsg16.pcf".
      "bdftopcf johabsm16.bdf > johabsm16.pcf".
      "bdftopcf johabsp16.bdf > johabsp16.pcf".

    If you have insufficient disk space, install johabm16 only.
    "johabs" fonts include graphic characters in KSC5601.
    If you dont need them, dont install.

    [ X11 R4 User ]
    Change "bdftopcf" to "bdftosnf" and "*.pcf" to "*.snf"

    [ OpenWindows User ]
    Skip to 13.

5. Become super user.
    "su root"

   If you are a user of X Terminal like NCD 16,
   you probably need to become a super user to install fonts.
   If you are using X Window System at console,
   you can install fonts in your private directory.
   
6. Copy *.pcf(or *.snf) file to the system directory
   (usually /usr/lib/X11/fonts/misc).
    Do "cp *.pcf /usr/lib/X11/fonts/misc" (Release 5)
    or "cp *.snf /usr/lib/X11/fonts/misc" (Release 4)

    [ Non Super User ]
    Make a font directory and move "*.pcf" files (or *.snf) to the directory.
    "mv *.pcf hanterm_font" or
    "mv *.snf hanterm_font"

7. Do "mkfontdir ." in the font directory.
    "cd /usr/lib/X11/fonts/misc"
    "mkfontdir ."

    [ Non Super User ]
    "cd hanterm_font"
    "mkfontdir ."

8. Do "xset fp rehash".

    [ Non Super User ]
    "xset fp+ `pwd`"
    It add a user directory to system font search path.
    If your are using X Terminal, "xset fp+" will fail.
    Please try to install fonts to system directory (usually under /tftpboot).

    You can test whether fonts are well installed by typing
    "xlsfonts|grep johab"
    It will shows 3 or 6 lines of fonts name.
    If there is no output from above commands, please ask
    your root or friends how to install fonts.

9. OK, run "hanterm" and read below lines, thanks.

    [ OpenWindows 3 ]

    If it says "ld.so.1: hanterm: can't find file libXaw.so.5",
    do "setenv LD_LIBRARY_PATH /usr/openwin/lib".

10. If you're using OpenWindows, try the following procedures to install
    fonts.

    [assume you're running OpenWindows]
    [in hanterm source directory]
    % mkdir ofont
    % cd ofont
    % convertfont -n -kaist-myeongjo-16 ../johabm16.bdf
    % convertfont -n -kaist-gothic-16 ../johabg16.bdf
    % convertfont -n -kaist-philgi-16 ../johabp16.bdf
    % bldfamily
    [It says "cat: ./Compat.list: No such file or directory", don't worry.]
    [now, quit OpenWindows]
    % setenv FONTPATH hanterm/ofont:/usr/openwin/lib/fonts
    [`hanterm/ofont' is the directory where you did `bldfamily']
    [now, restart OpenWindows]
    % openwin
    % xlsfonts|grep kaist
    [3 fonts should appear here]
    [run hanterm]
    % hanterm -hfn -kaist-myeongjo-16

-------------
   Ұ
-------------

 xterm ѱ ǵ xterm  Դϴ.
xterm ٸ   ϴ.

1.  ǥ

    â  ٿ  Է ° ɴϴ.

    [ѱ]/[] : ѱ Է   Է  Ÿ.
    [ϼ]/[] : ѱ ڵ尡 ϼ Ÿ.
    [2]/[3] : ѱ  2 3 Ÿ.

    콺  ° ȯ˴ϴ.

2. ä 

    äø ä/ũ  մϴ. ä 忡  Ű
     ϴ.

    ^H, DEL :   
    ^W :  ܾ 
    ^U :  
    Esc : Ͼ äùۿ ִ   .
    Return : ϰ Բ äù   .

3. "-hfn" ɼ

    ѱ Ʈ ̸ ϴ ɼԴϴ.
      ü Ʈ ˴ϴ.
    .Xdefault  Ϸ "hanterm*hangulFont"  մϴ.
      ִ Ʈ̸    ֽϴ.

    -kaist-myeongjo-bold-r-normal--16-160-75-75-c-160-johab-1 ()
    -kaist-gothic-medium-r-normal--16-160-75-75-c-160-johab-1 ()
    -kaist-philgi-bold-r-normal--16-160-75-75-c-160-johab-1   (ʱ)

    ڸ ǥϷ johab ſ johabs  մϴ.

4. "-h" ɼ

    ޾ ̴ ɼǰ   ɴϴ.

5. KSC5601-1992   ϼ  մϴ.
   X resource  hangulCode Դϴ.  0(=ϼ) 1(=) Դϴ.

   : Hanterm*hangulCode: 1

   ɼδ -hc Դϴ.

   *  *
    ڵ Unix 󿡼   Ƿ
   뿡 Ǹ մϴ.

6.   մϴ.
   X resource  hangulKeyboard Դϴ.  2(=2) Ȥ 3(=3) Դϴ.

   : Hanterm*hangulKeyboard: 2

   ߿ 콺 ư [2] ̶   ٲ  ֽϴ.
     2Դϴ.

7. Ctrl+F10   ڵ带  Է  ֽϴ.

8. Į ÷  Į մϴ.

   Escape sequence  ESC, "[", Pm, "m" Դϴ.
   Pm  30: , 31: , 32: ʷ, 33: ,
         34: Ķ, 35: ȫ, 36: ϴ, 37: Ͼ
         40: , 41: , 42: ʷ, 43: ,
         44: Ķ, 45: ȫ, 46: ϴ, 47: Ͼ
         30-37 ̸ ڻ ٲߴϴ
         40-47 ̸  ٲߴϴ.

-------------
   
-------------
<> 3.0  2.2.1 ǰ ޶ ?

   *  Ѵ.
   * 3  Ѵ.
   * Ưڸ ڵ尪 Է  ִ.
   * Į Ѵ.
   * -tk, -c ɼ .

<> ѱ/ Է 带 ٲٷ?

   Shift   ¿ space  ų
   콺 â  Ʒ ִ []/[ѱ]  .

<> ϼ/ ڵ带 ٲٷ?

   F2  ų
   콺 â  Ʒ ִ [ϼ]/[]  .

<> 3/2  ٲٷ?

   콺 â  Ʒ ִ [3]/[2]  .

<>  ڸ ԷϷ?

   Ctrl   ¿ F10   â  Ʒ "ڵ>" 
    ´. ⿡ ϼ ڵ  16 ԷѴ.

<> ä   ų  ?

   Meta   ¿ c  .

<> ä 忡 ̴ Ű?

   ^H, DEL :   .
   ^W :  ܾ .
   ^U :  .
   Esc : Է  .
   Enter : Է   CR  .

<>   ⺻  Ϸ?

   ~/.Xdefaults 
     Hanterm*hangulCode: 1
   ̶ ش.

<>   ⺻ 3 Ϸ?

   ~/.Xdefaults 
     Hanterm*hangulKeyboard: 3
   ̶ ش.

<> ѿ ȯ Ű ڵ ȯ Ű, äø ȯ Ű, ڵԷ Ű ٲٷ?

   ~/.Xdefaults  Hanterm*VT100*translations ҽ ϸ ȴ.
    ѿ ȯ Ű F10, ڵ ȯ Ű Meta+F2, ä  ȯ Ű Ctrl+c,
   ڵ Է Ű Shift+space  ٲٷ

   Hanterm*VT100*translations: #override\
    <KeyPress>F10: toggle-hangul()\n\
    Meta<KeyPress>F2: change-code()\n\
    Ctrl<KeyPress>c: toggle-chat()\n\
    Shift<KeyPress>space: code-input()

   ̶ ָ ȴ.

<> ѿ ȯ Ű Meta+space  ٲٰ ʹ.

   .Xdefaults     ش.

   Hanterm*VT100*translations: #override\
    Meta<KeyPress>space: toggle-hangul()\n\
    Shift<KeyPress>space: insert-seven-bit()

<> nemacs  -nw ɼ µ Meta+c  äø  Ű
   capitalize-word   ȴ.

   ~/.Xdefaults     ش. äø  Ű
   Meta+F3  ٲپ.

   Hanterm*VT100*translations: #override\
    Meta<KeyPress>c:insert-eight-bit()\n\
    Meta<KeyPress>F3:toggle-chat()

<> X Terminal  µ Meta Ű   ʴ´.

   ~/.Xdefaults     ش.

   Hanterm*VT100*translations: #override\
    Mod1<KeyPress>:insert-eight-bit()

<> ֿܼ  Ǵµ X Terminal  Ʈ ٰ ´.

   X Terminal  Ʈ Ư 丮( /tftpboot) ´.
    Ʈ   νѴ.

<> "ѱ"̶ Էߴµ "GQ1["̶ ´.

   
   stty -istrip cs8 -parenb
   ̶ غ.

<> bash  µ "ѱ"̶ Էϸ Ҹ .

   bash  8 bit Է  Ƿ ѱ   .
   tcsh  ѱ ȴ.

<> vi  ѱ  ȴ.

    vi  ѱ  Ƿ ѱ   ִ ͸
   Ѵ. Anonymous ftp  cair.kaist.ac.kr  pub/Hangul/editor
     .

<>  ϴ ʹ?

    ϴ ʹ helvis  ִ. cair.kaist.ac.kr 
   /hangul/editor/helvis-17h1.tar.gz    ִ.
   ( ̾߱)

<> E-mail  ѱ  ȴ.

   E-mail  ѱ  ѱ E-mail Ʈ ƾ Ѵ.
   Anonymous ftp  cair.kaist.ac.kr  pub/Hangul/mail  
   .

<> rn  ѱ  ȴ.

   tin ̳ trn  .

<>  ߴµ who   ʴ´.

    ۹̼ǰ /etc/utmp  ȮѴ.
    setuid bit  Ǿ   owner /etc/utmp
     ־ ϰ ƴϸ /etc/utmp      ־
   Ѵ.

<> nemacs  -nw ɼ µ M-x  ġ ɾ °  ʰ
   M-x-  ´.

   ~/.Xdefaults     ش.

   Hanterm*eightBitInput: False

<>  BBS  ϴµ ڵ  δ.

   ѱ Ʈ ̸ johabs    ٲ۴.

   Hanterm*hangulFont: *-myeongjo-bold-r-*-16-*-johabs-1

<> ۾ ũ ϰ ʹ.

   ϴ X  X11R5 ̶ X  Ʈ Ȯ/Ҹ
   ϹǷ ~/.Xdefaults     ָ ȴ. (Courier 18 
    )

   Hanterm*font:       -*-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1
   Hanterm*hangulFont: -*-myeongjo-bold-r-*--*-180-95-75-c-*-johabs-1

    "-"   ߿ϴ (14 ). -180-95-75-  ڴ 
   ٲ  ִµ -pixel-x-y- ̴. pixel  Ʈ height  
    x   ػ, y   ػ󵵸 Ѵ.  pixel 
   y   Ʈ ߰, ѱ  2 谡 ǵ x  Ѵ.

<> ѱ ȭ ͷ  ʹ.

   hpscat ̳ ѱ LaTeX  Ѵ. Anonymous ftp  cair.kaist.ac.kr
    pub/Hangul/{print,latex}   .

<> 3   ˰ ʹ.

    ҽ  ִ KEYBOARD3 ̶ ȭ  .

<>     ʹ.

   hangul@cair.kaist.ac.kr mailing list    .

---------
   
---------

ó(1991  )  ó ϴ.  1.7...
    ׷ٰ ũ ,  ũ, α ȭ    Ϸ
     xterm ġ   ڴٰ Ǿ 2.0 ʹ xterm
    ϰ Ǿϴ.

2.1  äø带  ־ϴ.  1.7  äø
     ־, 2.0  1.7 Ұ   α׷̾...
    · äø尡 1.7 ٴ ϴ. ¿ ũѵ ǰ...

2.2  2.0  2.1     -tk ɼǰ -c ɼ
    ٽ ϴ. ׸ iso-2022  ڵ ȭ 
       ִ  ÷߽ϴ.

    Ʈ ̸ ٲϴ. ׵ Ʈ̸ sjk  ־ 
    Ҵ  ϴ. ׷ kaist  ٲپϴ.   Ʈ
    Ư ڰ ־µ  Ⱦ̴  Ƽ ݽϴ. X Terminal
     쿡 Ʈ ϴµ ɸ ð  ˴ϴ.

    R4   ϵ ʴ  ƽϴ.

3.0 (1993  9 )  , 3 , Į , Linux 
    HPUX 

3.0.1 (1993  9  28 ) 3  "/"  .
    README . DGUX 

3.0.2 (1993  11  12 ) Solaris 2.2 porting.
    Imakefile.R4  Imakefile  .
    Imakefile.ow  Imakefile  .

---------
   
---------

X11R4   ,
Linux   ִ(yunju@camars.kaist.ac.kr),
HP   ߺ(jbkang@csone.kaist.ac.kr),
IRIX3.3.2   ش(koma@vortex.kaist.ac.kr),
IRIX4.0.5 ð Ÿ ׽Ʈ  ӵö(lim@rani.chem.yale.edu),
3.0    ֵ ݷ  ڿ뼷(park@casbah.acns.nwu.edu),
 Ĵ(jshin@minerva.cis.yale.edu),
DGUX   Ĵ(dkim@cwc.com),
ѱ Ʈ   ֵ   ѱ۰ ǻ,
README  öڸ ٷ  ¼(hyun@ils.nwu.edu),
Resource ȭ translations  ٷ  Marcus S. Yoo(msy@scr.siemens.com),
 (cdpark@piri.kaist.ac.kr)
׿  ϴ  е鲲 帳ϴ.

---------
   
---------

ϴ ϴٰ Ǵ , ؾ    ø
  ֽʽÿ.   ݿϵ ϰڽϴ.
 ּҴ jksong@hnc.re.krԴϴ.



                   *******************************
                   *             *
                   *******************************

***************************************************
README.1 
***************************************************

  == ڸ ߰Ų  == 


#  .

-   Բ   3.0.2 ؼ Դϴ.

- 켱 ܾδ  3.0.2  ϴ.

- ɼ ϼ Ʈ  ְ ؼ   Ҽ ֽϴ.

-  Էϴ κ ߰ǰ Ư ڵ  Է° ϰ Ҽ ֽϴ.


#  .

- Ϲ    Ұ  մϴ.

-  Է : Էϰ ϴ   ġ alt+F9    شϴ
              ڰ Ʒ statusο ȣ پ ɴϴ.
              ȭǥŰ  ڸ Ǽ ֽϴ.
              ̻¿ ϴ  ȣ ġ Է ˴ϴ.
               Է¸ ̱⶧ alt+F9   ˴ϴ.

- Ư Է :  ҿ Ư ڸ ԷҼ ־µ,
                  ׷ ؼ   ڵ带 ˾ƾ մϴ.
                   ҿ    Ưڰ Ǿ
                   ڸ ڷ ٲٷ ϸ ׿ شϴ Ưڸ
                  ڸ ԷҶ  ԷҼ ֽϴ.
                    Ʒ  ǹ Ưڸ մϴ.

		        /*   бȣ */ /*   ȣ */
		        /*    */ /*   ѱ۹ */
		        /*   й */ /*   ڽ */
		        /*    */ /*      */
		        /*   ȣ */ /*   󰡳 */
		        /*   īŸī */ /*   ҷù */

.. ߷ ...

# . 1994. 3. 11. Ρ ߩ   

-- ְ ߰մϴ.

켮  ڹ ڵ带  3.02 Ͽ johabs
Ʈ ڸ   ֵ ƽϴ.

,Ư Է½ ̽Ű ESCŰ    Դϴ.


	 1994. 3. 20   yunju@casaturn.kaist.ac.kr


***********************************************
README.2
***********************************************

1. use "xmkmf -a" instead of "xmkmf".
2. UnixWare 2.0* support added.

	However, if you starts hanterm directly from 'window manager',
	you may end up with some wild tty set such as
	"cs5 parenb speed 0 baud....".
	make sure you set these correctly before you do anything else
	especially, tty speed of '0' can be very annoying using some
	screen oriented tools such as vi.
	"stty 38400 cs8 -parenb -istrip" is what I do.

3. Now using 'fd_set' instead of the primitive 'int' type fd mask for select().

4. The above should let you go with Solaris 2.X with not much effort.

5. johabshp16.bdf had incorrect name for it - fixed.

6. memory leaks fixed.

7. the NON-standard 'bcopy/bzero' are being replaced with memmove()/memset()
   if SVR4 is defined.

8. bcopy() is only needed for overlapping area; otherwise, it will give you
   tremendous overhead - replaced with simple & optimized memcpy().

9. Linux now uses TERMIOS.

10. 'fillgc' in hangul.c could be used unintialized; intialized as NULL.

11. Imakefile is changed to work in 'Unixware 2.0X'.
	(need -lgen -lsocket; maybe in Solaris2.* too???)

12. Imakefile is changed to do the fonts job for ya.
    ('make' will create hanterm & *.pcf)
    ('make install' will try to install $(FONTDIR)/misc; and run mkfontdir).

13. If you can use Compressed fonts, make sure run 'compress' on those fonts
    and re-run 'mkfontdir'.

14. at last, if your installed Imake config file has 'InstallXtermSetUID'
    defined as YES, then hanterm will be installed as 'setuid' to root.


Daeshik Kim (hellcat@korea.slip.umd.edu // dkim@cwc.com)

*******************************************************
README.3
*******************************************************

 Ǿϴ.

	1. VAX͹̳ ؼ code_input()Լ   F10 -> F7 .

	2. SUNOS4 ؼ main.c 1699~1971 .

	3. hanja input 9° ڰ õ ʾƼ
		...... *string <  '9'
		...... *string <= '9' .

	4. README README.0, README.hanja README.1,
	   README.hellcat README.2, ׸  ̰ README.3.....


An user in Korea.

*********************************************************
README.4
********************************************************


1. To use Wansung Hangul fonts like Daewoo fonts included
in X11 R5 or R6, Hanyang fonts (available at ftp://ftp.kaist.ac.kr)
and Trigem font, use '-ks' option for Daewoo and Hanyang font
and '-kst' for Trigem fonts along with '-hfn Wansung_font_name'.
If  you always use Wansung font, which must be the case
when only X server available to you is X terminal with Daewoo
fonts, you may set Hangul font the way you set other X resources
(e.g. add to .Xdefaults or .Xresource in your homedirectory
what follows)

Hanterm*hangulFont: -daewoo-mincho-*--16-*-c-*


2. Patch for Hangul Wansung fonts has been already applied to 
   this distribution of Hanterm 3.0.3(hanterm303a-wsfont.tar.gz). 
   Hence, no need to apply it although patch file is included 
   for your reference.

------------------------------------------------

When applied to Hanterm303(a), Hanterm303a-wsfont.patch 
adds to Hanterm 3.0.3(hanterm303a.tar.gz) support for 
Wansung(pre-composed) Hangul fonts such as Daewoo fonts 
included in most X11 R5 or R6 server. Wansung Hangul font 
support was originally added to Hanterm 3.0.2 by Yang,Woo-sok 
at KAIST to make use of a Sony X terminal with Daewoo 
Hangul fonts. Yun, YoungSun at KAIST modified it a little 
to better support Wansung fonts and released Hanterm3.0.2-ysyun
(available at ftp://ftp.kaist.ac.kr /hangul/terminal/hanterm).  

  Since Hanterm 3.0.2, Hanterm has undergone 
miscellaneous changes and bug fixes mostly by Kim, Daeshik. 
Unfortunately, this improved version of Hanterm(3.0.3a) has 
dropped support for Wansung Hangul fonts, which may not 
be of much use to people in Korea or those who can use 
console of workstations, but is of great use to those 
abroad who have to live with X terminal with only Daewoo 
fonts. Hence, I patched Hanterm303 to include Wansung font
support. As I have very little,if any, knowledge of X 
programming, what I did was just compare the source of 
Hanterm302-ysyun and that of Hanterm303 and patch the latter 
with what is present only in the former. Therefore, all the 
credits to Wansung font support should go to Yang,Woo-sok 
and Yoon, Young-sun. 

   I tested this patch to  Hanterm 3.0.3(named Hanterm303-wsfont.patch) 
under Linux Slackware 2.3(with kernel 1.3.32) and XFree86 3.1.2 
and Sun OS 5.5 and X11R6 on Sparc Server 1000. I geuss it would
work on all platforms where Hanterm303 work. It would be great
if you could test this patch on other platforms and post
the result to han.comp.hangul or send it to those involved in
Hanterm development.  


   Dec. 30, 1995

   Jungshik Shin
   (jshin@minerva.cis.yale.edu)
******************************************************************


  Most X terminal available nowadays have Hangul Wansung fonts
from Daewoo. Since most of you don't have enough privilege to
make  Johab fonts included here available to X terminal, 
whichever method it uses to fetch X fonts, tftp or font server, 
you have to live with Daewoo fonts whether you like it or not. 
For instuction to use Wansung font, see README.4
