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/canuum In directory sf-cvs:/tmp/cvs-serv20084/canuum Modified Files: .cvsignore Imakefile canna.c configure.in freewnn-uum.files jhlp.c termcap.c termio.c wnn_os.h Added Files: acconfig.h Removed Files: config.h.in 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: acconfig.h Status: Up-to-date Working revision: 1.1 Fri Dec 27 16:29:34 2002 Repository revision: 1.1 /cvsroot/canna/canna/canuum/acconfig.h,v Existing Tags: No Tags Exist =================================================================== File: .cvsignore Status: Up-to-date Working revision: 1.2 Fri Dec 27 16:29:34 2002 Repository revision: 1.2 /cvsroot/canna/canna/canuum/.cvsignore,v Existing Tags: No Tags Exist =================================================================== File: Imakefile Status: Up-to-date Working revision: 1.3 Fri Dec 27 16:29:34 2002 Repository revision: 1.3 /cvsroot/canna/canna/canuum/Imakefile,v Sticky Options: -kk Existing Tags: release_3_6_p1 (revision: 1.1.1.1) RELBR_3 (branch: 1.1.1.1.2) relbr_3_bp (revision: 1.1.1.1) release_3_6 (revision: 1.1.1.1) after_fujieda_patches (revision: 1.1.1.1) orig_35b2 (revision: 1.1.1.1) NEC_CORP (branch: 1.1.1) =================================================================== File: canna.c Status: Up-to-date Working revision: 1.4 Fri Dec 27 16:29:34 2002 Repository revision: 1.4 /cvsroot/canna/canna/canuum/canna.c,v Sticky Options: -kk Existing Tags: release_3_6_p1 (revision: 1.2) RELBR_3 (branch: 1.2.2) relbr_3_bp (revision: 1.2) release_3_6 (revision: 1.2) after_fujieda_patches (revision: 1.1.1.1) orig_35b2 (revision: 1.1.1.1) NEC_CORP (branch: 1.1.1) =================================================================== File: configure.in Status: Up-to-date Working revision: 1.4 Fri Dec 27 16:29:34 2002 Repository revision: 1.4 /cvsroot/canna/canna/canuum/configure.in,v Sticky Options: -kk Existing Tags: freewnn_20021221 (revision: 1.1.1.1) FREEWNN (branch: 1.1.1) =================================================================== File: freewnn-uum.files Status: Up-to-date Working revision: 1.2 Fri Dec 27 16:29:34 2002 Repository revision: 1.2 /cvsroot/canna/canna/canuum/freewnn-uum.files,v Sticky Options: -kk Existing Tags: No Tags Exist =================================================================== File: jhlp.c Status: Up-to-date Working revision: 1.3 Fri Dec 27 16:29:35 2002 Repository revision: 1.3 /cvsroot/canna/canna/canuum/jhlp.c,v Sticky Options: -kk Existing Tags: freewnn_20021221 (revision: 1.1.1.1) FREEWNN (branch: 1.1.1) =================================================================== File: termcap.c Status: Up-to-date Working revision: 1.2 Fri Dec 27 16:29:35 2002 Repository revision: 1.2 /cvsroot/canna/canna/canuum/termcap.c,v Sticky Options: -kk Existing Tags: freewnn_20021221 (revision: 1.1.1.1) FREEWNN (branch: 1.1.1) =================================================================== File: termio.c Status: Up-to-date Working revision: 1.3 Fri Dec 27 16:29:35 2002 Repository revision: 1.3 /cvsroot/canna/canna/canuum/termio.c,v Sticky Options: -kk Existing Tags: freewnn_20021221 (revision: 1.1.1.1) FREEWNN (branch: 1.1.1) =================================================================== File: wnn_os.h Status: Up-to-date Working revision: 1.3 Fri Dec 27 16:29:35 2002 Repository revision: 1.3 /cvsroot/canna/canna/canuum/wnn_os.h,v Sticky Options: -kk Existing Tags: freewnn_20021221 (revision: 1.1.1.1) FREEWNN (branch: 1.1.1) =================================================================== File: no file config.h.in Status: Up-to-date Working revision: No entry for config.h.in Repository revision: 1.2 /cvsroot/canna/canna/canuum/Attic/config.h.in,v Existing Tags: freewnn_20021221 (revision: 1.1.1.1) FREEWNN (branch: 1.1.1)