Remix.run Logo
Joker_vD 5 days ago

Ugh, all this crazy head-spinning cursor commotion... I'll just keep using ed, thank you very much.

Rendello 5 days ago | parent | next [-]

Always keep your copy of Ed Mastery on-hand:

https://mwl.io/nonfiction/tools#ed

anthk 5 days ago | parent [-]

If you think about it, it's a cheap book on sed too.

chongli 5 days ago | parent | prev | next [-]

Just start ex instead. Command-based line editing without the hassle of a cursor.

n3t 5 days ago | parent | prev | next [-]

Yeah, it's just better to stick to the standard editor.

fuzztester 5 days ago | parent | prev [-]

COPY CON ...

on DOS, bro.

nuttin else comes close

or if ur 2 weak, edlin.

EvanAnderson 5 days ago | parent | next [-]

I actually use "COPY CON" a fair amount. Also a decent amount of "cat > foo.sh".

fuzztester 2 days ago | parent | next [-]

Ha ha.

Same here.

Also, in shell,

  >file 
can be used to delete a file, IIRC. Not at a Unix box right now, so can't check.

And:

  echo * 
is the poor man's ls command, as in, "poor man, his Unix OS is corrupted , and many commands are missing".

And similarly dd is that man's cat command. :)

fuzztester 2 days ago | parent | prev [-]

yes, it makes sense in some situations, because if all you want to do create a small batch (.BAT) file of a few lines, and you are a careful / good typist, the COPY CON method can be a lot faster then firing up your favourite editor, even a fast one like vim, to create the file, save it and exit.

and the same applies for UNIX.

pjmlp 4 days ago | parent | prev [-]

I did my high school typewriting test in PC skills using edlin, and never ever used it again.

For coding in MS-DOS, I was using Borland IDEs, and there was the nice Q programmers editor as well.

fuzztester 2 days ago | parent [-]

I used many text editors over the years.

At one time, I used PFE, the Programmer's File Editor, which was lightweight and fast, on Windows.

It had a feature of being able to open large files.

https://en.m.wikipedia.org/wiki/Programmer's_File_Editor

https://www.lancaster.ac.uk/people/steveb/cpaap/pfe/