Re: [SLUG] A little annoying keyboard type issue...

2007-03-07 Thread Zhasper

On 06/03/07, Michael Fox [EMAIL PROTECTED] wrote:

On 3/2/07, Zhasper [EMAIL PROTECTED] wrote:
 It sounds like Screen is confused about your terminal.

 What's the value of $TERM in the terminal before you launch screen?

 Can you show us the output of stty -a both inside of and outside of screen?

 As an interim workaround, see if ^H (ctrl+h) works as backspace inside
 screen. Another workaround - stty erase ctrl+vbackspace will
 probably fix backspace, but only for that one screen


The output from stty -a in both a screen session and non screen
session is exactly the same.

Your suggestion of ctrl+h to see if that works, certainly does. Any
chance we can figure out how to make this work on all sessions all the
time.


Put it in a .bashrc?

I don't actually know. I find that  it breaks for me on odd occasions
- never consistently enough for me to look for a permanent fix. I just
end up doing a stty erase ^v^h any time I notice it's a problem.

I suspect it's a problem with the termcap for screen on older
machines, but I'm not certain...


If you could CC me on any replies directly that would be appreciated,
as I am not on the list for the moment (will resign up again later
on).

Thanks





--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] A little annoying keyboard type issue...

2007-03-06 Thread Michael Fox

On 3/2/07, Zhasper [EMAIL PROTECTED] wrote:

It sounds like Screen is confused about your terminal.

What's the value of $TERM in the terminal before you launch screen?

Can you show us the output of stty -a both inside of and outside of screen?

As an interim workaround, see if ^H (ctrl+h) works as backspace inside
screen. Another workaround - stty erase ctrl+vbackspace will
probably fix backspace, but only for that one screen



The output from stty -a in both a screen session and non screen
session is exactly the same.

Your suggestion of ctrl+h to see if that works, certainly does. Any
chance we can figure out how to make this work on all sessions all the
time.

If you could CC me on any replies directly that would be appreciated,
as I am not on the list for the moment (will resign up again later
on).

Thanks
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] A little annoying keyboard type issue...

2007-03-01 Thread Michael Fox

Hi,

Maybe someone can help me with a problem that came about with a new
xubuntu install lastnight...

Basically it appears if I use screen from a terminal session in xorg,
soon as I launch screen session I can no longer use delete or
backspace keys.

If I ssh to the box from somewhere else using putty etc, this problem
doesn't exist. So as near as I can tell, it might be related to the
keyboard setup in the xorg.conf that might be in use (basically
detected by the installer).

The keyboard is a usb one, in this case a black microsoft oem
multimedia keyboard. Not concerned about the multimedia keys, just
would like backspace/delete to work in terminal session that happen to
have screen loaded in them.

Thanks in advance
Michael Fox
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] A little annoying keyboard type issue...

2007-03-01 Thread Zhasper

On 02/03/07, Michael Fox [EMAIL PROTECTED] wrote:

Hi,

Maybe someone can help me with a problem that came about with a new
xubuntu install lastnight...

Basically it appears if I use screen from a terminal session in xorg,
soon as I launch screen session I can no longer use delete or
backspace keys.

If I ssh to the box from somewhere else using putty etc, this problem
doesn't exist. So as near as I can tell, it might be related to the
keyboard setup in the xorg.conf that might be in use (basically
detected by the installer).

The keyboard is a usb one, in this case a black microsoft oem
multimedia keyboard. Not concerned about the multimedia keys, just
would like backspace/delete to work in terminal session that happen to
have screen loaded in them.



It sounds like Screen is confused about your terminal.

What's the value of $TERM in the terminal before you launch screen?

Can you show us the output of stty -a both inside of and outside of screen?

As an interim workaround, see if ^H (ctrl+h) works as backspace inside
screen. Another workaround - stty erase ctrl+vbackspace will
probably fix backspace, but only for that one screen

--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] A little annoying keyboard type issue...

2007-03-01 Thread Michael Fox

On 3/2/07, Zhasper [EMAIL PROTECTED] wrote:

It sounds like Screen is confused about your terminal.

What's the value of $TERM in the terminal before you launch screen?


That's something I considered. Before launch screen executable
$TERM=xterm and then when I execute screen, $TERM=screen

And this is seen via a putty connection also (ie. the same $TERM values).

As to the other stuff you suggested, I'll need to do that tonight when
I am next to the machine.

Thanks
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html