Module Name: src Committed By: christos Date: Sat Mar 22 16:47:00 UTC 2025
Modified Files: src/bin/csh: csh.1 Log Message: Improve the description of the jobs built-in. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/bin/csh/csh.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/csh/csh.1 diff -u src/bin/csh/csh.1:1.57 src/bin/csh/csh.1:1.58 --- src/bin/csh/csh.1:1.57 Sun Aug 28 06:48:15 2022 +++ src/bin/csh/csh.1 Sat Mar 22 12:47:00 2025 @@ -1,4 +1,4 @@ -.\" $NetBSD: csh.1,v 1.57 2022/08/28 10:48:15 hgutch Exp $ +.\" $NetBSD: csh.1,v 1.58 2025/03/22 16:47:00 christos Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)csh.1 8.2 (Berkeley) 1/21/94 .\" -.Dd September 11, 2021 +.Dd March 22, 2025 .Dt CSH 1 .Os .Sh NAME @@ -1336,14 +1336,15 @@ must appear alone on its input line or a .Ic else . ) .Pp .It Ic jobs -.It Ic jobs Fl lZ -Lists the active jobs; the -.Fl l -option lists process id's in addition to the normal information. -The -.Fl Z -option sets the process title using -.Xr setproctitle 3 . +Lists the active jobs. +.It Ic jobs Fl l +Lists process id's in addition to the normal information. +.It Ic jobs -Z Op Ar name +Sets the process command name using +.Xr setproctitle 3 +to +.Ar name . +Without an argument, it restores the process title to the program name. .Pp .It Ic kill % Ns Ar job .It Ic kill Ar pid ...