Re: CoBOL moved to OO

From: Richard (riplin_at_Azonic.co.nz)
Date: 01/02/04


Date: 1 Jan 2004 19:30:54 -0800


"James J. Gavan" <jjgavan@shaw.ca> wrote

> Yes, and has nothing to do with OO or GUIs. You had better contact the U. of Bellingham
> ,Wa for an enhancement to Windows Explorer, (to get a file listing),

Yes it is to do with GUIs, or specifically with the way MS chose to
implement their GUI and the whole of Windows.

They wanted to make commands lines as difficult as possible to get at
and use to make everyone use clicky-pointy things.

eg they hid DOSKEY away and didn't even mention that it could be used
to make the command line usable.

> or the 'Run' box. to recognize the old DOS commands..

It does, but you have to know what a command is.
 
> From the desktop I tried Start--->Run----> "dir c:\ucs\1-bin\*.cpy > files.txt" ---->
> <Enter> - replied, "Can't find program DIR".

That is because DIR is not a 'program', but a built-in command in
command.com. You can do it with other file listing programs (usually
somewhat better) or with:

      "command /c dir c:\... >files.txt
 
 
> As a rider - using the MS PWB Editor that came with MS COBOL versions 4 and 5 (re-badged
> MF V 3), within the Editor I can bring up a command line that let's me do "dir
> c:\ucs\1-bin\*.cpy > files.txt" - but again it's text not GUI.

That is a DOS program that is already running under a copy of
command.com as a DOS box.



Relevant Pages

  • Re: good, reliable window manager?
    ... > Good GUIs allow a program to be used pretty-much without a manual. ... As for a complex command that you can't put in a script, ... like it happens when you click on an icon. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Progaramming: how to add a gui front end to a CL command?
    ... It depends very much on the command, ... why GUIs were invented in the first place. ... utility in a GUI would require learning the utility so well that the ... only considering yourself when writing utilities (and most software ...
    (Ubuntu)
  • Re: command line vs gui
    ... Shmuel Metz wrote: ... >>command line. ... I did say that GUIs are good for some purposes. ... it particularly easy to access posts I've already marked "read".) ...
    (comp.os.linux.misc)
  • Re: Documentation for text based server admin
    ... Thanks for the command search tip, ... >> other popular GUIs. ... > If you were looking for something to format a disk, ...
    (linux.redhat.install)
  • Re: Semi-transparent box on desktop
    ... The really annoying thing about GUIs is that there's no way to describe or repeat what you just did. ... On the command line, you can do some complicated set of operations, then scroll back through your command history and cut/paste it into a script file and you'll be able to repeat that set of operations as often as you want on as many machines as you want. ...
    (Fedora)