Re: Send international text with mail(1) - proposal and patches

2023-10-11 Thread Steffen Nurpmeso
Crystal Kolipe wrote in : |On Thu, Oct 12, 2023 at 12:36:48AM +0200, Steffen Nurpmeso wrote: |> Non-7-bit clean headers need RFC 2047 (and/or RFC 2231) encoding. | |The use of MIME encoded words to encode header content is no longer |considered best practice. See, for example RFC 6532.

Re: Send international text with mail(1) - proposal and patches

2023-10-11 Thread Steffen Nurpmeso
Hello Omar. Omar Polo wrote in <2HJQ4VX5L4J1P.3G4A39B0RA6T7@venera>: ... |>MUAs always set appropriate MIME headers. RFC 2046 section 4.1.2 |>paragraph 8 also "strongly" recommends the explicit inclusion of a |>"charset" parameter even for us-ascii. So that really went me lookin

Re: Send international text with mail(1) - proposal and patches

2023-09-20 Thread Steffen Nurpmeso
Steffen Nurpmeso wrote in <20230920214009.w5mrf%stef...@sdaoden.eu>: |Ingo Schwarze wrote in | : | ... ||I just checked - even though i'm using the higer-level mutt(1) MUA ||most of the time and even though the shell i'm starting mutt(1) from ||has LC_CTYPE=C.UTF-8 set on

Re: Send international text with mail(1) - proposal and patches

2023-09-20 Thread Steffen Nurpmeso
Ingo Schwarze wrote in : ... |I just checked - even though i'm using the higer-level mutt(1) MUA |most of the time and even though the shell i'm starting mutt(1) from |has LC_CTYPE=C.UTF-8 set on that particular machine, the last sixteen |mails i sent all contained the explicit header | |

Re: [feature] ssh-agent: new -A option (like -a) that overwrites existing sockets

2023-09-13 Thread Steffen Nurpmeso
Andreas Kähäri wrote in : |On Wed, Sep 13, 2023 at 03:08:40PM +0200, Moritz Fain wrote: |> Most of the code is already there; it's basically just adding a new flag. |> |> Happy to hear your feedback! | |My initial reaction is that it's easy to run "rm -f" before starting |the agent with th

Re: [OpenSMTPD] Setting personal mailserver

2023-09-09 Thread Steffen Nurpmeso
Sagar Acharya wrote in : |Thanks Peter, your comments were very helpful and I made some progress | |I have currently hosted server at 587. I have also set | |_submission._tcp.humaaraartha.in. SRV | |records which point to 587. However, I think such a thing is not impleme\ |nted by default

Re: autopledge

2023-06-02 Thread Steffen Nurpmeso
Theo de Raadt wrote in <93466.1685743...@cvs.openbsd.org>: |We will wait for the demo. ... |Leah Rowe wrote: ... |> Yeah I was kinda thinking, just have it be a tool to *assist* but not |> to automatically pledge the program itself. It wouldn't replace |> human-performed auditing or analys

Re: usr.bin/mail: cmd3.c:bangexp(): "borked"?, and BSD fails POSIX compat

2023-05-02 Thread Steffen Nurpmeso
Steffen Nurpmeso wrote in <20230502214014._ziz6%stef...@sdaoden.eu>: |Hallo, and sorry for the cross-post, but so all in one (maybe) go. | |This is about a niche "feature" of mail, the shell command "bang" |(! / ~! in compose mode): ... |POSIX now says / will say

usr.bin/mail: cmd3.c:bangexp(): "borked"?, and BSD fails POSIX compat

2023-05-02 Thread Steffen Nurpmeso
Hallo, and sorry for the cross-post, but so all in one (maybe) go. This is about a niche "feature" of mail, the shell command "bang" (! / ~! in compose mode): ? !echo no!bang no!bang ! ? set bang ? ! echo no!bang !echo nobang nobang ! ? ! ! !echo nobang nobang ! ? ! echo

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

2023-04-01 Thread Steffen Nurpmeso
Jared Harper wrote in : |On Sat, Apr 1, 2023 at 12:06 AM Theo Buehler wrote: ... |I'm not sure these are equivalent. My (limited?) understanding is these |examples are checking whether the file's owner has the specified |permissions. | |The intention for my patch is to return true if the c

Re: Fix broken UTF-8 decoding

2023-02-25 Thread Steffen Nurpmeso
Crystal Kolipe wrote in : |Currently it is not possible to use unicode codepoints > 0xFF on the \ |console, |because our UTF-8 decoding logic is badly broken. | |The code in question is in wsemul_subr.c, wsemul_getchar(). | |The problem is that we calculate the number of bytes in a multi-by

Re: Does openssl know about ROP?

2023-01-30 Thread Steffen Nurpmeso
Theo de Raadt wrote in <53203.1675056...@cvs.openbsd.org>: |I was reading some openssl source code, in particular the x86 assembly |language files (which accelerate some crypto operations), and I find |many cases where data tables are intentionally inserted into text (code) |segments, and thos

Re: grdc: show timezone when TZ is set

2022-09-18 Thread Steffen Nurpmeso
David Goerger wrote in : |Sunday, 20220918 13:38+, Florian Obser wrote: |>I'm happy with that, let's do this then |>- fix the offset calculation |>- output tm->tm_zone in addition to TZ to be able to spot typos. | |I like the overall diff (thanks!), but one minor formatting nit is that

Re: Picky, but much more efficient arc4random_uniform!

2022-05-18 Thread Steffen Nurpmeso
Joerg Sonnenberger wrote in : |Am Wed, May 18, 2022 at 12:49:21PM +0200 schrieb Steffen Nurpmeso: |> What surprised me was that the Apple code requires more calls, and |> that today divisions and multiplications still matter. I think it |> was the Cyrix 166+ (or was it Athlon 160

Re: Picky, but much more efficient arc4random_uniform!

2022-05-18 Thread Steffen Nurpmeso
Steffen Nurpmeso wrote in <20220518104921.sr0ht%stef...@sdaoden.eu>: ... |The web site that has been linked from the man from the country |that has an even much worse Earth Country Overshoot Day than |Germany and is almost en par with Australia or even USA (April |3rd, pooh; never a

Re: Picky, but much more efficient arc4random_uniform!

2022-05-18 Thread Steffen Nurpmeso
Philip Guenther wrote in : |On Tue, May 17, 2022 at 1:10 PM Steffen Nurpmeso \ |wrote: |> Joerg Sonnenberger wrote in |> : |>|Am Fri, May 13, 2022 at 09:43:26AM -0500 schrieb Luke Small: |>|> I made a couple new versions of a new kind of arc4random_uniform-like |> ..

Re: Picky, but much more efficient arc4random_uniform!

2022-05-17 Thread Steffen Nurpmeso
Steffen Nurpmeso wrote in <20220517220924.xohqc%stef...@sdaoden.eu>: |Joerg Sonnenberger wrote in | : ||Am Fri, May 13, 2022 at 09:43:26AM -0500 schrieb Luke Small: ||> I made a couple new versions of a new kind of arc4random_uniform-like ... |0 bytes "do not occur", so

Re: Picky, but much more efficient arc4random_uniform!

2022-05-17 Thread Steffen Nurpmeso
Joerg Sonnenberger wrote in : |Am Fri, May 13, 2022 at 09:43:26AM -0500 schrieb Luke Small: |> I made a couple new versions of a new kind of arc4random_uniform-like ... |If your main use case is limiting the amount of cryptography when using |small bounds, there is a much simpler approach to

Re: Picky, but much more efficient arc4random_uniform!

2022-05-16 Thread Steffen Nurpmeso
Philip Guenther wrote in : |On Sun, 15 May 2022, Steffen Nurpmeso wrote: |> Stuart Henderson wrote in |... |>|what's the perceived problem you're wanting to solve? and does that |>|problem actually exist in the first place? |> |> The problem is that if have a lo

Re: Picky, but much more efficient arc4random_uniform!

2022-05-14 Thread Steffen Nurpmeso
Stuart Henderson wrote in : |On 2022/05/14 06:56, Luke Small wrote: |> If I use arc4random_uniform() repeatedly to create a random distribution \ |> of |> say numbers less than 0x1000 or even something weird like 0x1300 will the |> random distribution be better with arc4random_uniform() or wi

Re: clang: compile static analyzer

2022-03-25 Thread Steffen Nurpmeso
Joerg Sonnenberger wrote in : |Am Fri, Jan 21, 2022 at 12:45:56AM +0100 schrieb Steffen Nurpmeso: |> Fwiw, i have been astonished by this thread. I found scan-build |> to generate a lot of false warnings, so much indeed that i stopped |> using it .. in summer 2017. | |I've

Re: clang: compile static analyzer

2022-03-23 Thread Steffen Nurpmeso
Hello. Steffen Nurpmeso wrote in <20220121154612.frou2%stef...@sdaoden.eu>: |Andre Smagin wrote in | <20220120231806.0463e0c792db3e3e5fc07...@smagin.com>: ||On Fri, 21 Jan 2022 00:45:56 +0100 ||Steffen Nurpmeso wrote: ||> I found scan-build to generate a lot of false wa

Re: [patch] httpd static gzip compression

2022-02-28 Thread Steffen Nurpmeso
j...@bitminer.ca wrote in <07cf90c2d8adab83ffd36ef69ebcd...@bitminer.ca>: |On 2022-02-27 19:28, Solène wrote: |> If I remember well, lighttpd will compress server side upon request if |> a compressed version of that file doesn't exist. |> |> This is entirely different than how httpd behave,

Re: [patch] httpd static gzip compression

2022-02-27 Thread Steffen Nurpmeso
Steffen Nurpmeso wrote in <20220227225619.pzahj%stef...@sdaoden.eu>: |Solène wrote in | <3311e74f-1ad8-49b3-96d7-3f3c7f2af...@perso.pw>: ||27 févr. 2022 19:37:20 j...@bitminer.ca: || ||> Would it be too much to ask to defend the (poor) web master against ||> own-goal error

Re: [patch] httpd static gzip compression

2022-02-27 Thread Steffen Nurpmeso
Solène wrote in <3311e74f-1ad8-49b3-96d7-3f3c7f2af...@perso.pw>: |27 févr. 2022 19:37:20 j...@bitminer.ca: | |> Would it be too much to ask to defend the (poor) web master against |> own-goal errors? |> |> That is, approximately: |> |> if ((access(gzpath, R_OK) == 0) && |>

Re: clang: compile static analyzer

2022-01-21 Thread Steffen Nurpmeso
Andre Smagin wrote in <20220120231806.0463e0c792db3e3e5fc07...@smagin.com>: |On Fri, 21 Jan 2022 00:45:56 +0100 |Steffen Nurpmeso wrote: | |> I found scan-build to generate a lot of false warnings, so much indeed |> that i stopped using it .. in summer 2017. | |You, and most

Re: clang: compile static analyzer

2022-01-20 Thread Steffen Nurpmeso
Alexander Bluhm wrote in : |On Fri, Jan 14, 2022 at 05:59:24PM +0100, Claudio Jeker wrote: |> On Fri, Jan 14, 2022 at 04:44:49PM +, Stuart Henderson wrote: |>> On 2022/01/14 16:52, Rafael Sadowski wrote: |>>> On Fri Jan 14, 2022 at 03:17:21PM +0100, Tobias Heider wrote: | clang ships

Re: cwm: fix invalid KeyCode in configuration

2021-11-18 Thread Steffen Nurpmeso
Jan Stary wrote in : |On Nov 18 20:13:03, h...@stare.cz wrote: |> On Nov 16 21:33:31, hen...@camandro.org wrote: |>> I've tried to setup a line like: |>> bind-key XF86MonBrightnessDown "" |>> in my .cwmrc and the result was that no key event was sent to my \ |>> windows. |> |> Please excu

Re: [patch] httpd static gzip compression

2021-11-05 Thread Steffen Nurpmeso
... |You would be asking for | |https://exmaple.com/whatever/ls.1 | |and with Accept-Encoding: gzip in the http header, and the |webserver would then look if it has a file | |/whatever/ls.1.gz | |(instead of without .gz) in its document tree and send you that, with |"Content-Encoding:

Re: ftp(1): add SOCKS proxy support

2021-01-02 Thread Steffen Nurpmeso
Nick Gasson wrote in <877dovsfjk@bertha.nickg.me.uk>: |On 11/27/20 05:59 AM, Steffen Nurpmeso wrote: |> Nick Gasson wrote in |> <87im9srza8@bertha.nickg.me.uk>: |>|Hi, |>| |>|I often need to go through a SOCKS proxy to access certain sites. The |>|dif

Re: ftp(1): add SOCKS proxy support

2020-11-26 Thread Steffen Nurpmeso
Nick Gasson wrote in <87im9srza8@bertha.nickg.me.uk>: |Hi, | |I often need to go through a SOCKS proxy to access certain sites. The |diff below adds SOCKS5 support to ftp(1) for HTTP transfers, similar to |curl(1). Enabled when http_proxy is set to a socks5:// URL. | |Also fixes two exi

Re: top: Fill last character in process line

2020-06-03 Thread Steffen Nurpmeso
Klemens Nanni wrote in <20200603124948.irvdnxrxa5g75pmi@eru>: |On Wed, Jun 03, 2020 at 12:45:35PM +0100, Stuart Henderson wrote: |> It should check terminal capabilities for this, see termcap(5). |> If 'am' (auto-margin) is set then it shouldn't write to the final column. |> If 'xn' is set then

Re: openssl.1: Tag command names

2020-02-18 Thread Steffen Nurpmeso
Ingo Schwarze wrote in <20200218160703.gb27...@athene.usta.de>: |Hi, | |Steffen Nurpmeso wrote on Tue, Feb 18, 2020 at 04:52:48PM +0100: | |> i just want to add that there is still the mdocmx mdoc macro |> extension available, and is working fine for more than half |> a deca

Re: openssl.1: Tag command names

2020-02-18 Thread Steffen Nurpmeso
Hello. I have not followed this thread but Ingo Schwarze wrote in <20200218153053.ga27...@athene.usta.de>: |Klemens Nanni wrote on Mon, Feb 17, 2020 at 05:19:27PM +0100: | |> I'd like to commit this soon, it allows me to jump to the command I'm |> looking for, e.g. ":tx509" shows me the synop

Re: cdio(1): remove CDDB support

2019-12-29 Thread Steffen Nurpmeso
Marc Espie wrote in <20191229101350.ga17...@nausicaa.home>: |On Sat, Dec 28, 2019 at 07:48:45PM -0500, Bryan Steele wrote: |> With FreeDB announcing[0] that the service will be shutting down as of |> March 31st of 2020, and the only other alternative (MusicBrainz) already |> having shutdown the

Re: syscall call-from verification

2019-11-27 Thread Steffen Nurpmeso
Theo de Raadt wrote in <91679.1574892...@cvs.openbsd.org>: |Steffen Nurpmeso wrote: |1> Theo de Raadt wrote in <29275.1574888...@cvs.openbsd.org>: |>|The following change only permits system calls from address-ranges |>|in the process which system ca

Re: syscall call-from verification

2019-11-27 Thread Steffen Nurpmeso
Theo de Raadt wrote in <29275.1574888...@cvs.openbsd.org>: |The following change only permits system calls from address-ranges |in the process which system calls are expected from. ... |Unfortunately our current go build model hasn't followed solaris/macos |approach yet of calling libc stubs,

Re: sysupgrade(8) and http_proxy

2019-11-05 Thread Steffen Nurpmeso
trondd wrote in <20191105013833.cy2_d%tro...@kagu-tsuchi.com>: |Steffen Nurpmeso wrote: |> trondd wrote in <49f29107642e86c17283b0582a9f09f4.squir...@mail.kagu-tsu\ |> chi.com>: |>|On Sun, November 3, 2019 12:02 pm, trondd wrote: |>|> On Sun, November 3, 2019 6

Re: sysupgrade(8) and http_proxy

2019-11-04 Thread Steffen Nurpmeso
trondd wrote in <49f29107642e86c17283b0582a9f09f4.squir...@mail.kagu-tsu\ chi.com>: |On Sun, November 3, 2019 12:02 pm, trondd wrote: |> On Sun, November 3, 2019 6:27 am, Florian Obser wrote: |>> On Sun, Nov 03, 2019 at 12:21:59PM +0100, Antoine Jacoutot wrote: |>>> On Sun, Nov 03, 2019 at 12:1

Re: Thermal zone support for arm64

2019-06-29 Thread Steffen Nurpmeso
Mark Kettenis wrote in <543892945e900...@bloch.sibelius.xs4all.nl>: |Many of the cheap arm64 (and armv7) boards will overheat if you run |the CPU cores at full throttle for a while. Adding a heatsink may |help a little bit, but not enough. Some boards have a microcontroller |that monitors the

Re: regress/bgpd: allow specifying daemon binary

2018-09-18 Thread Steffen Nurpmeso
Theo de Raadt wrote in <87985.1537307...@cvs.openbsd.org>: |I honestly think this is a foolishly complicated. Maybe for OpenBSD only software. But i think it is worth the hazzle whenever affordable for certain types of software. |Just install the program, then run regress. Install an older ve

Re: regarding OpenSSL License change

2017-03-24 Thread Steffen Nurpmeso
"Michael W. Lucas" wrote: |On Fri, Mar 24, 2017 at 02:37:58PM +0100, Sebastian Benoit wrote: |> It's about "You cannot change the licence without consent of the \ |> author" and |> "We just assume that you say yes to this because we dont care about your |> rights", which is morally and legall

Re: regarding OpenSSL License change

2017-03-24 Thread Steffen Nurpmeso
Sebastian Benoit wrote: |Steffen Nurpmeso(stef...@sdaoden.eu) on 2017.03.24 14:03:45 +0100: |> Bob Beck wrote: ... |> According to [1] the chosen license is however the "best" academic |> license, and the only one which allows patent protection. Best in |> sofar a

Re: regarding OpenSSL License change

2017-03-24 Thread Steffen Nurpmeso
Bob Beck wrote: ... Disclaimer: i have read about licenses many years ago (likely over a decade, i stopped reading the german computer magazine c't somewhen in 2005). I like and use the ISC license that your project has chosen and fosters whenever i can. According to [1] the chosen license is

Re: UTF-8 support for colrm(1)

2016-01-11 Thread Steffen Nurpmeso
Stephane Chazelas wrote: |2016-01-11 16:10:28 +0100, Steffen Nurpmeso: |[...] |> And your diff includes |> |> +.Pp |> +For compatibility with |> +.St -p1003.1-2008 |> +.Xr fold 1 , |> +if a double-width character is followed by two backspace characters

Re: UTF-8 support for colrm(1)

2016-01-11 Thread Steffen Nurpmeso
Hallo Ingo, i CC: the POSIX list since that is an interesting conclusion of yours! Ingo Schwarze wrote: |Ingo Schwarze wrote on Wed, Dec 23, 2015 at 07:44:05PM +0100: |>>> For example, colrm(1). |> So, remember this rule: |> |> +--

Re: UTF-8 support for colrm(1)

2015-12-23 Thread Steffen Nurpmeso
Ingo Schwarze wrote: |Steffen Nurpmeso wrote on Wed, Dec 23, 2015 at 11:45:36AM +0100: |> Ingo Schwarze wrote: |>> For example, colrm(1). |>> |>> 4. The backspace character (U+0008) backs up by one display position |>>rather than by one character. T

Re: UTF-8 support for colrm(1)

2015-12-23 Thread Steffen Nurpmeso
Hello Ingo, Ingo Schwarze wrote: |For example, colrm(1). |4. The backspace character (U+0008) backs up by one display position | rather than by one character. That causes miscounting when | backspace follows a zero-width or double-width character. this however is unfortunately common

Re: Flag to set from address in mail(1)

2015-01-08 Thread Steffen Nurpmeso
"Todd C. Miller" wrote: |On Wed, 07 Jan 2015 12:11:40 +0100, Steffen Nurpmeso wrote: |> I seem to recall that OpenBSD dropped -f in December (i don't know |> why), but clashing a POSIX argument doesn't seem to be a good |> idea. Heirloom mailx and S-nail use

Re: Flag to set from address in mail(1)

2015-01-07 Thread Steffen Nurpmeso
Hello, tro...@gmail.com wrote: |>Sorry, my fault. Try the diff below. |> |>Nathanael | |Yup, this works! Now I can filter by sender in smptd to use the right |SMTP server. sorry for jumping in like that (i only get these message via a simple NNTP-to-MBOX fetcher), yet i want to point out