On 21-Jul-2017 07:05, Bram Moolenaar wrote:
Patch 8.0.0739
Problem: Terminal resizing doesn't work well.
Solution: Resize the terminal to the Vim window and the other way around.
Avoid mapping typed keys. Set the environment properly.
Files: src/terminal.c, src/os_unix.c, src/structs.h
After this patch, my build fails on HPUX like so (ok on mingw):
...
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o
objects/os_unix.o os_unix.c
cc: "os_unix.c", line 4082: error 1588: "envbuf_Term" undefined.
cc: "os_unix.c", line 4082: warning 563: Argument #1 is not the correct
type.
cc: "os_unix.c", line 4082: error 1594: The sizeof operator cannot be
applied to types with unknown size.
cc: "os_unix.c", line 4082: warning 527: Integral value implicitly
converted to pointer in assignment.
cc: "os_unix.c", line 4082: warning 563: Argument #2 is not the correct
type.
cc: "os_unix.c", line 4082: warning 526: Pointer implicitly converted to
integral value in assignment.
cc: "os_unix.c", line 4082: warning 563: Argument #3 is not the correct
type.
cc: "os_unix.c", line 4083: warning 563: Argument #1 is not the correct
type.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
New variable envbuf_TERM (line 4062) is referred to as envbuf_Term on
line 4082. Please check the attached patch which attempts to fix it.
Cheers
John
--
--
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].
For more options, visit https://groups.google.com/d/optout.
--- os_unix.c.orig 2017-07-21 07:12:52.120032000 +1000
+++ os_unix.c 2017-07-22 05:55:45.875933500 +1000
@@ -4059,7 +4059,7 @@
# ifdef HAVE_SETENV
char envbuf[50];
# else
- static char envbuf_TERM[30];
+ static char envbuf_Term[30];
static char envbuf_Rows[20];
static char envbuf_Lines[20];
static char envbuf_Columns[20];