packet:xrpi:manpages:section3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packet:xrpi:manpages:section3 [2025/04/19 11:46] – created m0mzf | packet:xrpi:manpages:section3 [2025/04/19 17:59] (current) – removed m0mzf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =======Section 3 - PZTDOS Commands======= | ||
- | =====CD.3.MAN===== | ||
- | < | ||
- | </ | ||
- | CD -- Change Working Directory (PZTDOS) | ||
- | </ | ||
- | CD < | ||
- | |||
- | </ | ||
- | The CD command changes the " | ||
- | specified by < | ||
- | |||
- | If <dir> is an absolute pathname, beginning with \ or /, it | ||
- | is used as specified, otherwise it is interpreted relative to | ||
- | the current working directory. | ||
- | and " | ||
- | mixed. | ||
- | |||
- | On DOS (XR16) and Windows (XR32) versions only, if <dir> is | ||
- | preceeded by a drive spec tPZTDOS will also change | ||
- | the current drive (not applicable on Linux). | ||
- | |||
- | </ | ||
- | CD ../ | ||
- | |||
- | </ | ||
- | This is a sysop-only command, available only within PZTDOS. | ||
- | |||
- | </ | ||
- | DOS(1) -- Enter PZTDOS mode | ||
- | |||
- | </ | ||
- | =====COPY.3.MAN===== | ||
- | < | ||
- | </ | ||
- | COPY -- Copy file(s) (PZTDOS). | ||
- | |||
- | </ | ||
- | COPY < | ||
- | |||
- | </ | ||
- | The COPY command copies the file(s) specified by the pathname | ||
- | < | ||
- | |||
- | < | ||
- | files specified using wildcards, and may contain a drive and | ||
- | path spec. If < | ||
- | directory will be copied. | ||
- | matching files will be copied. | ||
- | |||
- | If < | ||
- | a new file specified by < | ||
- | and the file written out, upon receipt of a line containing | ||
- | only /EX or ctrl-Z. The operation can be aborted at any time | ||
- | by entering a new line containing only ctrl-A. Nothing is | ||
- | written to disk in this case. | ||
- | | ||
- | [dest] may be a directory, a single file, or blank. | ||
- | is a directory, the source file(s) are copied into it as | ||
- | seperate files. | ||
- | file(s) are concatenated into it. If [dest] is not specified, | ||
- | the file is copied into the working directory and retains the | ||
- | original filename. | ||
- | |||
- | Pathnames may use either forward (/) or back (\) slashes. | ||
- | |||
- | Pathnames that contain spaces must be enclosed in double | ||
- | quotes, e.g. "my documents/ | ||
- | |||
- | </ | ||
- | COPY ..\MYPROG.EXE | ||
- | COPY "my documents/ | ||
- | COPY *.HLP HELP.DOC | ||
- | COPY CON fred.txt | ||
- | |||
- | </ | ||
- | Normal dos syntax is followed, except that concatenation using | ||
- | the " | ||
- | |||
- | </ | ||
- | This command is available only in PZTDOS mode, which is | ||
- | restricted to sysops only. | ||
- | |||
- | </ | ||
- | Overwrites destination files without warning. | ||
- | |||
- | </ | ||
- | DOS(1) | ||
- | MOVE(3) -- Move Files (PZTDOS). | ||
- | REN(3) | ||
- | |||
- | </ | ||
- | =====DEL.3.MAN===== | ||
- | < | ||
- | </ | ||
- | DEL -- Delete one or more files (PZTDOS) | ||
- | |||
- | </ | ||
- | DEL < | ||
- | |||
- | </ | ||
- | If < | ||
- | |||
- | Pathnames containing spaces must be enclosed in quotes. | ||
- | |||
- | Both forward (/) and back (\) slashes are accepted. | ||
- | |||
- | The number of files deleted is reported upon completion. | ||
- | |||
- | </ | ||
- | DEL FRED.TXT | ||
- | DEL \TMP\LOG?? | ||
- | DEL "my big fat pathname.txt" | ||
- | |||
- | </ | ||
- | The DEL command is available only to sysops, in PZTDOS mode. | ||
- | |||
- | </ | ||
- | DOS(1) -- Enter PZTDOS mode | ||
- | |||
- | </ | ||
- | =====DF.3.MAN===== | ||
- | < | ||
- | </ | ||
- | DF -- Display free space on drive. | ||
- | |||
- | </ | ||
- | DF [drive] | ||
- | |||
- | </ | ||
- | The DF command displays the free and total space in bytes on | ||
- | the specified drive, plus sector and cluster size information. | ||
- | |||
- | WARNING: This currently gives incorrect information on Linux! | ||
- | |||
- | </ | ||
- | [drive] is only applicable on XR16 and XR32. It is ignored | ||
- | on Linux versions. | ||
- | |||
- | If no drive is specified, the current drive is assumed. | ||
- | |||
- | The drive letter need not include the colon. | ||
- | |||
- | </ | ||
- | DF | ||
- | DF F: | ||
- | |||
- | </ | ||
- | PZTDOS command. | ||
- | |||
- | </ | ||
- | =====DIR.3.MAN===== | ||
- | < | ||
- | </ | ||
- | DIR -- Obtain a directory listing. (PZTDOS) | ||
- | |||
- | </ | ||
- | DIR [[path/ | ||
- | |||
- | </ | ||
- | The DIR command lists the contents of the specified directory | ||
- | using the optional specified mask. | ||
- | |||
- | If a path is not specified, the " | ||
- | is assumed. Forward and backward slashes can be freely mixed. | ||
- | |||
- | If mask is not specified, " | ||
- | filename part is specified, the extension " | ||
- | |||
- | Path[/mask] arguments containing spaces MUST be enclosed in | ||
- | " | ||
- | |||
- | The files are displayed in alphabetical order. | ||
- | |||
- | </ | ||
- | DIR MSGHDR??.* | ||
- | DIR LOG\ | ||
- | DIR / | ||
- | DIR "test directory/ | ||
- | |||
- | </ | ||
- | Does not at present accept pipes, redirection or switches. | ||
- | |||
- | </ | ||
- | Restricted to sysops. Available only within PZTDOS mode. | ||
- | |||
- | </ | ||
- | DOS(1) -- Enter PZTDOS mode. | ||
- | |||
- | </ | ||
- | =====EDIT.3.MAN===== | ||
- | < | ||
- | </ | ||
- | EDIT -- Invoke Line Editor (PZTDOS). | ||
- | |||
- | </ | ||
- | E[DIT] [drive: | ||
- | |||
- | </ | ||
- | Sysop only. PZTDOS mode only. | ||
- | |||
- | </ | ||
- | The EDIT command invokes the text editor, allowing text | ||
- | files to be created, viewed or edited. | ||
- | |||
- | This is a line-based text editor which is primarily of use | ||
- | to remote sysops. | ||
- | |||
- | If the specified file doesn' | ||
- | |||
- | All editing is done in memory, and the original file is only | ||
- | created or modified when the sysop issues a write command. | ||
- | |||
- | </ | ||
- | [drive:] is only meaningful for DOS and Windows versions. | ||
- | For Linux, ignore all references to it. | ||
- | |||
- | Backslashes are used on DOS and Windows, forward slashes on | ||
- | Linux, although they can be freely mixed. | ||
- | |||
- | If no drive or path are specified, the XRouter " | ||
- | directory" | ||
- | |||
- | If the drive is not specified, the drive containing XRouter | ||
- | is assumed. | ||
- | |||
- | If the path starts with a backslash (\), it is relative to | ||
- | the root of the drive, otherwise it is relative to the | ||
- | XRouter directory. | ||
- | |||
- | Pathnames containing spaces must be enclosed in " | ||
- | quotes" | ||
- | |||
- | </ | ||
- | EDIT " | ||
- | EDIT XROUTER.CFG | ||
- | EDIT help/ | ||
- | |||
- | </ | ||
- | In the following, n1, n2 and n3 refer to line numbers, which | ||
- | must be greater than zero, and within the range of line | ||
- | numbers used in the file. The space between the command and | ||
- | the first number may be omitted, and the numbers may be | ||
- | separated by spaces, commas, colons, tabs etc. | ||
- | in square brackets [] are optional. | ||
- | inserting lines, the " | ||
- | " | ||
- | |||
- | |||
- | ? -- Displays a brief list of commands. | ||
- | |||
- | A < | ||
- | |||
- | The editor ignores exactly one space between the A and | ||
- | the text to be inserted, so if you want to enter a line | ||
- | with leading spaces, add one extra. | ||
- | |||
- | C n1 n2 [n3] -- Copy line(s). | ||
- | |||
- | If n3 is omitted, line n1 is copied into line n2, | ||
- | otherwise the block n1 to n2 inclusive will be copied | ||
- | into the position beginning at n3. | ||
- | Note: n3 must not be within the block being copied. | ||
- | |||
- | D n1 [n2] -- Delete line(s). | ||
- | |||
- | If both n1 and n2 are specified, the block of lines | ||
- | between and including n1 and n2 will be deleted. | ||
- | is omitted, or is the same as n1, only n1 will be | ||
- | deleted. | ||
- | |||
- | H n1 -- Hash (comment-out) a line using the '#' | ||
- | | ||
- | This is useful for disabling configuration entries | ||
- | without deleting them. They can be easily re-activated | ||
- | at a later date using the U)nhash command. | ||
- | already begins with '#' | ||
- | |||
- | I n1 < | ||
- | |||
- | L n1 [n2] -- List (display) line(s). | ||
- | |||
- | If n2 is specified, lines n1 to n2 inclusive will be | ||
- | displayed, otherwise it will display 10 lines beginning | ||
- | at n1. If n1 is omitted, it will re-display the same | ||
- | page, or if this is the first time the command has been | ||
- | used, the first 10 lines of the text will be displayed. | ||
- | |||
- | M n1 n2 [n3] -- Move line(s). | ||
- | |||
- | If n3 is specified, the block of lines n1 to n2 | ||
- | inclusive will be moved to the position beginning at | ||
- | n3, otherwise the single line n1 will be moved to the | ||
- | n2 position. | ||
- | |||
- | N -- Next page. | ||
- | |||
- | Displays the next page (10 lines) of text. | ||
- | |||
- | P -- Previous page. | ||
- | |||
- | Displays the previous page (10 lines) of text. | ||
- | |||
- | Q -- Quit. | ||
- | |||
- | The text is abandoned and the original file is | ||
- | left intact, providing you hadn't used the W command. | ||
- | |||
- | S -- Save the text. | ||
- | Syntax and function identical to W)rite. | ||
- | |||
- | U n1 -- Unhash line n1. | ||
- | |||
- | Removes a '#' | ||
- | present (opposite of H)ash). | ||
- | |||
- | W [< | ||
- | |||
- | If < | ||
- | instead of the original name, but will not overwrite an | ||
- | existing file. | ||
- | |||
- | W! < | ||
- | |||
- | Writes the text being edited to < | ||
- | existing file of that name. | ||
- | |||
- | WQ -- Write & Quit. | ||
- | |||
- | Writes the modified text back to the original file and | ||
- | quits editor. (Same as ZZ) | ||
- | |||
- | ZZ -- Same as WQ (see above) | ||
- | |||
- | </ | ||
- | The editor can access any part of any disk, so it must be | ||
- | used with caution. | ||
- | |||
- | </ | ||
- | =====EXIT.3.MAN===== | ||
- | < | ||
- | </ | ||
- | EXIT -- Leave PZTDOS mode | ||
- | |||
- | </ | ||
- | EXIT | ||
- | |||
- | </ | ||
- | The EXIT command is available only to sysops, within PZTDOS. | ||
- | |||
- | </ | ||
- | Closes a PZTDOS session and returns to normal command mode. | ||
- | |||
- | </ | ||
- | There is also an EXIT command outside PZTDOS, which is used | ||
- | to terminate the program. | ||
- | |||
- | </ | ||
- | DOS(1) | ||
- | EXIT(1) -- Exit XRouter | ||
- | |||
- | </ | ||
- | =====MD.3.MAN===== | ||
- | < | ||
- | </ | ||
- | MD -- Make Directory. (PZTDOS) | ||
- | |||
- | </ | ||
- | MD [drive: | ||
- | |||
- | </ | ||
- | MD creates a directory with the specified pathname. | ||
- | |||
- | If drive or path are not specified, the current working drive | ||
- | and/or path are assumed. | ||
- | |||
- | The specified path may be absolute, or relative to the current | ||
- | directory. Forward (/) and back (\) slashes may be freely | ||
- | mixed. | ||
- | |||
- | [drive:] is only valid for DOS (XR16) and Windows (XR32) | ||
- | versions. < | ||
- | versions ony. | ||
- | |||
- | </ | ||
- | MD fred Make subdirectory FRED | ||
- | MD d: | ||
- | |||
- | </ | ||
- | Within PZTDOS mode only. Non-sysops do not have access to | ||
- | this command. | ||
- | |||
- | </ | ||
- | This command is identical to the MSDOS version. | ||
- | |||
- | </ | ||
- | RMDIR(3) -- Remove Directory. | ||
- | |||
- | </ | ||
- | =====MOVE.3.MAN===== | ||
- | < | ||
- | </ | ||
- | MOVE -- Move file(s). (PZTDOS) | ||
- | |||
- | </ | ||
- | MOVE [drive: | ||
- | |||
- | </ | ||
- | Within PZTDOS mode only. Non-sysops do not have access to | ||
- | this command. | ||
- | |||
- | </ | ||
- | Moves the file(s) specified by the first argument (source) to | ||
- | the new location and/or name(s) specified by the second | ||
- | argument (target). | ||
- | |||
- | " | ||
- | path, the current working directory is assumed. | ||
- | |||
- | " | ||
- | the original name(s) are used. If target is a single file, | ||
- | the source must also be a single file. | ||
- | |||
- | If source and target filenames are different the file(s) will | ||
- | be renamed at the same time. | ||
- | |||
- | [drive:] is only applicable to DOS (XR16) Windows (XR32) | ||
- | versions. Linux pathnames are case-sensitive, | ||
- | DOS/Windows are not. Fortward (/) and back (\) slashes may be | ||
- | freely mixed. | ||
- | |||
- | Pathnames which contain spaces must be enclosed in double | ||
- | quotes, e.g. "this is a pathname with spaces" | ||
- | |||
- | </ | ||
- | MOVE fred.bat test.bat | ||
- | MOVE test.bat c:\ Move only. | ||
- | MOVE c:\test.bat d: | ||
- | MOVE fred.txt "my docs/" | ||
- | |||
- | </ | ||
- | This command follows normal MSDOS v 7 syntax, apart from the | ||
- | ability to rename a directory, which is not implemented. | ||
- | |||
- | </ | ||
- | COPY(3) -- Copy files (PZTDOS). | ||
- | DOS(1) | ||
- | REN(3) | ||
- | |||
- | </ | ||
- | =====REN.3.MAN===== | ||
- | < | ||
- | </ | ||
- | REN -- Rename file(s). (PZTDOS) | ||
- | |||
- | </ | ||
- | REN [drive: | ||
- | |||
- | </ | ||
- | Renames one or more file(s) from < | ||
- | |||
- | If the source path is not specified, the current working | ||
- | directory is assumed. | ||
- | |||
- | If the destination path is not specified, the renamed file(s) | ||
- | remain(s) in the source directory. | ||
- | |||
- | If you specify two different paths, this command moves the | ||
- | file to the new path, providing it is on the same drive. | ||
- | |||
- | Filenames may contain wildcards. Pathnames on Linux are case- | ||
- | sensitive. Those on DOS and Windows are not. | ||
- | |||
- | [drive:] is only applicable to DOS and Windows versions of | ||
- | XRouter. | ||
- | |||
- | Forward (/) and back (\) slashes are interchangeable. | ||
- | |||
- | Pathnames containing spaces must be enclosed in double quote | ||
- | marks, e.g. "my documents" | ||
- | |||
- | </ | ||
- | REN FWD.SYS | ||
- | REN C: | ||
- | REN C: | ||
- | REN *.SAV *.19 | ||
- | |||
- | </ | ||
- | Source and destination pathnames must be on the same drive. | ||
- | (Use the MOVE command for renaming to a different drive) | ||
- | |||
- | </ | ||
- | This command follows normal DOS syntax. | ||
- | |||
- | </ | ||
- | REN is available within PZTDOS mode only. Non-sysops do not | ||
- | have access to PZTDOS. | ||
- | |||
- | </ | ||
- | DOS(1) | ||
- | MOVE(3) -- Move a file with optional rename. | ||
- | |||
- | </ | ||
- | =====RMDIR.3.MAN===== | ||
- | < | ||
- | </ | ||
- | RMDIR -- Remove Directory. (PZTDOS) | ||
- | |||
- | </ | ||
- | RMDIR [drive: | ||
- | |||
- | </ | ||
- | Sysop-only, within PZTDOS only. | ||
- | |||
- | </ | ||
- | Deletes a directory with the specified pathname, if it exists. | ||
- | |||
- | If drive or path are not specified, the current working drive | ||
- | and/or path are assumed. | ||
- | |||
- | The specified path may be absolute, or relative to the current | ||
- | directory. | ||
- | |||
- | [drive:] is applicable only to DOS and Windows versions. | ||
- | |||
- | Pathnames are case sensitive in Linux versions only. | ||
- | |||
- | Forward (/) and back (\) slashes may be used interchangeably. | ||
- | |||
- | </ | ||
- | RMDIR fred | ||
- | RMDIR c: | ||
- | |||
- | </ | ||
- | MD(3) -- Make Directory. | ||
- | |||
- | </ | ||
- | =====TYPE.3.MAN===== | ||
- | < | ||
- | </ | ||
- | TYPE -- displays a text file. (PZTDOS) | ||
- | |||
- | </ | ||
- | TYPE [path/ | ||
- | |||
- | </ | ||
- | Sysop-only. PZTDOS mode only. | ||
- | |||
- | </ | ||
- | The TYPE command displays the specified text file without | ||
- | pagination. | ||
- | |||
- | Forward (/) and back (\) slashes may be used interchangeably. | ||
- | |||
- | Pathnames containing spaces must be enclosed in double | ||
- | quoutes (e.g. "my documents/ | ||
- | |||
- | </ | ||
- | TYPE ../ | ||
- | |||
- | </ | ||
- | For use with text files only. There are no limitations on the | ||
- | size of file which can be displayed. | ||
- | (yet) allow concatenation of files, and the output may not | ||
- | (yet) be redirected to a file. | ||
- | Wildcards are not accepted. | ||
- | | ||
- | </ | ||
- | The TYPE command in PZTDOS follows normal DOS syntax, apart | ||
- | from the lack of redirection mentioned in " | ||
- | |||
- | </ | ||
- | DOS(1) -- Enter PZTDOS mode | ||
- | |||
- | </ |
packet/xrpi/manpages/section3.1745063213.txt.gz · Last modified: 2025/04/19 11:46 by m0mzf