koi2alt.c (33088) | koi2alt.c (116075) |
---|---|
1/* 2 * Copyright (C) 1993-98 by Andrey A. Chernov, Moscow, Russia. 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 --- 8 unchanged lines hidden (view full) --- 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. | 1/* 2 * Copyright (C) 1993-98 by Andrey A. Chernov, Moscow, Russia. 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 --- 8 unchanged lines hidden (view full) --- 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. |
25 * 26 * $FreeBSD: head/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c 116075 2003-06-09 06:22:01Z imp $ |
|
25 */ 26 27/* 28 * KOI8-R -> CP866 conversion filter (Russian character sets) 29 */ 30 31#include <sys/types.h> 32#include <signal.h> 33#include <stdio.h> | 27 */ 28 29/* 30 * KOI8-R -> CP866 conversion filter (Russian character sets) 31 */ 32 33#include <sys/types.h> 34#include <signal.h> 35#include <stdio.h> |
36#include <stdlib.h> |
|
34#include <unistd.h> 35 36int length = 66; 37int lines; 38 39char *koi2alt[] = { 40/* 0 1 2 3 4 5 6 7 */ 41/* 8 9 A B C D E F */ --- 60 unchanged lines hidden --- | 37#include <unistd.h> 38 39int length = 66; 40int lines; 41 42char *koi2alt[] = { 43/* 0 1 2 3 4 5 6 7 */ 44/* 8 9 A B C D E F */ --- 60 unchanged lines hidden --- |