patch for get_cwd for cygwin

2014-03-07 Thread J Raynor
The TODO list has this item: * get_cwd for cgywin I've attached a patch which implements this, along with get_name. Cygwin's /proc filesystem is similar enough to linux's that the code could be copied from osdep-linux.c, and that's what I've done. osdep-cygwin.c is just a copy of osdep-linux.c,

Re: tmux expands symlinks

2014-03-07 Thread Helmut Tessarek
Hi Nicholas, Thanks for the answers. > tmux uses file descriptors for paths now which is more robust but this > is one of the side effects. So this is the intended behavior. IMO, it's still a little bit strange, because it basically makes symlinks worthless. In most cases there is a reason why

Re: tmux leaking socket descriptors under certain circumstances

2014-03-07 Thread Balazs Kezes
On 2014-03-07 19:52, Jan Larres wrote: > Are you seeing the sleep jobs in the 'Jobs:' output of 'tmux info'? Ah, yes, I do see them in my case. > I didn't have any jobs there, but I don't know how to test it at the > moment since as I mentioned that section seems to be missing from my > info outp

Re: Can't create window or pane

2014-03-07 Thread Pavlos Parissis
On 07/03/2014 11:00 μμ, Nicholas Marriott wrote: > No you don't, use run -b > > oops, I misunderstood. I changed it and let's see what happens. Thanks a lot, Pavlos signature.asc Description: OpenPGP digital signature --

Re: Can't create window or pane

2014-03-07 Thread Nicholas Marriott
No you don't, use run -b Original message From: Pavlos Parissis Date: 07/03/2014 21:47 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: Can't create window or pane On 07/03/2014 10:14 μμ, Nicholas Marriott wrote: > That sounds like th

Re: Can't create window or pane

2014-03-07 Thread Pavlos Parissis
On 07/03/2014 10:14 μμ, Nicholas Marriott wrote: > That sounds like the xclip thing, if you are using it add -b to run-shell > > I do have -b, bind C-c choose-buffer "run \"tmux save-buffer -b %% - | xclip -i -sel clipboard\" \; run \" tmux display \\\"Clipboard \(+\) filled with: $(tmux save-bu

Re: Can't create window or pane

2014-03-07 Thread Nicholas Marriott
That sounds like the xclip thing, if you are using it add -b to run-shell Original message From: Pavlos Parissis Date: 07/03/2014 21:06 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: Re: Can't create window or pane On 06/03/2014 09:44 πμ, Pavlos Parissis wrote

Re: Can't create window or pane

2014-03-07 Thread Pavlos Parissis
On 06/03/2014 09:44 πμ, Pavlos Parissis wrote: > Hoi, > > Since the realease of 1.8 tmux I have a very strange problem. > > After some hours/days of work creating a window and a pane fails > and ' creating window failed: No such file or directory' appears on the > status bar and on the server-log

Re: colour8 displayed as black

2014-03-07 Thread Nicholas Marriott
no, it is only grey in the 256 colour palette. if your terminal doesn't support 256 colours it is translated to the nearest 8 colour equivalent which is black On Fri, Mar 07, 2014 at 02:07:07PM +0100, Matus Kmit wrote: > that did it, thanks. but same colour8 should be grey even for TERM=xterm, >

Re: colour8 displayed as black

2014-03-07 Thread Matus Kmit
that did it, thanks. but same colour8 should be grey even for TERM=xterm, shouldn't it? On Fri, Mar 07, 2014 at 12:41:31PM +, Nicholas Marriott wrote: > > Set TERM to xterm-256color outside tmux > > > > On Fri, Mar 07, 2014 at 01:37:07PM +0100, Matus Kmit wrote: > > echo $TERM -> xterm >

Re: colour8 displayed as black

2014-03-07 Thread Matus Kmit
sorry i was answering some of yours questions in my replies to another user, but as i was not using the group's email in CC you were not seeing them. so: - i changed 38 to 48 in the script. i am seeing colour8 as grey. - my TERM is xterm i hope i answered all now :-o On Fri, Mar 07, 2014 at 12

Re: colour8 displayed as black

2014-03-07 Thread Balazs Kezes
On 2014-03-07 12:03, Balazs Kezes wrote: > When you enumerate all the background colors via 'for i in {0..255} ; > do printf "\x1b[38;5;${i}mcolour${i}\n"; done' Sorry, that should say this (s/38/48/g): When you enumerate all the background colors via 'for i in {0..255} ; do printf "\x1b[48;5;${i

Re: colour8 displayed as black

2014-03-07 Thread Balazs Kezes
[+tmux-users@lists.sourceforge.net], let's keep the list in loop. On 2014-03-07 12:01, Matus Kmit wrote: > > Try changing the number from 38 to 48 to enumerate the background > > colors. Do you still see colour8 as grey? > yes, i still see colour8 as black Sorry this is a bit unclear to me. When

Re: colour8 displayed as black

2014-03-07 Thread Balazs Kezes
> #!/usr/bin/env bash > for i in {0..255} ; do > printf "\x1b[38;5;${i}mcolour${i}\n" > done > > I found out that I need "colour8" for grey. > > But after setting "set -g status-bg colour8" the background of the > status bar is black. You are enumerating the foreground colors. Try changing the

Re: tmux expands symlinks

2014-03-07 Thread Nicholas Marriott
tmux uses file descriptors for paths now which is more robust but this is one of the side effects. There was talk of preserving PWD to give some shells a hint about symlinks but I forget what happened to it, it may be one of the two environment handling diffs in my inbox although neither looks lik

Re: patch for append to buffer

2014-03-07 Thread Nicholas Marriott
It was intentional, although now you mention it maybe your way is better. Original message From: J Raynor Date: 07/03/2014 00:29 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: patch for append to buffer > Applied with a few changes,

Re: colour8 displayed as black

2014-03-07 Thread Nicholas Marriott
What tmux version? Original message From: Matus Kmit Date: 06/03/2014 23:00 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: colour8 displayed as black Hi all I want to change the colour of my status bar to grey. echo $TERM -> 8 With the help of: #!/usr/bin/