From f286ef5103033a8f3e0aa75ee2fd273734020ae5 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 6 Jan 2009 20:32:00 +0000 Subject: Disable allowFontOps, allowTcapOps and allowWindowOps by default on OpenBSD. --- app/xterm/charproc.c | 6 +++--- app/xterm/xterm.man | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/xterm/charproc.c b/app/xterm/charproc.c index ee592f481..556c4ba5d 100644 --- a/app/xterm/charproc.c +++ b/app/xterm/charproc.c @@ -389,10 +389,10 @@ static XtActionsRec actionsList[] = { static XtResource resources[] = { Bres(XtNallowSendEvents, XtCAllowSendEvents, screen.allowSendEvent0, False), - Bres(XtNallowFontOps, XtCAllowFontOps, screen.allowFontOp0, True), - Bres(XtNallowTcapOps, XtCAllowTcapOps, screen.allowTcapOp0, True), + Bres(XtNallowFontOps, XtCAllowFontOps, screen.allowFontOp0, False), + Bres(XtNallowTcapOps, XtCAllowTcapOps, screen.allowTcapOp0, False), Bres(XtNallowTitleOps, XtCAllowTitleOps, screen.allowTitleOp0, True), - Bres(XtNallowWindowOps, XtCAllowWindowOps, screen.allowWindowOp0, True), + Bres(XtNallowWindowOps, XtCAllowWindowOps, screen.allowWindowOp0, False), Bres(XtNaltIsNotMeta, XtCAltIsNotMeta, screen.alt_is_not_meta, False), Bres(XtNaltSendsEscape, XtCAltSendsEscape, screen.alt_sends_esc, False), Bres(XtNalwaysBoldMode, XtCAlwaysBoldMode, screen.always_bold_mode, False), diff --git a/app/xterm/xterm.man b/app/xterm/xterm.man index d99a686de..22deec87b 100644 --- a/app/xterm/xterm.man +++ b/app/xterm/xterm.man @@ -5100,8 +5100,12 @@ Thomas Dickey (invisible-island.net). .SH OPENBSD SPECIFICS On OpenBSD, the following resources have different default values: .TP 8 +.B allowFontOps: false +.TP 8 +.B allowTcapOps: false +.TP 8 .B allowWindowOps: false -Extended window control sequences are disabled. +Various, potentially dangerous, extended window control sequences are disabled. .TP 8 .B deleteIsDEL: true The Delete key generates \fB^?\fP. -- cgit v1.2.3