ChSh : ChukShell

an ANSI CLI/sh/DOS enhancement/replacement

Oh, evil warning if you try to build any of this code : Newer chsh stuff depends on "cblib" my new library, older chsh stuff depends on "crblib", my deprecated library. You can pretty much tell the difference because ".cpp" = new and ".c" = old.

Updated 2008 : new utils use "cblib" ; also lots of fixes & now support Unicode in the robust/correct way. (see rants for details).

You can download the zip of tabview . (this is my modification to Casey's util). Here is Casey Muratori's forum page on tabview ; BTW Casey's version is very elegantly small, it avoids using the C stdlib at all. I crapped all over that for expedience.

Updated 11-27-00 : some bug fixes and new stuff; I just figured it'd been long enough and dumped my hard-drive to the web. (upload brain to internet ... now !)

Updated 3-20-98 : 'calc' and 'eval' in the UTILS are now usefull as Tex-Calculators ; that is, they accept latex-formatted math commands, for example \frac{ \sqrt{2^3}}{4}


These days I use nothing but 4dos/4nt and the "chuksh" utils from the bad old days of my coding life.

UTILS

: rename,dir,copy,namelow,spawnm,delete,sizedir,ts : a comprehensive CLI util set.

All are in ANSI C and support the most powerful of all wildcards : Amiga wildcards

source code (45k) (updated 11-27-00)

Windows NT Pentium executables (771k) (updated 11-27-00)

* ChukSH:UTIL is a Beta Release ; this means that del.c in particular might get rid of more files than you expected! Also, I encourage you to experiment cautiously (using list.c) if you are not familiar with Amiga wildcards * I am not to be held responsible for anything bad that happens because of these programs; they are use-at-your-own-risk (especially on UNIX) *

Beginner advice : don't using "dele -r *.c"

Note on NT executables : because COMMAND.COM has so many commands fixed and irreplacable, del, ren, and copy have had the letter z stuck in front of them. I suggest using batch files to map these to other similar names.

To compile ChukSH, you'll need crblib

While you're at it, check out genlib , which contains a bunch more utils.


ChukSH currently runs on Amiga and DOS/Windows/OS2 platforms

ChukSH has been successfully compiled with Amiga SAS/C and with WinNT Watcom C, and gcc on WinNT ( Cygnus-GNU-Win32 )

ChukSH is currently not guaranteed to be UNIX compatible, because I don't have a UNIX test platform, and frankly, I don't like UNIX path handling.

Here's a cute thing to do: "rename *_* **" cuts underscores from the filename. Similarly, "zr *.*.* *_*.*" is one I commonly use, since windoze likes to only have one period in a file name.


Charles Bloom / cb at my domain

Back to the Index

The free web counter says you are visitor number and visitor number to this section.