radio(1) radio(1) NAME radio - console(4,n) radio application SYNOPSIS radio [ options ] DESCRIPTION radio is a interactive, ncurses-bases console(4,n) radio application. OPTIONS -h print a short help text. -d enable debug output. -q quit after processing the cmd line options, don't enter interac- tive ncurses mode. Only useful together with other options for obvious reasons ... -m mute radio. -f freq tune the specified radio frequency (and unmute the radio). -c dev specify radio device (default is /dev/radio). -s Do a scan for radio stations. -S Same as above + write(1,2) a radio.fmmap with the signal(2,7) for every frequency. You can get a graph for it with gnuplot (plot "radio.fmmap" w lin). -i Scan, write(1,2) a initial ~/.radio file(1,n) to stdout and quit. So you can create a config(1,5) file(1,n) where you only have to fill in(1,8) the cor- rect station names later this way: "radio -i > ~/.radio". See below for the config(1,5) file(1,n) syntax. CONFIGURATION radio picks up station names and present stations from a config(1,5) file. It can parse kradio (KDE radio app) config(1,5) files, therefore it first tries the usual KDE config(1,5) file(1,n) location: ~/.kde/share/config(1,5)/kradiorc. Failing that, radio tries ~/.radio (which makes things a bit easier for people who don't use kradio). The format looks like this: # KDE Config File [Buttons] 1=95800000 2=91400000 [Stations] 100600000=Hundert,6 95800000=Radio eins 102600000=Fritz 94300000=r.s.2 91400000=Berliner Rundfunk The [Buttons] section can have up to eight entries. That are the present stations, they get mapped to F1-F8. The [Stations] section maps frequencies to station names. The frequencies in(1,8) both sections are specified in(1,8) Hz. KEYS X exit(3,n,1 builtins) ESC,Q,E mute and exit. up/down inc/dec frequency pgup/pgdown next/previous station. This one uses the stations from the config(1,5) file(1,n) by default. When started with the -s option these keys will cycle througth the stations found during the scan. F1-F8, 1-8 preset buttons. Ctrl+L redraw screen. AUTHOR Gerd Knorr <kraxel@bytesex.org> COPYRIGHT Copyright (C) 1997-2001 Gerd Knorr This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version(1,3,5) 2 of the License, or (at your option) any later version. This program is distributed in(1,8) the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if(3,n) not, write(1,2) to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (c) 1998-2001 Gerd Knorr radio(1)