Commit Graph

112 Commits

Author SHA1 Message Date
matthieu
553b461bdc Disable the print-immediate and print-on-error functions in xterm.
They a causing a pledge violation when called, and we can live without
them. ok millert, also discussed with deraadt@
2020-01-20 21:03:35 +00:00
matthieu
147e36c7dc Disable PASTE64, TCAP_FKEYS and TCAP_QUERY explicitly.
They got enabled in previous xterm update but we don't want those.
PASTE64 issue and patch by deraadt@, discussed also with nicm@
2020-01-18 11:59:03 +00:00
matthieu
150aa6e9c8 Update to xterm 351. tested and ok solene@ jca@ 2019-12-29 08:54:02 +00:00
matthieu
11de9a2471 Make it possible to build xterm with OPT_TRACE.
with tweaks from kn@.
2019-03-09 20:10:19 +00:00
schwarze
402fc78320 Do not replace wcwidth(3) with a broken, hand-rolled re-implementation
that comes bundled with xterm(1).
Issue found and based on a diff from Lauri Tirkkonen <lotheac at iki dot fi>.
The final form of the diff follows a suggestion from tedu@.
OK matthieu@
2019-03-08 21:25:40 +00:00
schwarze
8f242316fb Update the OPENBSD SPECIFICS section to match reality:
* Add the missing locale, modifyFunctionKeys, precompose, and scrollBar.
* Move backarrowKeyIsErase to conform to alphabetical sorting.
* Add a missing full stop.
Diff found in my tree; i obviously forgot to commit it earlier.
2019-03-08 12:54:30 +00:00
matthieu
44d74a94be Update to xterm version 344. ok jsg@ 2019-02-24 11:41:42 +00:00
matthieu
02339cbc79 use #define XXX 0 to explicitelty disable an option. 2018-07-21 09:31:22 +00:00
matthieu
214a961ee2 Explicitely disable paste64 and readline options, to disable bracketed paste.
readline was not enabled, but paste64 which was on by default enables it.
requested by deraadt@
2018-07-21 09:16:42 +00:00
matthieu
54917569e6 Change the 'Enable Blinking Cursor' menu item to 'Toggle Cursor Blinking'
This is more coherent with how the menu item interacts with changes
caused by sending escape sequences. Remove the check mark from the
item which was getting out of sync.
2018-05-20 09:28:40 +00:00
matthieu
2c13a1681c Make 'reset terminal' also reset the blinking state of the cursor.
Fix from Thomas Dickey.
2018-05-20 09:25:38 +00:00
matthieu
a7a745bbe2 set the default for cursorBlink to 'never' 2018-05-20 09:22:18 +00:00
matthieu
a59a4af1e1 Update to xterm 331 2018-03-29 20:23:53 +00:00
matthieu
6e8ae15186 Update to xterm 331 2018-03-29 20:22:05 +00:00
matthieu
364ef0736d Update to xterm 331 2018-03-29 20:19:15 +00:00
schwarze
1c45dc4fed Disable Unicode canonical composition by default because that's
less surprising and makes copy and paste work better, even though
some none-default fonts currently do not display combining accents.

Problem reported by Philippe Meunier <meunier at ccs dot neu dot edu>.
Root cause found by bentley@.
OK bentley@, and the general direction was also supported by stsp@.
2017-12-13 17:45:49 +00:00
matthieu
99d0aff682 Update to xterm 330 2017-07-15 19:20:51 +00:00
espie
251e3d9436 let X directories build even if you forget depend.
- use BUILDFIRST
- have fontconfig use normal 'all' targets to make sure its files are built
- explicitly document the fontconfig lib order

okay matthieu@
2017-06-18 21:09:07 +00:00
matthieu
a0d355a5ad Update to xterm 327 2016-11-03 14:25:06 +00:00
matthieu
57e2d19903 With the disabling of Tektronics emulation, the pledge(2) promises could
be reduced a bit: no more "cpath" should be required.
from Sebastien Marie. Thanks.
Reviewed by schwarze@, "put it in" deraadt@
2016-10-26 19:21:51 +00:00
matthieu
d4d4ffd9f5 Stop providing the uxterm and koi8rxterm shell scripts.
Requested by schwarze@ agreed naddy@
2016-10-24 19:55:37 +00:00
matthieu
6e898074f3 Disable Tektronics 4014 emulation. ok natano@, naddy@, schwarze@ 2016-10-24 19:31:35 +00:00
matthieu
c7371fb865 Fix installation modes and ownership. 2016-09-11 19:22:56 +00:00
matthieu
12142429a1 Update to xterm-325. Testing by krw@, shadchin@ and naddy@. Thanks 2016-08-07 21:27:36 +00:00
schwarze
ba95469f30 Use UTF-8 mode by default because it is safer and more useful
even for  people always running with a C/POSIX locale(1).
OK matthieu@ naddy@ martijn@
2016-03-08 17:26:30 +00:00
matthieu
17886faaf7 Update to xterm 322. Tested by shadchin@ and jsg@. Thanks. 2016-01-13 20:40:08 +00:00
semarie
d0c47f20a0 add pledge promise "exec" for few cases in xterm
in particular if the user use `exec-formatted' or `exec-selectable' actions in key binding.

problem reported by jirib at devio dot us.
2015-11-25 08:56:50 +00:00
deraadt
3ab7d7d094 avoid using err(), use xtermWarning() instead; ok semarie 2015-11-11 07:09:50 +00:00
semarie
9199950164 add pledge to xterm
the pledge call is done just before the main loop, so initialisation
is almost done.

- stdio: for all communication on opened fds (read/write/select/recvmsg/...)
- rpath: for X11 error ("X Error of failed request: ...") which read
  at least /usr/X11R6/share/X11/XErrorDB
- wpath : on exit, for opening WR_ONLY "/var/run/utmp"
- cpath : for Tek emulation window (xterm -t)
- id : on exit, for calling setegid()
- proc: on exit, for calling kill()
- tty: on exit, for calling tcflush()

"it is time" deraadt@
2015-11-07 08:10:24 +00:00
matthieu
94323bce53 Update to xterm 320. Tested by jsg@ Thanks. 2015-09-05 14:11:45 +00:00
matthieu
2de3d07ac6 xterm 314. tested by naddy@ 2015-01-18 20:24:39 +00:00
matthieu
25fa650e5b Update to xterm 313. Tested by shadchin@ 2014-12-18 20:16:55 +00:00
matthieu
394c1db541 Update to xterm 312 2014-11-02 10:29:03 +00:00
matthieu
73c839d2ed Update to xterm 311. ok shadchin@ 2014-10-05 16:39:19 +00:00
matthieu
7afaae9fe9 Install resource files in /usr/X11R6/share/X11/app-defaults
/etc/X11/app-defaults stays 1st in the libXt search path so, people
and ports can put customized versions there if needed.
If you didn't customize the versions in /etc/X11/app-defaults, they
should be removed to avoid future issues when one file changes.

discussed at g2k14 and ok ajacoutot@
2014-08-13 21:02:16 +00:00
matthieu
ceaf6855d6 Complete man page substitutions for xterm(1) and resize(1)
problem noticed by and tweaks by naddy@. ok deraadt@
2014-07-31 20:13:40 +00:00
matthieu
39102e300e Update to xterm-309. Version 308 tested by several people including
naddy@ who found a small regression, fixed in 309.
2014-07-14 08:30:10 +00:00
matthieu
7ff3194bee Missing new files in update to xterm 304 2014-05-09 19:57:29 +00:00
matthieu
8273aa94a8 Update to xterm 304. With help of shadchin@
tested by ajacoutot@ and shadchin@
2014-05-09 19:56:40 +00:00
miod
85c0adf61c Add -fno-stack-protector to the two files which already need to be built
with -O1 on landisk - they definitely hit worst case logic in what passes for
a compiler we're using.
ok martynas@
2014-04-11 22:58:12 +00:00
matthieu
73bad93705 Apply the ':' symbol to the SunPaste/XF86Paste events translations.
This makes shure that shift modifers are taken into account to trigger
the translation. It fixes the 'v' key on Zaurus keyboard, which has
SunPaste at 3rd level and was thus bound to insert-selection() regardless
of the shift level.
2014-03-15 10:39:28 +00:00
matthieu
164e7011dd Update to xterm 301 2014-02-14 19:40:02 +00:00
matthieu
0f866aaf0f OpenBSD needs the same treatment as FreeBSD to avoid xterm -hold
chewing CPU cycles. Reported by Kevin Chadwick.
2014-01-18 14:06:23 +00:00
matthieu
0304b98245 Don't play with libxcursor if XCURSOR_THEM is defined. 2014-01-02 15:15:51 +00:00
matthieu
9c13ac6812 Update to xterm-300. Tested by ajacoutot@ and shadchin@. 2014-01-02 15:14:50 +00:00
matthieu
3b638f84b8 Update to xterm 296. Sixel graphics disabled for now. 2013-08-26 20:06:09 +00:00
matthieu
89efb1ae8d Update to xterm 293. Tested by naddy@ ajacoutot@ 2013-06-02 19:55:50 +00:00
matthieu
a232c77744 Update to xterm 291. Tested by many. 2013-03-09 14:45:38 +00:00
matthieu
fe859a9f34 Merge patch from Tom Dickey for a segfault that happens when using the
mouse wheel over the scrollbar. ok guenther@ deraadt@
2013-02-27 22:11:56 +00:00
matthieu
82b6425627 Update to xterm 287. tested by mpi@ and krw@. 2013-01-04 16:40:18 +00:00