CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:40:07 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: tvctrl.1 Log Message: Grammar Document history To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man1/man1.x68k/tvctrl.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/tvctrl.1 diff -u src/share/man/man1/man1.x68k/tvctrl.1:1.5 src/share/man/man1/man1.x68k/tvctrl.1:1.6 --- src/share/man/man1/man1.x68k/tvctrl.1:1.5 Sat Apr 21 14:30:19 2001 +++ src/share/man/man1/man1.x68k/tvctrl.1 Sun Sep 1 14:40:07 2019 @@ -1,9 +1,9 @@ -.\" $NetBSD: tvctrl.1,v 1.5 2001/04/21 14:30:19 wiz Exp $ +.\" $NetBSD: tvctrl.1,v 1.6 2019/09/01 14:40:07 sevan Exp $ .\" .\" This software is in the Public Domain. .\" Author: Masaru Oki .\" -.Dd October 30, 1995 +.Dd September 1, 2019 .Dt TVCTRL 1 x68k .Os .Sh NAME @@ -14,6 +14,11 @@ .Ar control_number .Sh DESCRIPTION .Nm tvctrl -is display-TV control program for X680x0. +is a display-TV control program for X680x0. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.4 . .Sh BUGS Errors are not checked.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:40:07 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: tvctrl.1 Log Message: Grammar Document history To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man1/man1.x68k/tvctrl.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:34:54 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: palette.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man1/man1.x68k/palette.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/palette.1 diff -u src/share/man/man1/man1.x68k/palette.1:1.6 src/share/man/man1/man1.x68k/palette.1:1.7 --- src/share/man/man1/man1.x68k/palette.1:1.6 Sat Apr 21 14:30:18 2001 +++ src/share/man/man1/man1.x68k/palette.1 Sun Sep 1 14:34:54 2019 @@ -1,9 +1,9 @@ -.\" $NetBSD: palette.1,v 1.6 2001/04/21 14:30:18 wiz Exp $ +.\" $NetBSD: palette.1,v 1.7 2019/09/01 14:34:54 sevan Exp $ .\" .\" This software is in the Public Domain. .\" Author: Masaru Oki .\" -.Dd March 5, 1995 +.Dd September 1, 2019 .Dt PALETTE 1 x68k .Os .Sh NAME @@ -41,5 +41,10 @@ Each part of the console corresponds to If no arguments are supplied, .Nm resets the colormap to the default. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.4 . .Sh BUGS Quite a few.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:34:54 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: palette.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man1/man1.x68k/palette.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:32:04 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: loadkmap.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man1/man1.x68k/loadkmap.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:32:04 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: loadkmap.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man1/man1.x68k/loadkmap.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/loadkmap.1 diff -u src/share/man/man1/man1.x68k/loadkmap.1:1.6 src/share/man/man1/man1.x68k/loadkmap.1:1.7 --- src/share/man/man1/man1.x68k/loadkmap.1:1.6 Sat Apr 21 14:30:18 2001 +++ src/share/man/man1/man1.x68k/loadkmap.1 Sun Sep 1 14:32:04 2019 @@ -1,9 +1,9 @@ -.\" $NetBSD: loadkmap.1,v 1.6 2001/04/21 14:30:18 wiz Exp $ +.\" $NetBSD: loadkmap.1,v 1.7 2019/09/01 14:32:04 sevan Exp $ .\" .\" This software is in the Public Domain. .\" Author: Masaru Oki .\" -.Dd May 5, 1995 +.Dd September 1, 2019 .Dt LOADKMAP 1 x68k .Os .Sh NAME @@ -17,3 +17,8 @@ command reads .Ar keymapfile and replaces the x68k console keyboard map. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.4 .
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:26:28 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: bellctrl.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/share/man/man1/man1.x68k/bellctrl.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/bellctrl.1 diff -u src/share/man/man1/man1.x68k/bellctrl.1:1.16 src/share/man/man1/man1.x68k/bellctrl.1:1.17 --- src/share/man/man1/man1.x68k/bellctrl.1:1.16 Sun Sep 1 13:39:07 2019 +++ src/share/man/man1/man1.x68k/bellctrl.1 Sun Sep 1 14:26:28 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: bellctrl.1,v 1.16 2019/09/01 13:39:07 sevan Exp $ +.\" $NetBSD: bellctrl.1,v 1.17 2019/09/01 14:26:28 sevan Exp $ .\" .\" Copyright (c) 1995 Takuya Harakawa. .\" All rights reserved. @@ -74,6 +74,11 @@ The option sets the voice parameter to given voice parameter file ( .Ar voicefile ) . .El +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.3 . .Sh AUTHORS .Nm was written by
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:26:28 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: bellctrl.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/share/man/man1/man1.x68k/bellctrl.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:22:12 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: loadfont.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/share/man/man1/man1.x68k/loadfont.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/loadfont.1 diff -u src/share/man/man1/man1.x68k/loadfont.1:1.9 src/share/man/man1/man1.x68k/loadfont.1:1.10 --- src/share/man/man1/man1.x68k/loadfont.1:1.9 Tue Jan 15 14:20:55 2002 +++ src/share/man/man1/man1.x68k/loadfont.1 Sun Sep 1 14:22:12 2019 @@ -1,9 +1,9 @@ -.\" $NetBSD: loadfont.1,v 1.9 2002/01/15 14:20:55 wiz Exp $ +.\" $NetBSD: loadfont.1,v 1.10 2019/09/01 14:22:12 sevan Exp $ .\" .\" This software is in the Public Domain. .\" Author: Masaru Oki .\" -.Dd May 5, 1995 +.Dd September 1, 2019 .Dt LOADFONT 1 x68k .Os .Sh NAME @@ -25,6 +25,11 @@ format is compatible with that of .Tn Human68k .Sq IOCS font. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.3 . .Sh BUGS Replacing kanji fonts is not supported, because current
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 14:22:12 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: loadfont.1 Log Message: Document history To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/share/man/man1/man1.x68k/loadfont.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 13:39:07 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: bellctrl.1 Log Message: spelling and grammar To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/share/man/man1/man1.x68k/bellctrl.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/bellctrl.1 diff -u src/share/man/man1/man1.x68k/bellctrl.1:1.15 src/share/man/man1/man1.x68k/bellctrl.1:1.16 --- src/share/man/man1/man1.x68k/bellctrl.1:1.15 Tue Jul 4 06:34:03 2017 +++ src/share/man/man1/man1.x68k/bellctrl.1 Sun Sep 1 13:39:07 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: bellctrl.1,v 1.15 2017/07/04 06:34:03 wiz Exp $ +.\" $NetBSD: bellctrl.1,v 1.16 2019/09/01 13:39:07 sevan Exp $ .\" .\" Copyright (c) 1995 Takuya Harakawa. .\" All rights reserved. @@ -33,7 +33,7 @@ .\" .\" from: @(#)bellctrl.1 6.19 (Berkeley) 7/27/91 .\" -.Dd December 15, 1995 +.Dd September 1, 2019 .Dt BELLCTRL 1 x68k .Os .Sh NAME @@ -55,12 +55,13 @@ The options are as follows: .It Fl b The b option controls bell volume, pitch and duration. This option accepts up to three numerical parameters, a preceding -dash(-), or a 'on/off' flag. If no parameters are given, -or the 'on' flag is used, the system defaults will be used. +dash(-), or an 'on/off' flag. +If no parameters are given, or the 'on' flag is used, the system defaults will +be used. If the dash or 'off' are given, the bell will be turned off. If only one numerical parameter is given, the bell volume will be set to that value, as a percentage of its maximum. -Like wise, the second numerical parameter specifies the bell pitch, +Likewise, the second numerical parameter specifies the bell pitch, in hertz, and the third numerical parameter specifies the duration in milliseconds. .It Sy v Ar default
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 13:30:55 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: aout2hux.1 Log Message: Improve readability To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man1/man1.x68k/aout2hux.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.x68k/aout2hux.1 diff -u src/share/man/man1/man1.x68k/aout2hux.1:1.5 src/share/man/man1/man1.x68k/aout2hux.1:1.6 --- src/share/man/man1/man1.x68k/aout2hux.1:1.5 Tue Sep 11 00:36:57 2001 +++ src/share/man/man1/man1.x68k/aout2hux.1 Sun Sep 1 13:30:54 2019 @@ -1,5 +1,5 @@ -.\" $NetBSD: aout2hux.1,v 1.5 2001/09/11 00:36:57 wiz Exp $ -.Dd August 13, 1998 +.\" $NetBSD: aout2hux.1,v 1.6 2019/09/01 13:30:54 sevan Exp $ +.Dd September 1, 2019 .Dt AOUT2HUX 1 x68k .Os .Sh NAME @@ -18,7 +18,7 @@ reads two .Xr a.out 5 or ELF format executables with different load addresses -and generate Human68k +and generates a Human68k .Sq Li \&.x format executable. .Pp @@ -28,19 +28,21 @@ If the input files are a.out, they must .Dv NMAGIC m68k executables. If the input files are ELF, they must be static m68k executables. -Two input executables must be created from the same objects, -and have different loading addresses. -Each of the load address is specified by a hexadecimal number. -Load address shall be multiple of 4 for +The two input executables must be created from the same objects, +but use different load addresses. +The load address is specified as a hexadecimal number. +Load addresses are a multiple of 4 for .Xr as 1 and .Xr ld 1 -of +from .Nx Ns Tn /m68k . .Pp -If the output file is not specified by +If +.Ar output_file +is not specified with the .Fl o -option, the name +option, the default name .Pa out.x is used. .Sh FILES @@ -75,5 +77,5 @@ utility first appeared in .Sh BUGS Symbol and debugging information is not converted. .Pp -The generated executable is not so effective as that of +The generated executable is not as effective as that of Human68k native compiler.
CVS commit: src/share/man/man1/man1.x68k
Module Name:src Committed By: sevan Date: Sun Sep 1 13:30:55 UTC 2019 Modified Files: src/share/man/man1/man1.x68k: aout2hux.1 Log Message: Improve readability To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man1/man1.x68k/aout2hux.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.atari
Module Name:src Committed By: sevan Date: Sun Sep 1 12:56:14 UTC 2019 Modified Files: src/share/man/man1/man1.atari: msconfig.1 Log Message: new sentence, new line To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man1/man1.atari/msconfig.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.atari
Module Name:src Committed By: sevan Date: Sun Sep 1 12:56:14 UTC 2019 Modified Files: src/share/man/man1/man1.atari: msconfig.1 Log Message: new sentence, new line To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man1/man1.atari/msconfig.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.atari/msconfig.1 diff -u src/share/man/man1/man1.atari/msconfig.1:1.8 src/share/man/man1/man1.atari/msconfig.1:1.9 --- src/share/man/man1/man1.atari/msconfig.1:1.8 Fri May 14 21:24:12 2010 +++ src/share/man/man1/man1.atari/msconfig.1 Sun Sep 1 12:56:14 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: msconfig.1,v 1.8 2010/05/14 21:24:12 joerg Exp $ +.\" $NetBSD: msconfig.1,v 1.9 2019/09/01 12:56:14 sevan Exp $ .\" .\" Copyright (c) 1996 Leo Weppelman .\" All rights reserved. @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd November 5, 1996 +.Dd September 1, 2019 .Dt MSCONFIG 1 atari .Os .Sh NAME @@ -51,8 +51,9 @@ This can be overridden by means of the option. .Pp When the emulation is turned on, a middle-button event can be generated -by simultaneously pressing the left and right buttons. When turned off, a -middle-button event is generated by pushing the fire-button of joystick1. +by simultaneously pressing the left and right buttons. +When turned off, a middle-button event is generated by pushing the fire-button +of joystick1. Note that you'll need a special type of mouse to use this. .Sh HISTORY The
CVS commit: src/share/man/man1/man1.atari
Module Name:src Committed By: sevan Date: Sun Sep 1 12:50:22 UTC 2019 Modified Files: src/share/man/man1/man1.atari: edahdi.1 Log Message: grammar address warnings from mandoc -Tlint while here. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/share/man/man1/man1.atari/edahdi.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1/man1.atari
Module Name:src Committed By: sevan Date: Sun Sep 1 12:50:22 UTC 2019 Modified Files: src/share/man/man1/man1.atari: edahdi.1 Log Message: grammar address warnings from mandoc -Tlint while here. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/share/man/man1/man1.atari/edahdi.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/man1.atari/edahdi.1 diff -u src/share/man/man1/man1.atari/edahdi.1:1.11 src/share/man/man1/man1.atari/edahdi.1:1.12 --- src/share/man/man1/man1.atari/edahdi.1:1.11 Tue Oct 20 19:10:10 2009 +++ src/share/man/man1/man1.atari/edahdi.1 Sun Sep 1 12:50:22 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: edahdi.1,v 1.11 2009/10/20 19:10:10 snj Exp $ +.\" $NetBSD: edahdi.1,v 1.12 2019/09/01 12:50:22 sevan Exp $ .\" .\" Copyright (c) 1996 Leo Weppelman .\" All rights reserved. @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 16, 1996 +.Dd September 1, 2019 .Dt EDAHDI 1 atari .Os .Sh NAME @@ -35,16 +35,16 @@ .Sh DESCRIPTION .Nm allows you to modify the partition identifiers on a disk partitioned with -AHDI or an AHDI compatible formatter. An AHDI partition format is usually -only present on disks shared between +AHDI or an AHDI compatible formatter. +An AHDI partition format is usually only present on disks shared between .Nx -and some other OS. The partition identifiers are used by +and some other OS. +The partition identifiers are used by .Nx as a guideline to emulate a disklabel on such a disk. .Pp .Nm supports the following options: -.Pp .Bl -tag -width device .It Ar device The name of the raw device you want to edit. @@ -52,13 +52,12 @@ The name of the raw device you want to e .Pp The following partition identifiers are recognized by .Nx : -.Pp .Bl -tag -width "GEM or BGM" -compact .It NBD Partition is reserved for .Nx . -This can be either a root or an user partition. The first NBD -partition on a disk will be mapped to partition +This can be either a root or an user partition. +The first NBD partition on a disk will be mapped to partition .Em a in .Nx . @@ -72,7 +71,8 @@ The first SWP partition is mapped to par .It GEM or BGM These partitions are mapped from .Em d -up. The filesystem type is msdos. +up. +The filesystem type is msdos. .It NBR .Nx root partition (deprecated). @@ -84,8 +84,7 @@ user partition (deprecated). swap partition (deprecated). .El .Sh EXAMPLES -Say, you have a disk with that is partitioned like: -.Pp +Say, you have a disk that is partitioned like: .Bl -column Number Id .It Sy "Number" Ta Sy "Id" .It 1 Ta GEM @@ -97,7 +96,6 @@ Say, you have a disk with that is partit This partitioning will show up in .Nx as (Number refers to the first table): -.Pp .Bl -column "c (whole disk)" "Fstype" "Number" .It Sy Partition Ta Sy Fstype Ta Sy Number .It c (whole disk) Ta unused Ta "" @@ -107,10 +105,10 @@ as (Number refers to the first table): .It g (user part) Ta MSDOS Ta 4 .El .Pp -Now you decide to change the id of partition 2 and 3 to NBD. Now +Now you decide to change the id of partition 2 and 3 to NBD. +Now .Nx will show the partitioning as (Number refers to the first table): -.Pp .Bl -column "c (whole disk)" "Fstype" "Number" .It Sy Partition Ta Sy Fstype Ta Sy Number .It a (root) Ta 4.2BSD Ta 2 @@ -121,7 +119,8 @@ will show the partitioning as (Number re .El .Pp You will notice that the order of the partitions has changed! You will have -to watchout for this. It is a consequence of +to watchout for this. +It is a consequence of .Nx habit of assigning a predefined meaning to the partitions .Em a/b @@ -138,10 +137,11 @@ command first appeared in .Sh BUGS The changes made to the AHDI partitions will become active on the next .Em first open -of the device. You are advised to use +of the device. +You are advised to use .Nm -only on a device without any mounted or otherwise active partitions. This -is not enforced by +only on a device without any mounted or otherwise active partitions. +This is not enforced by .Nm . This is particularly confusing when your change caused partitions to shift, as shown in the example above.
CVS commit: src/share/man/man1
Module Name:src Committed By: uwe Date: Sat Aug 31 21:35:50 UTC 2019 Modified Files: src/share/man/man1: cd.1 Log Message: Move the text that explains that cd(1) is a shell built-in to the very beginning of the description where it can be seen prominently. Improve formatting. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/share/man/man1/cd.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1
Module Name:src Committed By: uwe Date: Sat Aug 31 21:35:50 UTC 2019 Modified Files: src/share/man/man1: cd.1 Log Message: Move the text that explains that cd(1) is a shell built-in to the very beginning of the description where it can be seen prominently. Improve formatting. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/share/man/man1/cd.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/cd.1 diff -u src/share/man/man1/cd.1:1.9 src/share/man/man1/cd.1:1.10 --- src/share/man/man1/cd.1:1.9 Sat Aug 31 17:34:46 2019 +++ src/share/man/man1/cd.1 Sat Aug 31 21:35:50 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: cd.1,v 1.9 2019/08/31 17:34:46 sevan Exp $ +.\" $NetBSD: cd.1,v 1.10 2019/08/31 21:35:50 uwe Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,24 +40,42 @@ .Nd change working directory .Sh SYNOPSIS .Nm cd -.Ar directory +.Op Ar directory .Sh DESCRIPTION -.Ar Directory -is an absolute or relative pathname which becomes the new working -directory. -The interpretation of a relative pathname by cd depends on the +Since +.Nm +affects the current shell execution environment, it is always provided +as a shell regular built-in. +For more information consult the manual page for the shell in use. +.Pp +The +.Ar directory +operand is an absolute or relative pathname which becomes the new +working directory. +The interpretation of a relative pathname by +.Nm +depends on the .Ev CDPATH environment variable (see below). .Sh ENVIRONMENT -The following environment variables affect the execution of cd: -.Bl -tag -width indent +The following environment variables affect the execution of +.Nm : +.Bl -tag -width Ev .It Ev CDPATH +A colon-separated list of pathnames that refer to directories. If the .Ar directory -operand does not begin with a slash (/) character, and the first -component is not dot (.) or dot-dot (..), -.Nm cd -searches for the directory relative to each directory named in the +operand does not begin with a slash +.Pq Ql \&/ +character, and the first +component is not dot +.Pq Ql \&. +or dot-dot +.Pq Ql \&.. , +.Nm +searches for the +.Ar directory +relative to each directory named in the .Ev CDPATH variable, in the order listed. The new working directory is set to the first matching directory found. @@ -75,13 +93,11 @@ environment variable exists and contains becomes the new working directory. .It Ev OLDPWD Set to the previous working directory after a directory change. -Unsupported by +Not supported by .Xr csh 1 . .It Ev PWD Set to the current working directory. .El -.Pp -For more information on environment variables consult manual for shell in use. .Sh EXIT STATUS .Ex -std cd .Sh SEE ALSO
CVS commit: src/share/man/man1
Module Name:src Committed By: sevan Date: Sat Aug 31 17:34:46 UTC 2019 Modified Files: src/share/man/man1: cd.1 Log Message: Direct reader to shell documentation generally, rather than csh(1) specifically. Mention variables OLDPWD and PWD. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man1/cd.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man1
Module Name:src Committed By: sevan Date: Sat Aug 31 17:34:46 UTC 2019 Modified Files: src/share/man/man1: cd.1 Log Message: Direct reader to shell documentation generally, rather than csh(1) specifically. Mention variables OLDPWD and PWD. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man1/cd.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man1/cd.1 diff -u src/share/man/man1/cd.1:1.8 src/share/man/man1/cd.1:1.9 --- src/share/man/man1/cd.1:1.8 Tue Jul 4 06:33:13 2017 +++ src/share/man/man1/cd.1 Sat Aug 31 17:34:46 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: cd.1,v 1.8 2017/07/04 06:33:13 wiz Exp $ +.\" $NetBSD: cd.1,v 1.9 2019/08/31 17:34:46 sevan Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)cd.1 8.1 (Berkeley) 6/5/93 .\" -.Dd June 5, 1993 +.Dd August 31, 2019 .Dt CD 1 .Os .Sh NAME @@ -73,15 +73,20 @@ is invoked without arguments and the .Ev HOME environment variable exists and contains a directory name, that directory becomes the new working directory. +.It Ev OLDPWD +Set to the previous working directory after a directory change. +Unsupported by +.Xr csh 1 . +.It Ev PWD +Set to the current working directory. .El .Pp -See -.Xr csh 1 -for more information on environment variables. +For more information on environment variables consult manual for shell in use. .Sh EXIT STATUS .Ex -std cd .Sh SEE ALSO .Xr csh 1 , +.Xr ksh 1 , .Xr pwd 1 , .Xr sh 1 , .Xr chdir 2