Looking for Windows Notepad equivalent for DOS (Users)
> ... 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
The approach could be combined with some custom caching or pre-loading the next and previous few pages in the background, still without needing EMS or XMS.
As edits tend to change line lengths, you would also have to keep a list of changed areas in RAM, which would get processed both for displaying the file and for actually changing the file on disk when done with editing.
All of this takes way more effort than using a protected mode compiler and enough RAM to hold the whole file, but at least it is possible to edit large files with little RAM.
---
FreeDOS / DOSEMU2 / ...
Complete thread:
- Looking for Windows Notepad equivalent for DOS - jejump, 19.04.2022, 22:41 (Users)
- Looking for Windows Notepad equivalent for DOS - mceric, 20.04.2022, 09:24
- Looking for Windows Notepad equivalent for DOS - RayeR, 20.04.2022, 11:46
- Looking for Windows Notepad equivalent for DOS - Oso2k, 21.04.2022, 01:17
- Looking for Windows Notepad equivalent for DOS - bretjohn, 21.04.2022, 20:13
- Looking for Windows Notepad equivalent for DOS - Zyzzle, 22.04.2022, 02:31
- Looking for Windows Notepad equivalent for DOS - jadoxa, 22.04.2022, 16:50
- Looking for Windows Notepad equivalent for DOS - rr, 23.04.2022, 13:53
- Looking for Windows Notepad equivalent for DOS - bretjohn, 22.04.2022, 18:59
- Looking for Windows Notepad equivalent for DOS - Zyzzle, 23.04.2022, 01:38
- Looking for Windows Notepad equivalent for DOS - Guti, 23.04.2022, 09:05
- Looking for Windows Notepad equivalent for DOS - rr, 04.05.2025, 16:10
- Looking for Windows Notepad equivalent for DOS - Zyzzle, 23.04.2022, 01:38
- Looking for Windows Notepad equivalent for DOS - jadoxa, 22.04.2022, 16:50
- Looking for Windows Notepad equivalent for DOS - Zyzzle, 22.04.2022, 02:31
- Looking for Windows Notepad equivalent for DOS - rr, 23.04.2022, 14:48
- Looking for Windows Notepad equivalent for DOS - iw2evk, 23.04.2022, 14:54
- Looking for Windows Notepad equivalent for DOS - SuperIlu, 24.04.2022, 17:22
- Looking for Windows Notepad equivalent for DOS - jejump, 25.04.2022, 01:28
- Looking for Windows Notepad equivalent for DOS - rr, 25.04.2022, 08:13
- Looking for Windows Notepad equivalent for DOS - Oso2k, 06.05.2025, 10:15
- Looking for Windows Notepad equivalent for DOS - roytam, 14.05.2025, 04:09
- Looking for Windows Notepad equivalent for DOS - bretjohn, 17.05.2025, 02:42
- Looking for Windows Notepad equivalent for DOS - mceric, 17.05.2025, 12:29
- Looking for Windows Notepad equivalent for DOS - bretjohn, 17.05.2025, 02:42
- Looking for Windows Notepad equivalent for DOS - bocke, 17.05.2025, 22:20
- Looking for Windows Notepad equivalent for DOS - bocke, 17.05.2025, 22:21
- Looking for Windows Notepad equivalent for DOS - rr, 18.05.2025, 17:10
- SHH ED free software - ecm, 23.05.2025, 14:42
- SHH ED free software - bocke, 25.05.2025, 09:39
- Looking for Windows Notepad equivalent for DOS - bocke, 25.05.2025, 09:43
- SHH ED free software - ecm, 23.05.2025, 14:42
- Looking for Windows Notepad equivalent for DOS - bocke, 18.05.2025, 03:01
- Looking for Windows Notepad equivalent for DOS - mceric, 20.04.2022, 09:24