[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    Re: [Konsole-devel] [Bug 105824] ctrl-d doesn't always work
From:       lars.doelle () on-line ! de
Date:       2006-07-14 0:10:15
Message-ID: 200607140210.15786.lars.doelle () on-line ! de
[Download RAW message or body]

gdamjan,

i understand that you swear stone and bone that the konsole truly gets into
some weird mode sometimes, and that the problem is caused by the konsole.

Only that the konsole does not have any special treatment of the ctrl-d.
It is hard to diagnose further from our sides.

Please, if you get into this state, make some test to gain further information.

I would be interested to know if further keys are affected, then, too. You might
for instance run the following variant of your program to try out other keys, in
particular 0..9, a..z and ctrl-a..z, F1-F12.

---------------------------
#include <stdio.h>
#include <termios.h>

int main()
{
  printf("Press 'q' to exit\n");
  unsigned char buf = 0;

  struct termios termios_sav;
  tcgetattr(0, &termios_sav);

  struct termios termios_now = termios_sav;
  cfmakeraw(&termios_now);
  tcsetattr(0, TCSANOW, &termios_now);

  while (1)
  {
    read(0, &buf, 1);
    printf("0x%02x (%c)\r\n", buf, buf<' '?'.':buf);
    if (buf == 'q') break;
  }

  tcsetattr(0, TCSANOW, &termios_sav);

  return 0;
}
------------

I would also be interested to learn, if other application work as usual in this
state. It all sound a bit like a hanging "Alt" mode on your keyboard or
something alike making shortcuts running wild. Do you have any special
shortcuts defined?

-lars
_______________________________________________
konsole-devel mailing list
konsole-devel@kde.org
https://mail.kde.org/mailman/listinfo/konsole-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic