How to default to non-login shell?

2013-06-09 Thread John Long
I saw some discussion on this awhile ago and I don't understand why tmux defaults to using a login shell. That wouldn't bother me too much except I can't figure out how to tell it not to do that. And I would like to be able to tell tmux not to do that in a way that uses whatever shell I have set f

Re: solved?!?!?! [broken backspace key in zsh under Solaris Intel]

2013-04-23 Thread John Long
Thanks. I'll hope the current setup works. Thanks again to everybody. -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerfu

Re: solved?!?!?! [broken backspace key in zsh under Solaris Intel]

2013-04-23 Thread John Long
> fine but I know the latest one can trigger display issues (with, for > example, weechat and irssi) if you use them inside tmux. Ok, thanks for the heads up. > > > On Tue, Apr 23, 2013 at 11:56:03AM +, John Long wrote: > > On Tue, Apr 23, 2013 at 12:48:22PM +0100, Ni

Re: solved?!?!?! [broken backspace key in zsh under Solaris Intel]

2013-04-23 Thread John Long
On Tue, Apr 23, 2013 at 12:48:22PM +0100, Nicholas Marriott wrote: > Your TERM should be xterm outside tmux and screen inside tmux, That definitely doesn't work in my case. All I did was change my .zshrc to export TERM=xterm and all the command line problems in tmux went away. > otherwise you may

solved?!?!?! [broken backspace key in zsh under Solaris Intel]

2013-04-23 Thread John Long
> On Mon, Apr 22, 2013 at 04:40:49PM +0100, Nicholas Marriott wrote: > > Hmm this is weird. What is TERM set to inside tmux? > > Do you have the infocmp command? If so please run "infocmp" inside tmux > > and send me the output. Ok, I figured I should check these on my SPARC box where zsh under t

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-23 Thread John Long
Hello Frank, On Mon, Apr 22, 2013 at 05:37:04PM +0200, Frank Terbeck wrote: > Okay. Bash uses the readline library for input handling. Zsh does not. > It has its own line editor implementation (zle: man zshzle). So, > generally, if bash works that doesn't mean anything for zsh. I remembered that

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-23 Thread John Long
On Mon, Apr 22, 2013 at 04:40:49PM +0100, Nicholas Marriott wrote: > Hmm this is weird. What is TERM set to inside tmux? screen > Do you have the infocmp command? If so please run "infocmp" inside tmux > and send me the output. It says: Sorry, I don't know anything about your "screen" terminal

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
I'm sending this again as attachments since the characters may not be displayable in email. First attachment is in xterm, second in tmux. Not sure if attachments will go through to the mailing list though. If it doesn't work let me know and I'll send it to you directly. Script started on Mon Apr 2

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 02:31:13PM +0100, Nicholas Marriott wrote: > Ok so zsh is probably sending something weird. > > Can you run script then reproduce then exit script and send me the > typescript file, eg something like: > > $ script > Script started, output file is typescript > $ abcdef > $

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 02:11:31PM +0100, Nicholas Marriott wrote: > This isn't clear. Are you saying the problem only occurs at the zsh > prompt and not when you do it with cat? Yes. > > If I do this at my shell prompt, where X is the cursor: > > $ abcdefX > > I get: > > $ abcdeX > > If I

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 02:15:49PM +0100, Nicholas Marriott wrote: > Ok so the problem only occurs with zsh. > If you reproduce the problem inside tmux and then press C-b r (where C-b > is your tmux prefix key), does the cursor move to the right place? No, it doesn't move at all. ---

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 01:08:54PM +, John Long wrote: > > I'm trying to work out if this is because tmux is getting the wrong > > thing from zsh, or getting the right thing from zsh but displaying the > > wrong thing for xterm. > > Wondering about this earli

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 01:58:33PM +0100, Nicholas Marriott wrote: > Ok, but is that behaviour just at the shell prompt, or if you run "cat" > then do the same, ie you are typing in cat rather than at the shell, > does the cursor also move wrongly? Eg do: > > $ cat > abcdef > > Instead of at the

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 12:48:47PM +, John Long wrote: > On Mon, Apr 22, 2013 at 01:38:37PM +0100, Nicholas Marriott wrote: > > Hmm this looks fine too. If you do "cat" outside tmux and press > > backspace, do you get "^H" or nothing printed? > > It

Re: Integration of patches for Solaris

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 02:48:04PM +0200, Dagobert Michelsen wrote: > > Thanks for all your work on > > Solaris packaging, fixes, etc. I don't use any of it because I don't want > > the infrastructure and I don't want to make Solaris' preexisting package > > hell any worse, > > I really don't und

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 01:38:37PM +0100, Nicholas Marriott wrote: > Hmm this looks fine too. If you do "cat" outside tmux and press > backspace, do you get "^H" or nothing printed? It does what I would expect, it erases the t in cat and leaves me with ca, no funny characters are printed. > > Wh

Re: Integration of patches for Solaris

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 01:20:29PM +0100, Nicholas Marriott wrote: > > Unfortunately, I am having the same problem I have always had on Solaris > > Intel: the backspace key goes in the wrong direction. This is real odd > > because on Solaris SPARC it works ok. > > > > Do you or anyone else have a

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 01:25:55PM +0100, Nicholas Marriott wrote: > The stty looks fine I think, but I wonder if you backspace key is > sending ^H rather than ^?. > > I wonder if that is the case and your TERM has left or right set to ^H. > > Can you start tmux and then do "tmux info" and send m

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 12:54:59PM +0100, Nicholas Marriott wrote: > What was the mail subject of the previous thread? This was my first email to the list, with a bad subject line since I was posting past my bedtime: http://sourceforge.net/mailarchive/message.php?msg_id=29643966 Sometime after t

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 12:54:59PM +0100, Nicholas Marriott wrote: > What was the mail subject of the previous thread? Oh, sorry, I suppose you mean the thread from last year? Let me check and I'll post here again as soon as I find it. Thanks.

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel]

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 12:54:59PM +0100, Nicholas Marriott wrote: > What was the mail subject of the previous thread? Same as above, minus the "[backspace key.." etc. > Can you send me "stty -a" output inside and outside tmux? Yes, thank you here it is: This is the stty -a output from an xter

Re: Integration of patches for Solaris

2013-04-22 Thread John Long
Hi Nicholas, Thank you very much. In the meantime after I got Dagobert's answer and had not yet received your post, I compiled and installed the latest gawk and the tmux build goes ok now. It still looks we're in somewhat of a flux regarding which of Dagobert's patches made it to head because with

Re: Integration of patches for Solaris [backspace key goes forward on Solaris Intel

2013-04-22 Thread John Long
> > The script is for gawk, not nawk. Feel free to use e.g. the one from > > > OpenCSW. I built the latest copy of gawk and now tmux builds ok, but I am back to the same problem I reported last year, which is the backspace key goes forward. Do you have any idea what could be causing this? It's bee

Re: Integration of patches for Solaris

2013-04-22 Thread John Long
Hi Dagobert, On Mon, Apr 22, 2013 at 01:00:19PM +0200, Dagobert Michelsen wrote: > No, that is just the files from git. "Using git" is facilitating the command > listed on the webpage > git clone git://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code > or something. Learning git pays off, but ha

Re: Integration of patches for Solaris

2013-04-22 Thread John Long
On Mon, Apr 22, 2013 at 09:45:29AM +0100, Nicholas Marriott wrote: > In the first diff it should be enough just to remove the #include line > because compat.h already includes it, so I have done that. > > The lockf change has gone into the OpenBSD repo rather than portable so > will be pulled thro

Re: Integration of patches for Solaris

2013-04-22 Thread John Long
On Sun, Apr 21, 2013 at 10:55:29PM +0200, Dagobert Michelsen wrote: > Hi John, > > Am 21.04.2013 um 17:26 schrieb John Long : > > On Sun, Apr 21, 2013 at 05:16:09PM +0200, Dagobert Michelsen wrote: > >> Am 21.04.2013 um 12:48 schrieb John Long: > >> All patc

Re: Integration of patches for Solaris

2013-04-21 Thread John Long
On Sun, Apr 21, 2013 at 05:16:09PM +0200, Dagobert Michelsen wrote: > Hi John, > > Am 21.04.2013 um 12:48 schrieb John Long: > All patches are against HEAD: > https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/ Ok, downloaded the tarball... > > Make sure to c

Re: Integration of patches for Solaris

2013-04-21 Thread John Long
> > > On Sun, Apr 21, 2013 at 10:30:41AM +0200, Dagobert Michelsen wrote: > > Hi John, > > > > Am 20.04.2013 um 21:40 schrieb John Long : > > > On Fri, Apr 19, 2013 at 04:14:16PM +0200, Dagobert Michelsen wrote: > > >> I rewrote the patch to

Re: Integration of patches for Solaris

2013-04-21 Thread John Long
On Sun, Apr 21, 2013 at 10:30:41AM +0200, Dagobert Michelsen wrote: > Hi John, > > Am 20.04.2013 um 21:40 schrieb John Long : > > On Fri, Apr 19, 2013 at 04:14:16PM +0200, Dagobert Michelsen wrote: > >> I rewrote the patch to use contrib/ substitutions for cfmakeraw and use

Re: Integration of patches for Solaris

2013-04-21 Thread John Long
Hi Dagobert, Thanks alot, I'll get back to you in asap. I want to test this on the latest stable version on Intel and SPARC. /jl On Sun, Apr 21, 2013 at 10:30:41AM +0200, Dagobert Michelsen wrote: > Hi John, > > Am 20.04.2013 um 21:40 schrieb John Long : > > On Fri, Apr 19

Re: Integration of patches for Solaris

2013-04-20 Thread John Long
On Fri, Apr 19, 2013 at 04:14:16PM +0200, Dagobert Michelsen wrote: > Hi Nicholas, > > I rewrote the patch to use contrib/ substitutions for cfmakeraw and use lockf: > https://sourceforge.net/p/tmux/tmux-code/merge-requests/3/ Thank you. Is there some way to download all the changes so I can ap

Re: Solaris 10, tmux 1.7 segv

2013-02-03 Thread John Long
On Sun, Feb 03, 2013 at 04:58:20PM +, Adrian Haughton wrote: > John, > > What issues have you had - I might be able to help? Hi Adrian, If I understood the emails back in November the issue is what you already fixed. I've been using Studio rather than gcc. Hopefully whatever you did will wo

Re: Solaris 10, tmux 1.7 segv

2013-02-02 Thread John Long
On Sat, Feb 02, 2013 at 10:03:39AM +, Adrian Haughton wrote: > Hi, > > I recently compiled tmux 1.7 for Solaris and it's all fine other than the key sequence 'C-b w' which causes a sigsegv: The last I heard around November 27th of last year nobody could get tmux 1.7 to compile on Solaris 10

Re: Can't build tmux on Solaris 10

2012-12-26 Thread John Long
On Wed, Dec 26, 2012 at 10:06:23PM +, Thomas Adam wrote: > Hi, > > Yes, I've a patch sat waiting for this. Will submit it when I get > back from holiday. Took a different approach to your somewhat > horrible hack. :) I haven't seen you on the system in over a week so I had no idea you fixe

Re: Can't build tmux on Solaris 10

2012-12-14 Thread John Long
On Fri, Dec 14, 2012 at 10:18:00AM +, John Long wrote: > On Fri, Dec 14, 2012 at 07:28:58AM +, Thomas Adam wrote: > > Hi, > > > > On 14 December 2012 06:59, John Long wrote: > > > On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > > >>

Re: Can't build tmux on Solaris 10

2012-12-14 Thread John Long
On Fri, Dec 14, 2012 at 07:28:58AM +, Thomas Adam wrote: > Hi, > > On 14 December 2012 06:59, John Long wrote: > > On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > >> On Wed, Dec 05, 2012 at 12:20:47PM +, John Long wrote: > >> > Hey guys

Re: Can't build tmux on Solaris 10

2012-12-14 Thread John Long
On Fri, Dec 14, 2012 at 07:28:58AM +, Thomas Adam wrote: > Hi, > > On 14 December 2012 06:59, John Long wrote: > > On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > >> On Wed, Dec 05, 2012 at 12:20:47PM +, John Long wrote: > >> > Hey guys

Re: Can't build tmux on Solaris 10

2012-12-13 Thread John Long
On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > On Wed, Dec 05, 2012 at 12:20:47PM +0000, John Long wrote: > > Hey guys, any progress on this? > > No. But if someone is able to give me shell access with a development > environment to compile tmux under which

Re: Can't build tmux on Solaris 10

2012-12-05 Thread John Long
On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > On Wed, Dec 05, 2012 at 12:20:47PM +0000, John Long wrote: > > Hey guys, any progress on this? > > No. But if someone is able to give me shell access with a development > environment to compile tmux under which

Re: Can't build tmux on Solaris 10

2012-12-05 Thread John Long
Thanks, it will be great to have. On Wed, Dec 05, 2012 at 12:43:26PM +, Philip Herron wrote: > I finally have free time today so i might poke at it again. > > --Phil > > On 5 December 2012 12:20, John Long wrote: > > Hey guys, any progress on this? > > > >

Re: Can't build tmux on Solaris 10

2012-12-05 Thread John Long
Hey guys, any progress on this? On Tue, Nov 27, 2012 at 04:03:20PM +, Philip Herron wrote: > I might give ago at looking into this tomorrow and try to resurrect > that dudes patch and finish it off. > > On 27 November 2012 15:42, Nicholas Marriott > wrote: > > Well I haven't seen any sign

Re: Can't build tmux on Solaris 10

2012-11-27 Thread John Long
On Tue, Nov 27, 2012 at 04:01:22PM +, Nicholas Marriott wrote: > Never mind, theirs is enough. Thanks guys. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight in

Re: Can't build tmux on Solaris 10

2012-11-27 Thread John Long
On Tue, Nov 27, 2012 at 03:31:18PM +, Philip Herron wrote: > The error is just: > > "client.c", line 82: warning: implicit function declaration: flock > "client.c", line 82: undefined symbol: LOCK_EX > "client.c", line 82: undefined symbol: LOCK_NB > "client.c", line 247: warning: implicit fun

Re: Can't build tmux on Solaris 10

2012-11-27 Thread John Long
I was in the middle of capturing one in Emacs and when I sent it my email provider fell over. Do you still need this or are Philip's and Thomas's posts past this point already? On Tue, Nov 27, 2012 at 03:10:58PM +, Nicholas Marriott wrote: > Show a build log please. --

Re: Can't build tmux on Solaris 10

2012-11-27 Thread John Long
On Tue, Nov 27, 2012 at 03:08:20PM +, Philip Herron wrote: > Hey there > > I got it to configure with: > > ./configure CC=suncc CXX=sunCC CFLAGS="-fast -xO5 -xunroll=20" > CFLAGS="-I/opt/csw/include" LDFLAGS="-L/opt/csw/lib" > --prefix=/opt/tmux > > using pkgutil -i -y CSWlibevent_dev I bui

Re: Can't build tmux on Solaris 10

2012-11-27 Thread John Long
That would be awesome. If needed I'll be happy to test it on Intel and SPARC boxes. /jl On Tue, Nov 27, 2012 at 02:46:30PM +, Philip Herron wrote: > I might give it a go now i am working on a solaris 10 machine at the moment. > > On 27 November 2012 14:44, John Long wrote: &g

Can't build tmux on Solaris 10

2012-11-27 Thread John Long
I'm striking out with this. The last suggestion I saw was to try linking against ncurses instead of Solaris curses. I tried but apparently I don't know enough to do that. I changed the Makefile to use -lncurses instead of -lcurses but when I started adding include paths in CFLAGS and LFLAGS I broke

Re: Please help building tmux on Solaris 10 and a suggestion

2012-08-14 Thread John Long
On Mon, Aug 13, 2012 at 09:22:04AM +0100, Nicholas Marriott wrote: > TERM=screen is normally correct but I suspect that since you are having > to change it to xterm, the screen entry on Solaris doesn't include some > stuff tmux needs. > > You could try installing GNU ncurses and linking tmux again

Re: Please help building tmux on Solaris 10 and a suggestion

2012-08-13 Thread John Long
On Sun, Aug 12, 2012 at 07:51:44PM +0100, Nicholas Marriott wrote: > Oh sorry I misread your mail. What does "echo $TERM" show inside tmux, > before you do the export command? screen This must mean something, but what?! Thanks again. -

Please help building tmux on Solaris 10 and a suggestion

2012-08-12 Thread John Long
On Sat, Aug 11, 2012 at 08:28:52AM +0100, Nicholas Marriott wrote: > Hi > > Does using TERM=vt220 help? Hi and sorry for the lame subject line. I realized it after I hit the send key but it was too late! Not sure I got your meaning. exporting TERM to vt220 before the configure and build doesn't

Re: Welcome to the "tmux-users" mailing list

2012-08-07 Thread John Long
Hi. I first learned about tmux from OpenBSD. It is really great, thank you! I am trying to get it working on Solaris 10 Intel and SPARC. I have the same problem both places. I get a warning during the configure about a problem with term.h: checking for a BSD-compatible install... etc/install-sh -