Deleted Added
full compact
morse.c (53209) morse.c (53210)
1/*
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * $FreeBSD: head/games/morse/morse.c 53209 1999-11-16 02:45:03Z billf $
33 * $FreeBSD: head/games/morse/morse.c 53210 1999-11-16 02:58:06Z billf $
34 */
35
36/*
37 * Taught to send *real* morse by Lyndon Nerenberg (VE7TCP/VE6BBM)
38 * <lyndon@orthanc.com>
39 */
40
41#ifndef lint

--- 166 unchanged lines hidden (view full) ---

208
209static struct morsetab *hightab = iso8859tab;
210
211int
212main(int argc, char **argv)
213{
214 extern char *optarg;
215 extern int optind;
34 */
35
36/*
37 * Taught to send *real* morse by Lyndon Nerenberg (VE7TCP/VE6BBM)
38 * <lyndon@orthanc.com>
39 */
40
41#ifndef lint

--- 166 unchanged lines hidden (view full) ---

208
209static struct morsetab *hightab = iso8859tab;
210
211int
212main(int argc, char **argv)
213{
214 extern char *optarg;
215 extern int optind;
216 register int ch;
217 register char *p;
216 int ch;
217 char *p;
218
219 while ((ch = getopt(argc, argv, "spw:f:")) != -1)
220 switch ((char) ch) {
221 case 'f':
222 freq = atoi(optarg);
223 break;
224 case 'p':
225 pflag = 1;

--- 144 unchanged lines hidden ---
218
219 while ((ch = getopt(argc, argv, "spw:f:")) != -1)
220 switch ((char) ch) {
221 case 'f':
222 freq = atoi(optarg);
223 break;
224 case 'p':
225 pflag = 1;

--- 144 unchanged lines hidden ---