What is Cwdaemon For Linux?
Cwdaemon
Cwdaemon is a handy little tool that lets you send Morse code using your PC's parallel or serial port. How cool is that? You just type in a message, and it converts it into Morse code for a transmitter! It does this by using a simple transistor switch and communicates through the UDP internet protocol.
Generating Sound with Cwdaemon
This software can also use your PC speaker or sound card to create a sidetone sound. To get started, you'll need to run the program as root. The command looks like this: cwdaemon -p portnumber -s device
. If you skip the port number, it will automatically use the default one, which is 6789. For the device, you can choose from ttyS0, ttyS1, parport0, or parport1. Don't forget to check out the README file included in the source package for tips on setting up your parallel or serial port!
Testing Your Setup
You can easily test if everything is working by installing the netcat package. Just type this command: nc -u localhost 6789
. Whatever you type on your command line will be sent straight to Cwdaemon.
A Simple Shell Script for Cwdaemon
If you're feeling adventurous, you can even use a shell script that's character-based! Here’s a basic example:
#!/bin/sh
old_tty_settings=$(stty -g)
stty -icanon
trap 'stty "$old_tty_settings"; exit 0' INT
echo "Press (CTRL-C) to interrupt..."
while true; do
nc -u localhost 6789
done
This script changes some settings and lets you keep sending characters until you decide to stop it by pressing CTRL-C.
If you're ready to try out Cwdaemon and explore its features more deeply, check out this link for more information: Cwdaemon Download Page.
How Download Works
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
