LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-12-2003, 09:27 PM   #1
pfeito
LQ Newbie
 
Registered: May 2003
Location: Porto, Portugal
Distribution: Red Hat 9
Posts: 11

Rep: Reputation: 0
Control Key not working!


I dont have a clue how this has happen but control key does not work anymore.... I dont have a clue when this start to happen because I normally connect remotelly using SSH and there Ctrl key works perfect...

I tried booting to runlevel 3 (no X configuration implications) and Ctrl key still does not work.... only works in remote SSH Clients...

I would suspect a physical problem with the key itself, but both ctrl keys are dead!

How can I fix this ? Any ideas ?


Dont know if this helps but here are the outputs of stty -a

typed in a remote SSH client:
Code:
$ stty -a
speed 38400 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
typed directly in a text console (run level 3):
Code:
$ stty -a
speed 38400 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
 
Old 12-12-2003, 10:32 PM   #2
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 45
Just for kicks....have you tried another keyboard, or unplugged your keyboard and looked at the pins?

I have often found that I overlook simple problems like a network cable being unplugged because I am so used to dealing with much harder issues

Just a thought

Peace,
Whitehat
 
Old 04-06-2006, 11:46 AM   #3
kuldeepg
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Control C not working

Control C do not work on console. However, it works fine with ssh session. So I can not interrupt current task, which is frustating.

stty shows intr set to control-c, but nothing happens.

I tried to reassign using trap command in bash:

trap fn INTR

Nothing happens when I press control C. However, if I do kill -2 PIDNUM, the "fn" do get called.

So there appears some linkage problem. Please help if you have suggestions.

Thanks in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable compose key (Right Control) under GNOME? wirawan0 Suse/Novell 0 10-05-2005 12:57 PM
Problem with control ^C key gallet Linux - Software 1 10-17-2003 02:07 PM
I use a GtkItemFactory to make menu,but I want to use a number key to control menu? jiang10000 Programming 0 08-27-2003 03:40 AM
vmware and control key pfunk Linux - General 1 07-31-2003 06:26 PM
Bad key or directory name (gnome volume control) okasion Linux - Hardware 0 05-05-2003 07:12 PM


All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration