Re: how to execute shell commands

2012-08-03 Thread Nicholas Marriott
Create the window with a shell and start htop using send-keys, or run eg "htop; exec $SHELL". On Wed, Aug 01, 2012 at 11:32:33PM +0800, vinurs wrote: > Hi, > I run tmux with urxvt, now i have some demands, the flowing is the > command i execute when my linux startup: > urxvt -title 'ur

Re: realpath prevents nested check from working

2012-08-03 Thread Nicholas Marriott
Why is realpath failing? Is it called before the tmux-%u directory is created? On Sat, Jul 21, 2012 at 03:39:08PM -0400, Dylan Alex Simon wrote: > I noticed (accidentally) that the check to prevent nesting tmux in the same > server wasn't working. I tracked this down to the fact that $TMUX is >

Re: realpath prevents nested check from working

2012-08-03 Thread Nicholas Marriott
It used to always complain of TMUX existed and it was changed to be more clever. I think it's better and we should try to make sure the paths match which is what realpath is meant to do. On Sun, Jul 22, 2012 at 09:16:30AM +0100, Thomas Adam wrote: > On 21 July 2012 20:39, Dylan Alex Simon wrote:

Re: [PATCH] client: defer reading stdin until requested

2012-08-03 Thread Nicholas Marriott
Hi Sorry for the delay, I will apply this at some point but I do not want to bump the protocol version again so soon. Thanks On Tue, May 29, 2012 at 12:07:50AM -0500, Chris Johnsen wrote: > OpenBSD patchset 1114 (pass stdin/stdout/stderr buffers, not fds) > made the clients a bit too eager to r

Re: how to change the inverting of the colours when I start tmux

2012-08-03 Thread Nicholas Marriott
How do you mean inverts colours? Just change black background to white? Does it happen in xterm? On Thu, Jul 19, 2012 at 08:15:56AM -0700, Richard Corbett wrote: > Hi Nicholas, > > I am running Centos 5 (64bit) using gnome-terminal. > > TERM is > Outside of tmux: xterm > Inside tmux: screen-25

Re: how to change the inverting of the colours when I start tmux

2012-08-03 Thread Nicholas Marriott
Show me "infocmp -x" output outside tmux please. On Fri, Aug 03, 2012 at 08:08:07AM -0700, Richard Corbett wrote: > Hi Nicholas, > > When I open a terminal my colours are white text on black > background. When I start a tmux session the colours are switched > to black on white, looking like li

Re: how to change the inverting of the colours when I start tmux

2012-08-03 Thread Nicholas Marriott
If you do "tput is2" outside tmux does it invert? What if you set TERM to xterm-color? On Fri, Aug 03, 2012 at 01:01:58PM -0700, Richard Corbett wrote: > Thanks, > > Here you go... > > infocmp -x > # Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm > xterm|xterm terminal

Re: how to change the inverting of the colours when I start tmux

2012-08-03 Thread Nicholas Marriott
try "tput smcup" On Fri, Aug 03, 2012 at 01:15:50PM -0700, Richard Corbett wrote: > thanks again, > > tput is2 > Doesn't change any colors I can notice > > TERM=xterm-color > Doesn't change anything inside or outside tmux. > > RIchard > > > > On 08/03/2012 01:10 PM, Nicholas Marriott wrote:

Re: how to change the inverting of the colours when I start tmux

2012-08-03 Thread Nicholas Marriott
Well if you can do it the best thing to do is to run tmux in script, then exit tmux and script then trim parts out of the typescript file and put them in another file, cat them to the terminal and see what part makes the change. On Fri, Aug 03, 2012 at 01:47:57PM -0700, Richard Corbett wrote: > S