Remove workaround for ancient HTML generation code.diff -r1.9 -r1.10 src/usr.bin/fgen/fgen.1
(wiz)
--- src/usr.bin/fgen/fgen.1 2009/10/19 18:12:37 1.9
+++ src/usr.bin/fgen/fgen.1 2017/07/03 21:34:57 1.10
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | .\" $NetBSD: fgen.1,v 1.9 2009/10/19 18:12:37 snj Exp $ | 1 | .\" $NetBSD: fgen.1,v 1.10 2017/07/03 21:34:57 wiz Exp $ | |
2 | .\" | 2 | .\" | |
3 | .\" Copyright (c) 1998 Eduardo Horvath, All Rights Reserved. | 3 | .\" Copyright (c) 1998 Eduardo Horvath, All Rights Reserved. | |
4 | .\" | 4 | .\" | |
5 | .\" Redistribution and use in source and binary forms, with or without | 5 | .\" Redistribution and use in source and binary forms, with or without | |
6 | .\" modification, are permitted provided that the following conditions | 6 | .\" modification, are permitted provided that the following conditions | |
7 | .\" are met: | 7 | .\" are met: | |
8 | .\" 1. Redistributions of source code must retain the above copyright | 8 | .\" 1. Redistributions of source code must retain the above copyright | |
9 | .\" notice, this list of conditions and the following disclaimer. | 9 | .\" notice, this list of conditions and the following disclaimer. | |
10 | .\" 2. Redistributions in binary form must reproduce the above copyright | 10 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
11 | .\" notice, this list of conditions and the following disclaimer in the | 11 | .\" notice, this list of conditions and the following disclaimer in the | |
12 | .\" documentation and/or other materials provided with the distribution. | 12 | .\" documentation and/or other materials provided with the distribution. | |
13 | .\" | 13 | .\" | |
14 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | 14 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |
@@ -40,27 +40,27 @@ Reads Forth source and generates tokeniz | @@ -40,27 +40,27 @@ Reads Forth source and generates tokeniz | |||
40 | .\" .Sh ENVIRONMENT | 40 | .\" .Sh ENVIRONMENT | |
41 | .\" .Sh FILES | 41 | .\" .Sh FILES | |
42 | .\" .Sh EXAMPLES | 42 | .\" .Sh EXAMPLES | |
43 | .\" This next request is for sections 1, 6, 7 & 8 only | 43 | .\" This next request is for sections 1, 6, 7 & 8 only | |
44 | .\" (command return values (to shell) and fprintf/stderr type diagnostics) | 44 | .\" (command return values (to shell) and fprintf/stderr type diagnostics) | |
45 | .\" .Sh DIAGNOSTICS | 45 | .\" .Sh DIAGNOSTICS | |
46 | .\" .Sh ERRORS | 46 | .\" .Sh ERRORS | |
47 | .\" .Sh SEE ALSO | 47 | .\" .Sh SEE ALSO | |
48 | .\" Cross-references should be ordered by section (low to high), then in | 48 | .\" Cross-references should be ordered by section (low to high), then in | |
49 | .\" alphabetical order. | 49 | .\" alphabetical order. | |
50 | .\" .Sh STANDARDS | 50 | .\" .Sh STANDARDS | |
51 | .\" .Sh HISTORY | 51 | .\" .Sh HISTORY | |
52 | .Sh AUTHORS | 52 | .Sh AUTHORS | |
53 | Written by Eduardo E. Horvath \*[Lt]eeh@one-o.com\*[Gt] | 53 | Written by Eduardo E. Horvath <eeh@one-o.com> | |
54 | .Sh BUGS | 54 | .Sh BUGS | |
55 | String escape sequences are not recognized so things such as | 55 | String escape sequences are not recognized so things such as | |
56 | .Pp | 56 | .Pp | |
57 | .Li \&" foo \&"\&(01 02\&) \&"n \&" | 57 | .Li \&" foo \&"\&(01 02\&) \&"n \&" | |
58 | .Pp | 58 | .Pp | |
59 | will result in the string | 59 | will result in the string | |
60 | .Pp | 60 | .Pp | |
61 | .Dq foo \&"\&(01 02\&) \&"n . | 61 | .Dq foo \&"\&(01 02\&) \&"n . | |
62 | .Pp | 62 | .Pp | |
63 | Hexadecimal numbers with dots in them such as | 63 | Hexadecimal numbers with dots in them such as | |
64 | .Li 100.0000 | 64 | .Li 100.0000 | |
65 | are not parsed. | 65 | are not parsed. | |
66 | .Pp | 66 | .Pp |
--- src/usr.bin/find/find.1 2017/06/04 08:48:05 1.88
+++ src/usr.bin/find/find.1 2017/07/03 21:34:57 1.89
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | .\" $NetBSD: find.1,v 1.88 2017/06/04 08:48:05 abhinav Exp $ | 1 | .\" $NetBSD: find.1,v 1.89 2017/07/03 21:34:57 wiz Exp $ | |
2 | .\" | 2 | .\" | |
3 | .\" Copyright (c) 1990, 1993 | 3 | .\" Copyright (c) 1990, 1993 | |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. | |
5 | .\" | 5 | .\" | |
6 | .\" This code is derived from software contributed to Berkeley by | 6 | .\" This code is derived from software contributed to Berkeley by | |
7 | .\" the Institute of Electrical and Electronics Engineers, Inc. | 7 | .\" the Institute of Electrical and Electronics Engineers, Inc. | |
8 | .\" | 8 | .\" | |
9 | .\" Redistribution and use in source and binary forms, with or without | 9 | .\" Redistribution and use in source and binary forms, with or without | |
10 | .\" modification, are permitted provided that the following conditions | 10 | .\" modification, are permitted provided that the following conditions | |
11 | .\" are met: | 11 | .\" are met: | |
12 | .\" 1. Redistributions of source code must retain the above copyright | 12 | .\" 1. Redistributions of source code must retain the above copyright | |
13 | .\" notice, this list of conditions and the following disclaimer. | 13 | .\" notice, this list of conditions and the following disclaimer. | |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
@@ -467,27 +467,27 @@ links. | @@ -467,27 +467,27 @@ links. | |||
467 | .It Ic -rm | 467 | .It Ic -rm | |
468 | This primary is an alias for | 468 | This primary is an alias for | |
469 | .Ic -delete . | 469 | .Ic -delete . | |
470 | .Pp | 470 | .Pp | |
471 | .It Ic -ls | 471 | .It Ic -ls | |
472 | This primary always evaluates to true. | 472 | This primary always evaluates to true. | |
473 | The following information for the current file is written to standard output: | 473 | The following information for the current file is written to standard output: | |
474 | its inode number, size in 512-byte blocks, file permissions, number of hard | 474 | its inode number, size in 512-byte blocks, file permissions, number of hard | |
475 | links, owner, group, size in bytes, last modification time, and pathname. | 475 | links, owner, group, size in bytes, last modification time, and pathname. | |
476 | If the file is a block or character special file, the major and minor numbers | 476 | If the file is a block or character special file, the major and minor numbers | |
477 | will be displayed instead of the size in bytes. | 477 | will be displayed instead of the size in bytes. | |
478 | If the file is a symbolic link, the pathname of the linked-to file will be | 478 | If the file is a symbolic link, the pathname of the linked-to file will be | |
479 | displayed preceded by | 479 | displayed preceded by | |
480 | .Dq -\*[Gt] . | 480 | .Dq -> . | |
481 | The format is identical to that produced by | 481 | The format is identical to that produced by | |
482 | .Dq ls -dgils . | 482 | .Dq ls -dgils . | |
483 | .Pp | 483 | .Pp | |
484 | .It Ic -maxdepth Ar depth | 484 | .It Ic -maxdepth Ar depth | |
485 | True if the current search depth is less than or equal to what is specified in | 485 | True if the current search depth is less than or equal to what is specified in | |
486 | .Ar depth . | 486 | .Ar depth . | |
487 | .Pp | 487 | .Pp | |
488 | .It Ic -mindepth Ar depth | 488 | .It Ic -mindepth Ar depth | |
489 | True if the current search depth is at least what is specified in | 489 | True if the current search depth is at least what is specified in | |
490 | .Ar depth . | 490 | .Ar depth . | |
491 | .Pp | 491 | .Pp | |
492 | .It Ic -mmin Ar n | 492 | .It Ic -mmin Ar n | |
493 | True if the difference between the file last modification time and the time | 493 | True if the difference between the file last modification time and the time | |
@@ -929,27 +929,27 @@ Support for | @@ -929,27 +929,27 @@ Support for | |||
929 | .Dq Ic -exec Ar ... Ic \&+ | 929 | .Dq Ic -exec Ar ... Ic \&+ | |
930 | is consistent with | 930 | is consistent with | |
931 | .Em IEEE PASC Interpretation 1003.2 #210 , | 931 | .Em IEEE PASC Interpretation 1003.2 #210 , | |
932 | though the feature originated in | 932 | though the feature originated in | |
933 | .Tn SVR4 . | 933 | .Tn SVR4 . | |
934 | .Pp | 934 | .Pp | |
935 | The | 935 | The | |
936 | .Ic -delete | 936 | .Ic -delete | |
937 | primary does not interact well with other options that cause the file system | 937 | primary does not interact well with other options that cause the file system | |
938 | tree traversal options to be changed. | 938 | tree traversal options to be changed. | |
939 | .Sh HISTORY | 939 | .Sh HISTORY | |
940 | A much simpler | 940 | A much simpler | |
941 | .Nm | 941 | .Nm | |
942 | command appeared in First Edition AT\*[Am]T Unix. | 942 | command appeared in First Edition AT&T Unix. | |
943 | The syntax had become similar to the present version by | 943 | The syntax had become similar to the present version by | |
944 | the time of the Fifth Edition. | 944 | the time of the Fifth Edition. | |
945 | .Sh BUGS | 945 | .Sh BUGS | |
946 | The special characters used by | 946 | The special characters used by | |
947 | .Nm | 947 | .Nm | |
948 | are also special characters to many shell programs. | 948 | are also special characters to many shell programs. | |
949 | In particular, the characters | 949 | In particular, the characters | |
950 | .Dq \&* , | 950 | .Dq \&* , | |
951 | .Dq \&[ , | 951 | .Dq \&[ , | |
952 | .Dq \&] , | 952 | .Dq \&] , | |
953 | .Dq \&? , | 953 | .Dq \&? , | |
954 | .Dq \&( , | 954 | .Dq \&( , | |
955 | .Dq \&) , | 955 | .Dq \&) , |
--- src/usr.bin/fpr/fpr.1 2012/03/22 07:58:18 1.12
+++ src/usr.bin/fpr/fpr.1 2017/07/03 21:34:57 1.13
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | .\" $NetBSD: fpr.1,v 1.12 2012/03/22 07:58:18 wiz Exp $ | 1 | .\" $NetBSD: fpr.1,v 1.13 2017/07/03 21:34:57 wiz Exp $ | |
2 | .\" | 2 | .\" | |
3 | .\" Copyright (c) 1989, 1990, 1993 | 3 | .\" Copyright (c) 1989, 1990, 1993 | |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. | |
5 | .\" | 5 | .\" | |
6 | .\" This code is derived from software contributed to Berkeley by | 6 | .\" This code is derived from software contributed to Berkeley by | |
7 | .\" Robert Corbett. | 7 | .\" Robert Corbett. | |
8 | .\" Redistribution and use in source and binary forms, with or without | 8 | .\" Redistribution and use in source and binary forms, with or without | |
9 | .\" modification, are permitted provided that the following conditions | 9 | .\" modification, are permitted provided that the following conditions | |
10 | .\" are met: | 10 | .\" are met: | |
11 | .\" 1. Redistributions of source code must retain the above copyright | 11 | .\" 1. Redistributions of source code must retain the above copyright | |
12 | .\" notice, this list of conditions and the following disclaimer. | 12 | .\" notice, this list of conditions and the following disclaimer. | |
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
14 | .\" notice, this list of conditions and the following disclaimer in the | 14 | .\" notice, this list of conditions and the following disclaimer in the | |
@@ -62,22 +62,22 @@ The first character of each line determi | @@ -62,22 +62,22 @@ The first character of each line determi | |||
62 | .El | 62 | .El | |
63 | .Ed | 63 | .Ed | |
64 | .Pp | 64 | .Pp | |
65 | A blank line is treated as if its first character is a blank. | 65 | A blank line is treated as if its first character is a blank. | |
66 | A blank that appears as a carriage control character is deleted. | 66 | A blank that appears as a carriage control character is deleted. | |
67 | A zero is changed to a newline. | 67 | A zero is changed to a newline. | |
68 | A one is changed to a form feed. | 68 | A one is changed to a form feed. | |
69 | The effects of a | 69 | The effects of a | |
70 | .Sq + | 70 | .Sq + | |
71 | are simulated using backspaces. | 71 | are simulated using backspaces. | |
72 | .Sh EXAMPLES | 72 | .Sh EXAMPLES | |
73 | .Dl a.out \&| fpr \&| lpr | 73 | .Dl a.out \&| fpr \&| lpr | |
74 | .Pp | 74 | .Pp | |
75 | .Dl fpr \*[Lt] f77.output \&| lpr | 75 | .Dl fpr < f77.output \&| lpr | |
76 | .Sh HISTORY | 76 | .Sh HISTORY | |
77 | The | 77 | The | |
78 | .Nm | 78 | .Nm | |
79 | command | 79 | command | |
80 | appeared in | 80 | appeared in | |
81 | .Bx 4.2 . | 81 | .Bx 4.2 . | |
82 | .Sh BUGS | 82 | .Sh BUGS | |
83 | Results are undefined for input lines longer than 170 characters. | 83 | Results are undefined for input lines longer than 170 characters. |
--- src/usr.bin/fstat/fstat.1 2013/12/15 09:20:48 1.33
+++ src/usr.bin/fstat/fstat.1 2017/07/03 21:34:57 1.34
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | .\" $NetBSD: fstat.1,v 1.33 2013/12/15 09:20:48 wiz Exp $ | 1 | .\" $NetBSD: fstat.1,v 1.34 2017/07/03 21:34:57 wiz Exp $ | |
2 | .\" | 2 | .\" | |
3 | .\" Copyright (c) 1987, 1991, 1993 | 3 | .\" Copyright (c) 1987, 1991, 1993 | |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. | |
5 | .\" | 5 | .\" | |
6 | .\" Redistribution and use in source and binary forms, with or without | 6 | .\" Redistribution and use in source and binary forms, with or without | |
7 | .\" modification, are permitted provided that the following conditions | 7 | .\" modification, are permitted provided that the following conditions | |
8 | .\" are met: | 8 | .\" are met: | |
9 | .\" 1. Redistributions of source code must retain the above copyright | 9 | .\" 1. Redistributions of source code must retain the above copyright | |
10 | .\" notice, this list of conditions and the following disclaimer. | 10 | .\" notice, this list of conditions and the following disclaimer. | |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
12 | .\" notice, this list of conditions and the following disclaimer in the | 12 | .\" notice, this list of conditions and the following disclaimer in the | |
13 | .\" documentation and/or other materials provided with the distribution. | 13 | .\" documentation and/or other materials provided with the distribution. | |
14 | .\" 3. Neither the name of the University nor the names of its contributors | 14 | .\" 3. Neither the name of the University nor the names of its contributors | |
@@ -219,32 +219,32 @@ For example, the addresses mentioned abo | @@ -219,32 +219,32 @@ For example, the addresses mentioned abo | |||
219 | .Dq Li netstat -A | 219 | .Dq Li netstat -A | |
220 | command would print for TCP, UDP, and | 220 | command would print for TCP, UDP, and | |
221 | .Ux | 221 | .Ux | |
222 | domain. | 222 | domain. | |
223 | For kernels compiled with | 223 | For kernels compiled with | |
224 | .Dv PIPE_SOCKETPAIR | 224 | .Dv PIPE_SOCKETPAIR | |
225 | pipes appear as connected | 225 | pipes appear as connected | |
226 | .Ux | 226 | .Ux | |
227 | domain stream sockets. | 227 | domain stream sockets. | |
228 | A unidirectional | 228 | A unidirectional | |
229 | .Ux | 229 | .Ux | |
230 | domain socket indicates the direction of flow with an arrow | 230 | domain socket indicates the direction of flow with an arrow | |
231 | .Po | 231 | .Po | |
232 | .Dq \*[Lt]- | 232 | .Dq <- | |
233 | or | 233 | or | |
234 | .Dq -\*[Gt] | 234 | .Dq -> | |
235 | .Pc , | 235 | .Pc , | |
236 | and a full duplex socket shows a double arrow | 236 | and a full duplex socket shows a double arrow | |
237 | .Pq Dq \*[Lt]-\*[Gt] . | 237 | .Pq Dq <-> . | |
238 | .Pp | 238 | .Pp | |
239 | For internet sockets | 239 | For internet sockets | |
240 | .Nm | 240 | .Nm | |
241 | also attempts to print the internet address and port for the | 241 | also attempts to print the internet address and port for the | |
242 | local end of a connection. | 242 | local end of a connection. | |
243 | If the socket is connected, it also prints the remote internet address | 243 | If the socket is connected, it also prints the remote internet address | |
244 | and port. | 244 | and port. | |
245 | An asterisk | 245 | An asterisk | |
246 | .Pq Dq * | 246 | .Pq Dq * | |
247 | is used to indicate an INADDR_ANY binding. | 247 | is used to indicate an INADDR_ANY binding. | |
248 | .Sh SEE ALSO | 248 | .Sh SEE ALSO | |
249 | .Xr netstat 1 , | 249 | .Xr netstat 1 , | |
250 | .Xr nfsstat 1 , | 250 | .Xr nfsstat 1 , |
--- src/usr.bin/ftp/ftp.1 2015/04/23 23:31:23 1.135
+++ src/usr.bin/ftp/ftp.1 2017/07/03 21:34:57 1.136
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | .\" $NetBSD: ftp.1,v 1.135 2015/04/23 23:31:23 lukem Exp $ | 1 | .\" $NetBSD: ftp.1,v 1.136 2017/07/03 21:34:57 wiz Exp $ | |
2 | .\" | 2 | .\" | |
3 | .\" Copyright (c) 1996-2015 The NetBSD Foundation, Inc. | 3 | .\" Copyright (c) 1996-2015 The NetBSD Foundation, Inc. | |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. | |
5 | .\" | 5 | .\" | |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | 6 | .\" This code is derived from software contributed to The NetBSD Foundation | |
7 | .\" by Luke Mewburn. | 7 | .\" by Luke Mewburn. | |
8 | .\" | 8 | .\" | |
9 | .\" Redistribution and use in source and binary forms, with or without | 9 | .\" Redistribution and use in source and binary forms, with or without | |
10 | .\" modification, are permitted provided that the following conditions | 10 | .\" modification, are permitted provided that the following conditions | |
11 | .\" are met: | 11 | .\" are met: | |
12 | .\" 1. Redistributions of source code must retain the above copyright | 12 | .\" 1. Redistributions of source code must retain the above copyright | |
13 | .\" notice, this list of conditions and the following disclaimer. | 13 | .\" notice, this list of conditions and the following disclaimer. | |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
@@ -324,27 +324,27 @@ The client host with which | @@ -324,27 +324,27 @@ The client host with which | |||
324 | .Nm | 324 | .Nm | |
325 | is to communicate may be specified on the command line. | 325 | is to communicate may be specified on the command line. | |
326 | If this is done, | 326 | If this is done, | |
327 | .Nm | 327 | .Nm | |
328 | will immediately attempt to establish a connection to an | 328 | will immediately attempt to establish a connection to an | |
329 | .Tn FTP | 329 | .Tn FTP | |
330 | server on that host; otherwise, | 330 | server on that host; otherwise, | |
331 | .Nm | 331 | .Nm | |
332 | will enter its command interpreter and await instructions | 332 | will enter its command interpreter and await instructions | |
333 | from the user. | 333 | from the user. | |
334 | When | 334 | When | |
335 | .Nm | 335 | .Nm | |
336 | is awaiting commands from the user the prompt | 336 | is awaiting commands from the user the prompt | |
337 | .Ql ftp\*[Gt] | 337 | .Ql ftp> | |
338 | is provided to the user. | 338 | is provided to the user. | |
339 | The following commands are recognized | 339 | The following commands are recognized | |
340 | by | 340 | by | |
341 | .Nm ftp : | 341 | .Nm ftp : | |
342 | .Bl -tag -width Ic | 342 | .Bl -tag -width Ic | |
343 | .It Ic \&! Op Ar command Op Ar args | 343 | .It Ic \&! Op Ar command Op Ar args | |
344 | Invoke an interactive shell on the local machine. | 344 | Invoke an interactive shell on the local machine. | |
345 | If there are arguments, the first is taken to be a command to execute | 345 | If there are arguments, the first is taken to be a command to execute | |
346 | directly, with the rest of the arguments as its arguments. | 346 | directly, with the rest of the arguments as its arguments. | |
347 | .It Ic \&$ Ar macro-name Op Ar args | 347 | .It Ic \&$ Ar macro-name Op Ar args | |
348 | Execute the macro | 348 | Execute the macro | |
349 | .Ar macro-name | 349 | .Ar macro-name | |
350 | that was defined with the | 350 | that was defined with the | |
@@ -518,27 +518,27 @@ format is | @@ -518,27 +518,27 @@ format is | |||
518 | .Dq non-print . | 518 | .Dq non-print . | |
519 | .It Ic ftp Ar host Op Ar port | 519 | .It Ic ftp Ar host Op Ar port | |
520 | A synonym for | 520 | A synonym for | |
521 | .Ic open . | 521 | .Ic open . | |
522 | .It Ic ftp_debug Op Ar ftp_debug-value | 522 | .It Ic ftp_debug Op Ar ftp_debug-value | |
523 | Toggle debugging mode. | 523 | Toggle debugging mode. | |
524 | If an optional | 524 | If an optional | |
525 | .Ar ftp_debug-value | 525 | .Ar ftp_debug-value | |
526 | is specified it is used to set the debugging level. | 526 | is specified it is used to set the debugging level. | |
527 | When debugging is on, | 527 | When debugging is on, | |
528 | .Nm | 528 | .Nm | |
529 | prints each command sent to the remote machine, preceded | 529 | prints each command sent to the remote machine, preceded | |
530 | by the string | 530 | by the string | |
531 | .Ql \-\-\*[Gt] . | 531 | .Ql \-\-> . | |
532 | .It Ic gate Op Ar host Op Ar port | 532 | .It Ic gate Op Ar host Op Ar port | |
533 | Toggle gate-ftp mode, which used to connect through the | 533 | Toggle gate-ftp mode, which used to connect through the | |
534 | TIS FWTK and Gauntlet ftp proxies. | 534 | TIS FWTK and Gauntlet ftp proxies. | |
535 | This will not be permitted if the gate-ftp server hasn't been set | 535 | This will not be permitted if the gate-ftp server hasn't been set | |
536 | (either explicitly by the user, or from the | 536 | (either explicitly by the user, or from the | |
537 | .Ev FTPSERVER | 537 | .Ev FTPSERVER | |
538 | environment variable). | 538 | environment variable). | |
539 | If | 539 | If | |
540 | .Ar host | 540 | .Ar host | |
541 | is given, | 541 | is given, | |
542 | then gate-ftp mode will be enabled, and the gate-ftp server will be set to | 542 | then gate-ftp mode will be enabled, and the gate-ftp server will be set to | |
543 | .Ar host . | 543 | .Ar host . | |
544 | If | 544 | If | |
@@ -887,27 +887,27 @@ is not a null string; otherwise it is re | @@ -887,27 +887,27 @@ is not a null string; otherwise it is re | |||
887 | For example, the command | 887 | For example, the command | |
888 | .Pp | 888 | .Pp | |
889 | .Bd -literal -offset indent -compact | 889 | .Bd -literal -offset indent -compact | |
890 | nmap $1.$2.$3 [$1,$2].[$2,file] | 890 | nmap $1.$2.$3 [$1,$2].[$2,file] | |
891 | .Ed | 891 | .Ed | |
892 | .Pp | 892 | .Pp | |
893 | would yield | 893 | would yield | |
894 | the output filename "myfile.data" for input filenames "myfile.data" and | 894 | the output filename "myfile.data" for input filenames "myfile.data" and | |
895 | "myfile.data.old", "myfile.file" for the input filename "myfile", and | 895 | "myfile.data.old", "myfile.file" for the input filename "myfile", and | |
896 | "myfile.myfile" for the input filename ".myfile". | 896 | "myfile.myfile" for the input filename ".myfile". | |
897 | Spaces may be included in | 897 | Spaces may be included in | |
898 | .Ar outpattern , | 898 | .Ar outpattern , | |
899 | as in the example: | 899 | as in the example: | |
900 | .Dl nmap $1 sed "s/ *$//" \*[Gt] $1 | 900 | .Dl nmap $1 sed "s/ *$//" > $1 | |
901 | Use the | 901 | Use the | |
902 | .Sq \e | 902 | .Sq \e | |
903 | character to prevent special treatment | 903 | character to prevent special treatment | |
904 | of the | 904 | of the | |
905 | .Sq $ , | 905 | .Sq $ , | |
906 | .Sq \&[ , | 906 | .Sq \&[ , | |
907 | .Sq \&] , | 907 | .Sq \&] , | |
908 | and | 908 | and | |
909 | .Sq \&, | 909 | .Sq \&, | |
910 | characters. | 910 | characters. | |
911 | .It Ic ntrans Op Ar inchars Op Ar outchars | 911 | .It Ic ntrans Op Ar inchars Op Ar outchars | |
912 | Set or unset the filename character translation mechanism. | 912 | Set or unset the filename character translation mechanism. | |
913 | If no arguments are specified, the filename character | 913 | If no arguments are specified, the filename character | |
@@ -2140,27 +2140,27 @@ for more information. | @@ -2140,27 +2140,27 @@ for more information. | |||
2140 | An extra key binding is available to | 2140 | An extra key binding is available to | |
2141 | .Nm | 2141 | .Nm | |
2142 | to provide context sensitive command and filename completion | 2142 | to provide context sensitive command and filename completion | |
2143 | (including remote file completion). | 2143 | (including remote file completion). | |
2144 | To use this, bind a key to the | 2144 | To use this, bind a key to the | |
2145 | .Xr editline 3 | 2145 | .Xr editline 3 | |
2146 | command | 2146 | command | |
2147 | .Ic ftp-complete . | 2147 | .Ic ftp-complete . | |
2148 | By default, this is bound to the TAB key. | 2148 | By default, this is bound to the TAB key. | |
2149 | .Sh COMMAND LINE PROMPT | 2149 | .Sh COMMAND LINE PROMPT | |
2150 | By default, | 2150 | By default, | |
2151 | .Nm | 2151 | .Nm | |
2152 | displays a command line prompt of | 2152 | displays a command line prompt of | |
2153 | .Dq "ftp\*[Gt] " | 2153 | .Dq "ftp> " | |
2154 | to the user. | 2154 | to the user. | |
2155 | This can be changed with the | 2155 | This can be changed with the | |
2156 | .Ic "set prompt" | 2156 | .Ic "set prompt" | |
2157 | command. | 2157 | command. | |
2158 | .Pp | 2158 | .Pp | |
2159 | A prompt can be displayed on the right side of the screen (after the | 2159 | A prompt can be displayed on the right side of the screen (after the | |
2160 | command input) with the | 2160 | command input) with the | |
2161 | .Ic "set rprompt" | 2161 | .Ic "set rprompt" | |
2162 | command. | 2162 | command. | |
2163 | .Pp | 2163 | .Pp | |
2164 | The following formatting sequences are replaced by the given | 2164 | The following formatting sequences are replaced by the given | |
2165 | information: | 2165 | information: | |
2166 | .Bl -tag -width "%% " -offset indent | 2166 | .Bl -tag -width "%% " -offset indent | |
@@ -2172,27 +2172,27 @@ The trailing component of the current re | @@ -2172,27 +2172,27 @@ The trailing component of the current re | |||
2172 | .Em n | 2172 | .Em n | |
2173 | trailing components if a digit | 2173 | trailing components if a digit | |
2174 | .Em n | 2174 | .Em n | |
2175 | is given. | 2175 | is given. | |
2176 | If | 2176 | If | |
2177 | .Em n | 2177 | .Em n | |
2178 | begins with | 2178 | begins with | |
2179 | .Sq 0 , | 2179 | .Sq 0 , | |
2180 | the number of skipped components precede the trailing component(s) in | 2180 | the number of skipped components precede the trailing component(s) in | |
2181 | the format | 2181 | the format | |
2182 | .\" ``/<number>trailing'' | 2182 | .\" ``/<number>trailing'' | |
2183 | .Do | 2183 | .Do | |
2184 | .Sm off | 2184 | .Sm off | |
2185 | .Li / Li \*[Lt] Va number Li \*[Gt] | 2185 | .Li / Li < Va number Li > | |
2186 | .Va trailing | 2186 | .Va trailing | |
2187 | .Sm on | 2187 | .Sm on | |
2188 | .Dc | 2188 | .Dc | |
2189 | (for | 2189 | (for | |
2190 | .Sq \&%c ) | 2190 | .Sq \&%c ) | |
2191 | or | 2191 | or | |
2192 | .\" ``...trailing'' | 2192 | .\" ``...trailing'' | |
2193 | .Dq Li \&... Ns Va trailing | 2193 | .Dq Li \&... Ns Va trailing | |
2194 | (for | 2194 | (for | |
2195 | .Sq \&%. ) . | 2195 | .Sq \&%. ) . | |
2196 | .It Li \&%M | 2196 | .It Li \&%M | |
2197 | The remote host name. | 2197 | The remote host name. | |
2198 | .It Li \&%m | 2198 | .It Li \&%m | |
@@ -2224,27 +2224,27 @@ active mode | @@ -2224,27 +2224,27 @@ active mode | |||
2224 | only | 2224 | only | |
2225 | .It Cm auto | 2225 | .It Cm auto | |
2226 | automatic determination of passive or active (this is the default) | 2226 | automatic determination of passive or active (this is the default) | |
2227 | .It Cm gate | 2227 | .It Cm gate | |
2228 | gate-ftp mode | 2228 | gate-ftp mode | |
2229 | .It Cm passive | 2229 | .It Cm passive | |
2230 | passive mode | 2230 | passive mode | |
2231 | .Tn FTP | 2231 | .Tn FTP | |
2232 | only | 2232 | only | |
2233 | .El | 2233 | .El | |
2234 | .It Ev FTPPROMPT | 2234 | .It Ev FTPPROMPT | |
2235 | Command-line prompt to use. | 2235 | Command-line prompt to use. | |
2236 | Defaults to | 2236 | Defaults to | |
2237 | .Dq "ftp\*[Gt] " . | 2237 | .Dq "ftp> " . | |
2238 | Refer to | 2238 | Refer to | |
2239 | .Sx COMMAND LINE PROMPT | 2239 | .Sx COMMAND LINE PROMPT | |
2240 | for more information. | 2240 | for more information. | |
2241 | .It Ev FTPRPROMPT | 2241 | .It Ev FTPRPROMPT | |
2242 | Command-line right side prompt to use. | 2242 | Command-line right side prompt to use. | |
2243 | Defaults to | 2243 | Defaults to | |
2244 | .Dq "" . | 2244 | .Dq "" . | |
2245 | Refer to | 2245 | Refer to | |
2246 | .Sx COMMAND LINE PROMPT | 2246 | .Sx COMMAND LINE PROMPT | |
2247 | for more information. | 2247 | for more information. | |
2248 | .It Ev FTPSERVER | 2248 | .It Ev FTPSERVER | |
2249 | Host to use as gate-ftp server when | 2249 | Host to use as gate-ftp server when | |
2250 | .Ic gate | 2250 | .Ic gate |