[Canna-cvs 210] CVS update: canna

Back to archive index

canna****@lists***** canna****@lists*****
2002年 12月 28日 (土) 01:29:35 JST


Date:	Saturday December 28, 2002 @ 1:29
Author:	aida_s

Update of /cvsroot/canna/canna
In directory sf-cvs:/tmp/cvs-serv20084

Modified Files:
	ChangeLog mkrelease.sh 
Log Message:
Cleanuped tty handling of canuum and TERMCAP/TERMINFO detection.
This will improve portability to new systems.
I carefully worked, but it might break something in older systems.

* canuum/.cvsignore: add config.h.in
* canuum/Imakefile(TERMCAP_LIB): added
  (distclean): delete config.cache and config.status
  (reconfig): added
* canuum/canna.c: don't include <sgtty.h>, <curses.h>, <term.h>
  directly. latter 2 are included from "wnn_os.h".
* canuum/config.h.in: remove from CVS. instead generate by
  mkrelease.sh.
* canuum/acconfig.h: added (ported from FreeWnn)
  (HAVE_TERMINFO): added
* mkrelease.sh: generate canuum/config.h.in using autoheader2.5
* configure.in: Do not set CDEBUGFLAGS/CCOPTIONS when CANNA.
  Do not use AC_SEARCH_LIBS to detect terminal library.
  Check termcap.h, sgtty.h, sys/termio.h and termios.h.
  Choose appropreate terminal library. (ported from vim6.1)
  Check setsid, dup2.
* canuum/freewnn-uum.files: remove config.h.in and add acconfig.h
* canuum/jhlp.c: move #include <curses.h> and <term.h> to wnn_os.h.
  include termios.h or termio.h or sgtty.h appropreately.
  (USE_LINUX_TERM): Added new macro. If you define it, old linux
  specific terminal handling code is used instead of new POSIX based
  one.  I don't know why such a special code was needed, but leave it
  just in case.
  (ttyfd): initialize before open_pty()
  (j_term_save): added. POSIX termios ready.
  (j_term_restore): ditto
  (j_term_p_init): ditto
  (j_term_init): now POSIX termios ready
  (open_ttyp): move some code to j_term_*.
  (open_pty): ditto
  (do_end): move cleanup code to j_term_restore.
  (change_size): change #ifdefs
  (exec_cmd): Add new code to use POSIX setsid(). If it is not
  available or USE_LINUX_TERM is specified, old code is used.
* canuum/termcap.c: Move #include <curses.h>, <ncurses.h> and
  <term.h> to "wnn_os.h".
* termio.h: ditto
* wnn_os.h: Use configure result instead of old TERMCAP/TERMINFO
  definitions when CONFIG_TERMINFO is defined. In this case
  include <curses.h>, <ncurses.h>, <term.h> and/or <termcap.h>
  appropreately.


===================================================================
File: ChangeLog        	Status: Up-to-date

   Working revision:	1.34	Fri Dec 27 16:29:34 2002
   Repository revision:	1.34	/cvsroot/canna/canna/ChangeLog,v
   Sticky Options:	-kk

   Existing Tags:
	release_3_6_p1           	(revision: 1.10.2.2)
	RELBR_3                  	(branch: 1.10.2)
	relbr_3_bp               	(revision: 1.10)
	release_3_6              	(revision: 1.10)

===================================================================
File: mkrelease.sh     	Status: Up-to-date

   Working revision:	1.3	Fri Dec 27 16:29:34 2002
   Repository revision:	1.3	/cvsroot/canna/canna/mkrelease.sh,v
   Sticky Options:	-kk

   Existing Tags:
	release_3_6_p1           	(revision: 1.1)
	RELBR_3                  	(branch: 1.1.2)
	relbr_3_bp               	(revision: 1.1)
	release_3_6              	(revision: 1.1)




Canna-cvs メーリングリストの案内
Back to archive index