Default to no backspace/delete swapping.

Add a title "DOS" to the X window.

Submitted by: Parag Patel <parag@cgt.com>
PR: bin/8486

Note: The pr was closed a long time ago when the original patch was
applied, rather than the amended one.
This commit is contained in:
Warner Losh 1999-10-13 23:40:49 +00:00
parent 553faec194
commit 93d16f2ad9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52222

View File

@ -68,7 +68,7 @@ static int flags = 0;
static int mode = -1;
#define vmem ((u_short *)0xB8000)
static int blink = 1;
int flipdelete = 1; /* Flip meaning of delete and backspace */
int flipdelete = 0; /* Flip meaning of delete and backspace */
extern int capture_fd;
static u_short break_code = 0x00;
static u_short scan_code = 0x00;
@ -2137,6 +2137,7 @@ video_init()
| ButtonReleaseMask | PointerMotionMask );
}
XStoreName(dpy, win, "DOS");
XMapWindow(dpy, win);
XFlush(dpy);