-/* Copyright (c) 1981 Regents of the University of California */
-/* sccs id: @(#)ex_tty.h 7.2 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)ex_tty.h 7.7 (Berkeley) %G%
+ */
+
* before the capability to say 12 milliseconds per affected whatever
* (currently always line). Capabilities where this makes sense say P*.
*/
* before the capability to say 12 milliseconds per affected whatever
* (currently always line). Capabilities where this makes sense say P*.
*/
var char *aoftspace; /* Address of tspace for relocation */
var char *AL; /* P* Add new blank line */
var char *aoftspace; /* Address of tspace for relocation */
var char *AL; /* P* Add new blank line */
extern char *BC; /* Back cursor */
var char *BT; /* P Back tab */
var char *CD; /* P* Clear to end of display */
var char *CE; /* P Clear to end of line */
var char *CL; /* P* Clear screen */
extern char *BC; /* Back cursor */
var char *BT; /* P Back tab */
var char *CD; /* P* Clear to end of display */
var char *CE; /* P Clear to end of line */
var char *CL; /* P* Clear screen */
var char *xCR; /* P Carriage return */
var char *DC; /* P* Delete character */
var char *DL; /* P* Delete line sequence */
var char *xCR; /* P Carriage return */
var char *DC; /* P* Delete character */
var char *DL; /* P* Delete line sequence */
var char *ED; /* End delete mode */
var char *EI; /* End insert mode */
var char *F0,*F1,*F2,*F3,*F4,*F5,*F6,*F7,*F8,*F9;
var char *ED; /* End delete mode */
var char *EI; /* End insert mode */
var char *F0,*F1,*F2,*F3,*F4,*F5,*F6,*F7,*F8,*F9;
var char *KR; /* Keypad right arrow */
var char *KS; /* Keypad start xmitting */
var char *KU; /* Keypad up arrow */
var char *KR; /* Keypad right arrow */
var char *KS; /* Keypad start xmitting */
var char *KU; /* Keypad up arrow */
var char *LL; /* Quick to last line, column 0 */
var char *ND; /* Non-destructive space */
var char *LL; /* Quick to last line, column 0 */
var char *ND; /* Non-destructive space */
var char *SE; /* Standout end (may leave space) */
var char *SF; /* P Scroll forwards */
var char *SO; /* Stand out begin (may leave space) */
var char *SE; /* Standout end (may leave space) */
var char *SF; /* P Scroll forwards */
var char *SO; /* Stand out begin (may leave space) */
var char *TE; /* Terminal end sequence */
var char *TI; /* Terminal initial sequence */
extern char *UP; /* Upline */
var char *TE; /* Terminal end sequence */
var char *TI; /* Terminal initial sequence */
extern char *UP; /* Upline */
var char *VB; /* Visible bell */
var char *VE; /* Visual end sequence */
var char *VS; /* Visual start sequence */
var char *VB; /* Visible bell */
var char *VE; /* Visual end sequence */
var char *VS; /* Visual start sequence */
var bool XB; /* Beehive (no escape key, simulate with f1) */
var bool XN; /* A newline gets eaten after wrap (concept) */
var bool XT; /* Tabs are destructive */
var bool XB; /* Beehive (no escape key, simulate with f1) */
var bool XN; /* A newline gets eaten after wrap (concept) */
var bool XT; /* Tabs are destructive */
var bool XX; /* Tektronix 4025 insert line */
/* X? is reserved for severely nauseous glitches */
/* If there are enough of these we may need bit masks! */
var bool XX; /* Tektronix 4025 insert line */
/* X? is reserved for severely nauseous glitches */
/* If there are enough of these we may need bit masks! */
extern short LINES; /* Number of lines on screen */
extern short COLUMNS;
var short OCOLUMNS; /* Save COLUMNS for a hack in open mode */
extern short LINES; /* Number of lines on screen */
extern short COLUMNS;
var short OCOLUMNS; /* Save COLUMNS for a hack in open mode */
*
* The following attempts to decide what we are on, and declare
* some variables in the appropriate format. The wierd looking one (ttymode)
*
* The following attempts to decide what we are on, and declare
* some variables in the appropriate format. The wierd looking one (ttymode)
* when we go into or out of visual mode. In V7/V6 it's just the flags word
* to stty. In USG V3 it's the whole tty structure.
*/
* when we go into or out of visual mode. In V7/V6 it's just the flags word
* to stty. In USG V3 it's the whole tty structure.
*/
ttymode ostart(), setty(), unixex();
var short costCM; /* # chars to output a typical CM, with padding etc. */
ttymode ostart(), setty(), unixex();
var short costCM; /* # chars to output a typical CM, with padding etc. */
-var short costSR; /* likewise */
-var short costAL;
+var short costSR; /* likewise for scroll reverse */
+var short costAL; /* likewise for insert line */
+var short costDP; /* likewise for DOWN_PARM */
+var short costLP; /* likewise for LEFT_PARM */
+var short costRP; /* likewise for RIGHT_PARM */