man implementation in ReactOS by Semyon Novikov (tappak).

It works in current ROS implementation according to his words

svn path=/trunk/; revision=7909
This commit is contained in:
Aleksey Bragin 2004-01-29 20:28:56 +00:00
parent 33084f82f3
commit 6bfe38b04b
7 changed files with 139 additions and 0 deletions

54
rosapps/sysutils/man/man.cmd Executable file
View file

@ -0,0 +1,54 @@
@echo off
rem []------[ReactOS MAN Project ]--------[]
rem Project: ReactOS manual browser
rem File: man.cmd
rem Purpose: Clone of UNIX man
rem Programmers: Semyon Novikov
rem Version: 0.1.2
rem OS: WinNT/ReactOS/os2 eCs(testing)
rem License: GPL
rem []------------------------------------[]
rem []==[Config area]==[]
set MANED=edit
set MANMORE=cat
set MAN=c:\ReactOS\man
rem []==[End of config area]==[]
goto chk_param
:chk_param
if "%4"=="/create" attrib -r %MAN%\%SECTION%\%1.man
if "%4"=="/create" %ED% %MAN%\%SECTION%\%1.man
if "%4"=="/create" goto end
if "%2"=="/e" set ED=%MANED%
if "%2"=="/e" goto locate
if "%3"=="/e" set ED=%MANED%
if "%3"=="/e" goto chk_section
if "%2"=="" set ED=%MANMORE%
if "%2"=="" goto locate
:chk_section
set SECTION=%2
set ED=%MANMORE%
if "%3"=="/e" set ED=%MANED%
goto open_page
:locate
if exist %MAN%\1\%1.man set SECTION=1
if exist %MAN%\2\%1.man set SECTION=2
if exist %MAN%\3\%1.man set SECTION=3
if exist %MAN%\4\%1.man set SECTION=4
if exist %MAN%\5\%1.man set SECTION=5
:open_page
if not exist %MAN%\%SECTION%\%1.man echo No manual for %1
if exist %MAN%\%SECTION%\%1.man cls
if exist %MAN%\%SECTION%\%1.man %ED% %MAN%\%SECTION%\%1.man
:end

View file

@ -0,0 +1,13 @@
[]==============================[chkdsk.exe]===============================[]
Author: Mark Russinovich
Purpose: Disk checking tool
Port on ROS: Emanuele Aliberti
License: GPL
Usage: %s [drive:] [-F] [-V] [-R] [-C]\n\n\
[drive:] Specifies the drive to check.\n\
-F Fixes errors on the disk.\n\
-V Displays the full path of every file on the disk.\n\
-R Locates bad sectors and recovers readable information.\n\
-C Checks the drive only if it is dirty.\n\n"

View file

@ -0,0 +1,8 @@
[]===============================[chklib.exe]================================[]
Purpose: Check a Dynamic Link Library (DLL) for loading
Author: Emanuele Aliberti
License: GPL
Usage: chklib.exe module [symbol [, ...]]

View file

@ -0,0 +1,22 @@
[]=================================[format.exe]==============================[]
Author: Mark Russinovich
Purpose: Disk formating tool
Port on ROS: Emanuele Aliberti
License: GPL
Usage: format.exe drive: [-FS:file-system] [-V:label] [-Q] [-A:size] [-C]
[drive:] Specifies the drive to format.
-FS:file-system Specifies the type of file system (e.g. FAT).
-V:label Specifies volume label.
-Q Performs a quick format.
-A:size Overrides the default allocation unit size.
Default settings are strongly recommended for general
use NTFS supports 512, 1024, 2048, 4096, 8192, 16K,
32K, 64K. FAT supports 8192, 16K, 32K, 64K, 128K, 256K.
NTFS compression is not supported for allocation
unit sizes above 4096.
-C Files created on the new volume will be compressed by
default.

View file

@ -0,0 +1,21 @@
[]=========================[ReactOS Man project]========================[]
Author: Semyon Novikov <tappak>
Purpose: ReactOS manual browser and manual pages
License: GPL
1. Built in cmd.exe commands
2. Console utils
3. GUI utils
4. Developer tools
5. Games & other
options: /e - open with editor
/create - create new page
Usage: man [command] [section] [/e] [/create]
Example: o man man
o man man /e
o man man 2
o man quake3 5 /e /create

View file

@ -0,0 +1,13 @@
[]==============================[ping.exe]=======================================[]
Ptoject: ReactOS ping utility
Purpose: Network test utility
Programmers: Casper S. Hornstrup (chorns@users.sourceforge.net)
Usage: ping [-t] [-n count] [-l size] [-w timeout] destination-host\n\n
-t Ping the specified host until stopped.
To stop - type Control-C.
-n count Number of echo requests to send.
-l size Send buffer size.
-w timeout Timeout in milliseconds to wait for each reply.

View file

@ -0,0 +1,8 @@
[]=====================[ReactOS GUI task Manager]======================[]
Author: Brian Palmer
Purpose: ROS task manager
License: GPL