A short collection of Dos tools for manipulating ASCII pictures.
LR.BAT - flip ascii-art picture left-right
TB.BAT - flip ascii-art picture top-bottom
CW90.BAT - rotate ascii-art picture 90 degrees
CCW90.BAT - rotate ascii-art picture 270 degrees
Usage:
LR picture.in (output goes to screen)
LR picture.in picture.out (output goes to file)
LR picture.in > picture.out (output redirects to file)
same usage for TB, CW90 and CCW90
'. .'
__ _ ' . ' . ' _ __
)_\j`-._ _ _._._=_= '.'''.' =_=_._._ _ _.-'t/_(
<-. )_\F| F "_~ ~=~=~=~=~ . . ~=~=~=~=~ ~_" 7 |7/_( .->
\___)_\F )\/" ' ` ~.' '.' '.~ ' ` "\/( 7/_(___/
()( _) F_) ' . ' (_7 (_ )()
_F_\F,_)/F_\_, ' . ' ,_/_7\(_,7/_7_
The four Dos scripts (or batch-files) all require ASC-TOOL.EXE,
TR-386.EXE, SED-386.exe and CWSDPMI.EXE to be in your search PATH.
ASC-TOOL.ZIP : zip archive archive containing all components and support util information LR.BAT 1.125 Kb flip ascii picture left-right TB.BAT 0.760 Kb flip ascii picture top-bottom CW90.BAT 0.853 Kb rotate clockwise 90 degrees CCW90.BAT 0.860 Kb rotate counter-clockwise 90 degrees ASC-TOOL.EXE 11.402 Kb ascii-art picture raw rotation tool ASC-TOOL.TXT 1.203 Kb brief help page for ASC-TOOL.EXE * ASC-T386.EXE 36.864 Kb ascii-art picture raw rotation tool * TR-386.EXE 51.200 Kb unix character translation tool * SED-386.EXE 73.216 Kb unix stream editor + CWSDPMI.EXE 20.217 Kb DPMI support for i386 executables CWSDPMI.DOC 7.060 Kb documentation for CWSDPMI.EXE CWSPARAM.EXE 13.134 Kb CWSDPMI.EXE setup/support file CWSPARAM.DOC 4.425 Kb documentation for CWSPARAM.EXE TEST.ASC 1.024 Kb test ascii pic * requires 386 or higher and CWSDPMI.EXE + requires 386 or higher
-:- ABSOLUTELY NO WARRANTY -:- ASC-TOOL.EXE was compiled from ASC-TOOL.C using Turbo-C v2.01 ASC-T386.EXE was compiled from ASC-TOOL.C using DJGPP v2.07 TR-386.EXE was compiled from TR.C v1.22 using DJGPP v2.07 SED-386.EXE pre-compiled GNU copyright SED v1.18 CWSDPMI.EXE pre-compiled 32bit v0.90+r1 © 1995 CW Sandmann Compiled using DJ Delorie's DJGPP v2.0 DJGPP is a 32-bit C compiler for MS-DOS. Source code and binaries of DJGPP are available at http://www.delorie.com
On Windows95, open a Dos window, create a directory with MKDIR C:\AT copy all the files from the archive into that directory then change to that directory with CD \AT Check the tool works with LR TEST.ASC and TB TEST.ASC
type test.asc
_\| __ |/_
_- \_ _/"-> _/ -_
-_ `-'7 F`-' _-
`=.__.=-( )-=.__.='
|/-\|
cjr Y Y
2aug98
tb test.asc
San698
cjt A A
|\-/|
,='~~'=-( )-='~~'=.
-~ ,-.J L,-. ~-
~- /~ ~\"-> ~\ -~
~/| ~~ |\~
| TOP |
Copyright © CJRandall_1998-2001