On Mon, 13 Jun 2011 22:43:00 Eric Auer wrote:

> For those who read mails but do not follow all URLs,
> and to already give some feedback and plug ads for
> similar tools, DOSUTILS contains:

First of all thank you for your feed back. Though i think some additional 
comments could be useful :-)

>> ASKECHO - prompt for user input

> Note that FreeCOM command.com has a special SET for this.

That's true, however DOSUTILS can be used with ANY kind of DOS even with such 
less advanced versions like MS-DOS 6.22 which lack this feature :-)

>> RPN - perform integer calculations

> If you need floating point: The 1024 byte(!) calc387.com
> will be fun for you. For example Rugxulo's Ruffidea distro
> contains a copy of the tool :-)

True, RPN can't do floating point. And even though it can be used 
interactively, its main purpose is to do (more or less) simple calculations in 
batch procedures, like numeric loop counters, comparison of two numbers and the 
like. And i can hardly imagine that some will seriously attempt to implement a 
fast fourier transform as a batch procedure :-) so the lack of floating point 
may not hurt too much.

>> PIPESET - store the output of other programs in environment variables

> In a limited way, yet another exotic SET feature of the
> FreeCOM command.com can help you to do similar things.

Can you pipe into FreeCOM's SET command? And PIPESET can do even more, it can 
cut a specific item out of the data stream (e.g. the size of a specific file 
from the output of the DIR command)

>> SELECT - user menu and directory browser

> Dosemu long ago came with a directory browser called LCD
> which is about 15kB and has no features apart from letting
> you go to a dir using the cursor keys when you call it...

I admit i do not know LCD, i had WINDOWS "standard file dialoge" in mind when 
developing this utility. So if you need a comfortable way to interactively 
specify a file from within a batch procedure then SELECT may become your friend.

>> FORM - a very versatile dialogue utility for batch procedures
>> FAM - automated text modification

Similar to SED? FAM is _very_ remotely similar to AWK (but it is a single 
command line tool, while AWK is actually a script prcessor which can also be 
used on the command line. In addition AWK is strongly based on regular 
expressions while FAM uses a totally different principle, actually it was a 
spin-off from PIPSET.

FORM is a totally different beast. It is a comfortable user interface for batch 
procedures. It displays a form, whichs layout can be very flexibly configured 
and returns the user's input in one ore more environent variables. One possible 
application could be the user dialogue for a configuration procedure but it is 
not limited to that purpose.

>> SCRDUMP - a utility to dump parts of the screen to a file

> With a hotkey as TSR, I assume?

Nope. Again this utility is most useful within batch files (e.g. autoexec.bat). 
Typically it is called twice, once before and a second time right after the 
command whichs output is to be copied to a file

>> INVOKE - invoke program and report the error code it returned (test and 
>> debugging aid)

> You can use %ERRORLEVEL% in FreeCOM command.com for that,

Right, but again, not all incarnations of DOS properly support %ERRORLEVEL%. 
Furthemore, the latest version allows as a "side effect" to re-direct stderr, 
which is otherwise not so easily done.

I know, that not everyone is a fan of written documentation, but in this case i 
strongly recommend to read the files DOSUTILS.TXT and FORM.TXT they tell much 
more details than could be mentioned here.

___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to