Open Grizzly-Adam opened 6 years ago
Yea, both commands are non trivial. The copy I like to do after VFS is done, The LPT requires the functionality needs to be encapsulated from printing app to "printer driver". Full prerequisite todo list:
copy my first file.txt my second file.txt
Printer should be easier to implement. Just cut off "scan" and "print" and maybe "info (paper+dye status)" to laptop.printer_driver.
@bell07 we need a copy command
copy file.name fdd The above command would check if file.name exists in the current directory, check that fdd isn't the current directory, and then copy the file.
copy file.name new.name This one checks for file.name in the current directory and if it exists makes a copy called new.name.
LPT (line print terminal, my take on LPD from unix)
LPT Returns... LPT1 Printer Available 1 LTP2 Printer Available 2 or, If default printer is set... LPT1 Printer Available 1 LTP2 Printer Available 2 (DEFAULT)
LPT /S 1 Sets printer 1 as default
LTP file.name Sends file.name to default printer.
I know you think that command line printing is clunky, but all the old operating systems did it.