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?
--
hundred-and-one symptoms of being an internet addict:
157. You fum through a magazine, you first check to see if it has a web
address.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/202101152128.10FLS1Kc103999%40masaka.moolenaar.net.