|
From: JAYDEN C. <jch...@cp...> - 2015-04-13 14:27:41
|
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 <cuz...@gm...> 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_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Freedos-devel mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freedos-devel > > |