Re: feature request: have mode-keys alter block selection behavior

2011-04-14 Thread Hannes von Haugwitz
On Thu, Apr 14, 2011 at 04:23:16PM -0700, Aaron Bull Schaefer wrote: > When copying a block of text in copy-mode, I found it surprising that > the paste buffer did not contain the right-most character of the > selection. This is true whether the cursor is on the left side or the > right side of the

Re: Italics in tmux

2011-04-14 Thread Tiago Resende
On Friday, 2011-04-15, at 00:05:14 -0400, Ben Boeckel wrote: > Screenshot attached. All use urxvt256cc as the terminal (don't have any > others handy). > > Left side is rxvt-unicode-256color. > Top right is tmux HEAD (screen-256color). > Bottom right is tmux 1.4 (screen-256color). > > rxvt-unicod

Re: Italics in tmux

2011-04-14 Thread Tiago Resende
On Friday, 2011-04-15, at 03:05:22 +, Ben Boeckel wrote: > So it seems as though this patch has screwed up less somehow. Now I get > no reverse video on the status line or search results. Can anyone else > confirm? Working fine here. Screenshot attached. Top left is xterm with TERM=screen-it,

Re: Italics in tmux

2011-04-14 Thread Ben Boeckel
Nicholas Marriott wrote: > Thanks, applied. I made some minor tweaks and changed ~/.screen.conf to > ~/.tmux.conf ;-). So it seems as though this patch has screwed up less somehow. Now I get no reverse video on the status line or search results. Can anyone else confirm? --Ben -

feature request: have mode-keys alter block selection behavior

2011-04-14 Thread Aaron Bull Schaefer
When copying a block of text in copy-mode, I found it surprising that the paste buffer did not contain the right-most character of the selection. This is true whether the cursor is on the left side or the right side of the selection block when the copy is performed. See this image for a concrete ex

Re: [SOLVED; PEBKAC] Re: tmux refusing to do utf8

2011-04-14 Thread Tiago Resende
I also figured out why it wasn't working for me without -u. My LC_ALL, instead of being unset, was set to an empty string. So, tmux was assuming I was utf8-less instead of going on to check LC_CTYPE and LANG. In conclusion, please disregard all I said above. --

[SOLVED; PEBKAC] Re: tmux refusing to do utf8

2011-04-14 Thread Robin Lee Powell
On Thu, Apr 14, 2011 at 04:02:04PM -0700, Micah Cowan wrote: > (04/14/2011 03:59 PM), Robin Lee Powell wrote: > > I did that, and greated a new window, and "set -w utf8" returns > > off, and after doing "set -w utf8 on" it still returns off. > > Well, it should, shouldn't it? "set -w utf8" doesn't

Re: tmux refusing to do utf8

2011-04-14 Thread Micah Cowan
(04/14/2011 03:59 PM), Robin Lee Powell wrote: > I did that, and greated a new window, and "set -w utf8" returns off, > and after doing "set -w utf8 on" it still returns off. Well, it should, shouldn't it? "set -w utf8" doesn't mean "show the value of the utf8 setting", it means "toggle the value

Re: tmux refusing to do utf8

2011-04-14 Thread Robin Lee Powell
On Thu, Apr 14, 2011 at 07:53:26PM -0300, Tiago Resende wrote: > On Thursday, 2011-04-14, at 15:25:38 -0700, Robin Lee Powell > wrote: > > I'm not, no; the man page seems to say that that's not actually > > required, that you can change these options on the fly. Which > > is why I was asking. > >

Re: tmux refusing to do utf8

2011-04-14 Thread Tiago Resende
On Thursday, 2011-04-14, at 15:25:38 -0700, Robin Lee Powell wrote: > I'm not, no; the man page seems to say that that's not actually > required, that you can change these options on the fly. Which is > why I was asking. Hm, I remember it being required. Or at least I remember not being able to d

Re: tmux refusing to do utf8

2011-04-14 Thread Robin Lee Powell
On Thu, Apr 14, 2011 at 07:22:14PM -0300, Tiago Resende wrote: > Are you running tmux with -u? The only reason I ask is because > just the other day I ran into this problem and took me quite a > while to figure it out. I usually alias tmux to tmux -u, so when I > didn't have my alias available, I c

Re: tmux refusing to do utf8

2011-04-14 Thread Robin Lee Powell
I'm not talking about my configuration at all; those were commands I was running live inside tmux against actual windows. -Robin On Fri, Apr 15, 2011 at 12:14:55AM +0200, Ton van den Heuvel wrote: > Are you sure you killed all tmux instances before adding the > window options to your tmux configu

tmux refusing to do utf8

2011-04-14 Thread Robin Lee Powell
I'm on gentoo, with manually-compiled tmux 1.4. I'm using putty from windows. I have things set to UTF8, and it worked fine under GNU screen in the same configuration. I'm having visible problems, like - showing up as a no entity box in man pages. When I run: set-window-option -g utf8 on n

Nested tmux?

2011-04-14 Thread Robin Lee Powell
I seem to recall that tmux is supposed to have features that make it easier to deal with sshing to a remote tmux under one's master tmux, compared to screen's behaviour. Did I hallucinate this? -Robin -- http://singinst.org/ : Our last, best hope for a fantastic future. Lojban (http://www.lojb

Re: Italics in tmux

2011-04-14 Thread Tiago Resende
On Thursday, 2011-04-14, at 09:58:19 -0700, Micah Cowan wrote: > (04/09/2011 09:52 AM), Tiago Resende wrote: > > > $ infocmp "$screen_terminfo" | sed \ > > -e 's/^screen[^|]*\|[^,]*,/screen-it|screen with italics > > support,/' > > The \| above should be |. In GNU sed at least, \|

Re: Italics in tmux

2011-04-14 Thread Micah Cowan
(04/09/2011 09:52 AM), Tiago Resende wrote: > OK, now this is embarrassing. This time I got it right, I swear. Still a bit wrong, I'm afraid :\ > $ infocmp "$screen_terminfo" | sed \ > -e 's/^screen[^|]*\|[^,]*,/screen-it|screen with italics > support,/' The \| above should