git HEAD fails to compile on Mac OS 10.9

2014-10-21 Thread Christian Ebert
Hello, Trying to build git HEAD fails here like so: depbase=`echo screen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"tmux\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"

Re: git HEAD fails to compile on Mac OS 10.9

2014-10-21 Thread Nicholas Marriott
Try this please: diff --git a/compat.h b/compat.h index 2e433a0..5f3ff8f 100644 --- a/compat.h +++ b/compat.h @@ -176,6 +176,10 @@ typedef uint64_t u_int64_t; #define TTY_NAME_MAX 32 #endif +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + #ifndef HAVE_FLOCK #define LOCK_SH 0 #def

Re: git HEAD fails to compile on Mac OS 10.9

2014-10-21 Thread Christian Ebert
* Nicholas Marriott on Tuesday, October 21, 2014 at 09:27:00 +0100 > Try this please: > > diff --git a/compat.h b/compat.h > index 2e433a0..5f3ff8f 100644 > --- a/compat.h > +++ b/compat.h > @@ -176,6 +176,10 @@ typedef uint64_t u_int64_t; > #define TTY_NAME_MAX 32 > #endif > > +#ifndef HOST_NAME

Re: tmux scrolling

2014-10-21 Thread Balazs Kezes
On 2014-10-21 10:52 +0530, chokden wrote: > I tried setting set -g mode-mouse off, but when i open a new pane in > terminal, the shell output doesnt show all of it. Instead the whole > tmux screen moves up and down. So what happens if you enable mode-mouse? Please do this in a clean a tmux. Start