diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-02-11 18:43:53 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-02-11 18:43:53 +0000 |
commit | 08be39f5bb2c3749f037ee6a116aec7656b0460b (patch) | |
tree | 94d8c274d8fb74b16780ae5b6e401c511d9f84d5 | |
parent | 11661b37fd11040c9eb7ea938591fd8c371e7c9c (diff) |
Initial patch.
When you give command examples in a manual page prefix them with
$ command
or
# command
deraadt@ ok
-rw-r--r-- | bin/cat/cat.1 | 8 | ||||
-rw-r--r-- | bin/chio/chio.1 | 6 | ||||
-rw-r--r-- | bin/chmod/chmod.1 | 22 | ||||
-rw-r--r-- | bin/cp/cp.1 | 8 | ||||
-rw-r--r-- | bin/date/date.1 | 4 | ||||
-rw-r--r-- | bin/dd/dd.1 | 4 | ||||
-rw-r--r-- | bin/df/df.1 | 4 | ||||
-rw-r--r-- | bin/kill/kill.1 | 6 | ||||
-rw-r--r-- | bin/ln/ln.1 | 8 | ||||
-rw-r--r-- | bin/ls/ls.1 | 8 | ||||
-rw-r--r-- | bin/mkdir/mkdir.1 | 8 | ||||
-rw-r--r-- | bin/mv/mv.1 | 11 | ||||
-rw-r--r-- | bin/pax/pax.1 | 16 | ||||
-rw-r--r-- | bin/ps/ps.1 | 4 | ||||
-rw-r--r-- | bin/rm/rm.1 | 9 | ||||
-rw-r--r-- | bin/rmdir/rmdir.1 | 6 | ||||
-rw-r--r-- | sbin/atactl/atactl.8 | 6 | ||||
-rw-r--r-- | sbin/dump/dump.8 | 4 | ||||
-rw-r--r-- | sbin/lmccontrol/lmccontrol.8 | 4 | ||||
-rw-r--r-- | sbin/mount/mount.8 | 14 | ||||
-rw-r--r-- | sbin/mount_null/mount_null.8 | 4 | ||||
-rw-r--r-- | sbin/mount_tcfs/mount_tcfs.8 | 4 | ||||
-rw-r--r-- | sbin/mount_union/mount_union.8 | 8 | ||||
-rw-r--r-- | sbin/pfctl/pfctl.8 | 10 | ||||
-rw-r--r-- | sbin/raidctl/raidctl.8 | 58 | ||||
-rw-r--r-- | sbin/restore/restore.8 | 11 | ||||
-rw-r--r-- | sbin/scsi/scsi.8 | 8 | ||||
-rw-r--r-- | sbin/slattach/slattach.8 | 10 | ||||
-rw-r--r-- | sbin/sysctl/sysctl.8 | 22 | ||||
-rw-r--r-- | sbin/umount/umount.8 | 4 | ||||
-rw-r--r-- | sbin/wsconsctl/wsconsctl.8 | 16 |
31 files changed, 159 insertions, 156 deletions
diff --git a/bin/cat/cat.1 b/bin/cat/cat.1 index 962a591116a..0c9aaddb92e 100644 --- a/bin/cat/cat.1 +++ b/bin/cat/cat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cat.1,v 1.20 2000/10/18 06:55:06 aaron Exp $ +.\" $OpenBSD: cat.1,v 1.21 2002/02/11 18:43:50 mpech Exp $ .\" $NetBSD: cat.1,v 1.12 1995/09/27 05:38:55 cgd Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -109,13 +109,13 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm cat file1 +.Cm $ cat file1 .Pp Print the contents of .Ar file1 to the standard output. .Pp -.Cm cat file1 file2 > file3 +.Cm $ cat file1 file2 > file3 .Pp Sequentially print the contents of .Ar file1 @@ -130,7 +130,7 @@ See the manual page for your shell (i.e., .Xr sh 1 ) for more information on redirection. .Pp -.Cm cat file1 - file2 - file3 +.Cm $ cat file1 - file2 - file3 .Pp Print the contents of .Ar file1 , diff --git a/bin/chio/chio.1 b/bin/chio/chio.1 index 6646e8124bd..31c408ced85 100644 --- a/bin/chio/chio.1 +++ b/bin/chio/chio.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chio.1,v 1.17 2001/08/26 17:51:29 deraadt Exp $ +.\" $OpenBSD: chio.1,v 1.18 2002/02/11 18:43:50 mpech Exp $ .\" $NetBSD: chio.1,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ .\" .\" Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com> @@ -197,11 +197,11 @@ Element supports passing media (exporting) to an outside human operator. Element supports receiving media (importing) from an outside human operator. .El .Sh EXAMPLES -.Cm chio move slot 3 drive 0 +.Cm # chio move slot 3 drive 0 .Pp Moves the media in slot 3 (fourth slot) to drive 0 (first drive). .Pp -.Cm chio setpicker 2 +.Cm # chio setpicker 2 .Pp Configures the changer to use picker 2 (third picker) for operations. .Sh FILES diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1 index 5310f98d4fc..44d697271c0 100644 --- a/bin/chmod/chmod.1 +++ b/bin/chmod/chmod.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chmod.1,v 1.22 2001/02/15 19:18:13 aaron Exp $ +.\" $OpenBSD: chmod.1,v 1.23 2002/02/11 18:43:50 mpech Exp $ .\" $NetBSD: chmod.1,v 1.8 1995/03/21 09:02:07 cgd Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 @@ -328,36 +328,38 @@ or .Sq t , are ignored. .Sh EXAMPLES -.Cm chmod 644 file +.Cm $ chmod 644 file .Pp Set file readable by anyone and writable by the owner only. .Pp -.Cm chmod go-w file +.Cm $ chmod go-w file .Pp Deny write permission to group and others. .Pp -.Cm chmod =rw,+X file +.Cm $ chmod =rw,+X file .Pp Set the read and write permissions to the usual defaults, but retain any execute permissions that are currently set. .Pp -.Cm chmod +X file +.Cm $ chmod +X file .Pp Make a directory or file searchable/executable by everyone if it is already searchable/executable by anyone. .Pp -.Cm chmod 755 file , -.Cm chmod u=rwx,go=rx file , -.Cm chmod u=rwx,go=u-w file +.Cm $ chmod 755 file +.br +.Cm $ chmod u=rwx,go=rx file +.br +.Cm $ chmod u=rwx,go=u-w file .Pp Any of these commands will make a file readable/executable by everyone and writable by the owner only. .Pp -.Cm chmod go= file +.Cm $ chmod go= file .Pp Clear all mode bits for group and others. .Pp -.Cm chmod g=u-w file +.Cm $ chmod g=u-w file .Pp Set the group bits equal to the user bits, but clear the group write bit. .Sh SEE ALSO diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index 8882bce56c8..2dfef10d4e1 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cp.1,v 1.18 2000/11/10 13:03:00 aaron Exp $ +.\" $OpenBSD: cp.1,v 1.19 2002/02/11 18:43:50 mpech Exp $ .\" $NetBSD: cp.1,v 1.9 1995/07/25 19:36:45 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 @@ -185,20 +185,20 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm cp foo bar +.Cm $ cp foo bar .Pp Make a copy of file .Pa foo named .Pa bar . .Pp -.Cm cp *.txt /tmp +.Cm $ cp *.txt /tmp .Pp Copy a group of files to the .Pa /tmp directory. .Pp -.Cm cp -R junk /tmp +.Cm $ cp -R junk /tmp .Pp Copy the directory .Pa junk diff --git a/bin/date/date.1 b/bin/date/date.1 index ff8f976345b..ba5cc29583d 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: date.1,v 1.32 2001/12/02 02:02:25 deraadt Exp $ +.\" $OpenBSD: date.1,v 1.33 2002/02/11 18:43:50 mpech Exp $ .\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -156,7 +156,7 @@ Everything but the minute is optional. Time changes for Daylight Saving Time, standard time, leap seconds, and leap years are handled automatically. .Sh EXAMPLES -.Cm date \&"+DATE: %Y-%m-%d%nTIME: %H:%M:%S\&" +.Cm $ date \&"+DATE: %Y-%m-%d%nTIME: %H:%M:%S\&" .Pp Displays .Bd -literal -offset indent diff --git a/bin/dd/dd.1 b/bin/dd/dd.1 index 9f358137f7b..caa6c4a17b6 100644 --- a/bin/dd/dd.1 +++ b/bin/dd/dd.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dd.1,v 1.11 2000/10/18 06:55:07 aaron Exp $ +.\" $OpenBSD: dd.1,v 1.12 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: dd.1,v 1.5 1995/03/21 09:04:04 cgd Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -342,7 +342,7 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm dd if=floppy28.fs of=/dev/fd0a +.Cm # dd if=floppy28.fs of=/dev/fd0a .Pp Write an .Ox diff --git a/bin/df/df.1 b/bin/df/df.1 index 43279728b7b..4b08f0140dd 100644 --- a/bin/df/df.1 +++ b/bin/df/df.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: df.1,v 1.26 2002/01/24 20:33:45 mickey Exp $ +.\" $OpenBSD: df.1,v 1.27 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: df.1,v 1.12 1995/12/05 02:42:45 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -115,7 +115,7 @@ the specified type, a warning is issued and no information is given on that file system. .El .Sh EXAMPLES -.Cm df -kP /usr +.Cm $ df -kP /usr .Pp Output, in a strict format suitable for portable scripts, disk space statistics for the diff --git a/bin/kill/kill.1 b/bin/kill/kill.1 index db32b0a6ffe..f63f0e655d0 100644 --- a/bin/kill/kill.1 +++ b/bin/kill/kill.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kill.1,v 1.18 2002/01/24 21:37:41 mickey Exp $ +.\" $OpenBSD: kill.1,v 1.19 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: kill.1,v 1.8 1995/09/07 06:30:26 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -137,11 +137,11 @@ See .Xr csh 1 for details. .Sh EXAMPLES -.Cm kill -9 1234 +.Cm $ kill -9 1234 .Pp Forcibly terminate process ID 1234. .Pp -.Cm kill -HUP `cat /var/run/inetd.pid` +.Cm # kill -HUP `cat /var/run/inetd.pid` .Pp Send the .Xr inetd 8 diff --git a/bin/ln/ln.1 b/bin/ln/ln.1 index 3cbda6bf9e4..58533a4ada0 100644 --- a/bin/ln/ln.1 +++ b/bin/ln/ln.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ln.1,v 1.16 2002/01/24 20:33:45 mickey Exp $ +.\" $OpenBSD: ln.1,v 1.17 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: ln.1,v 1.10 1995/07/25 19:37:04 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -127,14 +127,14 @@ makes links in to all the named source files. The links made will have the same name as the files being linked to. .Sh EXAMPLES -.Cm ln -s /var/www /home/www +.Cm # ln -s /var/www /home/www .Pp Creates a symbolic link named .Pa /home/www and points it to .Pa /var/www . .Pp -.Cm ln /usr/local/bin/fooprog-1.0 /usr/local/bin/fooprog +.Cm # ln /usr/local/bin/fooprog-1.0 /usr/local/bin/fooprog .Pp Hard link .Pa /usr/local/bin/fooprog @@ -159,7 +159,7 @@ may be invoked from shell scripts, for example, using the .Cm "if [ ]" construct. .Pp -.Cm "mkdir bar baz; ln -s bar foo; ln -shf baz foo" +.Cm "$ mkdir bar baz; ln -s bar foo; ln -shf baz foo" .Pp The second call to .Nm diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 7ffcacbd101..9e3e9bb194c 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ls.1,v 1.32 2002/01/24 20:33:45 mickey Exp $ +.\" $OpenBSD: ls.1,v 1.33 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 @@ -394,18 +394,18 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm ls -l +.Cm $ ls -l .Pp List the contents of the current working directory in long format. .Pp -.Cm ls -lioF +.Cm $ ls -lioF .Pp In addition to listing the contents of the current working directory in long format, show inode numbers, file flags (see .Xr chflags 1 ) , and suffix each filename with a symbol representing its file type. .Pp -.Cm ls -lt /var/log +.Cm $ ls -lt /var/log .Pp List the files in .Pa /var/log , diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1 index e1819ecd6f0..df6e01bf0bf 100644 --- a/bin/mkdir/mkdir.1 +++ b/bin/mkdir/mkdir.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mkdir.1,v 1.15 2000/11/09 17:51:56 aaron Exp $ +.\" $OpenBSD: mkdir.1,v 1.16 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: mkdir.1,v 1.9 1995/07/25 19:37:13 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -90,18 +90,18 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm mkdir foobar +.Cm $ mkdir foobar .Pp Create a directory named .Pa foobar . .Pp -.Cm mkdir -m 700 foobar +.Cm $ mkdir -m 700 foobar .Pp Create a directory named .Pa foobar and set its file mode to 700. .Pp -.Cm mkdir -p cow/horse/monkey +.Cm $ mkdir -p cow/horse/monkey .Pp Create a directory named .Pa cow/horse/monkey , diff --git a/bin/mv/mv.1 b/bin/mv/mv.1 index 3518c695e50..0953ab5af8d 100644 --- a/bin/mv/mv.1 +++ b/bin/mv/mv.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mv.1,v 1.14 2001/12/21 11:41:49 mpech Exp $ +.\" $OpenBSD: mv.1,v 1.15 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: mv.1,v 1.8 1995/03/21 09:06:51 cgd Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -116,7 +116,7 @@ and to accomplish the move. The effect is equivalent to: .Bd -literal -offset indent -rm -f destination_path && \e +$ rm -f destination_path && \e \tcp -pr source_file destination && \e \trm -rf source_file .Ed @@ -125,7 +125,7 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm mv -f foo bar +.Cm $ mv -f foo bar .Pp Rename file .Pa foo @@ -135,8 +135,9 @@ overwriting .Pa bar if it already exists. .Pp -.Cm mv -i -- -f bar , -.Cm mv -i ./-f bar +.Cm $ mv -i -- -f bar +.br +.Cm $ mv -i ./-f bar .Pp Either of these commands will rename the file .Pa -f diff --git a/bin/pax/pax.1 b/bin/pax/pax.1 index 786ae2e793a..335059c3cfa 100644 --- a/bin/pax/pax.1 +++ b/bin/pax/pax.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pax.1,v 1.30 2002/01/16 18:16:56 marc Exp $ +.\" $OpenBSD: pax.1,v 1.31 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $ .\" .\" Copyright (c) 1992 Keith Muller. @@ -1047,17 +1047,17 @@ options are specified along with the option, a file is not considered selected unless it is newer than the file to which it is compared. .Sh EXAMPLES -.Cm pax -w -f /dev/rst0 \&. +.Cm $ pax -w -f /dev/rst0 \&. .Pp Copies the contents of the current directory to the device .Pa /dev/rst0 . .Pp -.Cm pax -v -f filename +.Cm $ pax -v -f filename .Pp Gives the verbose table of contents for an archive stored in .Pa filename . .Pp -.Cm mkdir newdir ; +.Cm $ mkdir newdir ; .Cm cd olddir ; .Cm pax -rw \&. newdir .Pp @@ -1066,7 +1066,7 @@ This sequence of commands will copy the entire directory hierarchy to .Pa newdir . .Pp -.Cm pax -r -s ',^//*usr//*,,' -f a.pax +.Cm $ pax -r -s ',^//*usr//*,,' -f a.pax .Pp Reads the archive .Pa a.pax , @@ -1074,13 +1074,13 @@ with all files rooted in .Pa /usr into the archive extracted relative to the current directory. .Pp -.Cm pax -rw -i \&. dest_dir +.Cm $ pax -rw -i \&. dest_dir .Pp Can be used to interactively select the files to copy from the current directory to .Pa dest_dir . .Pp -.Cm pax -r -pe -U root -G bin -f a.pax +.Cm $ pax -r -pe -U root -G bin -f a.pax .Pp Extract all files from the archive .Pa a.pax @@ -1090,7 +1090,7 @@ with group .Em bin and preserve all file permissions. .Pp -.Cm "pax -r -w -v -Y -Z home /backup" +.Cm "$ pax -r -w -v -Y -Z home /backup" .Pp Update (and list) only those files in the destination directory .Pa /backup diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 1301ff435f1..ab135e59768 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ps.1,v 1.32 2002/01/24 21:37:41 mickey Exp $ +.\" $OpenBSD: ps.1,v 1.33 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 @@ -513,7 +513,7 @@ wait channel (as a symbolic name) exit or stop status (valid only for stopped or zombie process) .El .Sh EXAMPLES -.Cm ps -auxw +.Cm $ ps -auxw .Pp Display information on all system processes. .Sh FILES diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index 6ef60dd6b05..40ca2feb5be 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rm.1,v 1.17 2002/01/24 19:21:39 mickey Exp $ +.\" $OpenBSD: rm.1,v 1.18 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 @@ -138,14 +138,15 @@ If an error occurs, .Nm exits with a value >0. .Sh EXAMPLES -.Cm rm -rf foobar +.Cm $ rm -rf foobar .Pp Recursively remove all files contained within the .Pa foobar directory hierarchy. .Pp -.Cm rm -- -f , -.Cm rm ./-f +.Cm $ rm -- -f +.br +.Cm $ rm ./-f .Pp Either of these commands will remove the file .Pa -f . diff --git a/bin/rmdir/rmdir.1 b/bin/rmdir/rmdir.1 index 542f7ea4d90..a0b49232255 100644 --- a/bin/rmdir/rmdir.1 +++ b/bin/rmdir/rmdir.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmdir.1,v 1.12 2001/09/15 01:18:41 millert Exp $ +.\" $OpenBSD: rmdir.1,v 1.13 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: rmdir.1,v 1.10 1995/07/25 19:37:35 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -88,13 +88,13 @@ argument referred to an empty directory and was removed successfully. An error occurred. .El .Sh EXAMPLES -.Cm rmdir foobar +.Cm $ rmdir foobar .Pp Remove the directory .Pa foobar if it is empty. .Pp -.Cm rmdir -p cow/horse/monkey +.Cm $ rmdir -p cow/horse/monkey .Pp Remove all directories up to and including .Pa cow , diff --git a/sbin/atactl/atactl.8 b/sbin/atactl/atactl.8 index bb21552d6d1..c3bdec85d2a 100644 --- a/sbin/atactl/atactl.8 +++ b/sbin/atactl/atactl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atactl.8,v 1.11 2001/12/21 11:41:50 mpech Exp $ +.\" $OpenBSD: atactl.8,v 1.12 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: atactl.8,v 1.5 1999/02/24 18:49:14 jwise Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -283,13 +283,13 @@ The .Xr wd 4 driver performs a cache flush automatically before shutdown. .Sh EXAMPLES -.Cm atactl /dev/wd0c identify +.Cm # atactl /dev/wd0c identify .Pp Displays the vendor, product, revision strings and capabilities (such as support for SMART) as reported by .Pa /dev/wd0 . .Pp -.Cm atactl /dev/wd1c smartenable +.Cm # atactl /dev/wd1c smartenable .Pp Enables the SMART support on .Pa /dev/wd1 diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8 index 0e909fd9db4..96475da882a 100644 --- a/sbin/dump/dump.8 +++ b/sbin/dump/dump.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dump.8,v 1.26 2001/12/13 20:16:48 mpech Exp $ +.\" $OpenBSD: dump.8,v 1.27 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -318,7 +318,7 @@ to minimize the number of tapes follows: .It Always start with a level 0 backup, for example: .Bd -literal -offset indent -/sbin/dump -0u -f /dev/nrst1 /usr/src +# /sbin/dump -0u -f /dev/nrst1 /usr/src .Ed .Pp This should be done at set intervals, say once a month or once every two months, diff --git a/sbin/lmccontrol/lmccontrol.8 b/sbin/lmccontrol/lmccontrol.8 index 1a5d875537b..102c6665ac3 100644 --- a/sbin/lmccontrol/lmccontrol.8 +++ b/sbin/lmccontrol/lmccontrol.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lmccontrol.8,v 1.9 2001/12/21 11:41:50 mpech Exp $ +.\" $OpenBSD: lmccontrol.8,v 1.10 2002/02/11 18:43:51 mpech Exp $ .\" .\" Copyright (c) 1997-1999 LAN Media Corporation (LMC) .\" All rights reserved. www.lanmedia.com @@ -121,7 +121,7 @@ power). To set a SSI card for a speed of 2048000 bits/sec with HDLC keepalive off, one could use: .Bd -unfilled -offset indent -lmccontrol lmc0 -l 2048000 -K +# lmccontrol lmc0 -l 2048000 -K .Ed .Sh SEE ALSO .Xr lmc 4 , diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 0e1f163737b..943bcc0a32a 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.8,v 1.35 2002/01/24 21:32:05 mickey Exp $ +.\" $OpenBSD: mount.8,v 1.36 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -218,14 +218,14 @@ For example, the .Nm command: .Bd -literal -offset indent -mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp +# mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp .Ed .Pp causes .Nm to execute the equivalent of: .Bd -literal -offset indent -/sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp +# /sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp .Ed .It Fl r The file system is to be mounted read-only. @@ -257,7 +257,7 @@ For example, the .Nm command: .Bd -literal -offset indent -mount -a -t nonfs,mfs +# mount -a -t nonfs,mfs .Ed .Pp mounts all filesystems except those of type @@ -308,9 +308,9 @@ Fast File Systems are described in the manual page. .Sh EXAMPLES .Bd -literal -mount -t cd9660 -r /dev/cd0a /mnt/cdrom -mount -t msdos /dev/fd0a /mnt/floppy -mount host:/path/name /mnt/nfs +# mount -t cd9660 -r /dev/cd0a /mnt/cdrom +# mount -t msdos /dev/fd0a /mnt/floppy +# mount host:/path/name /mnt/nfs .Ed .Sh FILES .Bl -tag -width /etc/fstab -compact diff --git a/sbin/mount_null/mount_null.8 b/sbin/mount_null/mount_null.8 index 99eb6bed86e..dbb03b82d48 100644 --- a/sbin/mount_null/mount_null.8 +++ b/sbin/mount_null/mount_null.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount_null.8,v 1.15 2000/11/09 17:53:00 aaron Exp $ +.\" $OpenBSD: mount_null.8,v 1.16 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: mount_null.8,v 1.4 1996/04/10 20:57:19 thorpej Exp $ .\" .\" Copyright (c) 1992, 1993, 1994 @@ -149,7 +149,7 @@ vnode before returning it to the caller. .Pp For example, imagine mounting a null layer with .Bd -literal -offset indent -mount_null /usr/include /dev/layer/null +# mount_null /usr/include /dev/layer/null .Ed .Pp Changing directory to diff --git a/sbin/mount_tcfs/mount_tcfs.8 b/sbin/mount_tcfs/mount_tcfs.8 index 4ac861ff1b9..4cd84786351 100644 --- a/sbin/mount_tcfs/mount_tcfs.8 +++ b/sbin/mount_tcfs/mount_tcfs.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount_tcfs.8,v 1.6 2001/12/21 11:41:50 mpech Exp $ +.\" $OpenBSD: mount_tcfs.8,v 1.7 2002/02/11 18:43:51 mpech Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -53,7 +53,7 @@ users who own a proper key. .Sh EXAMPLES The command .Bd -literal -offset indent -mount_tcfs -o cipher=2 /mnt2 /mnt/tcfs +# mount_tcfs -o cipher=2 /mnt2 /mnt/tcfs .Ed .Pp mount the ffs filesystem diff --git a/sbin/mount_union/mount_union.8 b/sbin/mount_union/mount_union.8 index 5ef02f279bc..357e4ec8351 100644 --- a/sbin/mount_union/mount_union.8 +++ b/sbin/mount_union/mount_union.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount_union.8,v 1.11 2001/06/08 13:46:52 aaron Exp $ +.\" $OpenBSD: mount_union.8,v 1.12 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: mount_union.8,v 1.4 1995/09/29 06:44:02 jtc Exp $ .\" .\" Copyright (c) 1994 @@ -148,8 +148,8 @@ and then only for lookups. .Sh EXAMPLES The commands .Bd -literal -offset indent -mount -t cd9660 -o ro /dev/cd0a /usr/src -mount -t union /var/obj /usr/src +# mount -t cd9660 -o ro /dev/cd0a /usr/src +# mount -t union /var/obj /usr/src .Ed .Pp mount the CD-ROM drive @@ -165,7 +165,7 @@ even though it is stored on a CD-ROM. .Pp The command .Bd -literal -offset indent -mount -t union -o -b /sys $HOME/sys +# mount -t union -o -b /sys $HOME/sys .Ed .Pp attaches the system source tree below the diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8 index 07b79fd4a88..74c1ef2e1b8 100644 --- a/sbin/pfctl/pfctl.8 +++ b/sbin/pfctl/pfctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pfctl.8,v 1.39 2002/01/09 11:30:53 dhartmei Exp $ +.\" $OpenBSD: pfctl.8,v 1.40 2002/02/11 18:43:51 mpech Exp $ .\" .\" Copyright (c) 2001 Kjell Wooding. All rights reserved. .\" @@ -238,11 +238,11 @@ Other protocols are handled similarly to UDP: .El .Bd -literal Example: - # Timeout established connections after an hour of inactivity - pfctl -t tcp.established=3600 + Timeout established connections after an hour of inactivity + # pfctl -t tcp.established=3600 - # Display the current established idle timeout - pfctl -t tcp.established + Display the current established idle timeout + # pfctl -t tcp.established .Ed .It Fl v Produce more verbose output. diff --git a/sbin/raidctl/raidctl.8 b/sbin/raidctl/raidctl.8 index 4229a6ec6f3..a466ca9e6c2 100644 --- a/sbin/raidctl/raidctl.8 +++ b/sbin/raidctl/raidctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: raidctl.8,v 1.20 2002/01/05 13:47:37 tdeval Exp $ +.\" $OpenBSD: raidctl.8,v 1.21 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: raidctl.8,v 1.24 2001/07/10 01:30:52 lukem Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -550,7 +550,7 @@ The first time a RAID set is configured, the .Fl C option must be used: .Bd -unfilled -offset indent -raidctl -C raid0.conf raid0 +# raidctl -C raid0.conf raid0 .Ed .Pp where @@ -568,14 +568,14 @@ appropriate component labels are added with the .Fl I option) then raid0 can be configured normally with: .Bd -unfilled -offset indent -raidctl -c raid0.conf raid0 +# raidctl -c raid0.conf raid0 .Ed .Pp When the RAID set is configured for the first time, it is necessary to initialize the component labels, and to initialize the parity on the RAID set. Initializing the component labels is done with: .Bd -unfilled -offset indent -raidctl -I 112341 raid0 +# raidctl -I 112341 raid0 .Ed .Pp where @@ -602,7 +602,7 @@ quite time-consuming, the option may be also used in conjunction with .Fl i : .Bd -unfilled -offset indent -raidctl -iv raid0 +# raidctl -iv raid0 .Ed .Pp This will give more verbose output on the @@ -675,14 +675,14 @@ resumed. .Ss Maintenance of the RAID set After the parity has been initialized for the first time, the command: .Bd -unfilled -offset indent -raidctl -p raid0 +# raidctl -p raid0 .Ed .Pp can be used to check the current status of the parity. To check the parity and rebuild it necessary (for example, after an unclean shutdown) the command: .Bd -unfilled -offset indent -raidctl -P raid0 +# raidctl -P raid0 .Ed .Pp is used. Note that re-writing the parity can be done while @@ -695,7 +695,7 @@ data on the set is modified. To see how the RAID set is doing, the following command can be used to show the RAID set's status: .Bd -unfilled -offset indent -raidctl -s raid0 +# raidctl -s raid0 .Ed .Pp The output will look something like: @@ -728,7 +728,7 @@ The option may be also used in conjunction with .Fl s : .Bd -unfilled -offset indent -raidctl -sv raid0 +# raidctl -sv raid0 .Ed .Pp In this case, the components' label information (see the @@ -773,7 +773,7 @@ Copyback is 100% complete. .Pp To check the component label of /dev/sd1e, the following is used: .Bd -unfilled -offset indent -raidctl -g /dev/sd1e raid0 +# raidctl -g /dev/sd1e raid0 .Ed .Pp The output of this command will look something like: @@ -793,7 +793,7 @@ If for some reason (perhaps to test reconstruction) it is necessary to pretend a drive has failed, the following will perform that function: .Bd -unfilled -offset indent -raidctl -f /dev/sd2e raid0 +# raidctl -f /dev/sd2e raid0 .Ed .Pp The system will then be performing all operations in degraded mode, @@ -815,7 +815,7 @@ start a reconstruction, the .Fl F option must be used: .Bd -unfilled -offset indent -raidctl -F /dev/sd2e raid0 +# raidctl -F /dev/sd2e raid0 .Ed .Pp The @@ -917,7 +917,7 @@ No spares. In this case there are a number of options. The first option is to add a hot spare using: .Bd -unfilled -offset indent -raidctl -a /dev/sd4e raid0 +# raidctl -a /dev/sd4e raid0 .Ed .Pp After the hot add, the status would then be: @@ -937,7 +937,7 @@ as describe above. A second option is to rebuild directly onto /dev/sd2e. Once the disk containing /dev/sd2e has been replaced, one can simply use: .Bd -unfilled -offset indent -raidctl -R /dev/sd2e raid0 +# raidctl -R /dev/sd2e raid0 .Ed .Pp to rebuild the /dev/sd2e component. As the rebuilding is in progress, @@ -976,8 +976,8 @@ can be used anywhere a normal component name would be used. For example, to add a hot spare to the above set, and rebuild to that hot spare, the following could be done: .Bd -unfilled -offset indent -raidctl -a /dev/sd3e raid0 -raidctl -F component1 raid0 +# raidctl -a /dev/sd3e raid0 +# raidctl -F component1 raid0 .Ed .Pp at which point the data missing from @@ -1017,13 +1017,13 @@ RAID sets can also be auto-configured at boot. To make a set auto-configurable, simply prepare the RAID set as above, and then do a: .Bd -unfilled -offset indent -raidctl -A yes raid0 +# raidctl -A yes raid0 .Ed .Pp to turn on auto-configuration for that set. To turn off auto-configuration, use: .Bd -unfilled -offset indent -raidctl -A no raid0 +# raidctl -A no raid0 .Ed .Pp RAID sets which are auto-configurable will be configured before the @@ -1044,7 +1044,7 @@ partition of such a RAID set being used for .Pa / . To use raid0a as the root file system, simply use: .Bd -unfilled -offset indent -raidctl -A root raid0 +# raidctl -A root raid0 .Ed .Pp To return raid0a to be just an auto-configuring set simply use the @@ -1133,7 +1133,7 @@ is to unconfigure a .Xr raid 4 device. This is accomplished via a simple: .Bd -unfilled -offset indent -raidctl -u raid0 +# raidctl -u raid0 .Ed .Pp at which point the device is ready to be reconfigured. @@ -1234,55 +1234,55 @@ Construct a RAID configuration file: e.g. .It Configure the RAID set with: .Bd -unfilled -offset indent -raidctl -C raid0.conf raid0 +# raidctl -C raid0.conf raid0 .Ed .Pp .It Initialize the component labels with: .Bd -unfilled -offset indent -raidctl -I 123456 raid0 +# raidctl -I 123456 raid0 .Ed .Pp .It Initialize other important parts of the set with: .Bd -unfilled -offset indent -raidctl -i raid0 +# raidctl -i raid0 .Ed .Pp .It Get the default label for the RAID set: .Bd -unfilled -offset indent -disklabel raid0 > /tmp/label +# disklabel raid0 > /tmp/label .Ed .Pp .It Edit the label: .Bd -unfilled -offset indent -vi /tmp/label +# vi /tmp/label .Ed .Pp .It Put the new label on the RAID set: .Bd -unfilled -offset indent -disklabel -R -r raid0 /tmp/label +# disklabel -R -r raid0 /tmp/label .Ed .Pp .It Create the file system: .Bd -unfilled -offset indent -newfs /dev/rraid0e +# newfs /dev/rraid0e .Ed .Pp .It Mount the file system: .Bd -unfilled -offset indent -mount /dev/raid0e /mnt +# mount /dev/raid0e /mnt .Ed .Pp .It Use: .Bd -unfilled -offset indent -raidctl -c raid0.conf raid0 +# raidctl -c raid0.conf raid0 .Ed .Pp To re-configure the RAID set the next time it is needed, or put diff --git a/sbin/restore/restore.8 b/sbin/restore/restore.8 index 7cd7ff784b1..d4ddaf63e60 100644 --- a/sbin/restore/restore.8 +++ b/sbin/restore/restore.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: restore.8,v 1.20 2001/10/04 22:33:49 ho Exp $ +.\" $OpenBSD: restore.8,v 1.21 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: restore.8,v 1.15 1997/07/01 05:37:53 lukem Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 @@ -202,11 +202,10 @@ flag precludes an interactive file extraction and can be detrimental to one's health (not to mention the disk) if not used carefully. An example: .Bd -literal -offset indent -newfs /dev/rrp0g eagle -mount /dev/rp0g /mnt -cd /mnt - -restore rf /dev/rst8 +# newfs /dev/rrp0g eagle +# mount /dev/rp0g /mnt +# cd /mnt +# restore rf /dev/rst8 .Ed .Pp Note that diff --git a/sbin/scsi/scsi.8 b/sbin/scsi/scsi.8 index d4debd6294b..cc6ffe8512d 100644 --- a/sbin/scsi/scsi.8 +++ b/sbin/scsi/scsi.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: scsi.8,v 1.19 2001/08/20 05:57:55 mpech Exp $ +.\" $OpenBSD: scsi.8,v 1.20 2002/02/11 18:43:51 mpech Exp $ .\" $FreeBSD: scsi.8,v 1.5 1995/05/05 20:41:58 dufault Exp $ .\" .\" Written By Julian ELischer @@ -242,20 +242,20 @@ bytes of data input should be written to the standard output. To verify that the device type for the disk /dev/rsd0c is 0 (direct access device): .Bd -literal -offset -root# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "*b3 b5" +# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "*b3 b5" 0 .Ed .Pp To do an inquiry to /dev/rsd2c: .Bd -literal -offset -root# scsi -f /dev/rsd2c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4" +# scsi -f /dev/rsd2c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4" FUJITSU M2654S-512 010P .Ed .Pp To edit mode page 1 on /dev/rsd2c and store it permanently on the drive (set AWRE and ARRE to 1 to enable bad block remapping): .Bd -literal -offset -root# scsi -f /dev/rsd2c -m 1 -e -P 3 +# scsi -f /dev/rsd2c -m 1 -e -P 3 .Ed .Sh ENVIRONMENT The diff --git a/sbin/slattach/slattach.8 b/sbin/slattach/slattach.8 index 38bdd581d91..d3c714fdf8d 100644 --- a/sbin/slattach/slattach.8 +++ b/sbin/slattach/slattach.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: slattach.8,v 1.11 2000/04/15 11:45:58 aaron Exp $ +.\" $OpenBSD: slattach.8,v 1.12 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: slattach.8,v 1.12 1995/03/18 15:01:12 cgd Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 @@ -102,10 +102,10 @@ is the name that is shown by .Xr netstat 1 . .Sh EXAMPLES .Bd -literal -offset indent -compact -ifconfig sl0 10.0.0.1 10.0.0.2 link0 link2 up -slattach ttyh8 -ifconfig sl1 192.168.0.1 192.168.0.2 link0 up -slattach \-s 4800 /dev/tty01 +# ifconfig sl0 10.0.0.1 10.0.0.2 link0 link2 up +# slattach ttyh8 +# ifconfig sl1 192.168.0.1 192.168.0.2 link0 up +# slattach \-s 4800 /dev/tty01 .Ed .Sh DIAGNOSTICS Messages indicating the specified interface does not exist, the diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 3cc9fd46266..1cbb1892edb 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.76 2002/02/10 22:09:24 nate Exp $ +.\" $OpenBSD: sysctl.8,v 1.77 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -74,7 +74,7 @@ suppress printing of the field name, only output the field value. Useful for setting shell variables. For example: .Bd -literal -offset indent -compact -set psize=`sysctl -n hw.pagesize` +# set psize=`sysctl -n hw.pagesize` .Ed .Pp If just a MIB style name is given, @@ -329,23 +329,23 @@ flag lists all the filesystems compiled into the running kernel. For example, to retrieve the maximum number of processes allowed in the system, one would use the follow request: .Bd -literal -offset indent -compact -sysctl kern.maxproc +$ sysctl kern.maxproc .Ed .Pp To set the maximum number of processes allowed in the system to 1000, one would use the follow request: .Bd -literal -offset indent -compact -sysctl -w kern.maxproc=1000 +# sysctl -w kern.maxproc=1000 .Ed .Pp Information about the system clock rate may be obtained with: .Bd -literal -offset indent -compact -sysctl kern.clockrate +$ sysctl kern.clockrate .Ed .Pp Information about the load average history may be obtained with .Bd -literal -offset indent -compact -sysctl vm.loadavg +$ sysctl vm.loadavg .Ed .Pp To make the @@ -353,7 +353,7 @@ To make the system call use traditional BSD semantics (don't clear setuid/setgid bits), one would do the following: .Bd -literal -offset indent -compact -sysctl -w fs.posix.setuid=0 +# sysctl -w fs.posix.setuid=0 .Ed .Pp Set the list of reserved TCP ports that should not be allocated @@ -362,13 +362,13 @@ This can be used to keep daemons from stealing a specific port that another program needs to function. List elements may be separated by commas and/or whitespace. .Bd -literal -offset indent -compact -sysctl -w net.inet.tcp.baddynamic=749,750,751,760,761,871 +# sysctl -w net.inet.tcp.baddynamic=749,750,751,760,761,871 .Ed .Pp It is also possible to add or remove ports from the current list. .Bd -literal -offset indent -compact -sysctl -w net.inet.tcp.baddynamic=+748 -sysctl -w net.inet.tcp.baddynamic=-871 +# sysctl -w net.inet.tcp.baddynamic=+748 +# sysctl -w net.inet.tcp.baddynamic=-871 .Ed .Pp To adjust the number of kernel @@ -376,7 +376,7 @@ To adjust the number of kernel threads used to service asynchronous I/O requests on an NFS client machine use .Bd -literal -offset indent -compact -sysctl -w vfs.nfs.iothreads=4 +# sysctl -w vfs.nfs.iothreads=4 .Ed .Pp The number of 4 is the default, where the 20 is the maximum. diff --git a/sbin/umount/umount.8 b/sbin/umount/umount.8 index 51c319d26ec..18b1d9b6588 100644 --- a/sbin/umount/umount.8 +++ b/sbin/umount/umount.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: umount.8,v 1.9 2002/01/24 21:32:06 mickey Exp $ +.\" $OpenBSD: umount.8,v 1.10 2002/02/11 18:43:52 mpech Exp $ .\" $NetBSD: umount.8,v 1.2 1995/03/18 15:01:35 cgd Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -100,7 +100,7 @@ For example, the .Nm command: .Bd -literal -offset indent -umount -a -t nfs,mfs +# umount -a -t nfs,mfs .Ed .Pp umounts all filesystems of the type diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8 index 13e6825040c..27d23915ad5 100644 --- a/sbin/wsconsctl/wsconsctl.8 +++ b/sbin/wsconsctl/wsconsctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wsconsctl.8,v 1.11 2001/12/21 11:41:50 mpech Exp $ +.\" $OpenBSD: wsconsctl.8,v 1.12 2002/02/11 18:43:52 mpech Exp $ .\" $NetBSD: wsconsctl.8,v 1.5 1999/09/12 18:47:11 kleink Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -111,11 +111,11 @@ Use the utility to determine which keyboard encodings are available for your country. .Sh EXAMPLES -.Cm wsconsctl -w keyboard.encoding=uk +.Cm # wsconsctl -w keyboard.encoding=uk .Pp Sets a UK keyboard encoding. .Pp -.Cm wsconsctl -w keyboard.map+="keysym Caps_Lock = Control_L" +.Cm # wsconsctl -w keyboard.map+="keysym Caps_Lock = Control_L" .Pp Modifies the current keyboard encoding so that, when the .Ar Caps Lock @@ -127,13 +127,13 @@ to the .Ar /usr/include/dev/wscons/wsksymdef.h file. .Pp -.Cm wsconsctl -w keyboard.map+="keycode 184=Mode_switch" +.Cm # wsconsctl -w keyboard.map+="keycode 184=Mode_switch" .Pp Assigns the .Ar Right Alt key to be the group modifier (layout is changed while the key is pressed). .Pp -.Cm wsconsctl -w keyboard.map+="keycode 157=Mode_Lock" +.Cm # wsconsctl -w keyboard.map+="keycode 157=Mode_Lock" .Pp Assigns the .Ar Right Control @@ -149,7 +149,7 @@ and .Ar Shift behaviour. .Pp -.Cm wsconsctl -w keyboard.encoding=us.swapctrlcaps +.Cm # wsconsctl -w keyboard.encoding=us.swapctrlcaps .Pp Sets a US keyboard encoding, with the .Ar Caps Lock @@ -164,11 +164,11 @@ by the .Ar Caps Lock key is enough - see the previous example for details. .Pp -.Cm wsconsctl -w keyboard.bell.pitch=1200 +.Cm # wsconsctl -w keyboard.bell.pitch=1200 .Pp Sets the bell pitch to be 1200. .Pp -.Cm wsconsctl -w keyboard.bell.pitch+=200 +.Cm # wsconsctl -w keyboard.bell.pitch+=200 .Pp Adds 200 to the current pitch of the bell. .Sh FILES |