[comp.windows.x] contrib/client/kterm patch #1

kato%cs.titech.junet@utokyo-relay.CSNET (Akira Kato) (11/05/88)

This patch fixes several careless mistakes as well as adding XMULIB
to Imakefile description.


Akira Kato,
Tokyo Institute of Technology
kato%cs.titech.junet@relay.cs.net


Index: Imakefile
*** Imakefile.r3	Sat Nov  5 13:04:44 1988
--- Imakefile	Sat Nov  5 13:07:31 1988
***************
*** 9,12 ****
     INSTALLFLAGS = $(INSTUIDFLAGS)
         INCLUDES = -I$(TOOLKITSRC) -I$(TOP)
  
! ComplexProgramTarget_1(kterm,$(XAWLIB) $(XTOOLLIB) $(XLIB),-ltermcap)
--- 9,12 ----
     INSTALLFLAGS = $(INSTUIDFLAGS)
         INCLUDES = -I$(TOOLKITSRC) -I$(TOP)
  
! ComplexProgramTarget_1(kterm,$(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB),-ltermcap)
Index: button.c
*** button.c.r3	Mon Sep  5 21:35:48 1988
--- button.c	Sat Nov  5 12:53:11 1988
***************
*** 1,5 ****
  /*
!  *	$Header: button.c,v 1.1 88/02/10 13:08:02 jim Exp $
   */
  
  
--- 1,5 ----
  /*
!  *	$Header: button.c,v 1.1 88/11/05 12:52:04 kato Exp $
   */
  
  
***************
*** 35,41 ****
  				J. Gettys.
  */
  #ifndef lint
! static char rcs_id[] = "$Header: button.c,v 1.1 88/02/10 13:08:02 jim Exp $";
  #endif	/* lint */
  #include <X11/Xos.h>
  #include <X11/Xlib.h>
--- 35,41 ----
  				J. Gettys.
  */
  #ifndef lint
! static char rcs_id[] = "$Header: button.c,v 1.1 88/11/05 12:52:04 kato Exp $";
  #endif	/* lint */
  #include <X11/Xos.h>
  #include <X11/Xlib.h>
***************
*** 1027,1038 ****
  
  #ifdef	KANJI	/* kato */
  	/*
! 	 * The size of a Kanji string might be enlarged 3times plus 5 chars
! 	 * if source string is expressed in EUC or SJIS. This is due to the
! 	 * rule that the Kanji string in cut buffer should be expressed in
! 	 * 7bit JIS code with Escape sequences.
  	 */
! 	if((line = malloc((unsigned) j * 3 + 5)) == (char *)NULL)
  #else	/* KANJI */
  	if((line = malloc((unsigned) j + 1)) == (char *)NULL)
  #endif	/* KANJI */
--- 1027,1041 ----
  
  #ifdef	KANJI	/* kato */
  	/*
! 	 * The size of a Kanji string might be enlarged at most 5 times
! 	 * plus 5 chars if source string is expressed in EUC or SJIS.
! 	 * This is due to the rule that the Kanji string in cut buffer
! 	 * should be expressed in 7bit JIS code with Escape sequences.
! 	 * This convention will be changed when standard method of
! 	 * inter-client communication is fixed. Currently this temporal
! 	 * solution is compatible to pure xterm.
  	 */
! 	if((line = malloc((unsigned) j * 5 + 5)) == (char *)NULL)
  #else	/* KANJI */
  	if((line = malloc((unsigned) j + 1)) == (char *)NULL)
  #endif	/* KANJI */
Index: kterm.man
*** kterm.man.r3	Tue Sep  6 10:22:17 1988
--- kterm.man	Sat Nov  5 13:02:00 1988
***************
*** 29,35 ****
  This font must be the same height and width as the ascii font.
  The default is ``a14.''
  .TP 8
! .BI \-fkb " kanji-font"
  This option specifies a Kanji bold font to be used when displaying bold text.  
  This font must be the same height and width as the kanji font.
  If no Kanji bold font is specified, it will be used as the
--- 29,35 ----
  This font must be the same height and width as the ascii font.
  The default is ``a14.''
  .TP 8
! .BI \-fkb " kanji-bold-font"
  This option specifies a Kanji bold font to be used when displaying bold text.  
  This font must be the same height and width as the kanji font.
  If no Kanji bold font is specified, it will be used as the
***************
*** 36,42 ****
  normal font and the bold font will be produced by overstriking this font.
  The default is not specified.
  .TP 8
! .BI \fr " kana-font"
  This option specifies a Kana font, which may be used as GR in 8bit environment.
  This font is used if ``ESC ( I'' is appeared in JIS Kanji mode, SS2 (0x8e)
  is appeared in EUC Kanji mode, and not used so frequntly in normal Japanese
--- 36,42 ----
  normal font and the bold font will be produced by overstriking this font.
  The default is not specified.
  .TP 8
! .BI \-fr " kana-font"
  This option specifies a Kana font, which may be used as GR in 8bit environment.
  This font is used if ``ESC ( I'' is appeared in JIS Kanji mode, SS2 (0x8e)
  is appeared in EUC Kanji mode, and not used so frequntly in normal Japanese
***************
*** 43,52 ****
  text.
  The default is ``kana14.''
  .TP 8
! .BI \frb " kana-font"
  This option specifies a Kana bold font.
  .TP 8
! .B \-km " kanji-mode"
  This option specifies the Kanji code from the pty output.
  If kanji-mode is ``jis'', then it assumes the output is coded by JIS code,
  i.e., each Kanji string is proceeded by ESC-$-B or ESC-$-@ and each
--- 43,52 ----
  text.
  The default is ``kana14.''
  .TP 8
! .BI \-frb " kana-bold-font"
  This option specifies a Kana bold font.
  .TP 8
! .BI \-km " kanji-mode"
  This option specifies the Kanji code from the pty output.
  If kanji-mode is ``jis'', then it assumes the output is coded by JIS code,
  i.e., each Kanji string is proceeded by ESC-$-B or ESC-$-@ and each
Index: patchlevel.c
*** patchlevel.c.r3	Mon Sep  5 21:28:00 1988
--- patchlevel.c	Sat Nov  5 12:53:18 1988
***************
*** 2,6 ****
  /*
   * Patchlevel for the difference between xterm and kterm.
   */
! static char kterm_patchlevel[] = "kterm 2.1 based on xterm in release 2" ;
  #endif	KANJI
--- 2,6 ----
  /*
   * Patchlevel for the difference between xterm and kterm.
   */
! static char kterm_patchlevel[] = "kterm 2.1.1 based on xterm in release 2" ;
  #endif	KANJI