Non-ascii characters show up as _

2011-10-22 Thread Onoie Andrei
Hi there. Yesterday something weird happened. X crashed but I still had my terminals in a tmux session, so I attached it in tty1. So since that happened every non-ascii character shows up as _ (underscore). tmux -v tells me "tmux 1.6". If there is any fix to this, then please reply to this emai

Re: tmux DoS through /tmp

2011-10-22 Thread Dustin Kirkland
On Sat, Oct 22, 2011 at 7:33 AM, Nicholas Marriott wrote: > It's not a DoS. The user can still use -S to put the socket wherever > they like temporarily until they can get the sysadmin to apply his LART > to you. Right. > Generating a random name wouldn't work because then how do you figure it >

Re: Change colours in ins versus cmd edit mode

2011-10-22 Thread Nicholas Marriott
Thanks. Just two minor things: - I think I would call the option *-command not *-cmd and the attr/fg/bg should be at the end, so how about message-command-{fg,bg,attr}? - No 's around command in the man page to match what it's like in bind-key description (if there were quotes it would be .Ql

Re: Implement word motion edit actions

2011-10-22 Thread Nicholas Marriott
I know we want an excuse to add client options but I'm not convinced this should be it - none of the mode options or key bindings or whatnot are per client and it seems confusing to have two word-separators options. Can't it use the existing session option? On Thu, Oct 20, 2011 at 02:39:43PM -040

Re: Implement pane_index format string

2011-10-22 Thread Nicholas Marriott
Did you send a diff changing window_pane_index to behave like window_index? I've got so many files all starting 000* now that I'm confused ;-). Or if you want to do that separately can you resend just the latest bits for the pane index format string? On Thu, Oct 20, 2011 at 02:38:49PM -0400, Be

Re: Implement client format strings

2011-10-22 Thread Nicholas Marriott
You're missing a : after F in the getopt args so this doesn't work ;-). I fixed that and applied this now, thanks. On Thu, Oct 20, 2011 at 02:41:59PM -0400, Ben Boeckel wrote: > Hi, > > I've also updated list-clients to use format strings and added > formatters for client information as well.

Re: Why does load-buffer require absolute paths?

2011-10-22 Thread Nicholas Marriott
yes you do, because the server loads it not the client. iirc it knows the client cwd so it may be fixable i'll put it on the todo list On Sat, Oct 22, 2011 at 10:16:21PM +0100, Murali Suriar wrote: >Hi folks, >Whenever I use load-buffer I appear to need to use absolute paths when >sp

Re: Why does load-buffer require absolute paths?

2011-10-22 Thread Nicholas Marriott
No default-path is for new windows not loadb. On Sun, Oct 23, 2011 at 01:55:45AM +0100, Murali Suriar wrote: >On Sun, Oct 23, 2011 at 01:30, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > > yes you do, because the server loads it not the client. iirc it knows > th

Re: Pasting buffer contents to a window with a dot in its name

2011-10-22 Thread Murali Suriar
On Sun, Oct 23, 2011 at 01:47, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Easiest is to replace the . with ?, assuming you haven't got two windows > that would match :-). > Ah, nice! Thanks. :) -- The deman

Re: Why does load-buffer require absolute paths?

2011-10-22 Thread Murali Suriar
On Sun, Oct 23, 2011 at 01:30, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > yes you do, because the server loads it not the client. iirc it knows > the client cwd so it may be fixable i'll put it on the todo list > Thanks. Based on your answer, a follow up question then - would use o

Re: tmux bug with fr_FR.UTF-8

2011-10-22 Thread Nicholas Marriott
Did he start tmux from a terminal without UTF-8 locale configured so it didn't detect UTF-8? Check UTF-8 is turned on properly in tmux: $ tmux lsc /dev/ttyp0: 0 [127x37 xterm] (utf8) $ tmux showw -g|grep utf8 utf8 on If it is, check if it happens in uxterm. On Thu, Oct 20, 2011 at 01:44:19PM +

Re: Pasting buffer contents to a window with a dot in its name

2011-10-22 Thread Nicholas Marriott
Easiest is to replace the . with ?, assuming you haven't got two windows that would match :-). On Fri, Oct 21, 2011 at 01:22:49PM +0100, Murali Suriar wrote: >Hi folks, >My apologies if this is answered elsewhere; I looked through the man page >and the list archives and couldn't find

tmux bug with fr_FR.UTF-8

2011-10-22 Thread Alexander Rødseth
Hello, Seems we discovered a bug with tmux and fr_FR.UTF-8 on Arch Linux. All the necessary details should be here: https://bugs.archlinux.org/task/26525 -- Best regards,  Alexander Rødseth  Arch Linux Trusted User  (xyproto on IRC, trontonic on AUR) ---

Why does load-buffer require absolute paths?

2011-10-22 Thread Murali Suriar
Hi folks, Whenever I use load-buffer I appear to need to use absolute paths when specifying the file, or use 'cat' and pipe to 'tmux loadb -'. I see this behaviour on Debian, Ubuntu and OSX. All platforms running tmux 1.5. I couldn't see an open bug about this, so I assume I'm doing something stu

Re: tmux DoS through /tmp

2011-10-22 Thread Nicholas Marriott
It's not a DoS. The user can still use -S to put the socket wherever they like temporarily until they can get the sysadmin to apply his LART to you. Generating a random name wouldn't work because then how do you figure it out when you want to reattach. On Sat, Oct 22, 2011 at 01:56:16AM -0500,

Errors in vim Syntax File

2011-10-22 Thread Bastien Dejean
Hi, The vim syntax file shipped with the current version of tmux doesn't highlight properly key sequences like 'M-C-BTab'. Hence, instead of: syn match tmuxKey /\(C-\|M-\|\^\)\p/ display I'm using: syn match tmuxKey /\(C-\|M-\|\^\)\+\S\+/ display Greetings, -