I though there used to be a utility that (like redirecting I/O) would change things, execute your program then return things to normal. But, that was a long time ago and I could be thinking of something else.
The BREAK on/off is only in regards to the batch itself and not any programs executed. I have no idea what “your language of choice” may be. Fortran, Basic, Logo, Assembler, the list is nearly endless. There is a “password” program in existence for DOS written by Mateusz. I’ve never tried it. I have no idea what it looks like or what features it provides. https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/html/en/util/pbox/index.html <https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/html/en/util/pbox/index.html> Depending on you language and needs, there are several ways to prevent Control+C from stopping your program. If you just want something simple, you could just use a batch file and V8Power Tools for DOS. V8PT are command line tools that make the primary FreeDOS work. While the the installer does not bother to turn BREAK off, V8PT are not susceptible to CTRL+C. In fact when ever the installer is waiting on user input, you can press CTRL+C which will bring up a menu to switch into or out of advanced mode (or exit the installer). > On Sep 23, 2025, at 11:07 AM, E. C. Masloch via Freedos-user > <[email protected]> wrote: > > The vector for interrupt 23h (and 24h) is automatically restored upon process > termination to the value stored at process creation in the Process Segment > Prefix (which usually points to FreeCOM's handler). You don't have to > explicitly reset it. > > Regards, > ecm > _______________________________________________ > Freedos-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-user
_______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
