Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-06 Thread shawn wilson
as i think was mentioned, a variable with session information would
really make this most useful. my particular use case is: i'd like
bell-action to send a desktop-notify message with the last x
characters of the session that caused the bell. with this, i could get
the notification, but can't tell where it came from.

ps - i'm also unsure how to get the buffer from a session (but this
should probably be a different thread)

On Tue, Nov 6, 2012 at 12:55 PM, Thomas Adam  wrote:
> Hi,
>
> On Tue, Nov 06, 2012 at 12:48:54PM +, Nicholas Marriott wrote:
>> On Sun, Nov 04, 2012 at 01:22:50AM +, Thomas Adam wrote:
>> > * The hook-name matters; at the moment the implementation assumes
>> >   cmd->entry->name and NOT cmd->entry->alias -- should both be checked?
>> >   That might mean though one can have a hook with both "new-window" and
>> >   "neww" defined, which is bad.
>>
>> No, just the name. before-new-window, after-new-window etc.
>
> OK.
>
>> > * Per-session hooks are only ever enacted if the command sent to them comes
>> >   from the client attached to that session.  So for example, if I have this
>> >   binding:
>> >
>> >   set-hook -nfoo -n'after-new-window' 'run "notify-send new window..."'
>> >
>> >   and I run the following from either outside of an attached tmux session,
>> >   or some other session which ISN'T "foo":
>> >
>> >   tmux new-window -tfoo
>> >
>> >   then I will never see the specified hook run.
>> >
>> >   This is because the cmd_ctx used to run hooks only knows about the 
>> > context
>> >   of where the command was run *from*.  I'm wondering how much of a 
>> > drawback
>> >   this will be, or whether this makes sense?  I'm not sure it does though
>> >   because if I manipulate a session from some other session which has 
>> > hooks,
>> >   I'd expect those hooks to run.
>> >
>> >   To "fix" this, we would need to change where and how hooks are run from,
>> >   much like the notify_() hooks do now, but there would then be no
>> >   before/after mechanism.
>>
>> Hmm. Perhaps having per-session hooks doesn't make much sense.
>
> I think it does -- especially since a command can be invoked directly on the
> client attached to a session and from outside of it.
>
>> >
>> > * At present, there's no information passed down to commands about the hook
>> >   being run.  For example if I had this:
>> >
>> >   set-hook -nfoo -n'after-new-window' 'run "my_shell_script.sh"'
>> >
>> >   we should provide some information such as the session name, etc., so 
>> > that
>> >   external commands can manipulate what ever they need to in context.
>>
>> Run the command through as a format?
>
> Yeah, I considered that, but wasn't sure if that was good enough.  Do you
> want me to update this diff with this change?
>
> Kindly,
>
> -- Thomas Adam
>
> --
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


ctrl key up delay

2012-11-12 Thread shawn wilson
so, i mainly notice this issue in vim. but, it seems that tmux is
sending the ctrl key is still being registered after i send the
sequence and let go of the ctrl key. my experience:

it seems there's a quarter second delay or so when a vim area is
active. what i mean by this is, if i have a split, hit crtl+w ctrl+w
j, the cursor won't move. if i hit j again (or any other key) i get
action, but not for the split second after i switch splits. i have
tmux split navigation mapped to the vim cursor navigation keys so when
i type ctrl+b j j with a horizontal split, it will not type the j on
the command line as i would hope (having let off the ctrl key for the
second j) - instead it switches back to the other window.

it is completely possible it is something else sending the ctrl
sequence. however, i've tested it outside of x, and in plain (no tmux)
urxvt. i can't duplicate the issue without tmux. are others able to
reproduce this? is this a known bug?

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: ctrl key up delay

2012-11-13 Thread shawn wilson
On Tue, Nov 13, 2012 at 9:24 AM, Thomas Adam  wrote:
> On 13 November 2012 04:02, shawn wilson  wrote:
>> it is completely possible it is something else sending the ctrl
>> sequence. however, i've tested it outside of x, and in plain (no tmux)
>> urxvt. i can't duplicate the issue without tmux. are others able to
>> reproduce this? is this a known bug?
>
> Have you tried setting tmux's "escape-time" option to "0"?
>
> -- Thomas Adam

that seems to have done it. thanks

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


tmux in tmux

2012-12-04 Thread shawn wilson
is there a way to have a split that has sessions inside it without
just running tmux again? i don't want to have to hit ctrl+b+b to do
every thing. i guess what i want are layers - so i can still have
splits that are contained within a window.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux and resuming sessions

2013-09-24 Thread Shawn Wilson
That should also be a function to allow define / attach of a session name as is 
done with screen. 

Nicholas Marriott  wrote:
>You can shorten this to
>
>   tmux attach || tmux new
>
>Or in tmux git you can also use tmux new -A
>
> Original message 
>From: Fabio Coatti  
>Date: 24/09/2013  08:54  (GMT+00:00) 
>To: tmux-users@lists.sourceforge.net 
>Subject: tmux and resuming sessions 
> 
>Hi all,
>some time ago I asked on this mailing list some way to emulate, with
>tmux, the 
>same behaviour of screen -R (resume old session, if no sessions are
>present 
>create a new one).
>
>Now I found a page that shows some solutions (aliases) that basically
>works 
>for me:
>
>alias ltmux="if tmux has; then tmux attach; else tmux new; fi"
>
>
>
>if anyone is searching for the same hint, just in case:
>
>http://www.commandlinefu.com/commands/view/11612/alias-for-lazy-tmux-createreattach
>
>
>--
>Fabio
>
>--
>October Webinars: Code for Performance
>Free Intel webinars can help you accelerate application performance.
>Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
>most from 
>the latest Intel processors and coprocessors. See abstracts and
>register >
>http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
>___
>tmux-users mailing list
>tmux-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
>
>
>--
>October Webinars: Code for Performance
>Free Intel webinars can help you accelerate application performance.
>Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
>most from 
>the latest Intel processors and coprocessors. See abstracts and
>register >
>http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
>
>
>
>___
>tmux-users mailing list
>tmux-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/tmux-users
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Key binding for cycling through sessions

2013-11-27 Thread shawn wilson
I can always do Prefix s and select one, but I'd just like to cycle
through them.

I tried: switch -t :.*
>From the tmux command, but it says "Session not found: :.*

I'd also like to be able to rotate /up/ sessions as well as down if at
all possible.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Key binding for cycling through sessions

2013-11-28 Thread shawn wilson
That's what I was looking for. Thanks.

On Thu, Nov 28, 2013 at 9:24 AM, Nicholas Marriott
 wrote:
> switch-client -n and -p?
>
>
> On Wed, Nov 27, 2013 at 10:51:57AM -0500, shawn wilson wrote:
>> I can always do Prefix s and select one, but I'd just like to cycle
>> through them.
>>
>> I tried: switch -t :.*
>> >From the tmux command, but it says "Session not found: :.*
>>
>> I'd also like to be able to rotate /up/ sessions as well as down if at
>> all possible.
>>
>> --
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> ___
>> tmux-users mailing list
>> tmux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


terminal select

2014-06-16 Thread shawn wilson
For some reason (my config hasn't changed - my system has), when I'm
in an interactive app (ssh, mutt, irssi, links - I guess these would
all be curses apps, but not things like telnet, or pianobar), I can't
use the terminal buffer to copy text. I left click and it sounds a
bell. I'm guessing something changed when I configured it for compile
(on Ubuntu 14.4). For this build, I didn't set any options and just
let it go. Hy conf is:

# default
  set-window-option -g window-status-format '#I:#W#F'

# turn on 256 color support in tmux
  set -g default-terminal "screen-256color"

  source ~/.config/tmux/tmux-colors-solarized/tmuxcolors-256.conf

# bind vi key-mapping
  set -g status-keys vi
# navigate using vim-style keys
  setw -g mode-keys vi

# vi-style controls for copy mode
  set-window-option -g mode-keys vi

# highlight status bar on activity
  setw -g monitor-activity on
#  set -g visual-activity on# top, pianobar, git and other apps
with status mess this up
  set -g visual-bell on

# split windows easier
  unbind %
  bind | split-window -h
  bind - split-window -v

# navigate panes with hjkl
  bind -r h select-pane -L
  bind -r j select-pane -D
  bind -r k select-pane -U
  bind -r l select-pane -R
# shift-movement keys will resize panes
  bind -r H resize-pane -L 5
  bind -r J resize-pane -D 5
  bind -r K resize-pane -U 5
  bind -r L resize-pane -R 5

# cycle through sessions
  bind-key J switch-client -n
  bind-key K switch-client -p

# Buffer X -> tmux
  bind-key v run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"

# Buffer tmux -> X
  bind-key b run 'tmux show-buffer | xsel -pbsi'

# l now navigates, so o prev window
  bind o last-window

# toggle logging
  bind-key H pipe-pane -o "exec cat >>$HOME/'#W-tmux.log'" \;
display-message 'Toggled logging to $HOME/#W-tmux.log'

# bind r to reloading the config file
  bind r source-file ~/.tmux.conf \; display "Reloaded tmux config file."

# enable mouse support
  setw -g mode-mouse on
  set-option -g mouse-select-pane on
  set-option -g mouse-resize-pane on
  set-option -g mouse-select-window on

# tmux-powerline config
  set-option -g status on
  set-option -g status-interval 2
  set-option -g status-utf8 on
  set-option -g status-justify "right"
  set-option -g status-left-length 60
  set-option -g status-right-length 0
  set-option -g status-left "#(~/.config/tmux/tmux-powerline/status-left.sh)"
#  set-option -g status-right "#(date '+%D %H:%M')" ##
"#(~/.config/tmux/tmux-powerline/status-right.sh)"

# Stop registering ctrl after the key is leg to of
  set-option -g escape-time 0

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: terminal select

2014-06-17 Thread shawn wilson
I'm not sure. IDK I've had this issue before. However, I had to
restore from an old backup, so that's a known unknown :)

It's the same distro I was using before (Ubuntu) but beside that.
I'm pretty sure I had compiled tmux on the other system as well, but
did I specify library paths and what library versions was I linking
against - IDK. Same terminal - urxvt. But again with compiling or
running Ubuntu's binary - IDK. However, I really think it's a tmux
issue verses the terminal emulator (unless you mean a termcap file
which I haven't done anything with).

Per terminal programs - I just tested opening up xfce4-terminal and
'tmux attach -t main' and had the same issue. I'll test on another
terminal app if you think it's possible it's the terminal though...

On Tue, Jun 17, 2014 at 2:02 AM, Nicholas Marriott
 wrote:
> Hi
>
> What changed? tmux version? Terminal? Terminal version?
>
>
>
>  Original message 
> From: shawn wilson 
> Date: 17/06/2014 06:37 (GMT+00:00)
> To: tmux-users 
> Subject: terminal select
>
>
> For some reason (my config hasn't changed - my system has), when I'm
> in an interactive app (ssh, mutt, irssi, links - I guess these would
> all be curses apps, but not things like telnet, or pianobar), I can't
> use the terminal buffer to copy text. I left click and it sounds a
> bell. I'm guessing something changed when I configured it for compile
> (on Ubuntu 14.4). For this build, I didn't set any options and just
> let it go. Hy conf is:
>
> # default
>   set-window-option -g window-status-format '#I:#W#F'
>
> # turn on 256 color support in tmux
>   set -g default-terminal "screen-256color"
>
>   source ~/.config/tmux/tmux-colors-solarized/tmuxcolors-256.conf
>
> # bind vi key-mapping
>   set -g status-keys vi
> # navigate using vim-style keys
>   setw -g mode-keys vi
>
> # vi-style controls for copy mode
>   set-window-option -g mode-keys vi
>
> # highlight status bar on activity
>   setw -g monitor-activity on
> #  set -g visual-activity on# top, pianobar, git and other apps
> with status mess this up
>   set -g visual-bell on
>
> # split windows easier
>   unbind %
>   bind | split-window -h
>   bind - split-window -v
>
> # navigate panes with hjkl
>   bind -r h select-pane -L
>   bind -r j select-pane -D
>   bind -r k select-pane -U
>   bind -r l select-pane -R
> # shift-movement keys will resize panes
>   bind -r H resize-pane -L 5
>   bind -r J resize-pane -D 5
>   bind -r K resize-pane -U 5
>   bind -r L resize-pane -R 5
>
> # cycle through sessions
>   bind-key J switch-client -n
>   bind-key K switch-client -p
>
> # Buffer X -> tmux
>   bind-key v run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
>
> # Buffer tmux -> X
>   bind-key b run 'tmux show-buffer | xsel -pbsi'
>
> # l now navigates, so o prev window
>   bind o last-window
>
> # toggle logging
>   bind-key H pipe-pane -o "exec cat >>$HOME/'#W-tmux.log'" \;
> display-message 'Toggled logging to $HOME/#W-tmux.log'
>
> # bind r to reloading the config file
>   bind r source-file ~/.tmux.conf \; display "Reloaded tmux config file."
>
> # enable mouse support
>   setw -g mode-mouse on
>   set-option -g mouse-select-pane on
>   set-option -g mouse-resize-pane on
>   set-option -g mouse-select-window on
>
> # tmux-powerline config
>   set-option -g status on
>   set-option -g status-interval 2
>   set-option -g status-utf8 on
>   set-option -g status-justify "right"
>   set-option -g status-left-length 60
>   set-option -g status-right-length 0
>   set-option -g status-left
> "#(~/.config/tmux/tmux-powerline/status-left.sh)"
> #  set-option -g status-right "#(date '+%D %H:%M')" ##
> "#(~/.config/tmux/tmux-powerline/status-right.sh)"
>
> # Stop registering ctrl after the key is leg to of
>   set-option -g escape-time 0
>
> --
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: terminal select

2014-06-17 Thread shawn wilson
ok yeah, I'm on the current head:
 % git lg | head -1
  gits/tmux (master)
swlap1
* 92af7f5 - (HEAD, origin/master, origin/HEAD, master) Linux:  Add
 to log.c (5 weeks ago)   [N]

So, I'll try recompiling on 1.9a

On Tue, Jun 17, 2014 at 4:33 AM, Nicholas Marriott
 wrote:
> If you aren't trying the latest tmux then do so. If you are then try the
> previous version.
>
>
>
>  Original message 
> From: shawn wilson 
> Date: 17/06/2014 08:36 (GMT+00:00)
> To: Nicholas Marriott 
> Cc: tmux-users 
> Subject: Re: terminal select
>
>
> I'm not sure. IDK I've had this issue before. However, I had to
> restore from an old backup, so that's a known unknown :)
>
> It's the same distro I was using before (Ubuntu) but beside that.
> I'm pretty sure I had compiled tmux on the other system as well, but
> did I specify library paths and what library versions was I linking
> against - IDK. Same terminal - urxvt. But again with compiling or
> running Ubuntu's binary - IDK. However, I really think it's a tmux
> issue verses the terminal emulator (unless you mean a termcap file
> which I haven't done anything with).
>
> Per terminal programs - I just tested opening up xfce4-terminal and
> 'tmux attach -t main' and had the same issue. I'll test on another
> terminal app if you think it's possible it's the terminal though...
>
> On Tue, Jun 17, 2014 at 2:02 AM, Nicholas Marriott
>  wrote:
>> Hi
>>
>> What changed? tmux version? Terminal? Terminal version?
>>
>>
>>
>>  Original message 
>> From: shawn wilson 
>> Date: 17/06/2014 06:37 (GMT+00:00)
>> To: tmux-users 
>> Subject: terminal select
>>
>>
>> For some reason (my config hasn't changed - my system has), when I'm
>> in an interactive app (ssh, mutt, irssi, links - I guess these would
>> all be curses apps, but not things like telnet, or pianobar), I can't
>> use the terminal buffer to copy text. I left click and it sounds a
>> bell. I'm guessing something changed when I configured it for compile
>> (on Ubuntu 14.4). For this build, I didn't set any options and just
>> let it go. Hy conf is:
>>
>> # default
>>   set-window-option -g window-status-format '#I:#W#F'
>>
>> # turn on 256 color support in tmux
>>   set -g default-terminal "screen-256color"
>>
>>   source ~/.config/tmux/tmux-colors-solarized/tmuxcolors-256.conf
>>
>> # bind vi key-mapping
>>   set -g status-keys vi
>> # navigate using vim-style keys
>>   setw -g mode-keys vi
>>
>> # vi-style controls for copy mode
>>   set-window-option -g mode-keys vi
>>

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: terminal select

2014-06-17 Thread shawn wilson
Ok, 1.9 and 1.9a both have the same issue. At 1.8, I get:
./tmuxprotocol version mismatch (client 7, server 8)

On Tue, Jun 17, 2014 at 5:31 AM, shawn wilson  wrote:
> ok yeah, I'm on the current head:
>  % git lg | head -1
>   gits/tmux (master)
> swlap1
> * 92af7f5 - (HEAD, origin/master, origin/HEAD, master) Linux:  Add
>  to log.c (5 weeks ago)   [N]
>
> So, I'll try recompiling on 1.9a
>
> On Tue, Jun 17, 2014 at 4:33 AM, Nicholas Marriott
>  wrote:
>> If you aren't trying the latest tmux then do so. If you are then try the
>> previous version.
>>
>>
>>
>>  Original message 
>> From: shawn wilson 
>> Date: 17/06/2014 08:36 (GMT+00:00)
>> To: Nicholas Marriott 
>> Cc: tmux-users 
>> Subject: Re: terminal select
>>
>>
>> I'm not sure. IDK I've had this issue before. However, I had to
>> restore from an old backup, so that's a known unknown :)
>>
>> It's the same distro I was using before (Ubuntu) but beside that.
>> I'm pretty sure I had compiled tmux on the other system as well, but
>> did I specify library paths and what library versions was I linking
>> against - IDK. Same terminal - urxvt. But again with compiling or
>> running Ubuntu's binary - IDK. However, I really think it's a tmux
>> issue verses the terminal emulator (unless you mean a termcap file
>> which I haven't done anything with).
>>
>> Per terminal programs - I just tested opening up xfce4-terminal and
>> 'tmux attach -t main' and had the same issue. I'll test on another
>> terminal app if you think it's possible it's the terminal though...
>>
>> On Tue, Jun 17, 2014 at 2:02 AM, Nicholas Marriott
>>  wrote:
>>> Hi
>>>
>>> What changed? tmux version? Terminal? Terminal version?
>>>
>>>
>>>
>>>  Original message 
>>> From: shawn wilson 
>>> Date: 17/06/2014 06:37 (GMT+00:00)
>>> To: tmux-users 
>>> Subject: terminal select
>>>
>>>
>>> For some reason (my config hasn't changed - my system has), when I'm
>>> in an interactive app (ssh, mutt, irssi, links - I guess these would
>>> all be curses apps, but not things like telnet, or pianobar), I can't
>>> use the terminal buffer to copy text. I left click and it sounds a
>>> bell. I'm guessing something changed when I configured it for compile
>>> (on Ubuntu 14.4). For this build, I didn't set any options and just
>>> let it go. Hy conf is:
>>>
>>> # default
>>>   set-window-option -g window-status-format '#I:#W#F'
>>>
>>> # turn on 256 color support in tmux
>>>   set -g default-terminal "screen-256color"
>>>
>>>   source ~/.config/tmux/tmux-colors-solarized/tmuxcolors-256.conf
>>>
>>> # bind vi key-mapping
>>>   set -g status-keys vi
>>> # navigate using vim-style keys
>>>   setw -g mode-keys vi
>>>
>>> # vi-style controls for copy mode
>>>   set-window-option -g mode-keys vi
>>>

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: terminal select

2014-06-17 Thread shawn wilson
Ugh, is there a way to isolate this without docker or some other
virtualization software?

On Tue, Jun 17, 2014 at 5:47 AM, Nicholas Marriott
 wrote:
> You aren't restarting tmux entirely between each version.
>
>
> On Tue, Jun 17, 2014 at 05:43:02AM -0400, shawn wilson wrote:
>> Ok, 1.9 and 1.9a both have the same issue. At 1.8, I get:
>> ./tmuxprotocol version mismatch (client 7, server 8)
>>
>> On Tue, Jun 17, 2014 at 5:31 AM, shawn wilson  wrote:
>> > ok yeah, I'm on the current head:
>> >  % git lg | head -1
>> >   gits/tmux (master)
>> > swlap1
>> > * 92af7f5 - (HEAD, origin/master, origin/HEAD, master) Linux:  Add
>> >  to log.c (5 weeks ago)   [N]
>> >
>> > So, I'll try recompiling on 1.9a
>> >
>> > On Tue, Jun 17, 2014 at 4:33 AM, Nicholas Marriott
>> >  wrote:
>> >> If you aren't trying the latest tmux then do so. If you are then try the
>> >> previous version.
>> >>
>> >>
>> >>
>> >>  Original message 
>> >> From: shawn wilson 
>> >> Date: 17/06/2014 08:36 (GMT+00:00)
>> >> To: Nicholas Marriott 
>> >> Cc: tmux-users 
>> >> Subject: Re: terminal select
>> >>
>> >>
>> >> I'm not sure. IDK I've had this issue before. However, I had to
>> >> restore from an old backup, so that's a known unknown :)
>> >>
>> >> It's the same distro I was using before (Ubuntu) but beside that.
>> >> I'm pretty sure I had compiled tmux on the other system as well, but
>> >> did I specify library paths and what library versions was I linking
>> >> against - IDK. Same terminal - urxvt. But again with compiling or
>> >> running Ubuntu's binary - IDK. However, I really think it's a tmux
>> >> issue verses the terminal emulator (unless you mean a termcap file
>> >> which I haven't done anything with).
>> >>
>> >> Per terminal programs - I just tested opening up xfce4-terminal and
>> >> 'tmux attach -t main' and had the same issue. I'll test on another
>> >> terminal app if you think it's possible it's the terminal though...
>> >>
>> >> On Tue, Jun 17, 2014 at 2:02 AM, Nicholas Marriott
>> >>  wrote:
>> >>> Hi
>> >>>
>> >>> What changed? tmux version? Terminal? Terminal version?
>> >>>
>> >>>
>> >>>
>> >>>  Original message 
>> >>> From: shawn wilson 
>> >>> Date: 17/06/2014 06:37 (GMT+00:00)
>> >>> To: tmux-users 
>> >>> Subject: terminal select
>> >>>
>> >>>
>> >>> For some reason (my config hasn't changed - my system has), when I'm
>> >>> in an interactive app (ssh, mutt, irssi, links - I guess these would
>> >>> all be curses apps, but not things like telnet, or pianobar), I can't
>> >>> use the terminal buffer to copy text. I left click and it sounds a
>> >>> bell. I'm guessing something changed when I configured it for compile
>> >>> (on Ubuntu 14.4). For this build, I didn't set any options and just
>> >>> let it go. Hy conf is:
>> >>>
>> >>> # default
>> >>>   set-window-option -g window-status-format '#I:#W#F'
>> >>>
>> >>> # turn on 256 color support in tmux
>> >>>   set -g default-terminal "screen-256color"
>> >>>
>> >>>   source ~/.config/tmux/tmux-colors-solarized/tmuxcolors-256.conf
>> >>>
>> >>> # bind vi key-mapping
>> >>>   set -g status-keys vi
>> >>> # navigate using vim-style keys
>> >>>   setw -g mode-keys vi
>> >>>
>> >>> # vi-style controls for copy mode
>> >>>   set-window-option -g mode-keys vi
>> >>>

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux, vim, and the x-selection

2015-04-21 Thread shawn wilson
Any reason not to "+y or w/e?

I think you want to disable mode-mouse, mouse-select-pane,
mouse-select-window, (and maybe) mouse-resize-pane. I generally keep these
off unless I want to interact with tmux with the mouse (hardly never - mmm,
so maybe enable - like I said, I don't do this).
On Apr 21, 2015 9:59 AM, "Chas. Owens"  wrote:

> When I run vim in tmux and select a several lines I get space padding on
> the shorter lines to length of the the longest line.
>
> When I do the same without tmux, the terminal somehow knows were the lines
> stop.
>
> Is there some way to fix this (ie let the information about where lines
> end from vim passthrough to the terminal)?
>
> I am using tmux 1.9, vim 7.4.273, and a variety of terminals:
> gnome-terminal 3.6.2, urxvt 9.20, xterm 304.
>
>
> --
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users