From 6ecf70c3f9f13fa06912691cde02f7e9a7bbf2ce Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 15 May 2005 19:27:04 +0000 Subject: Fixed missing include. Update docs accordingly. --- Makefile | 4 ++-- xed.1 | 6 +++--- xed.c | 1 + xed.txt | 13 +++++++------ 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index f048a26..3a7ff3a 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.2 2005-05-04 01:13:55 ianc Exp $ +# $Id: Makefile,v 1.3 2005-05-15 19:27:04 ianc Exp $ # # Alter this if required (for instance NCURSES is being used rather than @@ -28,7 +28,7 @@ # LIBS=-lcurses -ltermcap -OPTS=-g +OPTS=-O KEYFILE=xedkeys.h xed: xed.c xedkeys.h Makefile diff --git a/xed.1 b/xed.1 index 92323e9..1424120 100644 --- a/xed.1 +++ b/xed.1 @@ -175,12 +175,12 @@ The diagnostics produced by .B xed are intended to be self-explanatory. .SH NOTES -Version 2.0 of +Version 2.1 of .B xed -includes these additions and fixes over 1.7 : +includes these additions and fixes over 2.0 : .TP o -Drastically tidied up code to enter the 1990's at least. +Added missing include for unistd.h -- FreeBSD didn't mind, cygwin did. .SH BUGS .TP o diff --git a/xed.c b/xed.c index 9049803..af8fe0a 100644 --- a/xed.c +++ b/xed.c @@ -23,6 +23,7 @@ static const char id[]="$Id$"; #include +#include #include #include #include diff --git a/xed.txt b/xed.txt index d033706..22df637 100644 --- a/xed.txt +++ b/xed.txt @@ -131,18 +131,19 @@ DIAGNOSTICS The diagnostics produced by xed are intended to be self-explanatory. NOTES - Version 2.0 of xed includes these additions and fixes over 1.7 : + Version 2.1 of xed includes these additions and fixes over 2.0 : - o Drastically tidied up code to enter the 1990's at least. + o Added missing include for unistd.h -- FreeBSD didn't mind, cyg- + win did. BUGS - o Even though the input routine tries it's best to mask them, - pressing certain control keys (function keys, etc) while xed is + o Even though the input routine tries it's best to mask them, + pressing certain control keys (function keys, etc) while xed is waiting for the second hex digit when editting can send a string - of unexpected commands to xed. This may result in your file + of unexpected commands to xed. This may result in your file being accidentally editted and saved. - o The display is half-inverted and sometimes corrupts on some HP- + o The display is half-inverted and sometimes corrupts on some HP- UX systems. This is a bug in their curses implementation. -- cgit v1.2.3