Re: Bug with colored prompt?

2013-03-20 Thread Nicholas Marriott
If you use invisible characters in your prompt you need to tell the shell by enclosing them in \[ and \]. If you don't then it will miscalculate the prompt width. On Tue, Mar 19, 2013 at 09:31:06PM -0400, Yotam Barnoy wrote: >I hope this is the right place to report this. >On OSX, if I op

Re: Should copy-pipe use a (writable) job?

2013-03-20 Thread Nicholas Marriott
Hmm maybe I'm being an idiot and it is ok, let me look at it again later. Stdin/stdout/stderr are normally all the same fd anyway of course. On Tue, Mar 19, 2013 at 11:01:00PM -0500, Chris Johnsen wrote: > On Tue, Mar 19, 2013 at 4:19 PM, Nicholas Marriott > wrote: > > Ok thanks. My only concer

Re: Should copy-pipe use a (writable) job?

2013-03-20 Thread Chris Johnsen
On Wed, Mar 20, 2013 at 2:18 AM, Nicholas Marriott wrote: > Hmm maybe I'm being an idiot and it is ok, let me look at it again > later. Stdin/stdout/stderr are normally all the same fd anyway of > course. Having maintained tmux as cross-platform project, you probably have a good feel for where th

Re: Should copy-pipe use a (writable) job?

2013-03-20 Thread Romain Francoise
Chris Johnsen writes: > Having maintained tmux as cross-platform project, you probably have > a good feel for where the sharp cross-platform edges lurk, so > I welcome further consideration of the right approach. I would > certainly not attempt to claim that my implementation is definitely > cros

Re: Should copy-pipe use a (writable) job?

2013-03-20 Thread Nicholas Marriott
This is a little misleading - to my knowledge Cygwin is the only major platform that claims to be vaguely Unix-like and lacks SCM_RIGHTS or some way of passing file descriptors. Certainly the only one anyone has suggested porting tmux to. So I would say it is a limit of Cygwin or the Windows platf

Re: Should copy-pipe use a (writable) job?

2013-03-20 Thread Nicholas Marriott
socketpair hasn't caused any issues so far, OpenSSH are much more concerned about supporting older platforms than I am. On Wed, Mar 20, 2013 at 03:38:08AM -0500, Chris Johnsen wrote: > On Wed, Mar 20, 2013 at 2:18 AM, Nicholas Marriott > wrote: > > Hmm maybe I'm being an idiot and it is ok, let

Re: Performing math using environment variables

2013-03-20 Thread Hameed Gifford
Well, everything ended up a success. Found the missing dependencies, compiled, copied to /usr/bin, and wow that is a nice feature in resize-pane. Thanks everyone who helped, complete success. - Hameed On Tue, Mar 19, 2013 at 7:31 PM, Hameed Gifford wrote: > Okay, I figured out the autogen.sh,

Re: Bug with colored prompt?

2013-03-20 Thread Yotam Barnoy
Thanks very much for the help guys. Sorry for blaming tmux. Yotam On Wed, Mar 20, 2013 at 3:16 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > If you use invisible characters in your prompt you need to tell the > shell by enclosing them in \[ and \]. If you don't then it will > mi