vim-5.0k uses terminfo, "hangs" loading file

James Dumser dumser@ti.com
Thu Jul 24 09:37:00 GMT 1997


I just installed Sergey's latest (with misc-fixes1) coolview. To be able
to use the tty/pty enhancements, I attempted to get vim (5.0k) compiled 
under cygwin32. (I set CYGWIN_NOTTY in the mean time.)

Ran configure and noticed that it chose terminfo over termcap (I 
previously installed termcap-1.3). Since everyone's been talking about 
cs capabilities in termcap recently, this surprised me. Configure also 
saw I had X11 libraries and tried to use them, resulting in many 
warnings about "type 'int' assumed" (or some such) -- didn't want it 
anyway, so I turned off the X11 stuff.

The compile completed cleanly except for some warnings about signed to 
unsigned comparisons (e.g., at ex_docmd.c:4767), but the resulting 
executable doesn't want to load files. "./vim INSTALL" just sits there. 
If I hit ^C, it will report '"INSTALL" Interrupted'; if I kill it, it 
tries to write to .viminfo (which it says is unwritable).

I then tried to recompile it, editing config.h to force it to use 
termcap rather than terminfo. The compile completed successfully (no 
obvious differences in warnings), but the executable performs the same 
as above.

I'm including my config.cache; if you've got 5.0k (or 5.0h?) to compile,
would you compare your config.cache to mine and let me know of any 
discrepancies?

-- 
James Dumser  972.462.5335  dumser@ti.com
-------------- next part --------------
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_func_connect=${ac_cv_func_connect=no}
ac_cv_func_fchdir=${ac_cv_func_fchdir=no}
ac_cv_func_fchown=${ac_cv_func_fchown=no}
ac_cv_func_fsync=${ac_cv_func_fsync=yes}
ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
ac_cv_func_gethostbyname=${ac_cv_func_gethostbyname=no}
ac_cv_func_getpwnam=${ac_cv_func_getpwnam=yes}
ac_cv_func_getpwuid=${ac_cv_func_getpwuid=yes}
ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday=yes}
ac_cv_func_getwd=${ac_cv_func_getwd=yes}
ac_cv_func_lstat=${ac_cv_func_lstat=yes}
ac_cv_func_memset=${ac_cv_func_memset=yes}
ac_cv_func_opendir=${ac_cv_func_opendir=yes}
ac_cv_func_putenv=${ac_cv_func_putenv=yes}
ac_cv_func_qsort=${ac_cv_func_qsort=yes}
ac_cv_func_remove=${ac_cv_func_remove=yes}
ac_cv_func_select=${ac_cv_func_select=yes}
ac_cv_func_setenv=${ac_cv_func_setenv=yes}
ac_cv_func_setpgid=${ac_cv_func_setpgid=yes}
ac_cv_func_setsid=${ac_cv_func_setsid=yes}
ac_cv_func_shmat=${ac_cv_func_shmat=no}
ac_cv_func_sigset=${ac_cv_func_sigset=no}
ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
ac_cv_func_strftime=${ac_cv_func_strftime=yes}
ac_cv_func_stricmp=${ac_cv_func_stricmp=no}
ac_cv_func_strncasecmp=${ac_cv_func_strncasecmp=yes}
ac_cv_func_strnicmp=${ac_cv_func_strnicmp=no}
ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes}
ac_cv_func_strtol=${ac_cv_func_strtol=yes}
ac_cv_func_tgetent=${ac_cv_func_tgetent=yes}
ac_cv_func_utime=${ac_cv_func_utime=yes}
ac_cv_func_utimes=${ac_cv_func_utimes=yes}
ac_cv_have_x=${ac_cv_have_x=have_x=no}
ac_cv_header_dirent_dirent_h=${ac_cv_header_dirent_dirent_h=yes}
ac_cv_header_elf_h=${ac_cv_header_elf_h=no}
ac_cv_header_errno_h=${ac_cv_header_errno_h=yes}
ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes}
ac_cv_header_libc_h=${ac_cv_header_libc_h=no}
ac_cv_header_locale_h=${ac_cv_header_locale_h=yes}
ac_cv_header_poll_h=${ac_cv_header_poll_h=no}
ac_cv_header_pwd_h=${ac_cv_header_pwd_h=yes}
ac_cv_header_sgtty_h=${ac_cv_header_sgtty_h=yes}
ac_cv_header_stdc=${ac_cv_header_stdc=yes}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
ac_cv_header_stropts_h=${ac_cv_header_stropts_h=no}
ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h=yes}
ac_cv_header_sys_param_h=${ac_cv_header_sys_param_h=yes}
ac_cv_header_sys_poll_h=${ac_cv_header_sys_poll_h=no}
ac_cv_header_sys_ptem_h=${ac_cv_header_sys_ptem_h=no}
ac_cv_header_sys_select_h=${ac_cv_header_sys_select_h=no}
ac_cv_header_sys_statfs_h=${ac_cv_header_sys_statfs_h=no}
ac_cv_header_sys_stream_h=${ac_cv_header_sys_stream_h=no}
ac_cv_header_sys_systeminfo_h=${ac_cv_header_sys_systeminfo_h=no}
ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
ac_cv_header_sys_utsname_h=${ac_cv_header_sys_utsname_h=yes}
ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h=yes}
ac_cv_header_termcap_h=${ac_cv_header_termcap_h=yes}
ac_cv_header_termio_h=${ac_cv_header_termio_h=yes}
ac_cv_header_termios_h=${ac_cv_header_termios_h=yes}
ac_cv_header_time=${ac_cv_header_time=yes}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_header_utime_h=${ac_cv_header_utime_h=yes}
ac_cv_lib_ICE_IceConnectionNumber=${ac_cv_lib_ICE_IceConnectionNumber=yes}
ac_cv_lib_dir_opendir=${ac_cv_lib_dir_opendir=no}
ac_cv_lib_dnet_dnet_ntoa=${ac_cv_lib_dnet_dnet_ntoa=no}
ac_cv_lib_dnet_stub_dnet_ntoa=${ac_cv_lib_dnet_stub_dnet_ntoa=no}
ac_cv_lib_ipc_shmat=${ac_cv_lib_ipc_shmat=no}
ac_cv_lib_ncurses_tgetent=${ac_cv_lib_ncurses_tgetent=yes}
ac_cv_lib_nsl_gethostbyname=${ac_cv_lib_nsl_gethostbyname=no}
ac_cv_lib_socket_connect=${ac_cv_lib_socket_connect=no}
ac_cv_path_xmkmfpath=${ac_cv_path_xmkmfpath=/usr/local/X11R6.3/bin/xmkmf}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional=no}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_type_mode_t=${ac_cv_type_mode_t=yes}
ac_cv_type_off_t=${ac_cv_type_off_t=yes}
ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
ac_cv_type_signal=${ac_cv_type_signal=void}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
vi_cv_perlinterp=${vi_cv_perlinterp=no}


More information about the Cygwin mailing list