man cwgen (Commandes) - generate groups of random characters for Morse code practice

NAME

cwgen - generate groups of random characters for Morse code practice

SYNOPSIS

cwgen [-g groups] [--groups=groups] [-n groupsize] [--groupsize=groupsize] [-c charset] [--charset=charset]

cwgen also accepts the -h, --help, -v and --version options.

The LINUX version understands both short form and long form command line options. Other versions understand only the short form options.

Options may be predefined in the environment variable CWGEN_OPTIONS. If defined, these options are used first; command line options take precedence.

DESCRIPTION

cwgen provides a simple method to generate groups of random characters for use as input into cw. Command line options control the group size, number of groups, and character set from which the random characters are selected.

COMMAND LINE OPTIONS

cwgen understands the following command line options. Only the short form options are available in non-LINUX versions.

-g, --groups
Specifies the number of groups of random characters to generate. The default value is 128.
-n, --groupsize
Specifies the number random characters in each group. The default value is 5.
-c, --charset
Defines the character set from which the random characters are selected. The default value is 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'.

EXAMPLES

Generate 20 groups of 10 characters from the set EISH5, and sound them as Morse code. Both short-form and long-form option examples are shown:

cwgen -g 20 -n 10 -c "EISH5" | cw -w 25 -t 850
cwgen --groups=20 --groupsize=10 --charset="EISH5" | cw --wpm=25 --hz=850

SEE ALSO

Man pages for cw(7,LOCAL), cwlib(3,LOCAL), cw(1,LOCAL), cwcp(1,LOCAL), and xcwcp(1,LOCAL).