Simulate PC ESC and Arrow keys on a Commodore for telecom?
Moderator: Moderators
Simulate PC ESC and Arrow keys on a Commodore for telecom?
I'm finding navigation difficult on some BBS from my Commodores
because the remote computer assumes I'm using a PC
and asks me to hit "escape", or use my arrow keys to navigate.
Any way to have a Vic or C64 send the correct codes
to the remote computer expecting PC type escape and arrow keys?
Could it be done via a software wedge some how?
or ASCII codes?
It would have to work in combination with a terminal
program and a modem.
because the remote computer assumes I'm using a PC
and asks me to hit "escape", or use my arrow keys to navigate.
Any way to have a Vic or C64 send the correct codes
to the remote computer expecting PC type escape and arrow keys?
Could it be done via a software wedge some how?
or ASCII codes?
It would have to work in combination with a terminal
program and a modem.
VT-100, Hum? (searches)
As in VT-100 ANSI escape sequences?
Well, there's... (searches again) Mighty Term.
So now the question is what are the sequences and how to use them with
a Vic/C64.
I wonder if I can set up the escape sequenses as macros sent from my
CardCo 10-key pad? It can enter a user defined sequence of characters with one key press via a software wedge.
Can it work with a terminal emulator? Guess I'll have to try it.
As in VT-100 ANSI escape sequences?
Well, there's... (searches again) Mighty Term.
So now the question is what are the sequences and how to use them with
a Vic/C64.
I wonder if I can set up the escape sequenses as macros sent from my
CardCo 10-key pad? It can enter a user defined sequence of characters with one key press via a software wedge.
Can it work with a terminal emulator? Guess I'll have to try it.
- Schema
- factor
- Posts: 1430
- Joined: Tue Mar 23, 2004 7:07 am
- Website: http://www.jammingsignal.com
- Location: Toronto, Ontario
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Probably this has nothing to do with what you're looking for, but in the Zimmers archive I found this Character translation configuration program for Mighty Term. When run, it looks for a printer, so I used the VICE emulated one to produce this output. See if it can help - unfortunately, it's in UPPER+lower case, and the printer emu is upper only, thus it's not so readable.
Also, googling around I found this thread in comp.sys.cbm where some Denialers are involved .
Also, googling around I found this thread in comp.sys.cbm where some Denialers are involved .
Wow you went to a lot of trouble to answer my question!
I appreciate that. The program may prove useful. I have a 1525 printer
so I should be able to do a printout from my Vic.
The "CardKey macro" idea (see above) didn't work.
If Mighty Term (or any VT100 terminal emulator) supports VT100 escape sequences, presumably they'd be mapped to certain keys by that program, as Schema said. So the question is are they actually supported, and what are the keys used?
Also, to what extent does the system you're contacting support them?
Here's some info about ACEterm that's relevant to this issue.
http://www.csbruce.com/~csbruce/cbm/ace/term-doc.html
I appreciate that. The program may prove useful. I have a 1525 printer
so I should be able to do a printout from my Vic.
The "CardKey macro" idea (see above) didn't work.
If Mighty Term (or any VT100 terminal emulator) supports VT100 escape sequences, presumably they'd be mapped to certain keys by that program, as Schema said. So the question is are they actually supported, and what are the keys used?
Also, to what extent does the system you're contacting support them?
Here's some info about ACEterm that's relevant to this issue.
http://www.csbruce.com/~csbruce/cbm/ace/term-doc.html
This may be a naive question, but aren't there already a whole bunch of standard Control codes for use in a terminal environment that will accomplish what you are trying to do?
I remember that CTRL-C breaks, and CTRL-G causes a bell sound for instance.
CTRL-M does something else, like line break.
http://bash-hackers.org/wiki/doku.php/s ... minalcodes
The article in the link above says that the Control code for the "Escape" character is CTRL-LEFT BRACKET (^[).
http://en.wikipedia.org/wiki/Control_character
I wonder if some of these control codes would work for you. I remember using them when using terminal programs to access BBS systems in the 1980s.
You can just enter them manual by using combined keypresses (CTRL + key) or if you could find a terminal program for the VIC that would allow key macros to be set up on the function keys, you could even put these CTRL codes into the macro "slots". The latter solution could allow the function keys to act as the Esc, cursor movement keys, etc. in a terminal environment.
I remember that CTRL-C breaks, and CTRL-G causes a bell sound for instance.
CTRL-M does something else, like line break.
http://bash-hackers.org/wiki/doku.php/s ... minalcodes
The article in the link above says that the Control code for the "Escape" character is CTRL-LEFT BRACKET (^[).
http://en.wikipedia.org/wiki/Control_character
I wonder if some of these control codes would work for you. I remember using them when using terminal programs to access BBS systems in the 1980s.
You can just enter them manual by using combined keypresses (CTRL + key) or if you could find a terminal program for the VIC that would allow key macros to be set up on the function keys, you could even put these CTRL codes into the macro "slots". The latter solution could allow the function keys to act as the Esc, cursor movement keys, etc. in a terminal environment.
Control Codes! Thanks!ral-clan wrote:This may be a naive question, but aren't there already a whole bunch of standard Control codes for use in a terminal environment that will accomplish what you are trying to do?
I'm the naive one! That's what I should have been
looking for! A search for "Terminal+control+codes" brings up
pages that list the keys to use. Ctrl+M is a carriage return.
And it works in Novaterm. Haven't tried it in Mighty Term yet.
Now my homework's cut out for me.
I don't think it's your computer's terminal program that needs to support these Control Codes. It's the hosting system (i.e. the BBS or mainframe) that you log onto that needs to be able to interpret what the Control Code means.rwv01 wrote:Mighty Term does support these control codes.
So does Novaterm. Still have to play with them more online
with another system.
The VIC's terminal program just transmits a string of characters "CTRL-whatever". It's a dumb terminal.
Yeah, and that's what I'm trying to figgure out now.
I've been trying out the codes on Seattle Community Network (1-206-386-4199). It's a Unix system that has a lot of features including accsess to the textbased web browser Lynx. Ctrl+M seems to do a carrige return. like hitting "return". Ctrl+G does the "Bell" (what's that for anyway?) Still can't move the cursor for some reason. I'll go to a section where it says "Use your arrow keys to move" but they don't move the cursor.
The codes don't seem to do it either.
Cursor moving
According to this page: http://ascii-table.com/ansi-escape-sequences-vt-100.php
Esc+A Move cursor up one line (cursor up)
Esc+B Move cursor down one line (cursor dn)
Esc+C Move cursor right one char (cursor rt)
Esc+D Move cursor left one char (cursor lf)
Esc+H Move cursor to upper left corner (cursor home)
But what exactly are the keys to use on a Vic or C64?
I've been trying out the codes on Seattle Community Network (1-206-386-4199). It's a Unix system that has a lot of features including accsess to the textbased web browser Lynx. Ctrl+M seems to do a carrige return. like hitting "return". Ctrl+G does the "Bell" (what's that for anyway?) Still can't move the cursor for some reason. I'll go to a section where it says "Use your arrow keys to move" but they don't move the cursor.
The codes don't seem to do it either.
Cursor moving
According to this page: http://ascii-table.com/ansi-escape-sequences-vt-100.php
Esc+A Move cursor up one line (cursor up)
Esc+B Move cursor down one line (cursor dn)
Esc+C Move cursor right one char (cursor rt)
Esc+D Move cursor left one char (cursor lf)
Esc+H Move cursor to upper left corner (cursor home)
But what exactly are the keys to use on a Vic or C64?