Announcement

Collapse
No announcement yet.

Win test editor for pbdos

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Win test editor for pbdos

    Anyone know about a text editor that is a 32bit win exe that
    works like DOSPRINT ? Freeware, Shareware or PAYware.

    That is: call it with a shell command in my source and pass
    txt file names to read and edit OR create AND then print it
    anytime with Lance's GREAT pgm !

    I am looking to replace the old and dated EDITOR from the
    original PB/Xtra disk set.

    Thanks in advance.

    Jim


    ------------------

  • #2
    Anyone know about a text editor that is a 32bit win exe....
    Freeware, Shareware or PAYware.. call it with a shell command in my source and pass txt file names to read and edit...
    Notepad.exe
    .. OR create..
    Notepad will not create a file, but no reason you can't create the file before you SHELL...
    Code:
    OPEN "thefile.txt" for OUTPUT AS #1
    PRINT #1, " "  ' << that's a space not a null
    CLOSE 1
    SHELL "Notepad.exe thefile.txt"
    AND then print it anytime with Lance's GREAT pgm !
    Notepad has internal printing support.

    MCM
    (Hey, it's a thought, is't it?)
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Jim,

      SHELL "Notepad.exe /p thefile.txt" open notepad prints the file
      and closes file with no user intervention.



      ------------------
      James Moneypenny
      mailto:[email protected][email protected]</A>
      James Moneypenny
      mailto:[email protected][email protected]</A>

      Comment


      • #4
        Well, assuming NOTEPAD.EXE is actually present, that will work. I have at least one PC here without NOTEPAD.EXE or WORDPAD.EXE present, so it would be wise not to rely on such on such applications.

        BTW, if you are wondering why NOTEPAD might be absent on some systems, the answer is that NOTEPAD has been the occasional target of virii and some Administrators banned it from their networks. It's reappearance could therefore suggest virii activity was occurring.

        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment


        • #5
          There's a simple editor provided with the PB/Win example code--
          supplied with compiled .EXE files, in the PB/Win Download section.

          ------------------
          Tom Hanlin
          PowerBASIC Staff

          Comment


          • #6
            I highly recommend Editpad Pro. It has a tabbed multi doc interface. It has full perl regex search and replace (across multiple open docs), and a very handy user defined menu system to launch an open document with whatever app you specify + command switches. It prints great, does hex, all flavors of ansi and more, does visual document comparisons, and much much more, but is not bloated and is still uncluttered, highly navigable, and easy to use. Oh yeah, and copy+append and cut+append which add the selection to whatever's already on the clip; this is so handy that it should be a fundamental permanent part of the windows gui.

            Its little postcard-ware brother (and actually precursor) is Edipad Classic. Pretty sure they both take command line args for normal functions (new, open, print, etc.). It is so good and self contained that every machine I use get's the following treatment right after a clean windows install:

            copy editpad.exe c:\windows\Notepad.exe

            Yup, no 'installation' req'd. It rules. Just do it.
            Never see that stupid old MS notepad again.

            see http://www.jgsoft.com/

            ------------------
            What can go wrong will go wrong.
            Anything can go wrong.
            What hasn't?!?!

            [This message has been edited by Criss French (edited October 05, 2002).]
            What can go wrong will go wrong.
            Anything can go wrong.
            What hasn't?!?!

            Comment

            Working...
            X