Disable allowFontOps, allowTcapOps and allowWindowOps by default

on OpenBSD.
This commit is contained in:
matthieu 2009-01-06 20:31:59 +00:00
parent 7d6f399c75
commit 7a43c97042
2 changed files with 8 additions and 4 deletions

View File

@ -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),

View File

@ -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.