Re: Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Nicholas Marriott
You can typically get a suitable xterm entry (assuming you are using xterm) by doing $ infocmp xterm >x On another box, copying it to your Solaris box and then doing $ tic x Which (for ncurses) will install it in ~/.terminfo. I didn't know you are using GCC 4.6, could be a bug there, or could

Re: tmux causing kernel panics on Mac OS X 10.7

2011-07-21 Thread Nicholas Marriott
Well I'd like to help but there is nothing much I can do other than suggest you try to reproduce it on FreeBSD (or, worse, Darwin) and then maybe we can do something about it :-). There was a report of tmux triggering a kernel panic on FreeBSD a year or so ago, maybe Apple synced up that bug, migh

Re: PAM support in tmux?

2011-07-21 Thread Nicholas Marriott
On Thu, Jul 21, 2011 at 11:16:50PM -0400, Ben Boeckel wrote: > Nicholas Marriott wrote: > > Maybe. Can you give a bit more explanation? What is systemd-logind and > > why does this option have anything to do with PAM? Why does it need PAM > > to kill processes on logout? > > If applications do no

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Victor Hooi
Hi, That somebody would be me then...lol. I installed GCC 4.6.1 locally into the same prefix as tmux, using the instructions here: http://jblopen.com/node/16 Is there something there that I missed, or could do to fix these sorts of issues? Neither xterm-new or xterm-color work: open terminal

Re: tmux causing kernel panics on Mac OS X 10.7

2011-07-21 Thread Tim Gray
On Jul 22, 2011 at 04:10 AM +0100, Nicholas Marriott wrote: >If tmux causes a kernel panic it is entirely certain it isn't a tmux >problem, it is a kernel bug. I see what you are saying. >The message you show only really shows it is something to do with the >VFS but not much else. specfs is basic

Re: PAM support in tmux?

2011-07-21 Thread Ben Boeckel
Nicholas Marriott wrote: > Maybe. Can you give a bit more explanation? What is systemd-logind and > why does this option have anything to do with PAM? Why does it need PAM > to kill processes on logout? If applications do nothing, they will be killed on logout. If, instead, the application declar

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Nicholas Marriott
My guess is someone screwed up the gcc install, typically it has its own copies of any header files it doesn't like. Or could be a gcc bug (not unknown). You can build and install gcc locally if you really want to know :-). Lack of colour is probably TERM. Solaris 10 is old and IIRC TERM=xterm do

Re: tmux causing kernel panics on Mac OS X 10.7

2011-07-21 Thread Nicholas Marriott
If tmux causes a kernel panic it is entirely certain it isn't a tmux problem, it is a kernel bug. The message you show only really shows it is something to do with the VFS but not much else. specfs is basically a set of utility routines used by a whole bunch of other stuff. Are you certain you ca

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Victor Hooi
Nicholas, Thanks for that. Yup, using CPPFLAGS and LDFLAGS helps it successfully find libevent and GCC. And forcing SunStudio using "CC=cc" - it manages to compile successfully as well =). I'm curious as to why it wouldn't compile with GCC, but I suppose you're right, it's some weirdness with

tmux causing kernel panics on Mac OS X 10.7

2011-07-21 Thread Tim Gray
I just upgraded my Mac to OS X 10.7. So far I've had two kernel panics, both times when messing around in tmux. I *think* tmux is the one causing them, but what do I know :) It could be something else. When I start the tmux session, I do see the following message: > warning: unsupported new O

Re: PAM support in tmux?

2011-07-21 Thread Nicholas Marriott
Maybe. Can you give a bit more explanation? What is systemd-logind and why does this option have anything to do with PAM? Why does it need PAM to kill processes on logout? I'm not really clear on the use case either. It seems to me that if the admin wants to kill all processes of a user on logout

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Nicholas Marriott
you probably need to use eg CPPFLAGS="-I/path/to/libevent/include -I/path/to/ncurses/include" \ LDFLAGS="-L/path/to/libevent/lib -L/path/to/ncurses/lib" \ ./configure or install them in a standard location the #error thing sounds like you are trying to use gcc and hitting some retardness in the

PAM support in tmux?

2011-07-21 Thread Ben Boeckel
Hi, With systemd-logind, there will be the option to kill all user processes on logout. I was wondering whether a patch to start a PAM session for each tmux server would be accepted. It would be a compile-time option and if wanted, options could also be added. Thanks. --Ben [1]http://0pointer.de

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Victor Hooi
heya, Also, I should add I just noticed a fourth issue (possibly related) - the configure script seems to be finding the system curses.h, but not the ncurses.h that I've compiled in my prefix. I tried specifying "-x-includes=/db/pub/eq/tools/include" as well as "-x-includes=/db/pub/eq/tools/inclu

Compiling Tmux on Solaris 10 (x86)

2011-07-21 Thread Victor Hooi
Hi, I'm attempting to compile Tmux 1.5 on Solaris 10 (x86). The first issue I hit was finding libevent - I'd compiled libevent to a non-standard prefix, and there was no ./configure argument to specify that - I just ended up setting the LD_LIBRARY_PATH. Should I have done it a different way thoug