catman.c (115207) | catman.c (116135) |
---|---|
1/*- 2 * Copyright (c) 2002 John Rochester 3 * 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 --- 13 unchanged lines hidden (view full) --- 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002 John Rochester 3 * 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 --- 13 unchanged lines hidden (view full) --- 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/usr.bin/catman/catman.c 115207 2003-05-21 13:26:37Z ru $"); | 30__FBSDID("$FreeBSD: head/usr.bin/catman/catman.c 116135 2003-06-10 01:54:10Z ache $"); |
31 32#include <sys/types.h> 33#include <sys/stat.h> 34#include <sys/param.h> 35 36#include <ctype.h> 37#include <dirent.h> 38#include <err.h> --- 31 unchanged lines hidden (view full) --- 70static const char *nroff_device = "ascii"; 71 72/* 73 * Mapping from locale to nroff device 74 */ 75static const char *locale_device[] = { 76 "KOI8-R", "koi8-r", 77 "ISO8859-1", "latin1", | 31 32#include <sys/types.h> 33#include <sys/stat.h> 34#include <sys/param.h> 35 36#include <ctype.h> 37#include <dirent.h> 38#include <err.h> --- 31 unchanged lines hidden (view full) --- 70static const char *nroff_device = "ascii"; 71 72/* 73 * Mapping from locale to nroff device 74 */ 75static const char *locale_device[] = { 76 "KOI8-R", "koi8-r", 77 "ISO8859-1", "latin1", |
78 "ISO_8859-1", "latin1", | |
79 "ISO8859-15", "latin1", | 78 "ISO8859-15", "latin1", |
80 "ISO_8859-15", "latin1", | |
81 NULL 82}; 83 84#define BZ2_CMD "bzip2" 85#define BZ2_EXT ".bz2" 86#define BZ2CAT_CMD "bz" 87#define GZ_CMD "gzip" 88#define GZ_EXT ".gz" --- 716 unchanged lines hidden --- | 79 NULL 80}; 81 82#define BZ2_CMD "bzip2" 83#define BZ2_EXT ".bz2" 84#define BZ2CAT_CMD "bz" 85#define GZ_CMD "gzip" 86#define GZ_EXT ".gz" --- 716 unchanged lines hidden --- |