WinLess is a small utility for Windows that can show inside its own 
window anything passed to its standard input and optionally replicate 
it to standard output (essentially acting as a probe).  It is useful 
as an alternative to the more command that comes with Windows and to 
pagers like less and most - but instead of running inside the 
console, it uses its own window with some additional commands (like 
search, print, save, etc).

The program is written in Delphi 2 and is open source licensed under 
the zlib license.  It should be trivial to port it to Lazarus, 
although i chose Delphi 2 because it creates a very small executable.

To use WinLess simply place it somewhere in your path and pass it at
the right side of a pipe in a command, like:

  dir | winless

If you want to use winless to see the result of some command but keep
filtering it, use the /pt or -pt parameter which replicates the data it
gets in stdin to stdout, like:

  find <stuff> | grep <stuff> | winless -pt | awk <stuff>

WinLess can also load files to show like

  winless <filename> <filename> ...

If you use /pt in front of the files it will also dump them to stdout.

In addition the /C: or -C: parameter can be used to add some text to
the caption like:

  fossil diff | winless /C:Changes~since~last~commit

The ~ characer will be replaced with a space.

Kostas "Bad Sector" Michalopoulos
badsector@runtimeterror.com
