Loading ...
Sorry, an error occurred while loading the content.

198Re: Fwd: Re: How to get keypad keys to work [MacOSX, vim]

Expand Messages
  • Bill Tschumy
    Mar 30, 2001
    • 0 Attachment
      I have gotten this to compile, but probably not in the correct way.

      First in feature.h I commented in the definition of NO_BUILTIN_TCAPS

      #ifdef HAVE_TGETENT
      # define NO_BUILTIN_TCAPS

      Then in config.h I manually commented out the define of
      HAVE_TERMCAP_H (I know this is auto-generated and there probably
      something else I could change but I couldn't find it). This file
      does not appear to be present on Mac OSX.

      /* Define if you have the <termcap.h> header file. */
      /*#define HAVE_TERMCAP_H 1*/

      This seemed to compile correctly and VIM now recognizes my vt100 terminal type.

      >Can you help Bill here?
      >Do we have testers for Mac OS X here? Ripley?
      >From: Bill Tschumy <bill@...>
      >Newsgroups: comp.editors
      >Subject: Re: How to get keypad keys to work [MacOSX, vim]
      >Date: Thu, 29 Mar 2001 21:44:01 -0600
      >Message-ID: <01HW.B6E95D21004A388C11C99950@...>
      >One other bit of info. When I "make" using the stock system it dies
      >trying to compile term.c because termcap.h is not found. This file isn't
      >on my MacOSX system (although I've installed all the developer files).
      >Here is the compile output:
      >localhost% make
      >CC="cc -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp "
      >srcdir=. sh ./osdef.sh
      >osdef0.c:8: termcap.h: No such file or directory
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp buffer.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp charset.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp digraph.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp edit.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp eval.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp ex_cmds.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp ex_docmd.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp ex_getln.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp fileio.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp getchar.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp if_cscope.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp main.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp mark.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp memfile.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp memline.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp menu.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp message.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp misc1.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp misc2.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp multbyte.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp normal.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp ops.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp option.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp os_unix.c
      >creating pathdef.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp pathdef.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp quickfix.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp regexp.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp screen.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp search.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp syntax.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp tag.c
      >cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp term.c
      >term.c:32: termcap.h: No such file or directory
      >make: *** [term.o] Error 1
      >* Bill Tschumy <bill@...>:
      >> I am trying to use vim (non-gui version) on the
      >> new MacOSX operating system (finally Unix on Mac).
      >> The "Terminal" app that comes with the OS does vt100 emulation.
      >> When I start up vim I get the opening message:
      >> Terminal entry not found in terminfo
      >> vt100 not known
      >> <lists 4 terminal options>
      >> defaulting to 'ansi'
      >> I assume my arrow keys and other keypad keys are not working
      >> (generally just beeps) because it doesn't know about vt100.
      >> What do I need to do to get this working?
      >* Sven Guckes:
      >> Install vim with "+builtin_terms"? Please try.
      >Bill Tschumy
      >Otherwise -- Austin, TX

      Bill Tschumy
      Otherwise -- Austin, TX
    • Show all 8 messages in this topic