2017-08-31 16:55:37 +00:00
# CMDTYPIST -- _Command Line Typing Tutor_
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
#### By _Chiatiah Calson_
2017-07-03 17:53:03 +00:00
2017-08-31 16:55:37 +00:00
### About
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
_Cmdtypist_ is a programmer oriented typing tutor written in _C_ ,
designed to work on the gnome-terminal, xterm and uxterm and other consoles. It
consists true programming lessons, so the user can type and learn at the same time.
2017-07-01 23:29:57 +00:00
2017-08-31 19:16:43 +00:00
![about cmdtypist ](https://raw.githubusercontent.com/Noslac/cmd_typist/master/about.gif )
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
### DOWNLOAD
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
You can get cmdtypist by cloning the repo from github
git clone https://github.com/Noslac/cmd_typist
2017-07-03 17:53:03 +00:00
2017-08-31 16:55:37 +00:00
### INSTALLATION
2017-07-03 17:53:03 +00:00
2017-08-31 16:55:37 +00:00
Open a terminal and navigate to the directory containing cmdtypist and all
it's files. Navigate to cmdtypist directory called installation and run
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
./install.sh
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
to install cmdtypist
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
### RUNNING
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
If _install.sh_ exited with a success message, then you have installed cmdtypist,
you can then run the command
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
cmdtypist arg1 arg2 arg3 ...
2017-07-03 17:53:03 +00:00
2017-08-31 16:55:37 +00:00
from any directory. _arg1, arg2,..._ are valid cmdtypist arguments,
to know all valid arguments, run the cmdtypist help command or consult the help
file which comes with the program. If you are a first time user, after installing cmdtypist, you must run the command **_cmdtypist mkuser "username"_** to create a user called username.
2017-07-03 17:53:03 +00:00
2017-08-31 16:55:37 +00:00
### CMDTYPIST ARGUMENTS
2017-07-03 17:53:03 +00:00
2017-08-31 16:55:37 +00:00
_cmdtypist_ commands are entered at the terminal with the exception of **_select "lesson-number"_** (_lesson-number is an int corresponding to a valid lesson number_) which is entered at the cmdtypist prompt prior to some other cmdtypist command entered at the terminal.
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
CMDTYPIST Commands | Description
------------ | -------------
**cmtypist --help** | Displays help menu
**cmtypist**| Displays lessons and opens the cmdtypist prompt
**cmdtypist mkuser "username"** | Creates a new user called username
**cmtypist ls** | Lists available lessons, use < select " lesson-number " > to select a lesson
**cmtypist man** | Displays cmdtypist readme file
**cmdtypist select** "lesson number" | Used to select a lesson directly from terminal
**cmtypist atv**| Use this command if backspace is not working properly
**cmdtypist sound --on** | Activates error beep sound
**cmdtypist sound --off** | Deacativates beep sound
**cmdtypist /myown** | Changes the lessons to user's lesson copied into myown.txt
**cmtypist cchl** | Exits from user's lesson mode
**cmdtypist mkstd** | Lessons appear as they are in lesson file
**cmdtypist mkrand** | Lessons appear randomly
**cmdtypist chblock "lesson number"** | changes number of lines per sesson to an int 'lesson number'
**cmdtypist reset** | Does a soft reset
**cmdtypist reset raw** | Does a hard reset, resetting to default
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
Consult help file for more details of these commands
2017-07-01 23:29:57 +00:00
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
### UNINSTALL
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
If you are having problems with cmdtypist configurations, you can run the
command
cmdtypist reset raw
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
to reset settings to default. But if you want to permanently uninstall cmdtypist,
proceed below.
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
To uninstall cmdtypist, open a terminal and cd into directory containing the
unintall script by running
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
cd $HOME/cmdtypist/uninstall/
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
finally, run
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
./uninstall
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
to completely remove cmdtypist and associated files.
2017-07-01 23:34:45 +00:00
2017-08-31 16:55:37 +00:00
### License
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
2017-07-01 23:29:57 +00:00
2017-08-31 16:55:37 +00:00
You should have received a copy of the GNU General Public License
along with this program. If not, see < http: / / www . gnu . org / licenses / > .
2017-07-01 23:29:57 +00:00