summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-06-20 19:42:51 +0000
committerpeter <peter@FreeBSD.org>2002-06-20 19:42:51 +0000
commitbbe305618552d3fccdaa90b19cb2847c6d44cfbf (patch)
tree91a3f3ec93c8c476cbd12ad790a9ed6ab430d4e3 /contrib/ncurses/include
parent61222aa52325dde5190df15facb64dd65503cd69 (diff)
downloadFreeBSD-src-bbe305618552d3fccdaa90b19cb2847c6d44cfbf.zip
FreeBSD-src-bbe305618552d3fccdaa90b19cb2847c6d44cfbf.tar.gz
Import ncurses 5.2-20020615 to fix a first-column display bug.
Diffstat (limited to 'contrib/ncurses/include')
-rwxr-xr-xcontrib/ncurses/include/MKkey_defs.sh9
-rw-r--r--contrib/ncurses/include/curses.h.in6
-rw-r--r--contrib/ncurses/include/tic.h3
3 files changed, 11 insertions, 7 deletions
diff --git a/contrib/ncurses/include/MKkey_defs.sh b/contrib/ncurses/include/MKkey_defs.sh
index 68f3346..ab43b09 100755
--- a/contrib/ncurses/include/MKkey_defs.sh
+++ b/contrib/ncurses/include/MKkey_defs.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $Id: MKkey_defs.sh,v 1.7 2002/01/13 01:36:32 tom Exp $
+# $Id: MKkey_defs.sh,v 1.8 2002/06/01 17:24:28 tom Exp $
##############################################################################
# Copyright (c) 2001,2002 Free Software Foundation, Inc. #
# #
@@ -44,6 +44,9 @@ pass3=pass3_$$
pass4=pass4_$$
trap 'rm -f $data pass[1234]_$$' 0 1 2 5 15
sed -e 's/[ ]\+/ /g' < $DATA |sort -n +5 >$data
+cat >>$data <<EOF
+key_resize kr1 str R1 KEY_RESIZE + ----- Terminal resize event
+EOF
cat <<EOF
/*
@@ -51,8 +54,8 @@ cat <<EOF
*/
EOF
-# KEY_RESIZE
-maxkey=410
+# KEY_RESET
+maxkey=345
for pass in 1 2 3 4
do
diff --git a/contrib/ncurses/include/curses.h.in b/contrib/ncurses/include/curses.h.in
index 88028cc..df6f2a1 100644
--- a/contrib/ncurses/include/curses.h.in
+++ b/contrib/ncurses/include/curses.h.in
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998,1999,2000,2001,2002 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2001,2002 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -29,9 +29,10 @@
/****************************************************************************
* Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
* and: Eric S. Raymond <esr@snark.thyrsus.com> *
+ * and: Thomas E. Dickey 1996-on *
****************************************************************************/
-/* $Id: curses.h.in,v 1.128 2002/05/11 21:38:02 tom Exp $ */
+/* $Id: curses.h.in,v 1.129 2002/06/01 17:22:56 tom Exp $ */
#ifndef __NCURSES_H
#define __NCURSES_H
@@ -963,4 +964,3 @@ NCURSES_EXPORT(int) vsscanf(const char *, const char *, va_list);
#define KEY_BREAK 0401 /* Break key (unreliable) */
#define KEY_SRESET 0530 /* Soft (partial) reset (unreliable) */
#define KEY_RESET 0531 /* Reset or hard reset (unreliable) */
-#define KEY_RESIZE 0632 /* Terminal resize event */
diff --git a/contrib/ncurses/include/tic.h b/contrib/ncurses/include/tic.h
index c4e7dfd..3a3d8e2 100644
--- a/contrib/ncurses/include/tic.h
+++ b/contrib/ncurses/include/tic.h
@@ -32,7 +32,7 @@
****************************************************************************/
/*
- * $Id: tic.h,v 1.40 2001/08/12 00:45:57 tom Exp $
+ * $Id: tic.h,v 1.41 2002/06/01 19:07:02 tom Exp $
* tic.h - Global variables and structures for the terminfo
* compiler.
*/
@@ -119,6 +119,7 @@ extern "C" {
extern NCURSES_EXPORT_VAR(unsigned) _nc_tracing;
extern NCURSES_EXPORT(void) _nc_tracef (char *, ...) GCC_PRINTFLIKE(1,2);
extern NCURSES_EXPORT(const char *) _nc_visbuf (const char *);
+extern NCURSES_EXPORT(const char *) _nc_visbuf2 (int, const char *);
/*
* These are the types of tokens returned by the scanner. The first
OpenPOWER on IntegriCloud