On Sun, Dec 01, 2019 at 07:48:07PM +0100, Christian Weisgerber wrote:
> Christian Weisgerber:
>
> > Here's an update for shells/tcsh to 6.21.00, which came out in May.
> > People who actually use tcsh--I don't--might want to give it a try.
> >
> > A number of regression tests used to fail because the built-in echo
> > in our sh always interprets backslash sequences. The switch to the
> > latest autoconf has fixed those tests. The remaining failures are
> > a kernel issue regarding execve(2), see tech@, and two that are due
> > to the lack of a home directory in the test environment. Setting
> > HOME=${WRKDIR} in TEST_FLAGS would work around this for one test,
> > but the other one still stumbles over the discrepancy between $HOME
> > and getpwent(), so I've left it as is.
> >
> > The existing port installs a number of message catalogs for translated
> > error messages. The directory names, such as fr_FR.ISO_8859-1,
> > suggest encodings that OpenBSD no longer supports. This is doubly
> > wrong. It turns out that the actual files have switched to UTF-8
> > encoding at some point in the past, but apparently nobody noticed.
> >
> > Eliciting translated error messages from tcsh proves to be difficult.
> > The code uses the POSIX catopen(3) interface. This does not have
> > a default path for the catalogs. The user MUST set a search path
> > by way of the NLSPATH variable. Since this is not part of the
> > default OpenBSD environment, the chance of users actually managing
> > to enable the translations are slim. I had to look at the POSIX
> > standard and the libc source to figure it out. I've consulted
> > schwarze@, and since catopen(3) is terrible and only used by three
> > crufty ports, he suggested that we should simply stop installing
> > those message catalogs. Obviously nobody has missed them in years,
> > if ever, and the patch below drops them.
> >
> > Comments, OKs, preferably from people who use tcsh?
>
Hi,
Works for me. (still using tcsh as my default shell on OpenBSD...)
Altough I'm french, I don't care about the localized messages. I won't
miss them.
Count this as an ok, even though I'm not an expert in ports.
--
Matthieu Herrb
No comments:
Post a Comment