Telneting from the Konsole Question....

Quaggoth

Senior member
Jun 23, 2000
800
0
0
The program we used to use (OK, are using currently, but I'm trying my best to change :) is Mocha Telnet. we use this program to telnet into the county sheriff's office into a program called Spillman. What follows is a list of key mappings that they use. I need to know how to map these keys in the konsole under redhat 7.2 (2.4 Kernel as I recall). If someone can point me to the proper man page on the subject that would be fine...
I'm not sure they need ALL of these maps as a lot of them are probably just the standard mappings for mocha telnet functions.
If I can get this working this county will be replacing about 30-50 windows boxes with Linux ones :):):)

OH - And if this pilot program works.... They will most likely want to see if I can reproduce ALL of our current windows functionality with Linux on the workstation side :) that's 900 workstations folks... So far all I can think may be a problem is finding a good exchange client that the users will accept.

Thanks.

UP \033[A
DOWN \033[B

RIGHT \006 # Control-F (Right Arrow)
LEFT \002 # Control-B (LEft Arrow)

f1 \027 # Control-W (HELP)
f2 \033[17~ # Control-E (LOOKUP)
f3 \030 # Control-X (ACCEPT)
f4 \031 # Control-Y (MAIL)
f5 \017 # Control-O (GOTO)
f6 \024 # Control-T (TIME)
f7 \001 # Control-A (BEGIN)
f8 \007 # Control-G (END)
f9 \025 # Control-U (RECALL)
f10 \032 # Control-Z (CLEAR)
f11 \013 # Control-K (EOL)
f12 \035 # Control-] (PRINT) **
f13 \033[25~
f14 \033[26~
f15 \033[28~
f16 \033[29~
f17 \033[31~
f18 \033[32~
f19 \033[33~
f20 \033[34~
F1 \020 # SHIFT F1 - Control-P (PREV)
F2 \016 # SHIFT F2 - Control-N (NEXT)
F3 \026 # SHIFT F3 - Control-V (RUN)
F4 \003 # SHIFT F4 - Control-C (CANCEL)
F5 \022 # SHIFT F5 - Control-R (INSERT)
F6 \004 # SHIFT F6 - Control-D (DELETE)
F7 \036 # SHIFT F7 - Control-^ (HOME) **
F8 \014 # SHIFT F8 - Control-L (REDRAW)
F9 \033[33~
F10 \033[34~
F11 \033[23~
F12 \033[24~
F13 \033[25~
F14 \033[26~
F15 \033[28~
F16 \033[29~
F17 \033[31~
F18 \033[32~
F19 \033[33~
F20 \033[34~
cf1 \217P # PF1
cf2 \217Q # FF2
cf3 \217R # PF3
cf4 \217S # FF4
cf5 \033P # PF1 VT52
cf6 \033Q # PF2 VT52
cf7 \033R # PF3 VT52
cf8 \033S # PF4 VT52
cf9 -
cf10 -
cf11 -
cf12 -
cf13 -
cf14 -
cf15 -
cf16 -
cf17 -
cf18 -
cf19 -
cf20 -
CF1 -
CF2 -
CF3 -
CF4 -
CF5 -
CF6 -
CF7 -
CF8 -
CF9 -
CF10 -
CF11 -
CF12 -
CF13 -
CF14 -
CF15 -
CF16 -
CF17 -
CF18 -
CF19 -
CF20 -
HOME \2331~ # HOME -> FIND
END \2334~ # END -> SELECT
#PGUP \2335~ # PREV SCREEN
#PGDN \2336~ # NEXT SCREEN
PGUP \020 # PREV SCREEN Control-P
PGDN \016 # NEXT SCREEN Control-N
INSERT \2332~ # INSERT HERE
DELETE \004 # REMOVE
BACKSPACE \010 # could also be ctrl-h \010
 

Quaggoth

Senior member
Jun 23, 2000
800
0
0
I have figured this much out...

I need to use "Loadkeys" to load a keymap into the konsole... Now all I need to find out is if that mapping file I pasted is the proper format ... I think :)

If so, I am done.
If not, I need to find out how to make a .map file.
 

YNos

Member
Jan 7, 2002
84
0
0
WTF!!!!
not a security person, are you....
you just said "we use this program to telnet into the county sheriff's office "...why are you using telnet, dont you nkow it is just the raw<not encrypted> data being streamed....anyone who knows how to use a program like NetCat, or anyother sniffer, will be able to see your unames&passwds. then you go thru and say what the keybindings are....
suggestions..
you may want to edit your post ASAP..
use open ssh. there are windoze versions available.
*****************
BTW... i hope you are not in kent county<michigan>, because i really wouldent want ppl to know whats on my<or anyones> record <w/o them haveing permission, or rights to do so>
any questions on implementing, just ask.....
sorry 'bout the rant...
Craig Ynos
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< WTF!!!!
not a security person, are you....
you just said "we use this program to telnet into the county sheriff's office "...why are you using telnet, dont you nkow it is just the raw<not encrypted> data being streamed....anyone who knows how to use a program like NetCat, or anyother sniffer, will be able to see your unames&passwds. then you go thru and say what the keybindings are....
suggestions..
you may want to edit your post ASAP..
use open ssh. there are windoze versions available.
*****************
BTW... i hope you are not in kent county<michigan>, because i really wouldent want ppl to know whats on my<or anyones> record <w/o them haveing permission, or rights to do so>
any questions on implementing, just ask.....
sorry 'bout the rant...
Craig Ynos
>>



I thought about that at first, but I figured they were only doing this internally. I didnt think anyone is still stupid enough to use telnet for anything on the internet...
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< Mocha W32 Telnet Features:

* Supports VT100/VT220 emulation
* Small and fast. The package is only 204 K
* SSH1 (Secure Shell). Port forwarding and RSA authentication are not supported
* Encryption with DES , 3-DES or BlowFish
* Scroll Bar (as Xterm)
* User defined functions keys
* Extended character mapping
* Screen mode 24*80 or 24*132
* Hardcopy of screen
* Mail support
* Functions keys F1-F20 is part of the Toolbar
* Autologin with scripting parameter
* Proxy login
* Many trim parameters
* Online Help
* Free upgrades to new versions of the product
* Installation/Uninstallation programs
* Low cost : Single User license 25 USD or 250 USD for a Company License.
>>

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<<

<< Mocha W32 Telnet Features:

* Supports VT100/VT220 emulation
* Small and fast. The package is only 204 K
* SSH1 (Secure Shell). Port forwarding and RSA authentication are not supported
* Encryption with DES , 3-DES or BlowFish
* Scroll Bar (as Xterm)
* User defined functions keys
* Extended character mapping
* Screen mode 24*80 or 24*132
* Hardcopy of screen
* Mail support
* Functions keys F1-F20 is part of the Toolbar
* Autologin with scripting parameter
* Proxy login
* Many trim parameters
* Online Help
* Free upgrades to new versions of the product
* Installation/Uninstallation programs
* Low cost : Single User license 25 USD or 250 USD for a Company License.
>>

>>



SSH1 is a bad idea ;)
 

Quaggoth

Senior member
Jun 23, 2000
800
0
0
He He, don't worry, it's all internal....

Here's what I have figured out so far...

Use a program called loadkeys (There's a man page)
load a .map file (Or any just as long as it's text) using loadkeys

.map file should have entries like this
keycode 0x0100=Control_w
keycode 0x0101=Control_e
yadda, yadda, yadda

That doesn't work, but gives an error.

I use
keycode 59=Control_w (59 and 0x0100 are both F1 I am told :)
This gives me no errors, but doesn't seem to make F1 produce a Control W.....

Any help?? I am using no switches for loadkeys.

OH, and Ynos, I am trying to move AWAY from windoze......