 |
|
|
|
02-19-2007, 09:58 PM
|
#1
|
|
Guest
|
VT320 or 420 keypad codes
Hello all,
I was poking around with the KONSOLE program which comes with SuSE
Linux 10.2 AMD64 edition and found it does a fairly descent job of
VT420 emulation, sans the keypad codes. I found the config file, and
the comment, and the Qt header file. Someone just didn't have the
scan codes to enter for translation. It looks like it is completely
doable with just a few minutes of work...anyone have a link to the
scan codes sent back by the keypad keys? I looked at VT100.NET and
didn't see what I needed.
The X-term stuff shipping with this version is pretty annoying. No
cutting and pasting with mouse and no screen printing. KONSOLE seems
to interpret the codes coming back to the screen correctly and
correctly handle the function keys. It just needs the mapping for the
keypad filled out.
Thanks,
Roland
|
|
|
|
02-20-2007, 12:40 AM
|
#2
|
|
Guest
|
Re: VT320 or 420 keypad codes
wrote in news:1171922333.029921.307590
@j27g2000cwj.googlegroups.com:
> Hello all,
>
> I was poking around with the KONSOLE program which comes with SuSE
> Linux 10.2 AMD64 edition and found it does a fairly descent job of
> VT420 emulation, sans the keypad codes. I found the config file, and
> the comment, and the Qt header file. Someone just didn't have the
> scan codes to enter for translation. It looks like it is completely
> doable with just a few minutes of work...anyone have a link to the
> scan codes sent back by the keypad keys? I looked at VT100.NET and
> didn't see what I needed.
>
> The X-term stuff shipping with this version is pretty annoying. No
> cutting and pasting with mouse and no screen printing. KONSOLE seems
> to interpret the codes coming back to the screen correctly and
> correctly handle the function keys. It just needs the mapping for the
> keypad filled out.
>
> Thanks,
>
> Roland
>
>
I thought I had a VT 420 manual, but I can't seem to find it. I'm
guessing a VT 320 is pretty close.
Key Code
Find CSI 1 ~
Insert Here CSI 2 ~
Remove CSI 3 ~
Select CSI 4 ~
Prev Screen CSI 5 ~
Next Screen CSI 6 ~
where CSI has an eight bit value of 155 and there are no spaces in the
sequences.
Key Numeric Mode Code Application Mode Code
0 0 SS3 p
1 1 SS3 q
2 2 SS3 r
3 3 SS3 s
4 4 SS3 t
5 5 SS3 u
6 6 SS3 v
7 7 SS3 w
8 8 SS3 x
9 9 SS3 y
- (minus) SS3 m
, (comma) SS3 l
. (period) SS3 n
Enter CR or CR LF SS3 M
PF1 SS3 P SS3 P
PF2 SS3 Q SS3 Q
PF3 SS3 R SS3 R
PF4 SS3 S SS3 S
Up arrow CSI A SS3 A
Down arrow CSI B SS3 B
Right arrow CSI C SS3 C
Left arrow CSI D SS3 D
where SS3 has an eight bit value of 143 and there are no space in the
sequences.
This is untested. I'm merely quoting from the manual.
|
|
|
|
02-20-2007, 12:54 AM
|
#3
|
|
Guest
|
Re: VT320 or 420 keypad codes
On 20 Feb, 01:40, Tad Winters <stafford.no.spam.winte...@verizon.net>
wrote:
> I thought I had a VT 420 manual, but I can't seem to find it. I'm
> guessing a VT 320 is pretty close.
I do have a VT420 manual to hand, and confirm you are correct -- the
eascpe sequences you quote are identical.
Chris
|
|
|
|
02-20-2007, 03:54 AM
|
#4
|
|
Guest
|
Re: VT320 or 420 keypad codes
In article <>,
wrote:
>On 20 Feb, 01:40, Tad Winters <stafford.no.spam.winte...@verizon.net>
>wrote:
>
>> I thought I had a VT 420 manual, but I can't seem to find it. I'm
>> guessing a VT 320 is pretty close.
>
>I do have a VT420 manual to hand, and confirm you are correct -- the
>eascpe sequences you quote are identical.
You can always find these if you have access to a (recent) VMS system.
The codes are in SMGTERMS.TXT. I forget the directory, likely SYS$SYSTEM.
|
|
|
|
02-20-2007, 01:07 PM
|
#5
|
|
Guest
|
Re: VT320 or 420 keypad codes
wrote:
> Hello all,
> I was poking around with the KONSOLE program which comes with SuSE
> Linux 10.2 AMD64 edition and found it does a fairly descent job of
> VT420 emulation, sans the keypad codes. I found the config file, and
odd, but when I run vttest, it doesn't.
It's a subset of vt100 with a few of the vt220 escape codes such as ECH.
Although vt100 is a subset of vt220 is a subset of ... vt420,
it's not reasonable to say that konsole emulates vt420.
ftp://invisible-island.net/vttest/
(The keypad codes for example, are a vt100 feature)
> the comment, and the Qt header file. Someone just didn't have the
> scan codes to enter for translation. It looks like it is completely
> doable with just a few minutes of work...anyone have a link to the
> scan codes sent back by the keypad keys? I looked at VT100.NET and
> didn't see what I needed.
> The X-term stuff shipping with this version is pretty annoying. No
> cutting and pasting with mouse and no screen printing. KONSOLE seems
> to interpret the codes coming back to the screen correctly and
> correctly handle the function keys. It just needs the mapping for the
> keypad filled out.
xterm supports ANSI color, VT220 emulation and UTF-8
There's an faq at
http://invisible-island.net/xterm/xterm.faq.html
ftp://invisible-island.net/xterm/
> Thanks,
> Roland
__________________
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
|
|
|
|
02-20-2007, 02:56 PM
|
#6
|
|
Guest
|
Re: VT320 or 420 keypad codes
On Feb 20, 1:07 pm, Thomas Dickey <dic...@saltmine.radix.net> wrote:
> rol...@logikalsolutions.com wrote:
> > Hello all,
> > I was poking around with the KONSOLE program which comes with SuSE
> > Linux 10.2 AMD64 edition and found it does a fairly descent job of
> > VT420 emulation, sans the keypad codes. I found the config file, and
>
> odd, but when I run vttest, it doesn't.
>
> It's a subset of vt100 with a few of the vt220 escape codes such as ECH.
>
> Although vt100 is a subset of vt220 is a subset of ... vt420,
> it's not reasonable to say that konsole emulates vt420.
>
> ftp://invisible-island.net/vttest/
>
> (The keypad codes for example, are a vt100 feature)
>
> > the comment, and the Qt header file. Someone just didn't have the
> > scan codes to enter for translation. It looks like it is completely
> > doable with just a few minutes of work...anyone have a link to the
> > scan codes sent back by the keypad keys? I looked at VT100.NET and
> > didn't see what I needed.
> > The X-term stuff shipping with this version is pretty annoying. No
> > cutting and pasting with mouse and no screen printing. KONSOLE seems
> > to interpret the codes coming back to the screen correctly and
> > correctly handle the function keys. It just needs the mapping for the
> > keypad filled out.
>
> xterm supports ANSI color, VT220 emulation and UTF-8
> There's an faq at
> http://invisible-island.net/xterm/xterm.faq.html
> ftp://invisible-island.net/xterm/
>
> > Thanks,
> > Roland
>
> --
> Thomas E. Dickeyhttp://invisible-island.netftp://invisible-island.net
Hi,
Is it possible to use xterm to access the console port of a VMS system
i.e. via a PCs serial port ?
Steve
|
|
|
|
02-20-2007, 04:48 PM
|
#7
|
|
Guest
|
Re: VT320 or 420 keypad codes
Steve Bainbridge <> wrote:
> Is it possible to use xterm to access the console port of a VMS system
> i.e. via a PCs serial port ?
There's a program called "seyon" which does modem connections as a shell
around xterm.
(I haven't used serial connections in quite a while -ymmv).
iirc, Debian has a package for it.
__________________
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
|
|
|
|
02-20-2007, 11:47 PM
|
#8
|
|
Guest
|
Re: VT320 or 420 keypad codes
Thomas Dickey wrote:
> Steve Bainbridge <> wrote:
>
>
>>Is it possible to use xterm to access the console port of a VMS system
>>i.e. via a PCs serial port ?
>
>
> There's a program called "seyon" which does modem connections as a shell
> around xterm.
>
> (I haven't used serial connections in quite a while -ymmv).
> iirc, Debian has a package for it.
>
Another possibility is to run C-Kermit in an xterm window on the Linux
box, and connect to the VMS system's console using a null modem between
a serial port on the Linux box and the VMS serial console port.
You could also use latd's llogin program (Unix LAT emulator) to a
DECServer terminal server with a null modem connected to the VMS serial
console (or a bunch of VMS serial consoles) running in an xterm window.
Telnet to an IP-capable terminal server would also work. (Some people
have said they've experienced serious problems with latd, but I've not
had any problems in light usage on a Mac OS X 10.4 Powerbook.)
__________________
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539
|
|
|
|
02-21-2007, 08:34 AM
|
#9
|
|
Guest
|
Re: VT320 or 420 keypad codes
I use minicom to connect to my Alpha serial port.
It works very well.
Mark.
John Santos wrote:
> Thomas Dickey wrote:
> > Steve Bainbridge <> wrote:
> >
> >
> >>Is it possible to use xterm to access the console port of a VMS system
> >>i.e. via a PCs serial port ?
> >
> >
> > There's a program called "seyon" which does modem connections as a shell
> > around xterm.
> >
> > (I haven't used serial connections in quite a while -ymmv).
> > iirc, Debian has a package for it.
> >
>
> Another possibility is to run C-Kermit in an xterm window on the Linux
> box, and connect to the VMS system's console using a null modem between
> a serial port on the Linux box and the VMS serial console port.
>
> You could also use latd's llogin program (Unix LAT emulator) to a
> DECServer terminal server with a null modem connected to the VMS serial
> console (or a bunch of VMS serial consoles) running in an xterm window.
> Telnet to an IP-capable terminal server would also work. (Some people
> have said they've experienced serious problems with latd, but I've not
> had any problems in light usage on a Mac OS X 10.4 Powerbook.)
>
> --
> John Santos
> Evans Griffiths & Hart, Inc.
> 781-861-0670 ext 539
|
|
|
|
02-21-2007, 01:37 PM
|
#10
|
|
Guest
|
Re: VT320 or 420 keypad codes
writes:
> I was poking around with the KONSOLE program which comes with SuSE
> Linux 10.2 AMD64 edition and found it does a fairly descent job of
> VT420 emulation, sans the keypad codes. I found the config file,
> and the comment, and the Qt header file. Someone just didn't have
> the scan codes to enter for translation. It looks like it is
> completely doable with just a few minutes of work...anyone have a
> link to the scan codes sent back by the keypad keys? I looked at
> VT100.NET and didn't see what I needed.
I *think* you will find what you need in 1)Kermit, 2) The Rainbow
Tech Manuals, or 3) the VT5xx manual.
|
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|

© 2004 - 2009 sysadminforum.com
|