diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-07-06 12:57:38 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-07-06 12:57:38 +0000 |
| commit | 2bc2f4798feabd972879ff8f1633b08e337f57e1 (patch) | |
| tree | 7c2c27db04f020b2ec55c5e24bf135161c5d0b84 /man4 | |
| parent | 06795d3a1f10b71e1da07ac269240455d40e62b3 (diff) | |
| download | man-pages-2bc2f4798feabd972879ff8f1633b08e337f57e1.tar.gz | |
hyphen/dash fixes
Diffstat (limited to 'man4')
| -rw-r--r-- | man4/console_codes.4 | 6 | ||||
| -rw-r--r-- | man4/epoll.4 | 4 | ||||
| -rw-r--r-- | man4/full.4 | 2 | ||||
| -rw-r--r-- | man4/initrd.4 | 2 | ||||
| -rw-r--r-- | man4/random.4 | 10 | ||||
| -rw-r--r-- | man4/st.4 | 20 | ||||
| -rw-r--r-- | man4/vcs.4 | 6 |
7 files changed, 25 insertions, 25 deletions
diff --git a/man4/console_codes.4 b/man4/console_codes.4 index 1ab5484e51..dfd6eb1cea 100644 --- a/man4/console_codes.4 +++ b/man4/console_codes.4 @@ -130,12 +130,12 @@ ESC % Start sequence selecting character set ESC % @ \0\0\0Select default (ISO 646 / ISO 8859-1) ESC % G \0\0\0Select UTF-8 ESC % 8 \0\0\0Select UTF-8 (obsolete) -ESC # 8 DECALN DEC screen alignment test - fill screen with E's. +ESC # 8 DECALN DEC screen alignment test \- fill screen with E's. ESC ( Start sequence defining G0 character set ESC ( B \0\0\0Select default (ISO 8859-1 mapping) ESC ( 0 \0\0\0Select vt100 graphics mapping -ESC ( U \0\0\0Select null mapping - straight to character ROM -ESC ( K \0\0\0Select user mapping - the map that is loaded by +ESC ( U \0\0\0Select null mapping \- straight to character ROM +ESC ( K \0\0\0Select user mapping \- the map that is loaded by \0\0\0the utility \fBmapscrn\fP(8). ESC ) Start sequence defining G1 (followed by one of B, 0, U, K, as above). diff --git a/man4/epoll.4 b/man4/epoll.4 index 2ba0d36a08..e32aa37fd8 100644 --- a/man4/epoll.4 +++ b/man4/epoll.4 @@ -184,7 +184,7 @@ from where it stopped before. struct epoll_event ev, *events; for(;;) { - nfds = epoll_wait(kdpfd, events, maxevents, -1); + nfds = epoll_wait(kdpfd, events, maxevents, \-1); for(n = 0; n < nfds; ++n) { if(events[n].data.fd == listener) { @@ -200,7 +200,7 @@ for(;;) { if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, client, &ev) < 0) { fprintf(stderr, "epoll set insertion error: fd=%d\n", client); - return -1; + return \-1; } } else diff --git a/man4/full.4 b/man4/full.4 index 7d15fe20b6..90b818ee2d 100644 --- a/man4/full.4 +++ b/man4/full.4 @@ -40,7 +40,7 @@ If your system does not have \fB/dev/full\fP created already, it can be created with the following commands: .nf - mknod -m 666 /dev/full c 1 7 + mknod \-m 666 /dev/full c 1 7 chown root:root /dev/full .fi diff --git a/man4/initrd.4 b/man4/initrd.4 index e3aa0e73ea..b3cc74e1d1 100644 --- a/man4/initrd.4 +++ b/man4/initrd.4 @@ -350,7 +350,7 @@ If the Linux system does not have already created, it can be created with the following commands: .nf \fB - mknod -m 400 /dev/initrd b 1 250 + mknod \-m 400 /dev/initrd b 1 250 chown root:disk /dev/initrd \fP .fi diff --git a/man4/random.4 b/man4/random.4 index 5daaf77138..c94f07049e 100644 --- a/man4/random.4 +++ b/man4/random.4 @@ -49,8 +49,8 @@ If your system does not have can be created with the following commands: .nf - mknod -m 644 /dev/random c 1 8 - mknod -m 644 /dev/urandom c 1 9 + mknod \-m 644 /dev/random c 1 8 + mknod \-m 644 /dev/urandom c 1 9 chown root:root /dev/random /dev/urandom .fi @@ -67,14 +67,14 @@ which is run during the Linux system start-up sequence: random_seed=/var/run/random-seed # Carry a random seed from start-up to start-up # Load and then save the whole entropy pool - if [ -f $random_seed ]; then + if [ \-f $random_seed ]; then cat $random_seed >/dev/urandom else touch $random_seed fi chmod 600 $random_seed poolfile=/proc/sys/kernel/random/poolsize - [ -r $poolfile ] && bytes=`cat $poolfile` || bytes=512 + [ \-r $poolfile ] && bytes=`cat $poolfile` || bytes=512 dd if=/dev/urandom of=$random_seed count=1 bs=$bytes .fi @@ -89,7 +89,7 @@ run during the Linux system shutdown: touch $random_seed chmod 600 $random_seed poolfile=/proc/sys/kernel/random/poolsize - [ -r $poolfile ] && bytes=`cat $poolfile` || bytes=512 + [ \-r $poolfile ] && bytes=`cat $poolfile` || bytes=512 dd if=/dev/urandom of=$random_seed count=1 bs=$bytes .fi .SH "PROC INTERFACE" @@ -73,14 +73,14 @@ with two minor numbers for different options.) Devices are typically created by: .RS .nf -mknod -m 666 /dev/st0 c 9 0 -mknod -m 666 /dev/st0l c 9 32 -mknod -m 666 /dev/st0m c 9 64 -mknod -m 666 /dev/st0a c 9 96 -mknod -m 666 /dev/nst0 c 9 128 -mknod -m 666 /dev/nst0l c 9 160 -mknod -m 666 /dev/nst0m c 9 192 -mknod -m 666 /dev/nst0a c 9 224 +mknod \-m 666 /dev/st0 c 9 0 +mknod \-m 666 /dev/st0l c 9 32 +mknod \-m 666 /dev/st0m c 9 64 +mknod \-m 666 /dev/st0a c 9 96 +mknod \-m 666 /dev/nst0 c 9 128 +mknod \-m 666 /dev/nst0l c 9 160 +mknod \-m 666 /dev/nst0m c 9 192 +mknod \-m 666 /dev/nst0a c 9 224 .fi .RE .PP @@ -533,7 +533,7 @@ This request takes an argument of type .BR "(struct mtget *)" . .PP .nf -/* structure for \s-1MTIOCGET\s+1 - mag tape get status command */ +/* structure for \s-1MTIOCGET\s+1 \- mag tape get status command */ struct mtget { long mt_type; long mt_resid; @@ -641,7 +641,7 @@ or a Tandberg-compatible SCSI-1 drive (Tandberg, Archive Viper, Wangtek, ... ). .PP .nf -/* structure for \s-1MTIOCPOS\s+1 - mag tape get position command */ +/* structure for \s-1MTIOCPOS\s+1 \- mag tape get position command */ struct mtpos { long mt_blkno; /* current block number */ }; diff --git a/man4/vcs.4 b/man4/vcs.4 index fb2d51e15e..7d189e7295 100644 --- a/man4/vcs.4 +++ b/man4/vcs.4 @@ -48,8 +48,8 @@ The devices for the first eight virtual consoles may be created by: .nf for x in 0 1 2 3 4 5 6 7 8; do - mknod -m 644 /dev/vcs$x c 7 $x; - mknod -m 644 /dev/vcsa$x c 7 $[$x+128]; + mknod \-m 644 /dev/vcs$x c 7 $x; + mknod \-m 644 /dev/vcsa$x c 7 $[$x+128]; done chown root:tty /dev/vcs* .fi @@ -93,7 +93,7 @@ there: (void)read(fd, &attrib, 1); printf("ch='%c' attrib=0x%02x\\n", ch, attrib); attrib ^= 0x10; - (void)lseek(fd, -1, 1); + (void)lseek(fd, \-1, 1); (void)write(fd, &attrib, 1); return 0; } |
