summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-10-13 23:40:49 +0000
committerimp <imp@FreeBSD.org>1999-10-13 23:40:49 +0000
commit83dbf599426ca60aaee525e0e5f34b80b2cb8ca8 (patch)
tree4a35d8671375a3b9e1f534ee8be20bfeed1b32ba /usr.bin/doscmd
parent6817b4ff2c3d0cdb6b2131cfff9ace94afcce7e9 (diff)
downloadFreeBSD-src-83dbf599426ca60aaee525e0e5f34b80b2cb8ca8.zip
FreeBSD-src-83dbf599426ca60aaee525e0e5f34b80b2cb8ca8.tar.gz
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.
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r--usr.bin/doscmd/tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/doscmd/tty.c b/usr.bin/doscmd/tty.c
index a76239e..be747b0 100644
--- a/usr.bin/doscmd/tty.c
+++ b/usr.bin/doscmd/tty.c
@@ -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);
OpenPOWER on IntegriCloud