As an FYI, many terminal/text-based editors (taking gnu nano as an example here) simply perform a regex match on the text and prefix/postfix the text with VT100/ANSI color codes matching the 16 VT100/ANSI standard colors (which align to similar colors in the 16 color EGA/VGA palette). See examples of nano's regex's here [0][1]. DOS doesn't do VT100/ANSI translation without something like ANSI.SYS/NANSI.SYS installed.
This operation essentially does something like: REM Load Mouse => <GREY>REM Load Mouse</GREY> LH C:\DOS\DRIVER.EXE => <YELLOW>LH</YELLOW> C:\DOS [0] https://code.google.com/p/nanosyntax/source/browse/trunk/syntax-nanorc/php.nanorc [1] https://code.google.com/p/nanosyntax/source/browse/trunk/syntax-nanorc/js.nanorc On Wed, Apr 15, 2015 at 10:15 AM, Antony Gordon <[email protected]> wrote: > In it's present version, it checks the system path and the boot drive and > loads the following files: > AUTOEXEC.BAT > CONFIG.SYS > FDCONFIG.SYS > PROTOCOL.INI > WIN.INI > SYSTEM.INI > > FDCONFIG.SYS was added in 2003. I never added FDAUTO.BAT, although I could. > I don't remember why either. > > I'll try to find someone on that project that may be willing to assist me > with the syntax highlighting. I'm also looking at SETEDIT. > > > > On Wed, Apr 15, 2015 at 1:13 AM Rugxulo <[email protected]> wrote: >> >> Hi, >> >> I was originally going to sit this one out because I didn't have >> anything worthwhile to mention, but .... >> >> On Mon, Apr 13, 2015 at 10:41 AM, Antony Gordon <[email protected]> >> wrote: >> > >> > Jayden, I don't know if you have used Windows (I'm sure you have), but >> > my >> > program is essentially a DOS version of the System Configuration Editor >> > that >> > came with Windows 3.x. >> >> It's been many years since most of us used that. I don't even remember >> it, to be honest. I was weakly thinking of "msconfig" here. >> >> > I wrote this program using TV on Turbo Pascal when I >> > was working at CompUSA and customers would butcher Windows to the point >> > of >> > not booting. The program opened all the files at once so I could look at >> > them all easily to see what was messed up. >> >> Okay, sounds good. >> >> A quick suggestion here would be to try to find more than just >> CONFIG.SYS and AUTOEXEC.BAT. Specifically, I'm thinking of >> FDCONFIG.SYS, FDAUTO.BAT, or similarly renamed files (e.g. DR-DOS >> 7.03: DCONFIG.SYS, AUTODOS7.BAT or whatever). >> >> > At the time, the basic functionality was all I needed, so I didn't delve >> > into the program more. Releasing it to the FreeDOS community in it's >> > current >> > form will probably get comments around the fact that it is a basic Turbo >> > Vision app and I didn't do "anything". >> >> Okay. >> >> > I am looking for some examples on how to extend the Turbo Vision Editor >> > (or >> > FileEditor) object to include syntax highlighting. So far, I haven't >> > been >> > fruitful in my search. >> >> I've honestly never delved into TVision myself. I know you're using TP >> here, but IIRC even FreePascal has its own clone, FreeVision, which is >> used in their (TUI) IDE for DOS. They also have experimental 16-bit >> DOS target support, but I honestly don't know if FreeVision works >> there (yet). I'm not really in the loop on what's going on over there. >> >> But anyways, you may want to take a look at that. IIRC, their IDE >> supports syntax highlighting, so it may be something they added to FV. >> >> 1). http://wiki.freepascal.org/Free_Vision >> 2). http://www.freepascal.org/docs-html/user/usersu52.html >> >> >> ------------------------------------------------------------------------------ >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >> Develop your own process in accordance with the BPMN 2 standard >> Learn Process modeling best practices with Bonita BPM through live >> exercises >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- >> event?utm_ >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >> _______________________________________________ >> Freedos-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/freedos-devel > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Freedos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
