Re: PATCH: add more malloc.conf details to malloc.3

2014-07-11 Thread Anthony J. Bentley
, if you document these flags they need to be marked up with the Cm macro instead of ASCII single quotes. -- Anthony J. Bentley

Re: native UTF-8 and ISO-8859-1 *input* support for mandoc(1)

2014-10-27 Thread Anthony J. Bentley
+.Pp +.D1 .\e -*- Oo ...; Oc coding: Ar encoding ; No -*- +.It Cm utf-8 +if the first non-ASCII byte in the file introduces a valid UTF-8 sequence +.It Cm iso-8859-1 +otherwise +.El I agree with this logic as well. I would be uncomfortable if it got any more complicated. -- Anthony J

Re: vi: remove workarounds for other systems

2014-11-10 Thread Anthony J. Bentley
. If not found, use a large default. - */ -#ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 1024 -#endif char host[MAXHOSTNAMELEN]; gp = sp-gp; FreeBSD nvi uses sysconf for this. If that's the right thing to do, we should probably synchronize with them... -- Anthony J. Bentley

STANDARDS for isakmpd.8

2013-11-12 Thread Anthony J. Bentley
ok? Index: sbin/isakmpd//isakmpd.8 === RCS file: /cvs/src/sbin/isakmpd/isakmpd.8,v retrieving revision 1.112 diff -u -p -u -p -r1.112 isakmpd.8 --- sbin/isakmpd//isakmpd.8 14 Jul 2013 16:37:41 - 1.112 +++

STANDARDS for fingerd.8

2013-11-12 Thread Anthony J. Bentley
ok? Index: libexec/fingerd/fingerd.8 === RCS file: /cvs/src/libexec/fingerd/fingerd.8,v retrieving revision 1.18 diff -u -p -u -p -r1.18 fingerd.8 --- libexec/fingerd/fingerd.8 25 Sep 2007 06:28:13 - 1.18 +++

Re: man.conf mandoc -Tlocale

2014-02-14 Thread Anthony J. Bentley
On Thu, Feb 13, 2014 at 7:22 PM, Ted Unangst t...@tedunangst.com wrote: mandoc fortunately has an option -Tlocale, which will pick between ascii and utf8 based on environment. Perfect! Let's use it. Tested to work as expected in uxterm. Tested to change nothing in a regular xterm by default

typos in error message

2011-03-06 Thread Anthony J. Bentley
continguous - contiguous. Or perhaps it was meant to be continuous. Index: usr.sbin/bgpd/kroute.c === RCS file: /cvs/src/usr.sbin/bgpd/kroute.c,v retrieving revision 1.186 diff -u usr.sbin/bgpd/kroute.c --- usr.sbin/bgpd/kroute.c

the SMCWUSB-N2 is an otus(4)

2011-03-16 Thread Anthony J. Bentley
Sent from a SMCWUSB-N2: otus0 at uhub0 port 3 ATHER USB2.0 WLAN rev 2.00/1.06 addr 2 otus0: MAC/BBP AR9170, RF AR9102, MIMO 2T2R, address 00:22:2d:c0:30:b3 Index: otus.4 === RCS file: /cvs/src/share/man/man4/otus.4,v retrieving

ISO-8859-1 character in manpage

2011-03-16 Thread Anthony J. Bentley
high-bit files to the list. -- Anthony J. Bentley

Re: tar -J for xz

2011-10-04 Thread Anthony J. Bentley
On Tue, Oct 4, 2011 at 4:32 PM, Nicholas Marriott nicholas.marri...@gmail.com wrote: I agree. Or if we must have compression flags just have one flag and let tar figure out the right tool to use. Having -Z -z -J -j etc etc is silly. GNU tar no longer needs those flags... their tar xf foo

Re: enable aucat by default

2011-10-11 Thread Anthony J. Bentley
Hi Alexandre, On Mon, Oct 10, 2011 at 11:29 AM, Alexandre Ratchov a...@caoua.org wrote: On Mon, Oct 10, 2011 at 11:16:21AM -0600, Anthony J. Bentley wrote: My only issue with aucat is a noticeable lag for real-time applications like games, even when running with a small buffer size as per FAQ

Re: tar -J to extract xz archives

2012-05-29 Thread Anthony J. Bentley
think the conclusion was that xz won't make it into base, and adding new tar flags for stuff not in base is a bad idea (although we already have -j for bzip2). -- Anthony J. Bentley

Re: suspend/resume woes on MSI Wind U-100

2010-07-18 Thread Anthony J. Bentley
On Sat, 17 Jul 2010 17:28:30 +0200 David Coppa dco...@gmail.com wrote: Hi, I've put the latest snapshot on a MSI Wind U-100 netbook. ACPI suspend and resume would work great, even from X, but unfortunately after resume keyboard and mouse don't work anymore. The

Re: httpd: redirect to https, or www, or non-www

2014-12-24 Thread Anthony J. Bentley
for by default; see https://hstspreload.appspot.com/ -- Anthony J. Bentley

Re: Aq macro

2015-02-15 Thread Anthony J. Bentley
Anthony J. Bentley writes: Ted Unangst writes: spamd(8) quotes the spamd pf table name. compress(3) quotes the zconf.h path. IMO, these are bugs in the manuals. spamd(8) should be using directly. compress(3) should drop the angle quotes and just use Pa. Or wrap Pa in if people really

Re: Aq macro

2015-02-15 Thread Anthony J. Bentley
Ted Unangst writes: spamd(8) quotes the spamd pf table name. compress(3) quotes the zconf.h path. IMO, these are bugs in the manuals. spamd(8) should be using directly. compress(3) should drop the angle quotes and just use Pa. Or wrap Pa in if people really think it's needed. The mandoc

Re: vi.1: angle brackets vs. `...' in the UTF-8 locale

2015-03-17 Thread Anthony J. Bentley
, which surely should be rendered as escaped less-than and greater-than signs. Thanks; the diff was correct so I've applied it. -- Anthony J. Bentley

Re: patch/ mg(1) include time.h for struct timespec

2015-06-21 Thread Anthony J. Bentley
: The signal.h header shall define the timespec structure as described in time.h. -- Anthony J. Bentley

Re: Remove links to www@

2015-06-25 Thread Anthony J. Bentley
Pavel Plamenov writes: There are some leftover links to www@, which is gone. Your patch seems to have gotten broken somehow, by adding extra space to the beginning of lines. I removed those and committed it; thanks for sending.

isblank(3) STANDARDS

2015-06-23 Thread Anthony J. Bentley
ok? Index: lib/libc/gen/isblank.3 === RCS file: /cvs/src/lib/libc/gen/isblank.3,v retrieving revision 1.11 diff -u -p -r1.11 isblank.3 --- lib/libc/gen/isblank.3 6 Jul 2013 17:31:20 - 1.11 +++ lib/libc/gen/isblank.3

Re: syslogd in foreground

2015-06-12 Thread Anthony J. Bentley
-- Anthony J. Bentley

Re: Cleanup meta tags

2015-07-01 Thread Anthony J. Bentley
Pavel Plamenov writes: Updated patch. Thanks, I've reviewed and committed this. Your mailer is still adding extra whitespace to the patch, though... please figure out why that's happening and fix it.

Re: [patch] ports.7 macro fixes

2015-08-24 Thread Anthony J. Bentley
Michael Reed writes: Hi, This is in the same vein as [1], which replaced the usage of `Ar' with `Cm' where applicable. Besides that, I unindented line 134 because `-offset indent' is already being used, but that's it. Regards, Michael [1]:

STANDARDS for nl_langinfo(3)

2015-10-24 Thread Anthony J. Bentley
ok? Index: nl_langinfo.3 === RCS file: /cvs/src/lib/libc/locale/nl_langinfo.3,v retrieving revision 1.10 diff -u -p -r1.10 nl_langinfo.3 --- nl_langinfo.3 21 Jan 2014 03:15:45 - 1.10 +++ nl_langinfo.3 24 Oct 2015

documenting multiple standards

2015-10-25 Thread Anthony J. Bentley
>From wcrtomb(3): The wcrtomb() function conforms to ISO/IEC 9899/AMD1:1995 (``ISO C90, Amendment 1''). The restrict qualifier is added at ISO/IEC 9899/1999 (``ISO C99''). This wording is confusing. Is it implying that we don't use a restrict qualifier? (We do.) If a standard

Re: utf8 hack for ls

2015-10-27 Thread Anthony J. Bentley
"Ted Unangst" writes: > Fixing citrus is a pretty massive effort in itself. I'd prefer to see the > replacement code prove itself as a separate API first, then we can remove > citrus and change the wchar functions to use the new code. I'm less confident > in a "meet in the middle" effort where we

Re: utf8 hack for ls

2015-10-26 Thread Anthony J. Bentley
Stefan Sperling writes: > On Mon, Oct 26, 2015 at 03:58:58PM -0600, Anthony J. Bentley wrote: > > "Ted Unangst" writes: > > > it only gets deeper and thicker... > > > > Indeed. > > > > Here's a shorter implementation. Like colorls(1),

Re: utf8 hack for ls

2015-10-26 Thread Anthony J. Bentley
"Ted Unangst" writes: > it only gets deeper and thicker... Indeed. Here's a shorter implementation. Like colorls(1), it uses wide characters (only within the putname() function) but is slightly cleaned up and simplified. Index: ls.c

Re: clean up mbtowc(3) man page

2015-10-27 Thread Anthony J. Bentley
Stefan Sperling writes: > On Tue, Oct 27, 2015 at 04:21:28PM +0100, Vadim Zhukov wrote: > > Since we're already talking about "s==NULL" case, stating it again is > > extraneous. IMHO, better would be: > > > > .Fa pwc > > -is completely ignored. > > +is ignored. > > > > > .It pwc == NULL > > >

Re: Pledge for Vi and Ex

2015-11-14 Thread Anthony J. Bentley
Gregor Best writes: > Hi people, > > inspired by someone on Hackernews talking about how hard it would be to > properly pledge an editor, here's a patch to pledge Vi and Ex. I'd like to investigate the ideas you mentioned: disabling proc/exec with -S and making -R actually read-only. But both of

Re: Pledge for Vi and Ex

2015-11-14 Thread Anthony J. Bentley
Gregor Best writes: > @@ -229,6 +230,14 @@ editor(GS *gp, int argc, char *argv[]) > } > if (LF_ISSET(SC_EX) && F_ISSET(gp, G_SCRIPTED)) > silent = 1; > + > + if (secure) { > + if (pledge("stdio rpath wpath cpath fattr flock tty", NULL)) > +

Re: ld.so crash second attempt

2015-11-03 Thread Anthony J. Bentley
testcase, mupen64plus. Thanks for looking into this along with Peter. -- Anthony J. Bentley

Re: wc does not count last line if no trailing newline present

2015-11-03 Thread Anthony J. Bentley
dan mclaughlin writes: > i was writing a script when i ran across this. Is there a wc that doesn't behave this way? POSIX wc explicitly counts newline characters. So this is probably the behavior people write their scripts against.

Re: Invalid HTML entities in upgrade57.html

2015-09-25 Thread Anthony J. Bentley
Kevin Zhang writes: > Using >, & in raw text is invalid HTML. You're right about &, but > does not need to be escaped. -- Anthony J. Bentley

Detect more keyboard cases when starting X

2015-12-25 Thread Anthony J. Bentley
Hi, As X starts, it will attempt to detect features from the kbd(8) setting--for example, us.dvorak will enable dvorak in X, and fr.dvorak will enable French dvorak in X. However, it detects these features with equality checks, which will fail if multiple options are set, as in the case of

Re: bug in fputwc(3) error reporting

2015-12-26 Thread Anthony J. Bentley
ISO C standard, a statement to the effect that "any conflict is unintentional" is included. That is intended to refer to a direct conflict. POSIX.1-2008 acts in part as a profile of the ISO C standard, and it may choose to further constrain behaviors allowed to vary by the ISO C standard. -- Anthony J. Bentley

Re: Pledge for Vi and Ex

2015-11-19 Thread Anthony J. Bentley
"Anthony J. Bentley" writes: > Gregor Best writes: > > @@ -229,6 +230,14 @@ editor(GS *gp, int argc, char *argv[]) > > } > > if (LF_ISSET(SC_EX) && F_ISSET(gp, G_SCRIPTED)) > > silent =3D 1; > > + > > + if (secure) {

vi: don't escape backspace with backslash

2015-11-23 Thread Anthony J. Bentley
When I hit backspace after a backslash, usually I just want to delete the backslash. I don't think I've ever intended to input a literal ^?. If I ever did want to insert ^H, ^?, or ^U, I would just type ^V first. I've passed this diff around privately before and gotten a tepid response, but it

Re: vi: default to tab for filename completion

2015-11-24 Thread Anthony J. Bentley
Gregor Best writes: > On Mon, Nov 23, 2015 at 01:36:00AM -0700, Anthony J. Bentley wrote: > > [...] > > In addition to this, my ~/.exrc also sets cedit to tab. Would this > make sense here as well? Currently it's disabled by default, but > IMHO it's a useful feature for lo

COLUMNS handling

2016-03-14 Thread Anthony J. Bentley
COLUMNS handling in our tree is inconsistent. POSIX specifies that if COLUMNS is a valid value (read: 1 or greater), it takes precedence; otherwise, width is handled in an unspecified manner. Most programs follow COLUMNS, TIOCGWINSZ if that fails, and use 80 if that fails. Some do TIOCGWINSZ,

vi: add COLUMNS/LINES validity checks

2016-03-14 Thread Anthony J. Bentley
vi is kind of weird about COLUMNS/LINES handling. For one, it doesn't do any error checking: $ COLUMNS=a vi Floating point exception (core dumped) The manpage also claims that COLUMNS supersedes everything else. This is true... unless you ^Z and then unsuspend, at which point it uses

Re: Sync getopt with getopt

2016-09-05 Thread Anthony J. Bentley
"Ted Unangst" writes: > Todd C. Miller wrote: > > On Sun, 04 Sep 2016 11:58:23 -0600, "Anthony J. Bentley" wrote: > > > > > This brings /usr/share/misc/getopt in sync with the example in getopt(3). > > > > OK, though I wonder if anyo

Sync getopt with getopt

2016-09-04 Thread Anthony J. Bentley
Hi, This brings /usr/share/misc/getopt in sync with the example in getopt(3). ok? Index: getopt === RCS file: /cvs/src/share/misc/getopt,v retrieving revision 1.8 diff -u -p -r1.8 getopt --- getopt 1 Feb 2006 09:27:28 -

Remove /usr/share/misc/eqnchar

2016-09-04 Thread Anthony J. Bentley
Hi, eqnchar is a collection of eqn(7) definitions to create mathematical symbols by constructing them from other characters. Creating circled plus with O, a backspace, and a plus, for example. The results are quite ugly in both mandoc and groff if it even works at all. Nothing in base (or even

Check terminal width in ps(1)

2016-09-22 Thread Anthony J. Bentley
Hi, Unlike all the other software in the tree that checks terminal sizes, ps(1) used to check the stdin and stderr terminal sizes as well as stdout. When I unified the terminal size checks in the tree in March, I missed this, and now "ps aux | blah" gets wrapped to 79 characters no matter how

Re: Remove accents from fortunes

2017-07-12 Thread Anthony J. Bentley
Ingo Schwarze writes: > So here is a patch that makes putting UTF-8 characters into > fortune/datfiles safe. And here is a patch that retains the accents in the datfiles as UTF-8. Index: Notes === RCS file:

Re: Remove accents from fortunes

2017-07-11 Thread Anthony J. Bentley
"Ted Unangst" writes: > Anthony J. Bentley wrote: > > Hi, > > > > "Punctuation followed by backspace" hasn't been the right way to enter > > accents for a long time. > > hard to see what the diff is doing since i coudn't see the backspace

Remove accents from fortunes

2017-07-10 Thread Anthony J. Bentley
Hi, "Punctuation followed by backspace" hasn't been the right way to enter accents for a long time. ok? Index: Notes === RCS file: /cvs/src/games/fortune/Notes,v retrieving revision 1.3 diff -u -p -r1.3 Notes --- Notes 28 Sep

Re: Remove games/fortune/tools

2017-07-09 Thread Anthony J. Bentley
Matthew Martin writes: > As far as I can tell, it's never been linked into the build even looking > in the NetBSD history. It's junk. ok bentley@ to whomever wants to remove it.

Re: vi(1): remove stub settings

2017-06-30 Thread Anthony J. Bentley
Christian Weisgerber writes: > On 2017-06-29, "Anthony J. Bentley" <anth...@anjbe.name> wrote: > > > The vi manual is long enough. It doesn't seem very helpful to keep stubs > > that have been stubs for 20 years. > > Should we retain some document

vi(1): remove stub settings

2017-06-29 Thread Anthony J. Bentley
Hi, >From vi(1): lisp [off] (...) This option is not yet implemented. modelines, modeline [off] (...) This option will never be implemented. optimize, opt [on] (...) This option is not yet implemented redraw, re [off]

Re: vi(1): documenting :s

2017-06-20 Thread Anthony J. Bentley
ginal vi at the beginning, but broke the functionality sometime between 1994 and 1996, and nobody noticed over the next 20 years. Seeing as POSIX is unclear and everybody's inconsistent anyway, I'm strongly inclined to just leave things as they are, commit the original diff that documents the current reality, and leave it at that. -- Anthony J. Bentley

Re: vi(1): documenting :s

2017-06-19 Thread Anthony J. Bentley
d equivalent to ""; see ex/ex.c:430. Adding a command starting with "sub" won't affect this, because there's no 'u' flag (plus there's a command starting with "su" already). -- Anthony J. Bentley

mdoc(7): .St for latest POSIX

2017-06-22 Thread Anthony J. Bentley
ok? Index: share/man/man7/mdoc.7 === RCS file: /cvs/src/share/man/man7/mdoc.7,v retrieving revision 1.153 diff -u -p -r1.153 mdoc.7 --- share/man/man7/mdoc.7 10 Jun 2017 16:32:08 - 1.153 +++ share/man/man7/mdoc.7

Re: mdoc(7): .St for latest POSIX

2017-06-23 Thread Anthony J. Bentley
Ingo Schwarze writes: > Hi Jason, > > Jason McIntyre wrote on Thu, Jun 22, 2017 at 02:07:51PM +0100: > > > so do you want to remove the entry for 1003.1-2013 as well? > > none of our man pages use it. > > The decisive point is that even current groff does not support it, > so deleting it is

vi(1): documenting :s

2017-06-15 Thread Anthony J. Bentley
Hi, >From vi(1): [range] s[ubstitute] [/pattern/replace/]  [options] [count] [flags] [range] & [options] [count] [flags] [range] ~ [options] [count] [flags] Make substitutions. The replace field may contain any of the following sequences:

Re: vi(1): documenting :s

2017-06-19 Thread Anthony J. Bentley
Hi, Jason McIntyre writes: > ok by me. note that posix ex(1) does detail a working [s]ubstitute command, > so i'm not sure whether we should support this or not. Hm, so it does. I think I would prefer to follow POSIX in this case. Here's a diff to allow "substitute" to work. Annoyingly, there's

Disable ACPI burst mode on 2015 Chromebook Pixel

2018-01-16 Thread Anthony J. Bentley
Hi, The 2015 Chromebook Pixel has a broken ACPI that doesn't support burst mode and will hang on boot when it's tried. Rev 1.54 of acpiec.c disabled it for single-byte reads and writes, which fixed this machine, but broke others. So it got reverted, with the note: "A machine/bios-dependent

Re: Fix for vi(1) manpage Visual command

2018-02-02 Thread Anthony J. Bentley
This does leave open the question of how the usage strings in ex_cmd.c should change, and whether the code there should be rearchitected so that, e.g., "edit" and "Edit" can have different usage strings. -- Anthony J. Bentley

Re: Fix for vi(1) manpage Visual command

2018-02-03 Thread Anthony J. Bentley
Jason McIntyre writes: > On Fri, Feb 02, 2018 at 08:17:11PM -0700, Anthony J. Bentley wrote: > > trondd writes: > > > The manpage for vi(1) has a small error for the :Visual/:visual command. > The > > > 'V' can be capital or lowercase, followed by an 'i' and op

Re: Fix for vi(1) manpage Visual command

2018-02-03 Thread Anthony J. Bentley
Ingo Schwarze writes: > > and the USD docs to update. so a man page fix will not suffice. > > I wouldn't bother. They are not installed, and the base system > doesn't even provide tools to process them. If we ever decide > to do anything with them, they will require a full check of accuracy >

Re: pthread_create: fix segfault when attr is NULL

2018-07-07 Thread Anthony J. Bentley
Ingo Schwarze writes: > Hi Jason, > > Jason McIntyre wrote on Sat, Jul 07, 2018 at 07:17:29AM +0100: > > > the 2/3 pages should really reference the most recent standards too. > > it's just the work hasn;t been done. > > According to my understanding, the difference in policy is deliberate. > Some

httpd(8): don't send HSTS headers over unencrypted connections

2018-10-14 Thread Anthony J. Bentley
Hi, RFC 6797 says: An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport. Is this the correct check? With this I get what I expect: HSTS headers over TLS, and no HSTS headers over unencrypted HTTP. Index: server_fcgi.c

Re: httpd(8): don't send HSTS headers over unencrypted connections

2018-10-15 Thread Anthony J. Bentley
* tls port 443" and "listen on * port 80" in the same server block. The other TLS-related options only apply to encrypted connections in such a scenario. Then again, none of them work by injecting headers. -- Anthony J. Bentley

Re: httpd(8): don't send HSTS headers over unencrypted connections

2018-10-15 Thread Anthony J. Bentley
Florian Obser writes: > On Sun, Oct 14, 2018 at 07:36:18PM -0600, Anthony J. Bentley wrote: > > Hi, > > > > RFC 6797 says: > > > >An HSTS Host MUST NOT include the STS header field in HTTP responses > >conveyed over non-secure transport. > >

Re: [vi] moving by sentences is inconsistent

2018-10-08 Thread Anthony J. Bentley
Andras Farkas writes: > On Mon, Oct 8, 2018 at 11:04 AM Theo de Raadt wrote: > > You only checked the clones? You need to compare to the past. > What you're implying is right: a comment (the one with the AB CD example) in >

Fix underlining in fortunes

2018-09-14 Thread Anthony J. Bentley
Hi, >From /usr/src/games/fortune/Notes: Underlining is done on a word-by-word basis, with the underlines preceding the word, e.g., "__^H^Hhi ^H^H^H^Hthere". Two fortunes, though, do it wrong: "_^H_^Hhi _^H_^H_^H_^H_^Hthere". This manifests as an underline beneath only the first

Re: archaic quotes in calendar

2019-01-30 Thread Anthony J. Bentley
Jason McIntyre writes: > in the man page you have used Sq. that will make it mark up the same as > it already does: > > (`*') There's a difference: Ted uses a UTF-8 locale where Sq shows up as pretty Unicode quotes. Literally typing `' doesn't (not in the terminal, anyway). mandoc should

Re: printf.1: fix incorrect conversion of apostrophe

2019-06-02 Thread Anthony J. Bentley
Stephen Gregoratto writes: > In the escape sequences section of printf.1, the > character is represented using "\e\'". In UTF-8 mode, mandoc converts > this to an acute accent. To fix this I explicitly used "\(aq" as per the > Accents section of mandoc_char(7), although using "\e'" works as

Re: FAQ4.html Commit Revert

2020-01-03 Thread Anthony J. Bentley
Diogo Galvao writes: > On Thu, Jan 2, 2020 at 12:46 PM Oleg Pahl wrote: > > > > could you be so kind to revert this commit in FAQ 4? > > > > https://cvsweb.openbsd.org/cgi-bin/cvsweb/www/faq/faq4.html.diff?r1=1.495 > 2=1.496 > > > > Instead of reverting the commit, this change in CSS fixes the

Re: FAQ4.html Commit Revert

2020-01-03 Thread Anthony J. Bentley
Diogo Galvao writes: > On Fri, Jan 3, 2020 at 6:37 PM Anthony J. Bentley wrote: > > > > What browser are you using that misrenders the page like that? > > Firefox 71.0. It must have something to do with monospace font > rendering on Windows. Thanks. These details wer

Re: Document vi range

2020-05-18 Thread Anthony J. Bentley
or equal to the second address. The first address must be greater than or equal to the first line of the file, and the last address must be less than or equal to the last line of the file. >From that I think trailing +/-, relative line numbers, and ?? regular expressions should be described too. > Comments, OK? Regarding markup: Ar should be used for things that get replaced (start, end, c, pattern) but literal characters like . $ % should use Cm. > +.Ar 'c This ' should be \(aq so it doesn't become a curly quote in groff -Tpdf. -- Anthony J. Bentley

Re: httpd diff (fixes single instance of XHTML-style element)

2020-05-20 Thread Anthony J. Bentley
owever, it's probably worthwhile to use the modern idiom here, which is -- Anthony J. Bentley

Re: Xwindows keymap weirdness

2020-06-01 Thread Anthony J. Bentley
Marc Espie writes: > > To setup the right alt key as compose, you can either: > > > > - run 'setxkbmap -option compose:ralt' somewhere in your session > > startup script > > > > - create /etc/X11/xorg.conf.d/90-keyboard.conf containing > > > > --- Cut --- > > Section "InputClass" > >

Re: adding MIME type for XSLT

2022-02-11 Thread Anthony J. Bentley
Jesse Alama writes: > XSLT is a well-established XML-based language for stylesheets. It has been ar > ound since the late 90s; the most recent version was finalized in 2017 (see > https://www.w3.org/TR/xslt-30/). The mime.types file bundled with OpenBSD 7.0 > -- typically used with httpd --

Re: simple pledge for xeyes(1)

2023-09-08 Thread Anthony J. Bentley
Sebastien Marie writes: > For me, you are pledging too early (before initialization). I agree with everything you said regarding pledge(2) technique, including this statement, but it is worth remembering that the list of promises can be narrowed later with another pledge call. It's very

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Anthony J. Bentley
Lucas Raab writes: > +Use when a port requires no enforcement of indirect branch targets. Use New sentence, new line. > +.Ev USE_NOBTCFI-${MACHINE_ARCH} > +to apply to specific architectures instead of all architectures. I would invert the wording: "Applies to all architectures; set

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Anthony J. Bentley
Lucas Raab writes: > New version attached ok bentley@ > diff /usr/src > commit - 2933f00289463a6d1923d1b9cc5e5c1c5c697ece > path + /usr/src > blob - 00ec6c3f81fcf03ea69eabe8de1741a6e562 > file + share/man/man5/bsd.port.mk.5 > --- share/man/man5/bsd.port.mk.5 > +++

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Anthony J. Bentley
Lucas Raab writes: > +writes a wrapper script to ${WRKDIR}/bin/ld in Use: .Pa ${WRKDIR}/bin/ld I see it's wrong elsewhere in the manpage, but let's not introduce another. > +.Cm patch > +to request that the linker adds an > +.Dv PT_OPENBSD_NOBTCFI > +ELF section. Use when a port requires no

Re: [PATCH] Add -executable, -readable, and -writable options to /usr/bin/find

2023-04-02 Thread Anthony J. Bentley
Stuart Henderson writes: > On 2023/04/01 11:27, Jared Harper wrote: > > For some reason I haven't received the email from Solène (even after > > requesting it re-sent on lists.openbsd.org; nor is it in spam; I will > > look further into this issue), so I'm adding my reply in-line here: > >

calendar.usholiday: add Juneteenth

2023-05-15 Thread Anthony J. Bentley
A federal holiday since 2021. ok? Index: usr.bin/calendar/calendars/calendar.usholiday === RCS file: /cvs/src/usr.bin/calendar/calendars/calendar.usholiday,v retrieving revision 1.9 diff -u -p -r1.9 calendar.usholiday ---