Re: selection gets cleared when cursors blinks

2011-04-29 Thread Nicholas Marriott
Applied to OpenBSD, thanks. On Wed, Apr 27, 2011 at 10:20:54AM +0200, LEVAI Daniel wrote: > On Wed, Apr 27, 2011 at 08:28:53 +0100, Nicholas Marriott wrote: > > Doh, try this: > > > > Index: status.c > > === > > RCS file: /cvs/src/u

Re: selection gets cleared when cursors blinks

2011-04-27 Thread LEVAI Daniel
On Wed, Apr 27, 2011 at 08:28:53 +0100, Nicholas Marriott wrote: > Doh, try this: > > Index: status.c > === > RCS file: /cvs/src/usr.bin/tmux/status.c,v > retrieving revision 1.74 > diff -u -p -r1.74 status.c > --- status.c 24 Apr 20

Re: selection gets cleared when cursors blinks

2011-04-27 Thread Nicholas Marriott
Doh, try this: Index: status.c === RCS file: /cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.74 diff -u -p -r1.74 status.c --- status.c24 Apr 2011 21:32:07 - 1.74 +++ status.c27 Apr 2011 07:28:20 - @@ -642,

Re: selection gets cleared when cursors blinks

2011-04-26 Thread LEVAI Daniel
On Tue, Apr 26, 2011 at 18:12:11 +0100, Nicholas Marriott wrote: > On Tue, Apr 26, 2011 at 09:50:02AM +0200, LEVAI Daniel wrote: > > On Sat, Apr 23, 2011 at 21:54:16 +0100, Nicholas Marriott wrote: > > > hmmm i can't reproduce. can you do the same script dance with "tmux > > > - -Ltest -f/dev/n

Re: selection gets cleared when cursors blinks

2011-04-26 Thread Nicholas Marriott
On Tue, Apr 26, 2011 at 09:50:02AM +0200, LEVAI Daniel wrote: > On Sat, Apr 23, 2011 at 21:54:16 +0100, Nicholas Marriott wrote: > > hmmm i can't reproduce. can you do the same script dance with "tmux > > - -Ltest -f/dev/null" and see if it is redrawing the screen all the > > same there too? >

Re: selection gets cleared when cursors blinks

2011-04-26 Thread LEVAI Daniel
On Sat, Apr 23, 2011 at 21:54:16 +0100, Nicholas Marriott wrote: > hmmm i can't reproduce. can you do the same script dance with "tmux > - -Ltest -f/dev/null" and see if it is redrawing the screen all the > same there too? No it doesn not. I've attached the new typescript output too. > what is

Re: selection gets cleared when cursors blinks

2011-04-23 Thread Nicholas Marriott
hmmm i can't reproduce. can you do the same script dance with "tmux - -Ltest -f/dev/null" and see if it is redrawing the screen all the same there too? what is in battery_tmux_status.sh? On Sat, Apr 23, 2011 at 10:29:48PM +0200, LEVAI Daniel wrote: > On szo, ápr 23, 2011 at 12:14:40 +0100, N

Re: selection gets cleared when cursors blinks

2011-04-23 Thread LEVAI Daniel
On szo, ápr 23, 2011 at 12:14:40 +0100, Nicholas Marriott wrote: > what tmux or openbsd version is this? it shouldn't be redrawing the > entire window I'm following -current, but it's been doing this for a few months now. $ cat ~/.tmux.conf: set-option -g default-shell /bin/ksh set-option -g dis

Re: selection gets cleared when cursors blinks

2011-04-23 Thread Nicholas Marriott
what tmux or openbsd version is this? it shouldn't be redrawing the entire window On Thu, Apr 21, 2011 at 04:39:56PM +0200, LEVAI Daniel wrote: > On Wed, Apr 20, 2011 at 20:40:50 +0200, LEVAI Daniel wrote: > > On sze, ápr 20, 2011 at 19:23:13 +0100, Nicholas Marriott wrote: > > > There is no wa

Re: selection gets cleared when cursors blinks

2011-04-21 Thread LEVAI Daniel
On Wed, Apr 20, 2011 at 20:40:50 +0200, LEVAI Daniel wrote: > On sze, ápr 20, 2011 at 19:23:13 +0100, Nicholas Marriott wrote: > > There is no way that is the output of running tmux inside script. > [...] > > On sze, ápr 20, 2011 at 10:56:01 -0700, Micah Cowan wrote: > > On 04/20/2011 12:49 AM, LE

Re: selection gets cleared when cursors blinks

2011-04-20 Thread LEVAI Daniel
On sze, ápr 20, 2011 at 19:23:13 +0100, Nicholas Marriott wrote: > There is no way that is the output of running tmux inside script. [...] On sze, ápr 20, 2011 at 10:56:01 -0700, Micah Cowan wrote: > On 04/20/2011 12:49 AM, LEVAI Daniel wrote: > > On Mon, Apr 18, 2011 at 20:14:09 +0100, Nicholas M

Re: selection gets cleared when cursors blinks

2011-04-20 Thread Nicholas Marriott
Please kill tmux entirely and run with tmux -, reproduce then send me all three log files. Also please send your config, particularly what have you got in status-left and status-right. If you look at the tmux-out*.log file you can see if it is redrawing the whole screen or just the status lin

Re: selection gets cleared when cursors blinks

2011-04-20 Thread Nicholas Marriott
There is no way that is the output of running tmux inside script. Do this: $ pkill tmux $ script Script started, output file is typescript $ tmux new $ exit $ exit Script done, output file is typescript On Wed, Apr 20, 2011 at 09:49:28AM +0200, LEVAI Daniel wrote: > On Mon, Apr 18, 2011 at 20:

Re: selection gets cleared when cursors blinks

2011-04-20 Thread Nicholas Marriott
What TERM are you using outside tmux on OpenBSD? We don't have rxvt-unicode. On Wed, Apr 20, 2011 at 09:45:15AM +0200, LEVAI Daniel wrote: > On Tue, Apr 19, 2011 at 22:41:01 +, Ben Boeckel wrote: > [...] > > I'm using urxvt from Fedora and tmux HEAD, but I've never encountered > [...] > > On

Re: selection gets cleared when cursors blinks

2011-04-20 Thread Micah Cowan
On 04/20/2011 12:49 AM, LEVAI Daniel wrote: > On Mon, Apr 18, 2011 at 20:14:09 +0100, Nicholas Marriott wrote: >> if you like you can run tmux in script(1) > There is not much to see: The key words being "run _tmux_ in script". You obviously didn't, or we'd be seeing status draws. And then atta

Re: selection gets cleared when cursors blinks

2011-04-20 Thread marcel partap
Hi there, the same problem has been annoying me in YaKuake aswell which is part of KDE and thus uses the konsole kpart... I had a quick look into this, and it definitely seems that this function > /** > * Checks if the text between from and to is inside the current > * selection. If

Re: selection gets cleared when cursors blinks

2011-04-20 Thread LEVAI Daniel
On Mon, Apr 18, 2011 at 20:14:09 +0100, Nicholas Marriott wrote: > if you like you can run tmux in script(1) then let it run for a few > seconds (so the problem happens) then look in the typescript file for > where it redraws the status line and figure out using printf(1) or by > trimming bits out

Re: selection gets cleared when cursors blinks

2011-04-20 Thread LEVAI Daniel
On Mon, Apr 18, 2011 at 09:05:21 -0700, Micah Cowan wrote: [...] > > Any chance of getting this fixed? It's a really annoying phenomena. > > Since this is a behavior of your terminal (kills the selection as soon > as the term is written to), rather than tmux, I believe your choices are: > > 1) In

Re: selection gets cleared when cursors blinks

2011-04-20 Thread LEVAI Daniel
On Tue, Apr 19, 2011 at 22:41:01 +, Ben Boeckel wrote: [...] > I'm using urxvt from Fedora and tmux HEAD, but I've never encountered [...] On Tue, Apr 19, 2011 at 10:42:04 -0700, Micah Cowan wrote: > (04/19/2011 10:34 AM), Peter John Hartman wrote: > > > Hence, I for one would love to see tmu

Re: selection gets cleared when cursors blinks

2011-04-19 Thread Ben Boeckel
Peter John Hartman wrote: > On Mon, Apr 18, 2011 at 09:05:21AM -0700, Micah Cowan wrote: >> On 04/18/2011 01:19 AM, LEVAI Daniel wrote: >> > Any chance of getting this fixed? It's a really annoying phenomena. > > +1 here > >> >> Since this is a behavior of your terminal (kills the selection as

Re: selection gets cleared when cursors blinks

2011-04-19 Thread Micah Cowan
(04/19/2011 10:34 AM), Peter John Hartman wrote: > Hence, I for one would love to see tmux figure out a way to work with > normal (urxvt at least) terminal selection! urxvt 9.06 (from Ubuntu) works fine for me. Perhaps you're using an older version? Or perhaps Ubuntu introduced a fix, I dunno. E

Re: selection gets cleared when cursors blinks

2011-04-19 Thread Peter John Hartman
On Mon, Apr 18, 2011 at 09:05:21AM -0700, Micah Cowan wrote: > On 04/18/2011 01:19 AM, LEVAI Daniel wrote: > > Any chance of getting this fixed? It's a really annoying phenomena. +1 here > > Since this is a behavior of your terminal (kills the selection as soon > as the term is written to), rath

Re: selection gets cleared when cursors blinks

2011-04-18 Thread Nicholas Marriott
if you like you can run tmux in script(1) then let it run for a few seconds (so the problem happens) then look in the typescript file for where it redraws the status line and figure out using printf(1) or by trimming bits out of the file what part makes the terminal reset the selection On Mon, A

Re: selection gets cleared when cursors blinks

2011-04-18 Thread Micah Cowan
On 04/18/2011 01:19 AM, LEVAI Daniel wrote: >> On Wed, Feb 02, 2011 at 11:06:14AM +0100, LEVAI Daniel wrote: >>> On Tue, Feb 01, 2011 at 20:05:40 +, Nicholas Marriott wrote: Are you sure it happens when the cursor blinks? If you make the cursor steady does it stop happening? What

Re: selection gets cleared when cursors blinks

2011-04-18 Thread LEVAI Daniel
> On Wed, Feb 02, 2011 at 11:06:14AM +0100, LEVAI Daniel wrote: > > On Tue, Feb 01, 2011 at 20:05:40 +, Nicholas Marriott wrote: > > > Are you sure it happens when the cursor blinks? If you make the > > > cursor > > > steady does it stop happening? What if you increase status-interval > > > in

Re: selection gets cleared when cursors blinks

2011-02-14 Thread LEVAI Daniel
On Thu, Feb 03, 2011 at 20:44:06 +, Nicholas Marriott wrote: > On Wed, Feb 02, 2011 at 11:06:14AM +0100, LEVAI Daniel wrote: > > On Tue, Feb 01, 2011 at 20:05:40 +, Nicholas Marriott wrote: > > > Are you sure it happens when the cursor blinks? If you make the cursor > > > steady does it sto

Re: selection gets cleared when cursors blinks

2011-02-03 Thread Patrick Shanahan
* Patrick Shanahan [02-03-11 17:01]: > I can w/xterm, but only from a remote machine via cyginX/ssh on a win7 > machine. I export a konsole session to run run tmux client. I have not > noticed it anywhere else. The remote is connected wireless on my home > network. > > Will test w/o the export

Re: selection gets cleared when cursors blinks

2011-02-03 Thread Patrick Shanahan
* Nicholas Marriott [02-03-11 15:44]: > On Wed, Feb 02, 2011 at 11:06:14AM +0100, LEVAI Daniel wrote: > > On Tue, Feb 01, 2011 at 20:05:40 +, Nicholas Marriott wrote: > > > Are you sure it happens when the cursor blinks? If you make the cursor > > > steady does it stop happening? What if you i

Re: selection gets cleared when cursors blinks

2011-02-03 Thread Nicholas Marriott
On Wed, Feb 02, 2011 at 11:06:14AM +0100, LEVAI Daniel wrote: > On Tue, Feb 01, 2011 at 20:05:40 +, Nicholas Marriott wrote: > > Are you sure it happens when the cursor blinks? If you make the cursor > > steady does it stop happening? What if you increase status-interval in > > tmux? > > Sorry

Re: selection gets cleared when cursors blinks

2011-02-02 Thread LEVAI Daniel
On Tue, Feb 01, 2011 at 20:05:40 +, Nicholas Marriott wrote: > Are you sure it happens when the cursor blinks? If you make the cursor > steady does it stop happening? What if you increase status-interval in > tmux? Sorry, yes, you're absolutely right. It has nothing to do with cursor blinking,

Re: selection gets cleared when cursors blinks

2011-02-01 Thread Nicholas Marriott
Are you sure it happens when the cursor blinks? If you make the cursor steady does it stop happening? What if you increase status-interval in tmux? On Tue, Feb 01, 2011 at 08:57:33AM +0100, LEVAI Daniel wrote: > On Mon, Jan 31, 2011 at 19:43:00 +, Nicholas Marriott wrote: > > if you mean the

Re: selection gets cleared when cursors blinks

2011-01-31 Thread LEVAI Daniel
On Mon, Jan 31, 2011 at 19:43:00 +, Nicholas Marriott wrote: > if you mean the xterm selection, there is not much tmux can do about > when xterm chooses to clear the selection Using only xterm (urxvt actually) without tmux doesn't produce this behavior. It only clears the xterm selection when

Re: selection gets cleared when cursors blinks

2011-01-31 Thread Nicholas Marriott
if you mean the xterm selection, there is not much tmux can do about when xterm chooses to clear the selection On Mon, Jan 31, 2011 at 09:10:45AM +0100, LEVAI Daniel wrote: > Hi! > > > I'm using tmux on OpenBSD -current. When I select something with the > mouse, that selection gets cleared (ie

selection gets cleared when cursors blinks

2011-01-31 Thread LEVAI Daniel
Hi! I'm using tmux on OpenBSD -current. When I select something with the mouse, that selection gets cleared (ie. nothing will be selected) when the keyboard cursor blinks one. I only get this behaviour on -current, and on OpenBSD. It's getting hard to copy-paste something. Is this some "feature"?