Mail Archives: djgpp/1997/01/20/06:02:20
Daniel P Hudson (afn03257 AT freenet2 DOT afn DOT org) wrote:
: You call yourself a programmer and you haven't figured out how to patch
: this yet? Look at QBASIC.EXE under DOSSHELL using F9 or even better a
: binary editor. Scroll down to around 2dc70h bytes and notice in plain
: day the *.TXT in the ascii column. Edit it over too *.* followed by
: 2 ascii NULL characters. Save and run edit.
Great suggestion! I made a small C program that'll do it. Run it from
the directory with QBASIC.EXE in it. I recommend backing up your
QBASIC.EXE...
#include <stdio.h>
void main(void)
{
FILE *file=fopen("QBASIC.EXE", "r+b");
fseek(file, 0x2DC70, SEEK_SET);
fputc('*', file);
fputc('.', file);
fputc('*', file);
fputc(0, file);
fputc(0, file);
fclose(file);
}
Also I'm trying to make my own editor. Anyone have any insights or
features they'd like to see in a text editor designed for programming?
E-mail or post and ideas. Dunno if I'll finish but hey, the info would be
a great help.
--
-----------------------------------------
Blaine Hodge <bhodge AT gpu DOT srv DOT ualberta DOT ca>
Homepage: http://www.ualberta.ca/~bhodge/
"I am currently between signatures." -me
- Raw text -