dbTalk Databases Forums  

control-break at console for d3 7.4.2 on rhel4

comp.databases.pick comp.databases.pick


Discuss control-break at console for d3 7.4.2 on rhel4 in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frank Winans
 
Posts: n/a

Default control-break at console for d3 7.4.2 on rhel4 - 10-21-2005 , 10:09 PM






What should I tweak so I can use CONTROL-BREAK
to signal D3 to Break? In the past I've used
SET-BREAK 31 {31 is hex 1F} and that was good
for d3 7.4.2 on rhel 3 linux, ok at console or coming
in over the LAN, but now I'm running rhel 4 and
-with no tweaks- that keypress combo at the console
creates escape string ESC[P -- thanks a heap, RedHat.




Reply With Quote
  #2  
Old   
Jeffrey Kaufman
 
Posts: n/a

Default Re: control-break at console for d3 7.4.2 on rhel4 - 10-21-2005 , 10:19 PM






That should work Frank. I have customers set up with the same config and it
is working there. However when I run into a situation where 31 does not
work, I use 06 which is <ctrl>F.

"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote

Quote:
What should I tweak so I can use CONTROL-BREAK
to signal D3 to Break? In the past I've used
SET-BREAK 31 {31 is hex 1F} and that was good
for d3 7.4.2 on rhel 3 linux, ok at console or coming
in over the LAN, but now I'm running rhel 4 and
-with no tweaks- that keypress combo at the console
creates escape string ESC[P -- thanks a heap, RedHat.






Reply With Quote
  #3  
Old   
Frank Winans
 
Posts: n/a

Default Re: control-break at console for d3 7.4.2 on rhel4 - 10-22-2005 , 12:45 AM



"Jeffrey Kaufman" wrote
Quote:
"Frank Winans" wrote
What should I tweak so I can use CONTROL-BREAK
to signal D3 to Break? On rhel3 I've used
SET-BREAK 31 but on rhel4 I get ESC[P from those
keys, not a break effect.

That should work Frank. I have customers set up with the same config and it
is working there. However when I run into a situation where 31 does not
work, I use 06 which is <ctrl>F.
Urgh! Do I read rightly, that 31 works ok on your customers even on rhel 4?
Further info; I logged on as root and did showkey -a and showkey -s
which disclose the pause/break key emits same results with or without the
control key being held down. I tried an ancient compaq keyboard, same result.
That is, under rhel4 the control key is ignored. Under rhel3 I get scancode 101
when the control key is also being held down. I guess I could tweak linux so
I lose the 'pause' part of this key, and always get the 'break' part. Or maybe tie
one of the newfangled windows keys to the 'break' functionality. But why is such
a basic keyboard feature so messed up, in the 'just-unwrapped' state of the os?




Reply With Quote
  #4  
Old   
Frank Winans
 
Posts: n/a

Default Re: control-break at console for d3 7.4.2 on rhel4 - 10-25-2005 , 03:31 PM



"Frank Winans" wrote
Quote:
What should I tweak so I can use CONTROL-BREAK
to signal D3 to Break? In the past I've used
SET-BREAK 31 {31 is hex 1F} and that was good
for d3 7.4.2 on rhel 3 linux, ok at console or coming
in over the LAN, but now I'm running rhel 4 and
-with no tweaks- that keypress combo at the console
creates escape string ESC[P

Since RHEL4 ES doesn't generate the 'break' keycode
when you do control-break at console, I've set up the
'one' digit on the keyboard, above the alphabet part, so
control-1 does a break. Still use SET-BREAK 31 in d3,
and all is well at console, serial, d3 and network logins again.

Have your S*local script of linux do loadkeys foo.us.map
Now finish the linux tweak by manually doing this once;
cd /lib/kbd/keymaps/i386/qwerty
cp us.map.gz foo.us.map.gz
gunzip foo.us.map.gz ; vi foo.us.map
j the cursor down to the line
keycode 2 = one exclam
and do A to append to the end so it becomes
keycode 2 = one exclam Break Break
hit escape and ZZ to save and exit. No need to gzip it again...
It shouldn't be this hard -- are X-phobes so rare in redhat-land?




Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.