Hi Bram,
I manually remove features that I don't need for each of my builds.
My work's HP-UX machine is very old and is lacking in resources so I try
to keep the build as small as workable. Because with this machine I have
no mouse capability I comment out all of the mouse related features in
feature.h, including FEAT_MOUSE_XTERM.
Sorry for any confusion.
Cheers
John
On 16-Jan-2021 08:28, Bram Moolenaar wrote:
John Marriott wrote:
On 15-Jan-2021 03:35, Bram Moolenaar wrote:
Patch 8.2.2345
Problem: No focus events in a terminal.
Solution: Add the t_fd and t_fe termcap entries and implement detecting
focus events. (Hayaki Saito, Magnus Groß, closes #7673,
closes #609, closes #5526)
Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
After this patch, HP-UX spits out this linker error if FEAT_MOUSE_XTERM
is not defined:
<snip>
cc -L/usr/local/lib -o vim objects/arabic.o
[...]
/usr/ccs/bin/ld: Unsatisfied symbols:
use_xterm_like_mouse (first referenced in objects/term.o) (code)
link.sh: Linking doesn't work at all, removing auto/link.sed
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
</snip>
It looks like a mismatch of #defines.
In term.c, lines 2057-2074 are conditionally included if UNIX or VMS are
defined. However, the function use_xterm_like_mouse() is only included
(in os_unix.c) if FEAT_MOUSE_XTERM or PROTO are also defined (line 2326).
Hmm, I wonder how you got the defines in this state. The feature.h file
contains:
#if defined(UNIX) || defined(VMS)
# define FEAT_MOUSE_XTERM
We can adjust the #ifdef, but I still wonder why it doensn't work for
you currently. Is FEAT_MOUSE_XTERM undefined somehow?
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/04a36f76-6241-c42a-9fa6-e13da5421a9f%40internode.on.net.