From: bhodge AT gpu1 DOT srv DOT ualberta DOT ca (B Hodge) Newsgroups: comp.os.msdos.djgpp Subject: Re: Text editors Date: 20 Jan 1997 07:52:37 GMT Organization: University of Alberta Lines: 35 Message-ID: <5bv885$s42@pulp.ucs.ualberta.ca> References: <32D332BD DOT AAD AT dmv DOT com> NNTP-Posting-Host: gpu1.srv.ualberta.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 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 Homepage: http://www.ualberta.ca/~bhodge/ "I am currently between signatures." -me