BSD 4_3_Reno development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 1 Oct 1989 07:32:54 +0000 (23:32 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 1 Oct 1989 07:32:54 +0000 (23:32 -0800)
Work on file usr/src/bin/adb/common_scripts/tty

Synthesized-from: CSRG/cd2/4.3reno

usr/src/bin/adb/common_scripts/tty [new file with mode: 0644]

diff --git a/usr/src/bin/adb/common_scripts/tty b/usr/src/bin/adb/common_scripts/tty
new file mode 100644 (file)
index 0000000..eb5ff64
--- /dev/null
@@ -0,0 +1,18 @@
+,0$<# Format a tty structure.
+,0$<# As a convenience, this script takes an optional count which can be 
+,0$<# used to offset count number of tty structs from dot; thus, specifying
+,0$<# the base of an array of ttys, and a unit number +1 as the
+,0$<# count (one-origin, due to how the $< command works), will
+,0$<# format the appropiate tty.
+.>5
+<9-1="Unit: "D
+<5+((<9-1)*0t152)/"rawq: cc"16t"cf"16t"cl"nD2X
++/"canq: cc"16t"cf"16t"cl"nD2X
++/"outq: cc"16t"cf"16t"cl"nD2X
++/"oproc"16t"param"16t"rsel"16t"wsel"n2p2X
++/"LINEP"16t"addr"16t"dev"8t"flags"nXpx2+X
++/"state"16t"session"16t"pgid"8t"line"nXXd\1
++/"col"8t"rocount"8t"rocol"8t"hiwat"8t"lowat"8tn3\1dd
++/"ws_row"8t"ws_col"8t"ws_xpix"8t"ws_ypix"n4u2+
++$<<termios
++/"cancc"16t"rawcc"16t"outcc"n3U