Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Looking for Windows Notepad equivalent for DOS (Users)

posted by rr Homepage E-mail, Berlin, Germany, 23.04.2022, 14:48

> 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

 

Complete thread:

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