Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
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 :-)

> -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

---
FreeDOS / DOSEMU2 / ...

RayeR

Homepage

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.

---
DOS gives me freedom to unlimited HW access.

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

Homepage E-mail

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

Homepage E-mail

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

Homepage E-mail

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

Homepage

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

---
Visit my personal blog at https://www.javiergutierrezchamorro.com

rr

Homepage E-mail

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.

---
Forum admin

rr

Homepage E-mail

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.

--- STYLE\CUKBD.AML       Tue Nov 05 03:00:00 1996
+++ KBD.AML     Sat Apr 23 14:39:35 2022
@@ -221,11 +221,17 @@ object edit
   key  <alt e>         gotomenu "edit"         // to edit menu (cua)
   key  <alt t>         gotomenu "text"         // to text menu (cua)
 
   // Cursor
   key  <up>            up                      // move cursor up
+                       destroymark
   key  <down>          down                    // move cursor down
+                       destroymark
+  key <left>           left
+                       destroymark
+  key <right>          right
+                       destroymark
 
   // Cursor + CUA-marking
   key  <shift up>      up
                        smark
   key  <shift down>    down


check

> -CNTRL+C Copies
> -CNTRL+V Pastes
> -CNTRL+X Cuts
> -CNTRL+F Searches

For all: check

---
Forum admin

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

Homepage

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

---
Javascript on MS-DOS? Try DOjS https://github.com/SuperIlu/DOjS
Fediverse: @dec_hl@mastodon.social

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

Homepage E-mail

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 // in front.
  //key  <f3>            askopen                 // open prompt (cua)
3. Insert a new line below.
  key  <f3>            findlast                // do last find/replace
4. Recompile from Aurora by pressing Alt+F2.
5. Restart Aurora.

What a pity Aurora isn't FLOSS. :-( It's such a powerful tool.

---
Forum admin

Back to the board
Thread view  Mix view  Order
22049 Postings in 2034 Threads, 396 registered users, 131 users online (0 registered, 131 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum