KpyM Telnet/SSH Server - Forum
Displaying line characters |
Michael |
Displaying line characters |
Jun 12 2008 17:37 |
|
I have an app that when connected to kpym through the windows telnet client prints outside like bracket characters like
┌ Logon ────────────┐
│ │
│ User[ ] │
│ Pass[ ] │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ ( OK ) │
└───────────────────┘
When I connect with the symbol gun to kpym is looks like
2 Logon DDDDDDDDDDDDDD?
3 3
3 User[ ] 3
3 Pass[ ] 3
3 3
3 3
DDDDDDDDDDDDDDDDDDDDDY
etc...
Any help/ or thoughts?
|
Kroum Grigorov |
|
Jun 13 2008 18:34 |
|
It looks like a charcter encoding issue.
By default KTS will use 437 code page for character encoding, that is good enough for most of the english programs.
Try if you can change the codepage of your symbol device, there should be something on this topic in your device manual.
You can also try to change the KTS export codepage, this is in telnet.ini file the "export_code_page" parameter, and also in scripts\allusers.bat file the "chcp" command. Note that you need to change these both.
Kroum
|
Michael |
Code page 437 |
Jun 24 2008 21:04 |
|
I have continued trying to get this to work.
The device is a symbol pdt6846
The device has emulation types of VT100, VT200, and HP
I have tried those modes with KpyM set to chcp 437 and chcp 65001 (set on both the server, and client script of course)
Where can I find other options for chcp? Any other things for me to try?
|
Kroum Grigorov |
|
Jun 30 2008 13:23 |
|
A quick search shows that symbol pdt6846 device uses DR-DOS for its OS.
Can you try to set back KTS to use 437 code page, and BEFORE connecting to the KTS host try to also execute "chcp 437" on your symbol device?
Kroum
|
Michael |
Symbol Gun |
Aug 11 2008 21:22 |
|
I tried the chcp 437 before connecting and got an 'Invalid Code Page, or COUNTRY.SYS not found
|
Michael |
Chcp |
Aug 11 2008 21:31 |
|
But if I try just the command CHCP it tells me that 437 is the active code page.
|
Kroum Grigorov |
|
Aug 12 2008 19:08 |
|
I'm out of ideas, sorry.
Kroum
|
© 2007 - 2008 Kroum Grigorov