Re: [Freedos-devel] System Configuration Editor

2015-04-20 Thread Antony Gordon
I'm trying to build on what I've already done in the Pascal variant of
turbo vision.

Maybe I should learn the C++ variant instead.

On Wed, Apr 15, 2015, 2:53 PM Louis Santillan lpsan...@gmail.com wrote:

 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=  GREYREM Load Mouse/GREY
 LH C:\DOS\DRIVER.EXE =  YELLOWLH/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 cuzint...@gmail.com
 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 rugx...@gmail.com 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 cuzint...@gmail.com
  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_15utm_medium=emailutm_campaign=VA_SF
  ___
  Freedos-devel mailing list
  Freedos-devel@lists.sourceforge.net
  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_15utm_medium=emailutm_campaign=VA_SF
  ___
  Freedos-devel mailing list
  Freedos-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/freedos-devel
 


 

Re: [Freedos-devel] System Configuration Editor

2015-04-15 Thread Antony Gordon
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 rugx...@gmail.com 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 cuzint...@gmail.com
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] System Configuration Editor

2015-04-15 Thread Louis Santillan
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=  GREYREM Load Mouse/GREY
LH C:\DOS\DRIVER.EXE =  YELLOWLH/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 cuzint...@gmail.com 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 rugx...@gmail.com 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 cuzint...@gmail.com
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_

Re: [Freedos-devel] System Configuration Editor

2015-04-14 Thread Rugxulo
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 cuzint...@gmail.com 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_15utm_medium=emailutm_campaign=VA_SF
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] System Configuration Editor

2015-04-14 Thread JAYDEN CHARBONNEAU
Oh,so you wish to modify the Turbo C++ (Which includes TV).I am not sure on
how to do this,but I may have an idea.Perhaps you could custom make the
highlights.Meaning,there may be a way to set the editor to highlight custom
keywords with custom colors.

On Mon, Apr 13, 2015 at 9:10 AM, Louis Santillan lpsan...@gmail.com wrote:

 I would look at setedit's code as SET implemented syntax color
 highlighting for TV (djgpp, however).  See [0].

 [0] http://setedit.cvs.sourceforge.net/viewvc/setedit/setedit/

 On Mon, Apr 13, 2015 at 8:41 AM, Antony Gordon cuzint...@gmail.com
 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. 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.
 
  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.
 
  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.
 
 
 
  On Mon, Apr 13, 2015 at 10:28 AM JAYDEN CHARBONNEAU
  jcharbonnea...@cpsge.org wrote:
 
  Editing configuration files is pretty straight forward when it comes to
  DOS,but,a GUI is nice.For syntax highlighting,I would do the following:
  Have a few default structures.Like function=[option] or function
  command [options]
  So when the user (I am not sure how your program works,so bear with me)
  types a FDCONFIG.SYS line,the program changes the text colors
 corresponding
  with the different values.The general syntax for FDCONFIG.SYS is
  function=[option].As for editing the AUTOEXEC.BAT file,it is
 basically a
  batch file,save the fact that it runs at the start.So if the user types
 LH
  program/exectuable,the function (LH) should be a specific color,and
 the
  option (executable) should be another.It is a matter of changing the
 colors
  of preset functions,using a general syntax.I hope this helps,as I have
 not
  programmed FreeDOS in at least a month/month and a half now.
  -Jayden
 
 
  On Sat, Apr 11, 2015 at 11:55 AM, Antony Gordon cuzint...@gmail.com
  wrote:
 
  I've dug up an old program that I used when I was a PC tech to edit
  configuration files (AUTOEXEC.BAT, CONFIG.SYS,  and the assortment of
  Windows 3.x config files).
 
  It's written in (Turbo) Pascal. Jim suggested I add syntax highlighting
  and features from MEM to it. I need some pointers on the syntax
  highlighting, however do you think this is good feature to have or
 tool?
 
  I'm open to suggestions for this.
 
 
 
 
 --
  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_15utm_medium=emailutm_campaign=VA_SF
  ___
  Freedos-devel mailing list
  Freedos-devel@lists.sourceforge.net
  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_15utm_medium=emailutm_campaign=VA_SF___
  Freedos-devel mailing list
  Freedos-devel@lists.sourceforge.net
  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_15utm_medium=emailutm_campaign=VA_SF
  ___
  Freedos-devel mailing list
  Freedos-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/freedos-devel
 


 --
 BPM Camp - Free Virtual Workshop May 6th at 

Re: [Freedos-devel] System Configuration Editor

2015-04-13 Thread JAYDEN CHARBONNEAU
Editing configuration files is pretty straight forward when it comes to
DOS,but,a GUI is nice.For syntax highlighting,I would do the following:
Have a few default structures.Like function=[option] or function
command [options]
So when the user (I am not sure how your program works,so bear with me)
types a FDCONFIG.SYS line,the program changes the text colors corresponding
with the different values.The general syntax for FDCONFIG.SYS is
 function=[option].As for editing the AUTOEXEC.BAT file,it is basically
a batch file,save the fact that it runs at the start.So if the user types
LH program/exectuable,the function (LH) should be a specific color,and
the option (executable) should be another.It is a matter of changing the
colors of preset functions,using a general syntax.I hope this helps,as I
have not programmed FreeDOS in at least a month/month and a half now.
-Jayden


On Sat, Apr 11, 2015 at 11:55 AM, Antony Gordon cuzint...@gmail.com wrote:

 I've dug up an old program that I used when I was a PC tech to edit
 configuration files (AUTOEXEC.BAT, CONFIG.SYS,  and the assortment of
 Windows 3.x config files).

 It's written in (Turbo) Pascal. Jim suggested I add syntax highlighting
 and features from MEM to it. I need some pointers on the syntax
 highlighting, however do you think this is good feature to have or tool?

 I'm open to suggestions for this.


 --
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] System Configuration Editor

2015-04-13 Thread Louis Santillan
I would look at setedit's code as SET implemented syntax color
highlighting for TV (djgpp, however).  See [0].

[0] http://setedit.cvs.sourceforge.net/viewvc/setedit/setedit/

On Mon, Apr 13, 2015 at 8:41 AM, Antony Gordon cuzint...@gmail.com 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. 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.

 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.

 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.



 On Mon, Apr 13, 2015 at 10:28 AM JAYDEN CHARBONNEAU
 jcharbonnea...@cpsge.org wrote:

 Editing configuration files is pretty straight forward when it comes to
 DOS,but,a GUI is nice.For syntax highlighting,I would do the following:
 Have a few default structures.Like function=[option] or function
 command [options]
 So when the user (I am not sure how your program works,so bear with me)
 types a FDCONFIG.SYS line,the program changes the text colors corresponding
 with the different values.The general syntax for FDCONFIG.SYS is
 function=[option].As for editing the AUTOEXEC.BAT file,it is basically a
 batch file,save the fact that it runs at the start.So if the user types LH
 program/exectuable,the function (LH) should be a specific color,and the
 option (executable) should be another.It is a matter of changing the colors
 of preset functions,using a general syntax.I hope this helps,as I have not
 programmed FreeDOS in at least a month/month and a half now.
 -Jayden


 On Sat, Apr 11, 2015 at 11:55 AM, Antony Gordon cuzint...@gmail.com
 wrote:

 I've dug up an old program that I used when I was a PC tech to edit
 configuration files (AUTOEXEC.BAT, CONFIG.SYS,  and the assortment of
 Windows 3.x config files).

 It's written in (Turbo) Pascal. Jim suggested I add syntax highlighting
 and features from MEM to it. I need some pointers on the syntax
 highlighting, however do you think this is good feature to have or tool?

 I'm open to suggestions for this.



 --
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net

Re: [Freedos-devel] System Configuration Editor

2015-04-13 Thread Antony Gordon
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. 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.

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.

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.



On Mon, Apr 13, 2015 at 10:28 AM JAYDEN CHARBONNEAU 
jcharbonnea...@cpsge.org wrote:

 Editing configuration files is pretty straight forward when it comes to
 DOS,but,a GUI is nice.For syntax highlighting,I would do the following:
 Have a few default structures.Like function=[option] or function
 command [options]
 So when the user (I am not sure how your program works,so bear with me)
 types a FDCONFIG.SYS line,the program changes the text colors corresponding
 with the different values.The general syntax for FDCONFIG.SYS is
  function=[option].As for editing the AUTOEXEC.BAT file,it is basically
 a batch file,save the fact that it runs at the start.So if the user types
 LH program/exectuable,the function (LH) should be a specific color,and
 the option (executable) should be another.It is a matter of changing the
 colors of preset functions,using a general syntax.I hope this helps,as I
 have not programmed FreeDOS in at least a month/month and a half now.
 -Jayden


 On Sat, Apr 11, 2015 at 11:55 AM, Antony Gordon cuzint...@gmail.com
 wrote:

 I've dug up an old program that I used when I was a PC tech to edit
 configuration files (AUTOEXEC.BAT, CONFIG.SYS,  and the assortment of
 Windows 3.x config files).

 It's written in (Turbo) Pascal. Jim suggested I add syntax highlighting
 and features from MEM to it. I need some pointers on the syntax
 highlighting, however do you think this is good feature to have or tool?

 I'm open to suggestions for this.


 --
 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_15utm_medium=emailutm_campaign=VA_SF
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 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_15utm_medium=emailutm_campaign=VA_SF___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] System Configuration Editor

2015-04-11 Thread Antony Gordon
I've dug up an old program that I used when I was a PC tech to edit
configuration files (AUTOEXEC.BAT, CONFIG.SYS,  and the assortment of
Windows 3.x config files).

It's written in (Turbo) Pascal. Jim suggested I add syntax highlighting and
features from MEM to it. I need some pointers on the syntax highlighting,
however do you think this is good feature to have or tool?

I'm open to suggestions for this.
--
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_15utm_medium=emailutm_campaign=VA_SF___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel