mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Rename cDB to DB back like old good BSD curses always does,
check ultrix for example. Real place for fix will be vi(1), wait for next commit.
This commit is contained in:
parent
0f5a69189b
commit
4b05df4e20
4 changed files with 4 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ int __usecs = 0; /*
|
|||
* region (used only if insert/delete
|
||||
* line capabilities absent)
|
||||
*/
|
||||
char AM, BS, CA, DA, cDB, EO, HC, IN, MI, MS, NC, NS, OS, PC,
|
||||
char AM, BS, CA, DA, DB, EO, HC, IN, MI, MS, NC, NS, OS, PC,
|
||||
UL, XB, XN, XT, XS, XX;
|
||||
char *AL, *BC, *BT, *CD, *CE, *CL, *CM, *CR, *CS, *DC, *DL,
|
||||
*DM, *DO, *ED, *EI, *K0, *K1, *K2, *K3, *K4, *K5, *K6,
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ extern int My_term; /* Use Def_term regardless. */
|
|||
extern char *Def_term; /* Default terminal type. */
|
||||
|
||||
/* Termcap capabilities. */
|
||||
extern char AM, BS, CA, DA, cDB, EO, HC, IN, MI, MS, NC, NS, OS,
|
||||
extern char AM, BS, CA, DA, DB, EO, HC, IN, MI, MS, NC, NS, OS,
|
||||
PC, UL, XB, XN, XT, XS, XX;
|
||||
extern char *AL, *BC, *BT, *CD, *CE, *CL, *CM, *CR, *CS, *DC, *DL,
|
||||
*DM, *DO, *ED, *EI, *K0, *K1, *K2, *K3, *K4, *K5, *K6,
|
||||
|
|
|
|||
|
|
@ -745,7 +745,7 @@ scrolln(starts, startw, curs, bot, top)
|
|||
|
||||
if (n > 0) {
|
||||
/* Scroll up the screen. */
|
||||
if ((!cDB && SF != NULL || n == 1) && bot == curscr->maxy - 1 && top == 0) {
|
||||
if ((!DB && SF != NULL || n == 1) && bot == curscr->maxy - 1 && top == 0) {
|
||||
__mvcur(oy, ox, curscr->maxy - 1, 0, 1);
|
||||
if (n == 1)
|
||||
goto f_nl1;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ static void zap __P((void));
|
|||
|
||||
static char *sflags[] = {
|
||||
/* am bs da db eo hc in mi ms */
|
||||
&AM, &BS, &DA, &cDB, &EO, &HC, &IN, &MI, &MS,
|
||||
&AM, &BS, &DA, &DB, &EO, &HC, &IN, &MI, &MS,
|
||||
/* nc ns os ul xb xn xt xs xx */
|
||||
&NC, &NS, &OS, &UL, &XB, &XN, &XT, &XS, &XX
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue