Research V4 development
[unix-history] / man / manx / ddsput.3
CommitLineData
255ab3df
KT
1.th "DDSPUT, DDSINIT" III 1/15/73
2.sh NAME
3ddsput \*- put a character on display data set
4.sh SYNOPSIS
5(file descriptor in r0)
6.br
7jsr pc,ddsinit
8.s3
9(character in r0)
10.br
11jsr pc,ddsput
12.sh DESCRIPTION
13These routines
14used to
15provide an interface to the Display Data Set, a peculiar
16device which can be called by Picturephone sets and which
17will display some of the ASCII character set and certain
18other graphics on the Picturephone screen.
19.s3
20If the DC11 or other interface hardware is not already
21set up to talk to the Display Data Set, the
22entry should be called with the appropriate file descriptor in r0.
23On the only known DDS attached to UNIX, the associated special file
24is called
25.bd "/dev/ttyc."/p
26.s3
27.it ddsinit
28also clears the display.
29.se
30Thereafter, characters may be displayed
31by calling
32.it ddsput.
33To the extent possible,
34.it ddsput
35simulates an ordinary terminal.
36Characters falling to the right of the 22x22 screen
37area are ignored; the 23rd line on the screen causes
38the screen to be erased and that line to be put at the top
39of the new display.
40Certain ASCII characters are interpreted specially as follows:
41.s3
42.lp +6 -6
43FF clear screen, go to top left
44.lp +6 -6
45HT expand to right number of spaces
46.lp +5 -5
47DC1 treat as reverse line feed (move N)
48.lp +5 -5
49DC2 move cursor 1 place right (move E)
50.lp +5 -5
51DC3 forward line feed (move S)
52.lp +5 -5
53DC4 backspace 1 position (move W)
54.lp +5 -5
55SO enter graph mode
56.lp +5 -5
57SI leave graph mode
58.lp +5 -5
59CR put cursor at start of current line
60.i0
61.s3
62Graph mode allows display of the non-ASCII characters and
63will be described when hell freezes over.
64.s3
65Lower-case ASCII alphabetics are mapped into upper case.
66Several ASCII non-alphabetic graphics
67are unavailable as well. Also the lower right circle of
68the "%" character is missing.
69Also one of the circuit cards in the DDS has a crack in it and
70sometimes it doesn't work.
71All in all,
72it is best to avoid this device.
73.sh FILES
74kept in /lib/liba.a
75.sh "SEE ALSO"
76AT&T writeup on DDS
77BUGS yes