diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-08-06 21:43:46 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-08-06 22:25:11 +0200 |
| commit | af2d18b2c26ede995f8e41c5a8fe3ad6331dce98 (patch) | |
| tree | a7cda54bb4be7e53fd244f0fd34954f39d6c73b9 /man3 | |
| parent | 18f49d756386f66eb2990b4e607069e98f820ce3 (diff) | |
| download | man-pages-af2d18b2c26ede995f8e41c5a8fe3ad6331dce98.tar.gz | |
intro.1, clock_getres.2, clone.2, futex.2, ioctl_fat.2, mkdir.2, mknod.2, mmap.2, open.2, statx.2, umask.2, userfaultfd.2, glob.3, mkfifo.3, termios.3, wordexp.3, console_codes.4, sk98lin.4, vcs.4, dir_colors.5, hosts.equiv.5, proc.5, termcap.5, utmp.5, ascii.7, bpf-helpers.7, charsets.7, environ.7, glob.7, mailaddr.7, netlink.7, operator.7, suffixes.7, tcp.7, unicode.7, uri.7, zic.8: Use "\(ti" instead of "~"
A naked tilde ("~") renders poorly in PDF. Instead use "\(ti",
which renders better in a PDF, and produces the same glyph
when rendering on a terminal.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/glob.3 | 4 | ||||
| -rw-r--r-- | man3/mkfifo.3 | 2 | ||||
| -rw-r--r-- | man3/termios.3 | 8 | ||||
| -rw-r--r-- | man3/wordexp.3 | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/man3/glob.3 b/man3/glob.3 index b562326a08..5bac5c797a 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -175,11 +175,11 @@ even if there is no file with that name. .TP .B GLOB_TILDE Carry out tilde expansion. -If a tilde (\(aq~\(aq) is the only character in the pattern, +If a tilde (\(aq\(ti\(aq) is the only character in the pattern, or an initial tilde is followed immediately by a slash (\(aq/\(aq), then the home directory of the caller is substituted for the tilde. -If an initial tilde is followed by a username (e.g., "~andrea/bin"), +If an initial tilde is followed by a username (e.g., "\(tiandrea/bin"), then the tilde and username are substituted by the home directory of that user. If the username is invalid, or the home directory cannot be diff --git a/man3/mkfifo.3 b/man3/mkfifo.3 index 314c7cb5ba..96db79af7e 100644 --- a/man3/mkfifo.3 +++ b/man3/mkfifo.3 @@ -65,7 +65,7 @@ makes a FIFO special file with name \fIpathname\fP. \fImode\fP specifies the FIFO's permissions. It is modified by the process's \fBumask\fP in the usual way: the permissions of the created -file are \fB(\fP\fImode\fP\fB & ~umask)\fP. +file are \fB(\fP\fImode\fP\fB & \(tiumask)\fP. .PP A FIFO special file is similar to a pipe, except that it is created in a different way. diff --git a/man3/termios.3 b/man3/termios.3 index e80db9e269..9dc2d2c009 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -845,11 +845,11 @@ The terminal attributes are set as follows: .PP .in +4n .EX -termios_p\->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP +termios_p\->c_iflag &= \(ti(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); -termios_p\->c_oflag &= ~OPOST; -termios_p\->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); -termios_p\->c_cflag &= ~(CSIZE | PARENB); +termios_p\->c_oflag &= \(tiOPOST; +termios_p\->c_lflag &= \(ti(ECHO | ECHONL | ICANON | ISIG | IEXTEN); +termios_p\->c_cflag &= \(ti(CSIZE | PARENB); termios_p\->c_cflag |= CS8; .EE .in diff --git a/man3/wordexp.3 b/man3/wordexp.3 index 328baf32fb..d9805e1dcc 100644 --- a/man3/wordexp.3 +++ b/man3/wordexp.3 @@ -99,7 +99,7 @@ then it is unspecified whether that word and all following words are ignored, or the # is treated as a non-comment character. .SS The expansion The expansion done consists of the following stages: -tilde expansion (replacing ~user by user's home directory), +tilde expansion (replacing \(tiuser by user's home directory), variable substitution (replacing $FOO by the value of the environment variable FOO), command substitution (replacing $(command) or \`command\` by the output of command), arithmetic expansion, field splitting, |
