aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2026-02-17 17:22:26 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2026-02-17 17:28:25 +0000
commit960719762f0a1f6689ec58bc6d8ce21c4daa9096 (patch)
tree26dff033a83e40c0757648c2cca57de8c585fbc8
parent4c247f120492d999ac90efcfc73e5fea29206d1f (diff)
trimdomain.3: Explain DISPLAY a bit more
MFC after: 3 days Reported by: jrtc27 Reviewed by: des Differential Revision: https://reviews.freebsd.org/D54629
-rw-r--r--lib/libutil/trimdomain.312
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/libutil/trimdomain.3 b/lib/libutil/trimdomain.3
index 0e65a864936c..114d8d139869 100644
--- a/lib/libutil/trimdomain.3
+++ b/lib/libutil/trimdomain.3
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 7, 1999
+.Dd February 17, 2025
.Dt TRIMDOMAIN 3
.Os
.Sh NAME
@@ -60,20 +60,18 @@ name does not exceed
.Pp
If the passed
.Ar fullname
-is actually a
-.Dv DISPLAY
+is actually an X11
+.Ev DISPLAY
specification of the form
.Sm off
-.Ar host . domain : nn Oo .
-.Ar nn
-.Oc
+.Ar host . Ar domain : Ar display Op . screen ,
.Sm on
and the domain name is the same as the local domain name,
.Fn trimdomain
will remove the embedded domain name, copying the screen and display
numbers to the end of the base host name and resulting in
.Sm off
-.Ar host : nn Op . Ar nn .
+.Ar host : display Op . Ar screen .
.Sm on
.Sh RETURN VALUES
The