ul.c (200420) | ul.c (200462) |
---|---|
1/* 2 * Copyright (c) 1980, 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = | 1/* 2 * Copyright (c) 1980, 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = |
45 "$FreeBSD: head/usr.bin/ul/ul.c 200420 2009-12-11 23:35:38Z delphij $"; | 45 "$FreeBSD: head/usr.bin/ul/ul.c 200462 2009-12-13 03:14:06Z delphij $"; |
46#endif /* not lint */ 47 48#include <err.h> 49#include <locale.h> 50#include <stdio.h> 51#include <stdlib.h> 52#include <string.h> 53#include <termcap.h> 54#include <unistd.h> 55#include <wchar.h> | 46#endif /* not lint */ 47 48#include <err.h> 49#include <locale.h> 50#include <stdio.h> 51#include <stdlib.h> 52#include <string.h> 53#include <termcap.h> 54#include <unistd.h> 55#include <wchar.h> |
56#include <wctype.h> |
|
56 57#define IESC '\033' 58#define SO '\016' 59#define SI '\017' 60#define HFWD '9' 61#define HREV '8' 62#define FREV '7' 63#define MAXBUF 512 --- 505 unchanged lines hidden --- | 57 58#define IESC '\033' 59#define SO '\016' 60#define SI '\017' 61#define HFWD '9' 62#define HREV '8' 63#define FREV '7' 64#define MAXBUF 512 --- 505 unchanged lines hidden --- |