|
|
1.1 root 1: .ds ZZ DEVELOPMENT PACKAGE
2: .TH VERSION 3R "630 MTG"
3: .XE "version()"
4: .SH NAME
5: version \- return terminal version number
6: .SH SYNOPSIS
7: .ft B
8: long version ( )
9: .SH DESCRIPTION
10: The
11: .I version
12: function
13: returns a hex number which identifies the version of the 630
14: MTG terminal.
15: .PP
16: The version number is the equivalent to the ASCII string given as the
17: response to the \f3<ESC>[c\f1
18: escape sequence. The ASCII string has three fields (f1;f2;f3)
19: defined as follows:
20: .TS
21: center;
22: l l.
23: f1 identifies the 630 MTG as a windowing
24: terminal
25: f2 identifies the terminal as a 630 MTG
26: f3 identifies the firmware release
27: .TE
28: .PP
29: The long integer returned by
30: .I version
31: is a hex number rather than an ASCII
32: string for easier parsing by the application program.
33: The hex number has the same three fields in the format 0xf1f2f3,
34: where each field is one byte.
35: .SH EXAMPLE
36: For example the hex number:
37: .sp
38: .ce
39: .ft CM
40: 0x080806
41: .ft R
42: .sp
43: returned by
44: .I version
45: is equivalent to the ASCII string:
46: .sp
47: .ce
48: .ft CM
49: 8;8;6
50: .sp
51: .ft R
52: given in response to the escape sequence \f3<ESC>[c\f1.
53: This version number corresponds to Release 1.1 of the 630
54: MTG.
55: .SH SEE ALSO
56: dmdversion(1).
57: .br
58: \f2630 MTG Terminal User's Guide\f1.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.