Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DWED first alpha (Announce)

posted by DosWorld, 17.11.2020, 15:28
(edited by DosWorld on 17.11.2020, 22:22)

> > "Save As" have no LFN-support. Fixed.
> Still not working here.

Hmmm... I hope, you not pass LFN via command line? (LFN in command line is not fixed, yet)

My test-case:

1. Have a clean directory C:\1\, dwed is installed - does not matter where.
(not dwed16 !!)

2. Start dwed.exe (without parameters)
3. Type "123" text (without quote, in document)
4. Save as "C:\1\Text or text.txt" Shift-F2
5. Exit from dwed, check C:\1\ and files content

6. Run dwed.exe (without parameters)
7. Load file "C:\1\Text or text.txt"
8. Append "4" to end of line (without quote, in document)
9. Save as "C:\1\Text or text2.txt" Shift-F2
10. Exit from dwed, check C:\1\ and files content

11. Run dwed.exe (without parameters)
12. Load file "C:\1\Text or text.txt"
13. Append "0" to end of line (without quote, in document)
14. Save F2
15. Exit from dwed, check C:\1\ and files content

All passed (winxp), on current version.

(Added later): I am add support quote in command-line (now in git). It is must works for filenames and for parameters. For example:

dwed -usr.def.f5="dir c:\*.* /w" "C:\1\Text or text.txt"
dwed "-usr.def.f5=dir c:\*.* /w" "C:\1\Text or text.txt" "C:\1\Text or text2.txt"
dwed C:\1\"Text or text.txt"

Quotes will be just removed from splited strings. It is mean, this will be the same strings:

-usr.def.f5="dir c:\*.* /w"
-usr.def.f5"=dir c:\*.* /w"


Escaping for quote in C-style - not supported (like "let\"s go"). Reason - in this case will need write something like "C:\\dirname\\filename.txt".

Launcher pass command-line to overlay "as is" (without parsing by borland or me), so it will not cause hell.

LFN support - is more then i expect.:-) Anyway, this is new experience for me.

> Found an inconsistency: After specifying the new name and pressing ENTER,
> DWED writes "Saving NONAME.TXT" for a second. So it uses the old name for
> that message.

Yep, fixed.

> (Tested with usr.def.f5=%COMSPEC% in DWED.CFG.)

A little bit unexpected use-case :))
This trick (=%comspec%) is:
1. work in winxp
2. not work in Dosbox (but, i think, this is dosbox problem, dosbox have very short implementation of command.com).

Also, improved:
- "string editor" at top line (used for user input at SaveAs/Load/Search).
- Move to left/right word. Now, is more near to IDEA (but not so strict, as will want).
- Added text selection with mouse, unfinished (in screen borders, without scrolling)

---
Make DOS great again!
Make Russia small again!

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 459 users online (1 registered, 458 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum