| jejump 19.04.2022, 22:41 |
Looking for Windows Notepad equivalent for DOS (Users) |
Hi everyone, Over the years of generating code for various platforms (8051 asm, Microchip asm, lots of other micro-controllers), I've grown quite at home generating my source code using just plain 'ole Windows Notepad.exe. I've tried using other text editors for Windows and just end up getting frustrated because things don't flow the way my brain is trained to do things--namely shortcut keys, and as with the case of Notepad++, text formatting doesn't space tabs in the same way as Notepad, but that's a whole other issue. My real issue is that I need Notepad for DOS and if there is a DOS equal to Notepad in terms of text selection, and all keyboard shortcuts, it's the FreeDOS EDIT.EXE program. It seems to mimic Notepad in every way EXCEPT it has a cap on the size of the file being edited. Right now, I'm trying to edit a PowerBASIC .BAS file that's around 330KB. FD Edit.exe wants no part of it! Can anyone recommend a DOS text editor that: -Supports large files -Highlights selected text using SHIFT+Arrow Keys -Highlighted disappears when arrow key is pressed w/o SHIFT -CNTRL+C Copies -CNTRL+V Pastes -CNTRL+X Cuts -CNTRL+F Searches I've downloaded PEDIT and IE and use IE mostly. That's as close as I've come to getting what I'd like to have. I've downloaded and discarded about 8 others. PowerBASIC 3.5 compiler has a pretty disappointing editor too, BTW. Thanks for all of the help forthcoming! John |
|
| mceric Germany, 20.04.2022, 09:24 @ jejump |
Looking for Windows Notepad equivalent for DOS |
Hi! Looking at the many editors included here:
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/report.html
you could try SETEDIT, TDE, VIM, ELVIS, FREEMACS, MSEDIT, MBEDIT or Blocek?
The VI or EMACS clones might be less interesting, but
http://www.braun-home.net/michael/mbedit/index.htm
http://osplus.sourceforge.net/
http://setedit.sourceforge.net/
or MSEDIT, TDE or the Unicode-supporting MinEd or Blocek could be useful. Note that most of those are 32-bit DOS apps, but I guess you do not need to be able to edit your 300 kB file on 8086 --- |
|
| RayeR CZ, 20.04.2022, 11:46 (edited by RayeR, 20.04.2022, 14:36) @ mceric |
Looking for Windows Notepad equivalent for DOS |
Also built-in Dos Navigator editor may be usefull, supports >64k files, C and ASM syntax HL, also has hexedit and disassembler... It uses old style shortcuts CTRL+INS/SHIFT+INS. --- |
|
| Oso2k 21.04.2022, 01:17 @ jejump |
Looking for Windows Notepad equivalent for DOS |
I’d recommend SETEdit or pico (http://www.delorie.com/pub/djgpp/current/v2apps/pico396b.zip) |
|
| bretjohn Rio Rancho, NM, 21.04.2022, 20:13 @ jejump |
Looking for Windows Notepad equivalent for DOS |
There are tons ot ext editors out there. Here's a web site that lists several: http://texteditors.org/cgi-bin/wiki.pl?HomePage Everybody has a preferred editor they use and the opinions can get almost religious in their fervor as to which one is "best". The fancier ones will handle large files, multiple files at the same time, a good clipboard function, _configurable_ syntax highlighting (very handy when working with program source code), _configurable_ keyboard layout, etc. I have two that I use all the time, one "fancy" program with all the extra features and a small, simple one that is only a few kB (easily fits on a floppy with lots of other files) and I use on boot disks for editing things like small batch files and CONFIG.SYS. I think you're just going to need to experiment until you find what you're looking for. |
|
| Zyzzle 22.04.2022, 02:31 @ bretjohn |
Looking for Windows Notepad equivalent for DOS |
My favorite editor was Vernon Buerg's LIST. There was apparently a version called List Enhanced, which can handle 500 mb files, but it seems to have disappeared into the sands of time. It was very small, and very useful. This is the Internet Archive's cache of his site programs before he died in 2009: http://web.archive.org/web/20080704121935/http://www.buerg.com/download.htm , but the versions of LISTEVAL.ZIP there refuses to run, saying it's "expired". Probably a simple hack to get it "unexpired", but I've found no other version of his LISTEVMB.COM program to test (the version which allows editing of 500mb files in pure DOS). |
|
| jadoxa Queensland, Australia, 22.04.2022, 16:50 @ Zyzzle |
Looking for Windows Notepad equivalent for DOS |
> , but the versions of LISTEVAL.ZIP there refuses to run, saying it's > "expired". Probably a simple hack to get it "unexpired" I have such a hack, is it okay to share here? |
|
| bretjohn Rio Rancho, NM, 22.04.2022, 18:59 @ Zyzzle |
Looking for Windows Notepad equivalent for DOS |
AFAIK, LIST is simply a file viewer and does not let you edit/modify anything. I use LIST to look at files all the time. |
|
| Zyzzle 23.04.2022, 01:38 @ bretjohn |
Looking for Windows Notepad equivalent for DOS |
> AFAIK, LIST is simply a file viewer and does not let you edit/modify > anything. I use LIST to look at files all the time. Could be, but I'd swear there was a version that allowed editing as well. Perhaps I'm misremembering, but the LIST Enhanced seemed to allow editing. Another great program which does allow HEX editing (and insertion) is old DOS CONVERT.EXE from 1989 (?), but it writes huge temporary files (swap files) to the drive, and so is best used with a huge RAMDRIVE which stores the temp files. The program itself, therefore, doesn't require any XMS or EMS memory (except for the huge RAMDRIVE!) It's also slow when "updating" after inserting files, but I've used it on some huge files, up to and in excess of 1 GB, using HIMEMSX and the new FAT32 ramdrive recently posted. |
|
| Guti 23.04.2022, 09:05 @ Zyzzle |
Looking for Windows Notepad equivalent for DOS |
Even if it is a bit of oftopic, here you can find all List versions: https://github.com/sebras/buerg/tree/master/list --- |
|
| rr Berlin, Germany, 23.04.2022, 13:53 @ jadoxa |
Looking for Windows Notepad equivalent for DOS |
> > , but the versions of LISTEVAL.ZIP there refuses to run, saying it's > > "expired". Probably a simple hack to get it "unexpired" > > I have such a hack, is it okay to share here? Better do not. Thanks. --- |
|
| rr Berlin, Germany, 23.04.2022, 14:48 @ jejump |
Looking for Windows Notepad equivalent for DOS |
> My real issue is that I need Notepad for DOS and if there is a DOS equal to
> Notepad in terms of text selection, and all keyboard shortcuts, it's the
> FreeDOS EDIT.EXE program. It seems to mimic Notepad in every way EXCEPT it
> has a cap on the size of the file being edited. Right now, I'm trying to
> edit a PowerBASIC .BAS file that's around 330KB. FD Edit.exe wants no part
> of it! Can anyone recommend a DOS text editor that:
Maybe The Aurora Editor is for you.
> -Supports large files
Open included 372KB file DOC\FUNCTION.DOX --> check
> -Highlights selected text using SHIFT+Arrow Keys
check
> -Highlighted disappears when arrow key is pressed w/o SHIFT
Make sure, you select "Aurora/CUA" editor style during install. (You can also change it afterwards by copying one or two files and recompiling the editor's macros.)
Apply this change to KBD.AML and recompile the editor (Alt+F2).
Please, consider this as a 'hack', because I just 'invented' this for you now. I didn't test for side effects.
--- |
|
| iw2evk Magenta (Italy), 23.04.2022, 14:54 @ rr |
Looking for Windows Notepad equivalent for DOS |
Hi, i suggest like best sobstitute of notepad (or write ) the VDE editor https://sites.google.com/site/vdeeditor/ have a lots of shortcuts, can manipolate many kinds of file (e.g. RTF..) Support a intuitive TUI and other features.. Roberto iw2evk Milan |
|
| SuperIlu Berlin, Germany, 24.04.2022, 17:22 @ jejump |
Looking for Windows Notepad equivalent for DOS |
Well, the built in editor for DOjS (see signature) does fulfill all your bullet points. But because it was developed for a very specific task, it does not have a file dialog and does only syntax highlighting for Javascript... > -Supports large files > -Highlights selected text using SHIFT+Arrow Keys > -Highlighted disappears when arrow key is pressed w/o SHIFT > -CNTRL+C Copies > -CNTRL+V Pastes > -CNTRL+X Cuts > -CNTRL+F Searches --- |
|
| jejump 25.04.2022, 01:28 @ jejump |
Looking for Windows Notepad equivalent for DOS |
You guys have been awesome in sharing your sources for editors. I'm going to download a few of these and see what I think works best. I left out F3 for repeat last search. Another Notepad feature I've been missing that's also included in FD Edit. Anyway, thanks to all that have replied!! Jj |
|
| rr Berlin, Germany, 25.04.2022, 08:13 @ jejump |
Looking for Windows Notepad equivalent for DOS |
> You guys have been awesome in sharing your sources for editors. I'm going
> to download a few of these and see what I think works best. I left out F3
> for repeat last search. Another Notepad feature I've been missing that's
> also included in FD Edit. Anyway, thanks to all that have replied!!
To make F3 work in Aurora:
1. Open KBD.AML.
2. Comment out line 306 by adding --- |
|
| rr Berlin, Germany, 04.05.2025, 16:10 @ Zyzzle |
Looking for Windows Notepad equivalent for DOS |
> > AFAIK, LIST is simply a file viewer and does not let you edit/modify
> > anything. I use LIST to look at files all the time.
>
> Could be, but I'd swear there was a version that allowed editing as well.
> Perhaps I'm misremembering, but the LIST Enhanced seemed to allow editing.
Editing is not mentioned for LIST Plus or LIST Enhanced at https://web.archive.org/web/20080704121832/http://www.buerg.com/list.htm
But file WHATSNEW from the eval version from 2007 reads:
--- |
|
| Oso2k 06.05.2025, 10:15 (edited by Oso2k, 06.05.2025, 10:28) @ jejump |
Looking for Windows Notepad equivalent for DOS |
I really like sved (http://svardos.org/sved/). Super light and responsive with a good feature set. SETEdit is good if you want something fuller featured and with good syntax highlighting. Over the years, I've become accustomed to (pico initially) nano's keybindings because of all my Linux work. I appreciated that pico is available from djgpp though it lacks nano's syntax highlighting. Just like pico did in the old days. (https://www.delorie.com/pub/djgpp/current/v2apps/pico396b.zip) If you're ambitious, you might take a copy of notepad.exe and run it on DOS with HX GUI (https://github.com/Baron-von-Riedesel/HX/releases) |
|
| roytam 14.05.2025, 04:09 @ jejump |
Looking for Windows Notepad equivalent for DOS |
For FreeDOS EDIT, Bernd Böckmann forked it and fixing bugs now. For > 64K files issue I created an issue about this: https://github.com/boeckmann/edit/issues/3 |
|
| bretjohn Rio Rancho, NM, 17.05.2025, 02:42 @ roytam |
Looking for Windows Notepad equivalent for DOS |
For real mode (not protected mode/DPMI editors), how do they normally handle files larger than 64k or multiple large files? There are only four viable possibilities that I know of: Use what's left of conventional memory (which would probably limit the size to around 500 k), use EMS, use XMS, or use a temporary file on disk. Does anybody else know of any other options? |
|
| mceric Germany, 17.05.2025, 12:29 @ bretjohn |
Looking for Windows Notepad equivalent for DOS |
> ... handle files larger than 64k ... Use what's left of conventional
> memory (which would probably limit the size to around 500 k), use EMS, use
> XMS, or use a temporary file on disk. ... any other options?
Without EMS or XMS, they could generate a list of pointers to line starts and keep only the on-screen part in memory. This would require special treatment for "search and replace all", but for example searching without replacing is speed-limited by the user checking the results anyway --- |
|
| bocke 17.05.2025, 22:20 @ jejump |
Looking for Windows Notepad equivalent for DOS |
I don't know if it fits your requirements, but I like SSH ED: "Simple Borland/WordStar-like texteditor. This is the editor I use for programming etc. The program is only 17 kb, and thus loads fast. Written totally in assembly." https://shh.thathost.com/pub-dos/ It's on all my startup disks. :) For serious work (as if I do anything seriously on DOS anymore :D), I use Vim. But that's a behemot. To big for DOS. I have uploaded older versions on Internet Archive, but if you need syntax highlighting, that's only supported from version 5.x. The last DOS version is 7.2. 7.3 could be compiled but it was very buggy on DOS. https://www.vim.org/ |
|
| bocke 17.05.2025, 22:21 @ bocke |
Looking for Windows Notepad equivalent for DOS |
> For serious work (as if I do anything seriously on DOS anymore :D), I use > Vim. It does have an easy mode config (CUA-like). But that is by default only used on Windows. It might work in DOS, too. |
|
| bocke 18.05.2025, 03:01 @ jejump |
Looking for Windows Notepad equivalent for DOS |
Sorry, I changed the answer. It seems my additional suggestion doesn't implement everything the op looked. But there is no delete option, so I changed this post. :) |
|
| rr Berlin, Germany, 18.05.2025, 17:10 @ bocke |
Looking for Windows Notepad equivalent for DOS |
> I don't know if it fits your requirements, but I like SSH ED:
>
> "Simple Borland/WordStar-like texteditor. This is the editor I use for
> programming etc. The program is only 17 kb, and thus loads fast. Written
> totally in assembly."
>
> https://shh.thathost.com/pub-dos/
By the way: TASM sources (w/ comments in Norwegian) are available at https://github.com/sverrehu/ancient-ms-dos-code/tree/main/asm/ed
In 2022 I had some short conversation with Sverre about SHH MENY III. Sources for Borland C++ and TASM can be found at https://github.com/sverrehu/ancient-ms-dos-code/tree/main/c/Menus/meny3 -- You probably also need https://github.com/sverrehu/ancient-ms-dos-code/tree/main/asm/Graphics/scrlow
> It's on all my startup disks. :)
I use Volkov Commander's internal editor for simple tasks.
> For serious work (as if I do anything seriously on DOS anymore :D), I use
> Vim. But that's a behemot. To big for DOS. I have uploaded older versions
> on Internet Archive, but if you need syntax highlighting, that's only
> supported from version 5.x. The last DOS version is 7.2. 7.3 could be
> compiled but it was very buggy on DOS.
>
> https://www.vim.org/
I switched to Vim/Gvim on Linux two weeks ago, but now holidays are over and there is not much time to edit any files. --- |
|
| ecm Düsseldorf, Germany, 23.05.2025, 14:42 @ rr |
SHH ED free software |
> > I don't know if it fits your requirements, but I like SSH ED: > > > > "Simple Borland/WordStar-like texteditor. This is the editor I use for > > programming etc. The program is only 17 kb, and thus loads fast. Written > > totally in assembly." > > > > https://shh.thathost.com/pub-dos/ > > By the way: TASM sources (w/ comments in Norwegian) are available at > https://github.com/sverrehu/ancient-ms-dos-code/tree/main/asm/ed > > In 2022 I had some short conversation with Sverre about SHH MENY III. > Sources for Borland C++ and TASM can be found at > https://github.com/sverrehu/ancient-ms-dos-code/tree/main/c/Menus/meny3 -- > You probably also need > https://github.com/sverrehu/ancient-ms-dos-code/tree/main/asm/Graphics/scrlow The sources in this repo are free software: > Consider everything you find here as licensed under the "MIT License", no matter what the old files may say. https://github.com/sverrehu/ancient-ms-dos-code/bl...ee8de2b647c65743c401544e8761886c2f951/README.md --- |
|
| bocke 25.05.2025, 09:39 @ ecm |
SHH ED free software |
> The sources in this repo are free software: > > > Consider everything you find here as licensed under the "MIT License", no > matter what the old files may say. > > https://github.com/sverrehu/ancient-ms-dos-code/bl...ee8de2b647c65743c401544e8761886c2f951/README.md Oh, cool. I didn't see that. Sverre also has some other useful utilities in the repo, including some libraries for Turbo C, if I remember right. And two nice games for EGA: a snake game and a copy of tetris. |
|
| bocke 25.05.2025, 09:43 @ rr |
Looking for Windows Notepad equivalent for DOS |
> > https://www.vim.org/
>
> I switched to Vim/Gvim on Linux two weeks ago, but now holidays are over
> and there is not much time to edit any files. |
Thread view
Mix view
It's such a powerful tool.
![[image]](img/uploaded/image472.png)
Just joking. It's a common meme on the net and Reddit: "