Tfone is run once per terminal session; it sets the date and time on the telephone from the computer's internal date and time and then accepts commands typed in its window. When you first start tfone, you should be greeted with something resembling:
The c command must be given before lifting the handset and before turning on speakerphone. If you do not, then phone number rewriting will not take place. (The rationale is that if the phone is already picked up, you might be dialing an extension or using a faxback service or whatnot. See the BUGS section). It will
turn the speakerphone on so you can hear what is happening. If you specify the -m flag (see above), the speakerphone will be muted when turned on.
Then, the dialing string is subject to the rules in the fone-rewrite file. The fone-rewrite file consists of one rule per line, with a # beginning a comment that lasts until the end of the line, as in shell scripts. Each rule consists of two fields. The first is a pattern to match, and the second is a sed(1)-like expression to
replace it with. An representative file might be: