From 04c769c8445e02c8bdaf52d9276332e565739d33 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 24 Oct 2023 12:45:49 +0200 Subject: [PATCH] Add a note about when the configuration is saved --- htop.1.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htop.1.in b/htop.1.in index 18be08dc6..d734f4795 100644 --- a/htop.1.in +++ b/htop.1.in @@ -602,7 +602,7 @@ By default .B htop reads its configuration from the XDG-compliant path .IR ~/.config/htop/htoprc . -The configuration file is overwritten by +The configuration file is overwritten upon clean exit by .BR htop 's in-program Setup configuration, so it should not be hand-edited. If no user configuration exists @@ -644,6 +644,13 @@ can also be displayed by if the .BR pmdaopenmetrics (1) component is configured. +.LP +The configuration for both +.B htop +and +.B pcp-htop +is only saved when a clean exit is performed. Sending any signal will cause +.I all configuration changes to be lost. .SH "MEMORY SIZES" Memory sizes in .B htop