Hi,
I'm hoping you can shed some light on this problem, because google's search
just digs up outdated references.
dvtm is a terminal multiplexing program similar to gnu screen I'm
successfully using in linux, but having trouble compiling in cygwin.
Here's the error:
$ make
cleaning
dvtm build options:
CFLAGS = -std=c99 -Os -I. -I/usr/include -I/usr/local/include
-I/usr/include/ncursesw -DVERSION="0.5.2" -DNDEBUG
LDFLAGS = -L/usr/lib -L/usr/local/lib -lc -lutil -lncursesw
CC = cc
CC dvtm.c
dvtm.c: In function ?parse_args?:
dvtm.c:909: error: lvalue required as left operand of assignment
dvtm.c:935: error: lvalue required as left operand of assignment
dvtm.c:937: error: lvalue required as left operand of assignment
dvtm.c:939: error: lvalue required as left operand of assignment
make: *** [dvtm.o] Error 1
Here's dvtm.c:909
903: static bool
904: parse_args(int argc, char *argv[]) {
905: int arg;
906: bool init = false;
907:
908: if (!getenv("ESCDELAY"))
909: ESCDELAY = 100;
A message <http://www.cygwin.com/ml/cygwin/2010-01/msg00776.html> on cygwin
mentions that ESCDELAY was changed at some point to handle reentrant code,
but I cannot find any documentation regarding this change.