Ole Juul
Veteran Member
One of my web pages is generally maintained from my main DOS box. To make changes to the page here is the sequence of commands.
Explanation: The "q" is the name of the editor but any one of many could be started here. The tab expands "in" to "index.htm". Then, with the editing done and saved, the "hop" command automatically logs into the host and navigates you to the /public_html directory. The "put" command replaces the web page on the server and "quit" exits the FTP client. Done.
This list of commands could of course be shortened, but I like to have the ability to do other things on the server while I am there. But really, this is so quick that there's not much point. It takes about 30 key strokes which is 15 less than half of this sentence. Apart from needing to see the edits, there is not even any reason to look at the screen or perform other cognitive and ergonomically complex tasks involving navigating with a mouse. DOS is indeed the lazy man's operating system, which explains why I'm still using it.
Code:
q in [Tab] [Enter]
(edit) [Alt-X]
hop [Enter]
put index.htm [Enter]
quit [Enter]
Explanation: The "q" is the name of the editor but any one of many could be started here. The tab expands "in" to "index.htm". Then, with the editing done and saved, the "hop" command automatically logs into the host and navigates you to the /public_html directory. The "put" command replaces the web page on the server and "quit" exits the FTP client. Done.
This list of commands could of course be shortened, but I like to have the ability to do other things on the server while I am there. But really, this is so quick that there's not much point. It takes about 30 key strokes which is 15 less than half of this sentence. Apart from needing to see the edits, there is not even any reason to look at the screen or perform other cognitive and ergonomically complex tasks involving navigating with a mouse. DOS is indeed the lazy man's operating system, which explains why I'm still using it.