self
was first added to rc.subr (1.11) (and the running of everything was
moved from /etc/rc to /etc/rc.d/*).
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgp0oOTK15p3d.pgp
Description: OpenPGP Digital Signature
At Sat, 17 May 2025 08:41:32 + (UTC), RVP wrote:
Subject: Re: add a "notty" flag to ttys(5) for init(8)
>
> On Fri, 18 Apr 2025, Greg A. Woods wrote:
>
> > I figured the best way would be to run it from init(8) so that it would
> > be running at all times while
e thinking of the way FreeBSD and OpenBSD manage the
feature-test macros and how they have created these internal
__foo_VISIBLE flags to separate the way features are exposed from the
user control flags like _foo_SOURCE, etc.
In any case that's probably way too much of a make-work project.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpBvHqdnyLRo.pgp
Description: OpenPGP Digital Signature
there's a _lot_ more coordination
and cooperation between the system's developers!)
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpJ_4y4Uby4e.pgp
Description: OpenPGP Digital Signature
tion from localhost
allow localhost# allow localhost to connect to the server and
allow admin:monit # require user 'admin' with password 'monit'
check process syslogd with pidfile /var/run/syslogd.pid
start program = "/etc/rc.d/syslogd start"
numbers.
Maybe this would all make a good GSoC project (e.g. to suggest to all
those who are otherwise eager to pick the seemingly singularly most
popular project).
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avon
traditional.
In 7th Edition they're in both!
I do think they belong with the definition of dev_t though, which I
think means keep them where they are.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, In
At Fri, 7 Feb 2025 09:59:15 +0100, Anthony Mallet
wrote:
Subject: Re: major/minor(3) macros conflict with regular code
>
> On Thursday 6 Feb 2025, at 18:01, Greg A. Woods wrote:
> > At Thu, 6 Feb 2025 23:48:48 +0100, Anthony Mallet
> > wrote: Subject: major/minor(3) macros
full native NetBSD system compatability
and so could do without defining _NETBSD_SOURCE -- maybe define
_POSIX_C_SOURCE instead (which explicitly then tells the system headers
to _not_ define _NETBSD_SOURCE, and that will hide those macros).
Or fix that code to use more descriptive and thus unique names fo
to limited physical media any more.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpkaAMQQeB43.pgp
Description: OpenPGP Digital Signature
osed to be in a library's ABI
to just what's in its API, and as you point out, at least for both
libpcap and libexpat, this is the way upstream was already building
anyway.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHac
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpqO7LSYBzdJ.pgp
Description: OpenPGP Digital Signature
naming practices, and avoiding spaghetti code (e.g. nested loops common
in too-long function bodies), it can be kept to a minimum.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpYW0Cb_YM27.pgp
Description: OpenPGP Digital Signature
and
parenthesis can be used to create expressions of arbitrary length and
complexity, and surely I've done so for decades with multitudes of
implementations with nary a problem.
I agree POSIX does only require support for 4 arguments, but with the
XSI extension any number are allowed, but I've never met a POSIX-minimal
only implementation of test(1).
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpOSR5NFRIpp.pgp
Description: OpenPGP Digital Signature
more only a very few shells
source $ENV when they are not interactive (and thus they don't need any
interactivity test at all).
Even AT&T Ksh gave up on always expanding and sourcing $ENV with the
original ksh93 release (i.e. as of 1993/12/28), so it is always POSIX
compliant now. (I ha
because (like “TERM”), xterm both reads and
updates the variable, and because the program started by xterm
is not necessarily a shell.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
On stock NetBSD this is just sh(1) and ksh(1),
but it may also include older AT&T Ksh, other pdksh(1), etc. It would
matter for the Heirloom Shell, but since it doesn't support $ENV at all,
it does not actually matter for it.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpKwP6wMgEmm.pgp
Description: OpenPGP Digital Signature
At Mon, 30 Sep 2024 21:59:49 +0200, wrote:
Subject: Re: interactive shell detection in shrc
>
> On Mon, Sep 30, 2024 at 12:14:44PM -0700, Greg A. Woods wrote:
> > > SHELL is set by ksh and not by sh (sh handles NETBSD_SHELL), if I'm
> > > not mistaken?
> >
>
ferent and unrelated.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
king I
had it.
> But as Steffen (kind of) indicated, "test -t 0 && test -t 2" is
> probably an easier way than using tty.
Well, I'll be. I don't remember ever using "test -t"! I think I must
have skipped over it entirely all these years! So I now have:
At Fri, 27 Sep 2024 07:14:46 +0700, Robert Elz wrote:
Subject: Re: interactive shell detection in shrc
>
> Date:Thu, 26 Sep 2024 15:16:39 -0700
> From: "Greg A. Woods"
> Message-ID:
>
> | I'm very curious: why did you include "
At Fri, 27 Sep 2024 01:32:34 +0200, Steffen Nurpmeso wrote:
Subject: Re: interactive shell detection in shrc
>
> Hello.
>
> Greg A. Woods wrote in :
> |At Tue, 24 Sep 2024 00:56:40 +0200, Steffen Nurpmeso \
> |wrote:
> |Subject: Re: interactive sh
;;
esac
case "$0" in
-*)
_interactive=true
;;
esac
if ${_interactive}; then
: ... do interactive setup
else
: ... do script-mode setup
fi
unset _int
e
stopped pulling in NetBSD changes and fixes early in 2002 and so dash
has diverged ever since, especially with its own unique changes.
For some interesting reading:
https://www.in-ulm.de/~mascheck/various/ash/
Go up a couple of levels for even more good reading.
--
r all idiomatic C when used with more complex expressions,
such as function calls.
Here "arg" is a valid expression, and a "(void)" cast discards or
ignores the result of an expression.
The abstraction of __USE() seems unnecessary and more difficult to read.
--
At Sun, 11 Apr 2021 09:05:57 +0200, tlaro...@polynum.com wrote:
Subject: Re: Possible "new" redirect style for /bin/sh (needs a name)
>
> On Sat, Apr 10, 2021 at 05:04:11PM -0700, Greg A. Woods wrote:
> >
> > So, still, the shell could keep a "high FD waterm
efer to it (and also use as a sub-section heading for the man page,
> and a test case name for (yet to be written) ATF tests of this)
The only thing that immediately jumped into my mind was "dynamic
redirection".
Maybe Steve Bourne could suggest a name? (seriously)
--
orced (i.e. if the ulimit for
open FDs is not kept lower than the number of currently open FDs);
though I have not done any other kind of test to be sure the data sent
to a multi-digit FD is actually received from the given FD.
--
Greg A. Woods
Ke
ug printfs to the shell too, but I'm currently
stymied by another problem (I can't access the domU filesystem from the
dom0, and until I can get a complete rebuild to finish so I can do a
full reinstall of the domU, accessing the FS from the dom0 would be the
only easy way I have of injecti
id argument
tc-se:
tc-end: 1615494985.880185, ulimit_redirection_interaction, failed, atf-check
failed; see the output of the test for details
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpH
g on what the internal malloc() uses
to obtain heap space).
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpF7qd4gS1wJ.pgp
Description: OpenPGP Digital Signature
At Tue, 14 Jul 2020 00:28:46 +0200, Joerg Sonnenberger wrote:
Subject: Re: recent changes to pthread_fork.c:fork() cause static linking to
fail if the app provides its own malloc()
>
> On Mon, Jul 13, 2020 at 03:05:17PM -0700, Greg A. Woods wrote:
> > I think it is the following
ot/shells/heirloom-sh/work/heirloom-sh-050706/mapmalloc.c:303:
first defined here
Should I send-pr this? Is there any possibility of an "easy" fix?
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote
guide rule that should die)
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpKDOKszsCHU.pgp
Description: OpenPGP Digital Signature
I get that
(I am too), but in my opinion C is just not really safe without them.
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgp07ateykbKh.pgp
Description: OpenPGP Digital Signature
nly protects things installed via pkgsrc, and there's still
the risk of subsequently needing to install a binary package built for
an older release which needs one of these "obsolete" files, but at least
pkg_add can (be made to if it doesn't already) notice this and abor
as opposed to a
traditional network filesystem like NFS). E.g. for shared mounts of
/dev/xbd?? devices in Xen, or shared mounts of a single FibreChannel or
iSCSI target. Can we even invent a new kind of shareable filesystem
using, e.g., lockless on-disk data structures for writeable mounts?
--
Greg A. Woods
Kelowna, BC +1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgpdoZp0PlAPV.pgp
Description: OpenPGP Digital Signature
R link. Neither "site:gnats.netbsd.org emacs"
nor "site:mail-index.netbsd.org emacs crash" can find it. Google's
spider should have found the PR and all the related mail long before now.
--
Greg A. Woods
+1 250 762-7675
a4 in ?? ()
#16 0x7f7ff2ab in ?? ()
#17 0x7f7ff2c6 in ?? ()
#18 0x00007f7ff2c9 in ?? ()
#19 0x7f7ff2dc in ?? ()
#20 0x in ?? ()
(gdb)
That seems even more mysterious to me, though perhaps there's a good
explanation somehow. (E.g. don't malloc() in a dumped binary because
that's already been done? Or maybe the dumped heap is inconsistent?)
--
Greg A. Woods
+1 250 762-7675 RoboHack
Planix, Inc. Avoncote Farms
pgp0xUxIYhwLH.pgp
Description: PGP signature
g to invent a new
category for it just to keep it separate from both Ksh (and clones) and
other Ash derivatives that don't grow a $RANDOM.
--
Greg A. Woods
Planix, Inc.
+1 250 762-7675
x filename
4536955 13034660 430196 18001811112af93 netbsd-NET5501.EMBED
03:18 [98] $ ls -l netbsd-NET5501.EMBED
-rwxr-xr-x 1 woods wheel 18268428 Jun 5 2016 netbsd-NET5501.EMBED
--
Greg A. Woods
41 matches
Mail list logo