Find the answer to your Linux question:
Results 1 to 2 of 2
Anyone know such typo generator software?...
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    1

    Is there any typo generator software under linux?

    Anyone know such typo generator software?

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    Welcome!

    On my system an external device handles this function. It's installed between the keyboard and the chair. It also has the feature of writing nonsense and wasting time (now if only I knew how to turn these features off...)

    EDIT: Ah, what the heck, I could use the practice:
    Code:
    #!/bin/bash
    #
    # Random Typo Generator
    #
    # Version:	Haha :D
    #
    #
    
    echo -n "What is the desired \% of reliability? (0-100) "
    read PERCENT
    
    
    while true ; do
    	clear
    	echo $TEXT
    	echo -n "Type whatever you like: "
    	read -n 1 VAR
    	if [ ! $VAR ] ; then
    		VAR=" "
    	fi
    	if [ "${RANDOM:1:2}" -gt "$PERCENT" ] ; then
    		VAR="x"
    	fi
    TEXT="$TEXT$VAR"
    done
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...