opnsense-src/usr.bin/top
Dag-Erling Smørgrav a4251e93f8 top: Make locale issues non-fatal.
If the `setlocale()` call fails, emit a warning and sleep briefly so the
user has a chance to see the warning before we redraw the screen.  Note
that we have no way of knowing exactly what is wrong, but at least we
can suggest that they check their environment.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D49230

(cherry picked from commit 180065eb09e699820a1e1c45d3d00156e0effe29)
2025-03-31 18:35:33 +00:00
..
commands.c top: Polish key bindings in usage and manual 2025-03-31 13:26:15 -04:00
commands.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
display.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
display.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
layout.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
loadavg.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
machine.c top: Avoid printing a blank line when the ZFS ARC is empty 2024-01-25 09:57:12 -05:00
machine.h Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
screen.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
screen.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
top.1 top: Sync usage and synopsis 2025-03-31 13:26:26 -04:00
top.c top: Make locale issues non-fatal. 2025-03-31 18:35:33 +00:00
top.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
username.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
username.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.h Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00