# Computersystems Coursework Text Editor ## Usage: ### Compiling: for this program to compile you need the following C libraries on your system: - ncurses - Linux: usually preinstalled - otherwise installation depends on distro - Mac > brew install ncurses - Windows: - This may be more difficult to setup and requires additional research compiling with GCC: > gcc main.c editor.c dynstr.c -lncurses -o ### Running: ```bash ./ open <$file> # opens the specified file in the editor ./ new <$file> # creates a new file with as the name ./ del <$file> # deletes the specified file ./ copy <$file> <$newpath> # copies $file to the location $newpath ./ move <$file> <$newpath> # moves $file to the location $newpath ./ len <$file> # prints the length of $file ./ log <$file> # prints the change history of $file ```