Gnus development mailing list
 help / color / mirror / Atom feed
* terminal keys
@ 2011-10-17 16:13 Sebastian P. Luque
  2011-10-17 16:29 ` Carson Chittom
  2011-10-17 17:35 ` Andreas Schwab
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastian P. Luque @ 2011-10-17 16:13 UTC (permalink / raw)
  To: ding

Hi,

While using Gnus at a console (Konsole, from KDE in my case), some key
combinations don't work as in an X environment.  For example, 'C-M-k'
(gnus-summary-kill-thread), i.e. holding Control, Alt, and k together
doesn't do anything.  However, hitting ESC, and then Control k does call
`gnus-summary-kill-thread'.  This should probably be asked in some KDE
forum, since this is probably configured somewhere in KDE's system
settings, but perhaps someone here has already dealt with this.

Thanks,
-- 
Seb



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terminal keys
  2011-10-17 16:13 terminal keys Sebastian P. Luque
@ 2011-10-17 16:29 ` Carson Chittom
  2011-10-17 17:01   ` Sebastian P. Luque
  2011-10-17 17:35 ` Andreas Schwab
  1 sibling, 1 reply; 7+ messages in thread
From: Carson Chittom @ 2011-10-17 16:29 UTC (permalink / raw)
  To: ding

"Sebastian P. Luque" <spluque@gmail.com> writes:

> While using Gnus at a console (Konsole, from KDE in my case), some key
> combinations don't work as in an X environment.  For example, 'C-M-k'
> (gnus-summary-kill-thread), i.e. holding Control, Alt, and k together
> doesn't do anything.  However, hitting ESC, and then Control k does call
> `gnus-summary-kill-thread'.  This should probably be asked in some KDE
> forum, since this is probably configured somewhere in KDE's system
> settings, but perhaps someone here has already dealt with this.

Sounds like Konsole isn't properly interpreting Meta/Alt.  At a guess,
maybe TERM isn't set properly.  Does Meta/Alt work right in other console
applications?  What does "echo $TERM" return?  Does something in your
termcap file (/etc/termcap on my OpenBSD install) have something more
suited to your situation than what TERM is set to?

Alternatively, maybe you have crumbs stuck under your Meta/Alt key (true
story; happened to me).

Esc (and release) is as far as I'm aware the Emacs fallback for Meta, so
that, at least, is working as designed.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terminal keys
  2011-10-17 16:29 ` Carson Chittom
@ 2011-10-17 17:01   ` Sebastian P. Luque
  2011-10-17 17:40     ` Carson Chittom
  2011-10-17 17:46     ` Carson Chittom
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastian P. Luque @ 2011-10-17 17:01 UTC (permalink / raw)
  To: ding

On Mon, 17 Oct 2011 11:29:24 -0500,
Carson Chittom <carson.chittom@mspb.ms.gov> wrote:

> "Sebastian P. Luque" <spluque@gmail.com> writes:
>> While using Gnus at a console (Konsole, from KDE in my case), some
>> key combinations don't work as in an X environment.  For example,
>> 'C-M-k' (gnus-summary-kill-thread), i.e. holding Control, Alt, and k
>> together doesn't do anything.  However, hitting ESC, and then Control
>> k does call `gnus-summary-kill-thread'.  This should probably be
>> asked in some KDE forum, since this is probably configured somewhere
>> in KDE's system settings, but perhaps someone here has already dealt
>> with this.

> Sounds like Konsole isn't properly interpreting Meta/Alt.  At a guess,
> maybe TERM isn't set properly.  Does Meta/Alt work right in other
> console applications?

Well Meta/Alt at either side of the keyboard do work properly, since for
example 'M-q' does call `fill-paragraph'.  It's just the combination of
Meta/Alt with Control that is not recognized as input of any kind.

I found that under Konsole's profile settings, there's an "Input" tab,
with 3 different options: Default (XFree 4), Linux console, Solaris
console.  These can be edited, and the user is shown with columns "Key
Combination" and "Output" with several rows of entries.  Hopefully the
language used to edit these is described somewhere.  For example,
"Backspace" under "Key Combination" has "\x7f" under "Output"...


> What does "echo $TERM" return?

This shows "xterm"

> Does something in your termcap file (/etc/termcap on my OpenBSD
> install) have something more suited to your situation than what TERM
> is set to?

In my Debian sid system this seems to be large hierarchy under
/usr/share/terminfo, which I'd need to understand.


> Alternatively, maybe you have crumbs stuck under your Meta/Alt key
> (true story; happened to me).

;-)

Thanks,

-- 
Seb



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terminal keys
  2011-10-17 16:13 terminal keys Sebastian P. Luque
  2011-10-17 16:29 ` Carson Chittom
@ 2011-10-17 17:35 ` Andreas Schwab
  2011-10-17 17:43   ` Sebastian P. Luque
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2011-10-17 17:35 UTC (permalink / raw)
  To: ding

"Sebastian P. Luque" <spluque@gmail.com> writes:

> While using Gnus at a console (Konsole, from KDE in my case), some key
> combinations don't work as in an X environment.  For example, 'C-M-k'
> (gnus-summary-kill-thread), i.e. holding Control, Alt, and k together
> doesn't do anything.

Perhaps it is assigned some shortcut?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terminal keys
  2011-10-17 17:01   ` Sebastian P. Luque
@ 2011-10-17 17:40     ` Carson Chittom
  2011-10-17 17:46     ` Carson Chittom
  1 sibling, 0 replies; 7+ messages in thread
From: Carson Chittom @ 2011-10-17 17:40 UTC (permalink / raw)
  To: ding

"Sebastian P. Luque" <spluque@gmail.com> writes:

>> What does "echo $TERM" return?
>
> This shows "xterm"

Try setting this to "konsole-base" or "konsole-linux" and trying again.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terminal keys
  2011-10-17 17:35 ` Andreas Schwab
@ 2011-10-17 17:43   ` Sebastian P. Luque
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastian P. Luque @ 2011-10-17 17:43 UTC (permalink / raw)
  To: ding

On Mon, 17 Oct 2011 19:35:05 +0200,
Andreas Schwab <schwab@linux-m68k.org> wrote:

> "Sebastian P. Luque" <spluque@gmail.com> writes:
>> While using Gnus at a console (Konsole, from KDE in my case), some
>> key combinations don't work as in an X environment.  For example,
>> 'C-M-k' (gnus-summary-kill-thread), i.e. holding Control, Alt, and k
>> together doesn't do anything.

> Perhaps it is assigned some shortcut?

Brilliant... turns out this combination is assigned to switching keyboad
layouts by default in KDE.  Changed that and now this combination stays
in Gnus.

Thanks,

-- 
Seb



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terminal keys
  2011-10-17 17:01   ` Sebastian P. Luque
  2011-10-17 17:40     ` Carson Chittom
@ 2011-10-17 17:46     ` Carson Chittom
  1 sibling, 0 replies; 7+ messages in thread
From: Carson Chittom @ 2011-10-17 17:46 UTC (permalink / raw)
  To: ding

Sorry, hit send before I was ready.

"Sebastian P. Luque" <spluque@gmail.com> writes:

>> What does "echo $TERM" return?
>
> This shows "xterm"

Try setting this to "konsole-base" or "konsole-linux" and trying again.

To be honest, I'm not hopeful it'll work, given that Alt's working in
other console contexts.  





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-17 17:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 16:13 terminal keys Sebastian P. Luque
2011-10-17 16:29 ` Carson Chittom
2011-10-17 17:01   ` Sebastian P. Luque
2011-10-17 17:40     ` Carson Chittom
2011-10-17 17:46     ` Carson Chittom
2011-10-17 17:35 ` Andreas Schwab
2011-10-17 17:43   ` Sebastian P. Luque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).