Where an invalid command is encountered, the message format ?% C If an invalid value is supplied for a parameter in an embedded Where a parameter value is set correctly with an embedded command, The file cw.h provides a full set of definitions for theĬommands, special characters, and status codes of cw. Any characters after thisĬommand in the input stream will be lost. This commandĬloses all open files and terminates cw. There is one additional command, and that is '%Q'. That is,Īfter '%C0 ', an '%C1 ' will not be recognized. Once processing of embedded commands has been switched off, anyĬommand to switch this feature back on will not be recognized. If embedded commands are disabled, '%' characters are treated asĪny other (in this case, invalid) input character. Will generate Morse output reporting the value of the parameter The current values of parameters within cw may also be cw reports the current value on standard error, using the Queries the value of the parameter normally set with commandĬ. The current values of parameters within cw may be queried, For theįormats of error messages see the MESSAGE FORMATS section below. Is detected in an embedded command, cw reports an error. Setting on standard error (except if no error messages is set). If a parameter is set successfully, cw reports the new Will turn off error messages, and then turn off the processing of Value of zero as clear, and any other value as set. The 'E', 'M', 'S', 'C' and 'O' commands are flags, and treat a The limits available for command line options, detailed above. The limits on values given for embedded commands are the same as The 'T', 'W', 'G', and 'A' commands take values along with theĬommand. Will set cw to a speed of 25 WPM, and a tone pitch of p, -nocomments Stops cw from treating character strings bracketed by ' will be echoed to standard output, but will not be sounded, orįor example, the embedded command sequence %W25 %T1200 nocombinations Stops cw from treating character strings bracketed by as a The default is to interpret embedded commands. c, -nocommands Stops cw from interpreting commands embedded in the input stream. m, -nomessages Stops cw printing error messages on standard error. e, -noecho Stops cw echoing characters on standard output after they are weighting=WEIGHT Sets the initial weighting, as a percentage of dot lengths. g, -gap=GAP Sets the initial extra gap, in dot lengths, between characters (the Silent, and all other volume values are simply sounded. Work fully for sound card tones, but cw cannot control the volume volume=PERCENT Sets the initial sending volume, as a percentage of full scale volume. A value of 0 selects silent operation, and can be used for timingĬhecks or other testing. t, -tone=HZ Sets the initial sounder pitch in Hz. w, -wpm=WPM Sets the initial sending speed in words per minute. See also NOTES ON USING A SOUNDĬARD below. dev/console for sound produced through console, default forĪLSA sound system, /dev/audio for OSS sound system, a defaultĭevice for PulseAudio sound system. device=DEVICE Specifies the device file to open for generating a sound. 'pulseaudio' (on systems with PulseAudio installed), followed by Without explicit selection of sound system. Soundcard for tones generated through the system sound card, but Generated through system sound card using PulseAudio sound system, System sound card using OSS sound system, pulseaudio for tones Sound card using ALSA sound system, oss for tones generated through The console speaker, alsa for tones generated through the system Null for no tones, just timings, console for tones through system=SYSTEM Specifies the way that cw generates tones. The longįorm options may not be available in non-LINUX versions. COMMAND LINE OPTIONS ¶Ĭw understands the following command line options. cw reports any errors in embedded commands on standard These change the parameters used when sounding the The input stream can containĮmbedded command strings. After it sounds a character,Ĭw echoes it to standard output. Sound card, or the system console speaker. Input, and sounds each valid character as Morse code on either the system If defined, these options are used first command lineĬw reads characters from an input file, or from standard Options may be predefined in the environment variableĬW_OPTIONS. Operating systems may understand only the short form options. Ĭw installed on GNU/Linux systems understands both shortįorm and long form command line options. Cw - sound characters as Morse code on the soundcard or console
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |