can not switch numlock inside tmux

2009-11-28 Thread LEVAI Daniel
Hi!

I'm using tmux-1.1 on Linux. After I start tmux, I can not change the numlock 
state. Nothing happens when I press the numlock button and nothing appears on 
the screen either.

My TERM env is xterm-color before and after starting tmux, and I'm in a 
completely new tmux session.

What could be the problem?


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: can not switch numlock inside tmux

2009-11-28 Thread Nicholas Marriott
Hi

tmux doesn't receive a key press when you press num lock, so it can't do
anything.

The keypad state is controlled by the application, although in 1.1 there is a
bug which means application and keypad keys mode are the wrong way round.

For numlock to do anything, your terminal needs to actually change the key
codes it sends on num lock.


On Sat, Nov 28, 2009 at 04:49:31PM +0100, LEVAI Daniel wrote:
> Hi!
> 
> I'm using tmux-1.1 on Linux. After I start tmux, I can not change the numlock 
> state. Nothing happens when I press the numlock button and nothing appears on 
> the screen either.
> 
> My TERM env is xterm-color before and after starting tmux, and I'm in a 
> completely new tmux session.
> 
> What could be the problem?
> 
> 
> Daniel
> 
> -- 
> L?VAI D?niel
> PGP key ID = 0x4AC0A4B1
> Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1
> 
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: can not switch numlock inside tmux

2009-11-28 Thread LEVAI Daniel
On Saturday 28 November 2009 18.46.42 you wrote:
> Hi
> 
> tmux doesn't receive a key press when you press num lock, so it can't do
> anything.
> 
> The keypad state is controlled by the application, although in 1.1 there is
>  a bug which means application and keypad keys mode are the wrong way
>  round.
> 
> For numlock to do anything, your terminal needs to actually change the key
> codes it sends on num lock.
So what should I do? It works outside tmux :/

I should also mention, that this is not under X, it is plain linux console.

> On Sat, Nov 28, 2009 at 04:49:31PM +0100, LEVAI Daniel wrote:
> > Hi!
> >
> > I'm using tmux-1.1 on Linux. After I start tmux, I can not change the
> > numlock state. Nothing happens when I press the numlock button and
> > nothing appears on the screen either.
> >
> > My TERM env is xterm-color before and after starting tmux, and I'm in a
> > completely new tmux session.
> >
> > What could be the problem?
> >
> >
> > Daniel
> 

-- 
LÉVAI Dániel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: can not switch numlock inside tmux

2009-11-28 Thread Nicholas Marriott
tmux always puts the keypad into application mode always which is probably
wrong. You can try CVS HEAD which fixes the bug and means you will get numbers
by default but other than that until I get time to make it set the cursor mode
based on what the application inside does you will have to put up with it.


On Sun, Nov 29, 2009 at 12:22:28AM +0100, LEVAI Daniel wrote:
> On Saturday 28 November 2009 18.46.42 you wrote:
> > Hi
> > 
> > tmux doesn't receive a key press when you press num lock, so it can't do
> > anything.
> > 
> > The keypad state is controlled by the application, although in 1.1 there is
> >  a bug which means application and keypad keys mode are the wrong way
> >  round.
> > 
> > For numlock to do anything, your terminal needs to actually change the key
> > codes it sends on num lock.
> So what should I do? It works outside tmux :/
> 
> I should also mention, that this is not under X, it is plain linux console.
> 
> > On Sat, Nov 28, 2009 at 04:49:31PM +0100, LEVAI Daniel wrote:
> > > Hi!
> > >
> > > I'm using tmux-1.1 on Linux. After I start tmux, I can not change the
> > > numlock state. Nothing happens when I press the numlock button and
> > > nothing appears on the screen either.
> > >
> > > My TERM env is xterm-color before and after starting tmux, and I'm in a
> > > completely new tmux session.
> > >
> > > What could be the problem?
> > >
> > >
> > > Daniel
> > 
> 
> -- 
> L?VAI D?niel
> PGP key ID = 0x4AC0A4B1
> Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: can not switch numlock inside tmux

2009-11-28 Thread LEVAI Daniel
On Sunday 29 November 2009 00.54.36 you wrote:
> tmux always puts the keypad into application mode always which is probably
> wrong. You can try CVS HEAD which fixes the bug and means you will get
>  numbers by default but other than that until I get time to make it set the
>  cursor mode based on what the application inside does you will have to put
>  up with it.
Okay, I understand, thanks.


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users