Oh dear, I can't imagine not knowing what a TSR is. Feel old.
The wikipedia page is pretty good http://en.wikipedia.org/wiki/Terminate_and_Stay_Resident
Oh dear, I can't imagine not knowing what a TSR is. Feel old.
The wikipedia page is pretty good http://en.wikipedia.org/wiki/Terminate_and_Stay_Resident
The LOL was strong with that one, but not for the reasons he thought.
I also got a kick out of the .com filename extension reference and wondered how many HN readers remember that .com used to stand for "COMMAND" instead of today's "Commercial." Judging by the amount of comments here the number is fairly small.
Thanks for the trip down memory lane!
My .emacs has
(global-unset-key "\C-z")
because I haven't figured out how to make xmonad handle iconified windows nicely / I prefer M-x ansi-term over suspending my precious, and (global-unset-key "\C-x\C-c")
because I boot my emacs ~exactly as often as I boot my workstation (and I got angry at accidentally mashing a C-c after hitting C-x) :)The default Qedit settings made columnar editing as easy as linear editing... You could copy/paste in a vertical manner, as well as the more normally seen horizontal method. This facilitates ease of copying/pasting/deleting blocks of code without picking up, or affecting, other portions of code, whereas horizontal oriented block editing does not allow multi-line editing within set columns. You get every column within a set of copied lines even though you only want a smaller block of text.
Perhaps emacs can do column based edits, or some other editor?
COM files contain a single segment of code+data. The DOS authors directly reused the format from CP/M. The loader allocates a single segment of memory, then loads the com file at address 0x100, and transfers control there. So the first byte of the file contains the first instruction.
EXE files in contrast have a header that define multiple segments worth of code + data, and some environment variables. DOS allocates memory for each segment, possibly in a different order and positions on every system, loads the segment's contents from the EXE file, and then modifies each code segment to adapt to the actual locations of the other segments (that process is called relocation).
:!echo hi
But while we're at it, my favourite way to log out of a shell in a silly way is this:
exec echo Hasta la vista!
And the Kermit protocol...