- Notifications
You must be signed in to change notification settings - Fork5
Highly configurable command line typing tutor designed for linux distros written in C. It is fast and efficient and with a good progress report display. Become a pro typist with the DVORAK and QWERTY keyboards.
License
n05la3/cmdtypist
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Cmdtypist is a programmer oriented typing tutor written inC,designed to work on the gnome-terminal, xterm and uxterm and other consoles. Itconsists true programming lessons, so the user can type and learn at the same time.
gcc compiler
A gcc compiler is required to compile cmdtypist
You can get cmdtypist by cloning the repo from github
git clone https://github.com/Noslac/cmd_typist
Open a terminal and navigate into your clone copy of cmd_typist directory. cd further into installation directory. Run
./install.sh
script to install cmdtypist
Ifinstall.sh script exited with a success message, then you have installed cmdtypist, you can then run the command
cmdtypist arg1 arg2 arg3 ...
from any directory.arg1, arg2,... are valid cmdtypist arguments.
The first command to run if you are a new user is thecmdtypist mkuser "username" to create a new user. (Read more in arguments section below)
Run
cmdtypist --help
To know all commands and arguments available
cmdtypist commands are entered at the terminal with the exception ofselect "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.
CMDTYPIST Commands | Description |
---|---|
cmdtypist --help | Displays help menu |
cmdtypist | Displays lessons and opens the cmdtypist prompt |
cmdtypist mkuser "username" | Creates a new user called username |
cmdtypist ls | Lists available lessons, use <select "lesson-number"> to select a lesson |
cmdtypist man | Displays cmdtypist readme file |
cmdtypist select "lesson number" | Used to select a lesson directly from terminal |
cmdtypist 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 |
cmdtypist 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 |
Consult help file for more details of these commands
If you are having problems with cmdtypist configurations, you can run thecommand
cmdtypist reset raw
to reset settings to default. But if you want to permanently uninstall cmdtypist,proceed below.
To uninstall cmdtypist, open a terminal and cd into directory containing theunintall script by running
cd $HOME/cmdtypist/uninstall/
finally, run
./uninstall
to completely remove cmdtypist and associated files.
Extremely fast, never again type faster than your type tutor!!!
CMDTYPIST comes bundled with a good number of lessons for both programmersand non-programmers. The non programmer lessons help train the user onbasic typing techniques and the programmer lessons help both the programmerand non programmers to become better at typing.
An accurate speed algorithm in character per minute (CPM) and an approximatein word per minute WPM (accuracy -+0.35)
Terminal is manipulated to print green a correct character and red a wrongcharacter. This makes cmdtypist command line tutor very appealing. The usereasily knows where he has gone wrong and can undo all errors.
Keeps a record of the number of wrong and correct characters; cmdtypist is abletracks the number of wrong characters and displays at the end of each session.
Creates a text file to keep a account of the user speed in details(date,numer of errors, speed in CPM and WPM and time elapsed) for each session. Hence,the user can always keep track of his typing speed from the very first day.
NOTE: cmdtypist makes a periodic check once a month, on the size of thespeed.info file, and when it has reached a certain length, on a confirmed promptwill automatically rename or delete the the existing file and hen create a new one.
CMDTYPIST equally contains a "myown.txt" file, where a user can input an optionaltext he wants to type. With myown.txt, the user is limited to typing only instandard mode.
The user can choose to type in random mode where a random block is eachsession is chosen from selected lesson.
And in standard mode, the user types chronologically as the lesson is inthe lesson file.
The user can chose to modify any lesson in the lesson file easily.
For a user who will not love to modify the lesson file, a my_own.txt fileis available for the user to paste his text file he wants to type.
NOTE: Text file should contain only ascii 7 bits characters. For this reason,user text may some times look absurd when contains extended ascii characterssince program has a function to ignore such characters.
User also can choose to receive a beep for any wrong character typed (maynot work on all terminals)
Program has the ability to remember all past settings.
Terminal is manipulated so a user can erase characters right to the beginningof the session line(timing reset) For each wrong character erased, number oferrors is decremented by one.
User session timing starts only when he types a first character (wrong orcorrect)
If the user erases to the beginning of the session, time is reset to zeroand starts only as described above.
The last line of each lesson session is marked blue, so user is aware andcan take time to review speed details before starting the following lesson.
This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.
You should have received a copy of the GNU General Public Licensealong with this program. If not, seehttp://www.gnu.org/licenses/.
About
Highly configurable command line typing tutor designed for linux distros written in C. It is fast and efficient and with a good progress report display. Become a pro typist with the DVORAK and QWERTY keyboards.