Re: bind-key to a literal keycode

2011-06-20 Thread Nicholas Marriott
On Mon, Jun 20, 2011 at 05:29:35PM -0500, Dustin Kirkland wrote: > On Mon, Jun 20, 2011 at 5:14 PM, Nicholas Marriott > wrote: > > TERM=gnome is ncurses not tmux > > Forgive, I'm sorry, I don't understand what this means. I'd like to > use gnome-terminal to either create or connect to a tmux ses

Re: bind-key to a literal keycode

2011-06-20 Thread Dustin Kirkland
On Mon, Jun 20, 2011 at 5:14 PM, Nicholas Marriott wrote: > TERM=gnome is ncurses not tmux Forgive, I'm sorry, I don't understand what this means. I'd like to use gnome-terminal to either create or connect to a tmux session, wherein I bind-key -n S-F1..S-F4 to some functionality. It's not immed

Re: bind-key to a literal keycode

2011-06-20 Thread Nicholas Marriott
TERM=gnome is ncurses not tmux i'll look at the patch again tomorrow On Mon, Jun 20, 2011 at 04:55:18PM -0500, Dustin Kirkland wrote: > On Mon, Jun 20, 2011 at 4:26 PM, Nicholas Marriott > wrote: > > What's wrong with using TERM=gnome outside tmux? Doesn't it have these > > set correctly? Or is

Re: bind-key to a literal keycode

2011-06-20 Thread Dustin Kirkland
On Mon, Jun 20, 2011 at 4:26 PM, Nicholas Marriott wrote: > What's wrong with using TERM=gnome outside tmux? Doesn't it have these > set correctly? Or is tmux not correctly picking them up? kirkland@x201:~$ export TERM=gnome kirkland@x201:~$ tmux open terminal failed: missing or unsuitable termin

Re: bind-key to a literal keycode

2011-06-20 Thread Nicholas Marriott
email is better, cheers On Mon, Jun 20, 2011 at 12:49:46PM -0500, Dustin Kirkland wrote: > On Mon, Jun 20, 2011 at 10:46 AM, Randy Stauner > wrote: > > that's strange... i tried something similar but i think i had the key combo > > wrong... oops. > > I also didn't realize that it was only F1-F4

Re: bind-key to a literal keycode

2011-06-20 Thread Nicholas Marriott
What's wrong with using TERM=gnome outside tmux? Doesn't it have these set correctly? Or is tmux not correctly picking them up? On Sat, Jun 18, 2011 at 11:30:29PM -0500, Dustin Kirkland wrote: > On Fri, Jun 17, 2011 at 8:13 PM, Dustin Kirkland > wrote: > > Howdy! > > > > I'm trying to bind some

Re: How to differentiate tmux environment between Console and X

2011-06-20 Thread Nicholas Marriott
good point, you won't have DISPLAY set in console On Thu, Jun 16, 2011 at 07:38:20AM -0700, Randy Stauner wrote: >Do you have a `tty` command? **that may show "/dev/tty1" vs "/dev/pts/3" >which could identify it. >There may be other environment settings you could consult as well... >

Re: bind-key to a literal keycode

2011-06-20 Thread Dustin Kirkland
On Mon, Jun 20, 2011 at 10:46 AM, Randy Stauner wrote: > that's strange... i tried something similar but i think i had the key combo > wrong... oops. > I also didn't realize that it was only F1-F4 that have these "other" codes. >  weird. > Anyway, this patch works for me. > Thanks! Great! Thanks

Re: bind-key to a literal keycode

2011-06-20 Thread Randy Stauner
that's strange... i tried something similar but i think i had the key combo wrong... oops. I also didn't realize that it was only F1-F4 that have these "other" codes. weird. Anyway, this patch works for me. Thanks! On Sat, Jun 18, 2011 at 9:30 PM, Dustin Kirkland wrote: > On Fri, Jun 17, 2011 at