From ba0d525006ba95aec300871fa153b55f8ab5a2a9 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Tue, 18 Feb 2020 19:41:55 +0000 Subject: [PATCH 01/34] Remove unused function. --- sys/netinet/sctp_bsd_addr.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sys/netinet/sctp_bsd_addr.c b/sys/netinet/sctp_bsd_addr.c index 1e2068125fd7..52517cce280c 100644 --- a/sys/netinet/sctp_bsd_addr.c +++ b/sys/netinet/sctp_bsd_addr.c @@ -363,23 +363,6 @@ sctp_addr_change_event_handler(void *arg __unused, struct ifaddr *ifa, int cmd) sctp_addr_change(ifa, cmd); } -void - sctp_add_or_del_interfaces(int (*pred) (struct ifnet *), int add){ - struct ifnet *ifn; - struct ifaddr *ifa; - - IFNET_RLOCK(); - CK_STAILQ_FOREACH(ifn, &MODULE_GLOBAL(ifnet), if_link) { - if (!(*pred) (ifn)) { - continue; - } - CK_STAILQ_FOREACH(ifa, &ifn->if_addrhead, ifa_link) { - sctp_addr_change(ifa, add ? RTM_ADD : RTM_DELETE); - } - } - IFNET_RUNLOCK(); -} - struct mbuf * sctp_get_mbuf_for_msg(unsigned int space_needed, int want_header, int how, int allonebuf, int type) From fbb890056e3365694d5691b9fab0caa9403aedef Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 18 Feb 2020 19:53:36 +0000 Subject: [PATCH 02/34] Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process incoming packets in taskqueue context. This patch extends r357772. Differential Revision: https://reviews.freebsd.org/D23742 Reviewed by: glebius@ Sponsored by: Mellanox Technologies --- sys/netpfil/ipfw/ip_dummynet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/ipfw/ip_dummynet.c b/sys/netpfil/ipfw/ip_dummynet.c index 3fe5f7f2f825..22a784d3d6ea 100644 --- a/sys/netpfil/ipfw/ip_dummynet.c +++ b/sys/netpfil/ipfw/ip_dummynet.c @@ -2550,7 +2550,7 @@ ip_dn_init(void) DN_LOCK_INIT(); - TASK_INIT(&dn_task, 0, dummynet_task, curvnet); + NET_TASK_INIT(&dn_task, 0, dummynet_task, curvnet); dn_tq = taskqueue_create_fast("dummynet", M_WAITOK, taskqueue_thread_enqueue, &dn_tq); taskqueue_start_threads(&dn_tq, 1, PI_NET, "dummynet"); From 9a4a1be02c2a9e03cc92418b64d8b238effd26a4 Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Tue, 18 Feb 2020 20:43:10 +0000 Subject: [PATCH 03/34] cxgbe/iw_cxgbe: correctly enforce the max reg_mr depth. Reported by: Andrew Zhu @ Netapp Obtained from: Chelsio Communications MFC after: 1 week Sponsored by: Chelsio Communications --- sys/dev/cxgbe/iw_cxgbe/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/iw_cxgbe/mem.c b/sys/dev/cxgbe/iw_cxgbe/mem.c index 31b35f56e2dc..3f016c0cc0c1 100644 --- a/sys/dev/cxgbe/iw_cxgbe/mem.c +++ b/sys/dev/cxgbe/iw_cxgbe/mem.c @@ -682,7 +682,7 @@ static int c4iw_set_page(struct ib_mr *ibmr, u64 addr) { struct c4iw_mr *mhp = to_c4iw_mr(ibmr); - if (unlikely(mhp->mpl_len == mhp->max_mpl_len)) + if (unlikely(mhp->mpl_len == mhp->attr.pbl_size)) return -ENOMEM; mhp->mpl[mhp->mpl_len++] = addr; From 868b51f2340e78285761b2fec32e3048202ab516 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Tue, 18 Feb 2020 21:25:17 +0000 Subject: [PATCH 04/34] Epochify SCTP. --- sys/netinet/sctp_os_bsd.h | 6 ------ sys/netinet/sctp_output.c | 11 +++++++++++ sys/netinet/sctp_usrreq.c | 34 ++++++++++++++++++++++++++++------ sys/netinet/sctputil.c | 13 ++++++++++--- sys/netinet6/sctp6_usrreq.c | 11 ++++++++++- 5 files changed, 59 insertions(+), 16 deletions(-) diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h index 2b2486b20171..4a7097127ec8 100644 --- a/sys/netinet/sctp_os_bsd.h +++ b/sys/netinet/sctp_os_bsd.h @@ -412,7 +412,6 @@ typedef struct rtentry sctp_rtentry_t; */ #define SCTP_IP_OUTPUT(result, o_pak, ro, stcb, vrf_id) \ { \ - struct epoch_tracker et; \ int o_flgs = IP_RAWOUTPUT; \ struct sctp_tcb *local_stcb = stcb; \ if (local_stcb && \ @@ -420,24 +419,19 @@ typedef struct rtentry sctp_rtentry_t; local_stcb->sctp_ep->sctp_socket) \ o_flgs |= local_stcb->sctp_ep->sctp_socket->so_options & SO_DONTROUTE; \ m_clrprotoflags(o_pak); \ - NET_EPOCH_ENTER(et); \ result = ip_output(o_pak, NULL, ro, o_flgs, 0, NULL); \ - NET_EPOCH_EXIT(et); \ } #define SCTP_IP6_OUTPUT(result, o_pak, ro, ifp, stcb, vrf_id) \ { \ - struct epoch_tracker et; \ struct sctp_tcb *local_stcb = stcb; \ m_clrprotoflags(o_pak); \ - NET_EPOCH_ENTER(et); \ if (local_stcb && local_stcb->sctp_ep) \ result = ip6_output(o_pak, \ ((struct inpcb *)(local_stcb->sctp_ep))->in6p_outputopts, \ (ro), 0, 0, ifp, NULL); \ else \ result = ip6_output(o_pak, NULL, (ro), 0, 0, ifp, NULL); \ - NET_EPOCH_EXIT(et); \ } struct mbuf * diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 424f9803237c..11433ddcdba4 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -12561,6 +12561,7 @@ sctp_lower_sosend(struct socket *so, struct thread *p ) { + struct epoch_tracker et; ssize_t sndlen = 0, max_len, local_add_more; int error, len; struct mbuf *top = NULL; @@ -13062,7 +13063,9 @@ sctp_lower_sosend(struct socket *so, atomic_add_int(&stcb->asoc.refcnt, -1); free_cnt_applied = 0; /* release this lock, otherwise we hang on ourselves */ + NET_EPOCH_ENTER(et); sctp_abort_an_association(stcb->sctp_ep, stcb, mm, SCTP_SO_LOCKED); + NET_EPOCH_EXIT(et); /* now relock the stcb so everything is sane */ hold_tcblock = 0; stcb = NULL; @@ -13366,7 +13369,9 @@ skip_preblock: /* a collision took us forward? */ queue_only = 0; } else { + NET_EPOCH_ENTER(et); sctp_send_initiate(inp, stcb, SCTP_SO_LOCKED); + NET_EPOCH_EXIT(et); SCTP_SET_STATE(stcb, SCTP_STATE_COOKIE_WAIT); queue_only = 1; } @@ -13424,6 +13429,7 @@ skip_preblock: * the input via the net is happening * and I don't need to start output :-D */ + NET_EPOCH_ENTER(et); if (hold_tcblock == 0) { if (SCTP_TCB_TRYLOCK(stcb)) { hold_tcblock = 1; @@ -13436,6 +13442,7 @@ skip_preblock: stcb, SCTP_OUTPUT_FROM_USR_SEND, SCTP_SO_LOCKED); } + NET_EPOCH_EXIT(et); } if (hold_tcblock == 1) { SCTP_TCB_UNLOCK(stcb); @@ -13609,8 +13616,10 @@ dataless_eof: "%s:%d at %s", __FILE__, __LINE__, __func__); op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), msg); + NET_EPOCH_ENTER(et); sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_LOCKED); + NET_EPOCH_EXIT(et); /* * now relock the stcb so everything * is sane @@ -13684,6 +13693,7 @@ skip_out_eof: stcb->asoc.total_flight, stcb->asoc.chunks_on_out_queue, stcb->asoc.total_flight_count); } + NET_EPOCH_ENTER(et); if ((queue_only == 0) && (nagle_applies == 0) && (stcb->asoc.peers_rwnd && un_sent)) { /* we can attempt to send too. */ if (hold_tcblock == 0) { @@ -13719,6 +13729,7 @@ skip_out_eof: (void)sctp_med_chunk_output(inp, stcb, &stcb->asoc, &num_out, &reason, 1, 1, &now, &now_filled, frag_point, SCTP_SO_LOCKED); } + NET_EPOCH_EXIT(et); SCTPDBG(SCTP_DEBUG_OUTPUT1, "USR Send complete qo:%d prw:%d unsent:%d tf:%d cooq:%d toqs:%d err:%d\n", queue_only, stcb->asoc.peers_rwnd, un_sent, stcb->asoc.total_flight, stcb->asoc.chunks_on_out_queue, diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c index f5a213566c88..9425797319d4 100644 --- a/sys/netinet/sctp_usrreq.c +++ b/sys/netinet/sctp_usrreq.c @@ -429,6 +429,7 @@ SYSCTL_PROC(_net_inet_sctp, OID_AUTO, getcred, CTLTYPE_OPAQUE | CTLFLAG_RW, static void sctp_abort(struct socket *so) { + struct epoch_tracker et; struct sctp_inpcb *inp; uint32_t flags; @@ -437,6 +438,7 @@ sctp_abort(struct socket *so) return; } + NET_EPOCH_ENTER(et); sctp_must_try_again: flags = inp->sctp_flags; #ifdef SCTP_LOG_CLOSING @@ -466,6 +468,7 @@ sctp_must_try_again: goto sctp_must_try_again; } } + NET_EPOCH_EXIT(et); return; } @@ -526,6 +529,7 @@ sctp_bind(struct socket *so, struct sockaddr *addr, struct thread *p) void sctp_close(struct socket *so) { + struct epoch_tracker et; struct sctp_inpcb *inp; uint32_t flags; @@ -536,6 +540,7 @@ sctp_close(struct socket *so) /* * Inform all the lower layer assoc that we are done. */ + NET_EPOCH_ENTER(et); sctp_must_try_again: flags = inp->sctp_flags; #ifdef SCTP_LOG_CLOSING @@ -578,6 +583,7 @@ sctp_must_try_again: goto sctp_must_try_again; } } + NET_EPOCH_EXIT(et); return; } @@ -660,9 +666,12 @@ connected_type: * definitions) but this is not advisable. This code is used * by FreeBSD when sending a file with sendfile() though. */ + struct epoch_tracker et; int ret; + NET_EPOCH_ENTER(et); ret = sctp_output(inp, inp->pkt, addr, inp->control, p, flags); + NET_EPOCH_EXIT(et); inp->pkt = NULL; inp->control = NULL; return (ret); @@ -689,6 +698,7 @@ sctp_disconnect(struct socket *so) SCTP_INP_RUNLOCK(inp); return (0); } else { + struct epoch_tracker et; struct sctp_association *asoc; struct sctp_tcb *stcb; @@ -706,6 +716,7 @@ sctp_disconnect(struct socket *so) SCTP_INP_RUNLOCK(inp); return (0); } + NET_EPOCH_ENTER(et); if (((so->so_options & SO_LINGER) && (so->so_linger == 0)) || (so->so_rcv.sb_cc > 0)) { @@ -725,6 +736,7 @@ sctp_disconnect(struct socket *so) (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_USRREQ + SCTP_LOC_3); /* No unlock tcb assoc is gone */ + NET_EPOCH_EXIT(et); return (0); } if (TAILQ_EMPTY(&asoc->send_queue) && @@ -799,12 +811,14 @@ sctp_disconnect(struct socket *so) SCTP_INP_RUNLOCK(inp); (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_USRREQ + SCTP_LOC_5); + NET_EPOCH_EXIT(et); return (0); } else { sctp_chunk_output(inp, stcb, SCTP_OUTPUT_FROM_CLOSING, SCTP_SO_LOCKED); } } soisdisconnecting(so); + NET_EPOCH_EXIT(et); SCTP_TCB_UNLOCK(stcb); SCTP_INP_RUNLOCK(inp); return (0); @@ -896,6 +910,7 @@ sctp_shutdown(struct socket *so) * SHUT_WR or SHUT_RDWR. This means we put the shutdown flag * against it. */ + struct epoch_tracker et; struct sctp_tcb *stcb; struct sctp_association *asoc; struct sctp_nets *netp; @@ -935,6 +950,7 @@ sctp_shutdown(struct socket *so) SCTP_INP_RUNLOCK(inp); return (0); } + NET_EPOCH_ENTER(et); if (stcb->asoc.alternate) { netp = stcb->asoc.alternate; } else { @@ -974,6 +990,7 @@ sctp_shutdown(struct socket *so) SCTP_INP_RUNLOCK(inp); sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, SCTP_SO_LOCKED); + NET_EPOCH_EXIT(et); return (0); } } @@ -985,6 +1002,7 @@ sctp_shutdown(struct socket *so) sctp_chunk_output(inp, stcb, SCTP_OUTPUT_FROM_CLOSING, SCTP_SO_LOCKED); SCTP_TCB_UNLOCK(stcb); SCTP_INP_RUNLOCK(inp); + NET_EPOCH_EXIT(et); return (0); } } @@ -6906,11 +6924,12 @@ sctp_setopt(struct socket *so, int optname, void *optval, size_t optsize, int sctp_ctloutput(struct socket *so, struct sockopt *sopt) { - void *optval = NULL; - size_t optsize = 0; - void *p; - int error = 0; + struct epoch_tracker et; struct sctp_inpcb *inp; + void *optval = NULL; + void *p; + size_t optsize = 0; + int error = 0; if ((sopt->sopt_level == SOL_SOCKET) && (sopt->sopt_name == SO_SETFIB)) { @@ -6957,7 +6976,9 @@ sctp_ctloutput(struct socket *so, struct sockopt *sopt) } p = (void *)sopt->sopt_td; if (sopt->sopt_dir == SOPT_SET) { + NET_EPOCH_ENTER(et); error = sctp_setopt(so, sopt->sopt_name, optval, optsize, p); + NET_EPOCH_EXIT(et); } else if (sopt->sopt_dir == SOPT_GET) { error = sctp_getopt(so, sopt->sopt_name, optval, &optsize, p); } else { @@ -6978,6 +6999,7 @@ out: static int sctp_connect(struct socket *so, struct sockaddr *addr, struct thread *p) { + struct epoch_tracker et; int error = 0; int create_lock_on = 0; uint32_t vrf_id; @@ -7037,7 +7059,7 @@ sctp_connect(struct socket *so, struct sockaddr *addr, struct thread *p) SCTP_INP_INCR_REF(inp); SCTP_ASOC_CREATE_LOCK(inp); create_lock_on = 1; - + NET_EPOCH_ENTER(et); if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) { @@ -7122,10 +7144,10 @@ sctp_connect(struct socket *so, struct sockaddr *addr, struct thread *p) sctp_send_initiate(inp, stcb, SCTP_SO_LOCKED); SCTP_TCB_UNLOCK(stcb); out_now: + NET_EPOCH_EXIT(et); if (create_lock_on) { SCTP_ASOC_CREATE_UNLOCK(inp); } - SCTP_INP_DECR_REF(inp); return (error); } diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index f18db7460b03..371a364ab980 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -1371,11 +1371,13 @@ sctp_expand_mapping_array(struct sctp_association *asoc, uint32_t needed) static void sctp_iterator_work(struct sctp_iterator *it) { + struct epoch_tracker et; + struct sctp_inpcb *tinp; int iteration_count = 0; int inp_skip = 0; int first_in = 1; - struct sctp_inpcb *tinp; + NET_EPOCH_ENTER(et); SCTP_INP_INFO_RLOCK(); SCTP_ITERATOR_LOCK(); sctp_it_ctl.cur_it = it; @@ -1393,6 +1395,7 @@ done_with_iterator: (*it->function_atend) (it->pointer, it->val); } SCTP_FREE(it, SCTP_M_ITER); + NET_EPOCH_EXIT(et); return; } select_a_new_ep: @@ -1601,6 +1604,7 @@ sctp_handle_addr_wq(void) void sctp_timeout_handler(void *t) { + struct epoch_tracker et; struct sctp_inpcb *inp; struct sctp_tcb *stcb; struct sctp_nets *net; @@ -1716,6 +1720,7 @@ sctp_timeout_handler(void *t) /* record in stopped what t-o occurred */ tmr->stopped_from = type; + NET_EPOCH_ENTER(et); /* mark as being serviced now */ if (SCTP_OS_TIMER_PENDING(&tmr->timer)) { /* @@ -1910,7 +1915,6 @@ sctp_timeout_handler(void *t) sctp_abort_an_association(inp, stcb, op_err, SCTP_SO_NOT_LOCKED); /* no need to unlock on tcb its gone */ goto out_decr; - case SCTP_TIMER_TYPE_STRRESET: if ((stcb == NULL) || (inp == NULL)) { break; @@ -1943,7 +1947,6 @@ sctp_timeout_handler(void *t) sctp_delete_prim_timer(inp, stcb, net); SCTP_STAT_INCR(sctps_timodelprim); break; - case SCTP_TIMER_TYPE_AUTOCLOSE: if ((stcb == NULL) || (inp == NULL)) { break; @@ -2034,6 +2037,7 @@ out_decr: out_no_decr: SCTPDBG(SCTP_DEBUG_TIMER1, "Timer now complete (type = %d)\n", type); CURVNET_RESTORE(); + NET_EPOCH_EXIT(et); } void @@ -5184,6 +5188,7 @@ sctp_user_rcvd(struct sctp_tcb *stcb, uint32_t *freed_so_far, int hold_rlock, uint32_t rwnd_req) { /* User pulled some data, do we need a rwnd update? */ + struct epoch_tracker et; int r_unlocked = 0; uint32_t dif, rwnd; struct socket *so = NULL; @@ -5239,11 +5244,13 @@ sctp_user_rcvd(struct sctp_tcb *stcb, uint32_t *freed_so_far, int hold_rlock, goto out; } SCTP_STAT_INCR(sctps_wu_sacks_sent); + NET_EPOCH_ENTER(et); sctp_send_sack(stcb, SCTP_SO_LOCKED); sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_USR_RCVD, SCTP_SO_LOCKED); /* make sure no timer is running */ + NET_EPOCH_EXIT(et); sctp_timer_stop(SCTP_TIMER_TYPE_RECV, stcb->sctp_ep, stcb, NULL, SCTP_FROM_SCTPUTIL + SCTP_LOC_6); SCTP_TCB_UNLOCK(stcb); diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index fe1328a4de5e..4af78d8f5547 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -111,7 +111,7 @@ sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) } } ip6 = mtod(m, struct ip6_hdr *); - sh = (struct sctphdr *)(mtod(m, caddr_t) + iphlen); + sh = (struct sctphdr *)(mtod(m, caddr_t)+iphlen); ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); offset -= sizeof(struct sctp_chunkhdr); memset(&src, 0, sizeof(struct sockaddr_in6)); @@ -481,6 +481,7 @@ SYSCTL_PROC(_net_inet6_sctp6, OID_AUTO, getcred, CTLTYPE_OPAQUE | CTLFLAG_RW, static void sctp6_abort(struct socket *so) { + struct epoch_tracker et; struct sctp_inpcb *inp; uint32_t flags; @@ -489,6 +490,7 @@ sctp6_abort(struct socket *so) SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP6_USRREQ, EINVAL); return; } + NET_EPOCH_ENTER(et); sctp_must_try_again: flags = inp->sctp_flags; #ifdef SCTP_LOG_CLOSING @@ -517,6 +519,7 @@ sctp_must_try_again: goto sctp_must_try_again; } } + NET_EPOCH_EXIT(et); return; } @@ -776,9 +779,12 @@ connected_type: * optionaly switch back to this code (by changing back the * defininitions but this is not advisable. */ + struct epoch_tracker et; int ret; + NET_EPOCH_ENTER(et); ret = sctp_output(inp, inp->pkt, addr, inp->control, p, flags); + NET_EPOCH_EXIT(et); inp->pkt = NULL; inp->control = NULL; return (ret); @@ -790,6 +796,7 @@ connected_type: static int sctp6_connect(struct socket *so, struct sockaddr *addr, struct thread *p) { + struct epoch_tracker et; uint32_t vrf_id; int error = 0; struct sctp_inpcb *inp; @@ -924,8 +931,10 @@ sctp6_connect(struct socket *so, struct sockaddr *addr, struct thread *p) } SCTP_SET_STATE(stcb, SCTP_STATE_COOKIE_WAIT); (void)SCTP_GETTIME_TIMEVAL(&stcb->asoc.time_entered); + NET_EPOCH_ENTER(et); sctp_send_initiate(inp, stcb, SCTP_SO_LOCKED); SCTP_TCB_UNLOCK(stcb); + NET_EPOCH_EXIT(et); return (error); } From 98b6844690dbc9bba22e8c7c0f810e8567e78b84 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Tue, 18 Feb 2020 23:56:23 +0000 Subject: [PATCH 05/34] Additional KASSERTs to ensure the consistency of the soft updates indirdep structure. No functional change. Tested by: Peter Holm (as part of a larger patch) Sponsored by: Netflix --- sys/ufs/ffs/ffs_softdep.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 4e6ed2fe8d64..086d3a3df012 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -8224,8 +8224,13 @@ indir_trunc(freework, dbn, lbn) * If we're goingaway, free the indirdep. Otherwise it will * linger until the write completes. */ - if (goingaway) + if (goingaway) { + KASSERT(indirdep->ir_savebp == bp, + ("indir_trunc: losing ir_savebp %p", + indirdep->ir_savebp)); + indirdep->ir_savebp = NULL; free_indirdep(indirdep); + } } FREE_LOCK(ump); /* Initialize pointers depending on block size. */ @@ -10739,6 +10744,8 @@ free_indirdep(indirdep) ("free_indirdep: %p still on newblk list.", indirdep)); KASSERT(indirdep->ir_saveddata == NULL, ("free_indirdep: %p still has saved data.", indirdep)); + KASSERT(indirdep->ir_savebp == NULL, + ("free_indirdep: %p still has savebp buffer.", indirdep)); if (indirdep->ir_state & ONWORKLIST) WORKLIST_REMOVE(&indirdep->ir_list); WORKITEM_FREE(indirdep, D_INDIRDEP); From 02cd7739168ed9b4f4abdd592f429f6027973a4d Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Wed, 19 Feb 2020 00:48:58 +0000 Subject: [PATCH 06/34] cxgbe(4): Congestion drops are maintained per E-channel and not per buffer group. This fixes a bug where congestion drops on port 1 of a T6 card would incorrectly be counted as drops on port 0. MFC after: 1 week Sponsored by: Chelsio Communications --- sys/dev/cxgbe/common/t4_hw.c | 3 ++- sys/dev/cxgbe/t4_main.c | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/sys/dev/cxgbe/common/t4_hw.c b/sys/dev/cxgbe/common/t4_hw.c index 03d5b7557e13..b7750f619710 100644 --- a/sys/dev/cxgbe/common/t4_hw.c +++ b/sys/dev/cxgbe/common/t4_hw.c @@ -6781,9 +6781,10 @@ static unsigned int t4_get_mps_bg_map(struct adapter *adap, int idx) static unsigned int t4_get_rx_e_chan_map(struct adapter *adap, int idx) { u32 n = G_NUMPORTS(t4_read_reg(adap, A_MPS_CMN_CTL)); + const u32 all_chan = (1 << adap->chip_params->nchan) - 1; if (n == 0) - return idx == 0 ? 0xf : 0; + return idx == 0 ? all_chan : 0; if (n == 1 && chip_id(adap) <= CHELSIO_T5) return idx < 2 ? (3 << (2 * idx)) : 0; return 1 << idx; diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index f0de51aa1580..49c8b5efb735 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -6137,7 +6137,7 @@ vi_refresh_stats(struct adapter *sc, struct vi_info *vi) static void cxgbe_refresh_stats(struct adapter *sc, struct port_info *pi) { - u_int i, v, tnl_cong_drops, bg_map; + u_int i, v, tnl_cong_drops, chan_map; struct timeval tv; const struct timeval interval = {0, 250000}; /* 250ms */ @@ -6148,15 +6148,15 @@ cxgbe_refresh_stats(struct adapter *sc, struct port_info *pi) tnl_cong_drops = 0; t4_get_port_stats(sc, pi->tx_chan, &pi->stats); - bg_map = pi->mps_bg_map; - while (bg_map) { - i = ffs(bg_map) - 1; + chan_map = pi->rx_e_chan_map; + while (chan_map) { + i = ffs(chan_map) - 1; mtx_lock(&sc->reg_lock); t4_read_indirect(sc, A_TP_MIB_INDEX, A_TP_MIB_DATA, &v, 1, A_TP_MIB_TNL_CNG_DROP_0 + i); mtx_unlock(&sc->reg_lock); tnl_cong_drops += v; - bg_map &= ~(1 << i); + chan_map &= ~(1 << i); } pi->tnl_cong_drops = tnl_cong_drops; getmicrotime(&pi->last_refreshed); @@ -10292,7 +10292,7 @@ read_i2c(struct adapter *sc, struct t4_i2c_data *i2cd) static int clear_stats(struct adapter *sc, u_int port_id) { - int i, v, bg_map; + int i, v, chan_map; struct port_info *pi; struct vi_info *vi; struct sge_rxq *rxq; @@ -10317,13 +10317,13 @@ clear_stats(struct adapter *sc, u_int port_id) if (vi->flags & VI_INIT_DONE) t4_clr_vi_stats(sc, vi->vin); } - bg_map = pi->mps_bg_map; + chan_map = pi->rx_e_chan_map; v = 0; /* reuse */ - while (bg_map) { - i = ffs(bg_map) - 1; + while (chan_map) { + i = ffs(chan_map) - 1; t4_write_indirect(sc, A_TP_MIB_INDEX, A_TP_MIB_DATA, &v, 1, A_TP_MIB_TNL_CNG_DROP_0 + i); - bg_map &= ~(1 << i); + chan_map &= ~(1 << i); } mtx_unlock(&sc->reg_lock); From 691c0a5f3d2da0515e93e2f7700fdd515fff7b7d Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Wed, 19 Feb 2020 01:51:01 +0000 Subject: [PATCH 07/34] [skip ci] delete obsolete comment in fusefs tests It should've been deleted by r349436 MFC after: 2 weeks --- tests/sys/fs/fusefs/io.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/sys/fs/fusefs/io.cc b/tests/sys/fs/fusefs/io.cc index 5fefdc5307d7..b63127aff01e 100644 --- a/tests/sys/fs/fusefs/io.cc +++ b/tests/sys/fs/fusefs/io.cc @@ -46,9 +46,6 @@ extern "C" { /* * For testing I/O like fsx does, but deterministically and without a real * underlying file system - * - * TODO: after fusefs gains the options to select cache mode for each mount - * point, run each of these tests for all cache modes. */ using namespace testing; From 946966d161b544be71f482f1441ca9dc7390fd84 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 02:34:56 +0000 Subject: [PATCH 08/34] certctl(8): switch to install(1) to fix DESTDIR support "Oops" - ln(1) is fine and dandy, but when you're using DESTDIR...it's not- the path will almost certainly be invalid once the root you've just installed to is relocated, perhaps to /. Switch to install(1) using `-l rs` to calculate the relative symlink between the two, which should work just fine in all cases. MFC after: 1 week --- usr.sbin/certctl/certctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/certctl/certctl.sh b/usr.sbin/certctl/certctl.sh index 004da292381a..b46d3371db16 100755 --- a/usr.sbin/certctl/certctl.sh +++ b/usr.sbin/certctl/certctl.sh @@ -69,7 +69,7 @@ create_trusted_link() return 1 fi [ $VERBOSE -gt 0 ] && echo "Adding $hash.0 to trust store" - [ $NOOP -eq 0 ] && ln -fs $(realpath "$1") "$CERTDESTDIR/$hash.0" + [ $NOOP -eq 0 ] && install -lrs $(realpath "$1") "$CERTDESTDIR/$hash.0" } create_blacklisted() @@ -88,7 +88,7 @@ create_blacklisted() return fi [ $VERBOSE -gt 0 ] && echo "Adding $filename to blacklist" - [ $NOOP -eq 0 ] && ln -fs "$srcfile" "$BLACKLISTDESTDIR/$filename" + [ $NOOP -eq 0 ] && install -lrs "$srcfile" "$BLACKLISTDESTDIR/$filename" } do_scan() From ac92e1359b3f4a9698fb17bd15e67c39933b1487 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 02:35:43 +0000 Subject: [PATCH 09/34] caroot pkg: pass through the pkg -r rootdir as DESTDIR If we're trying to bootstrap a different root with pkgbase, we should be doing the right thing with caroot. --- release/packages/caroot.ucl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/packages/caroot.ucl b/release/packages/caroot.ucl index d603f9524ddf..f0d1730f9976 100644 --- a/release/packages/caroot.ucl +++ b/release/packages/caroot.ucl @@ -20,6 +20,7 @@ scripts: { # files being added or removed, we should use it instead to gate the # rehash. post-install = < Date: Wed, 19 Feb 2020 03:39:11 +0000 Subject: [PATCH 10/34] powerpc/amigaone: Fix license header formatting on cpld files This should've been fixed before initial commit, but wasn't. Not even sure how it happened in the first place. --- sys/powerpc/amigaone/cpld.h | 3 ++- sys/powerpc/amigaone/cpld_x5000.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/powerpc/amigaone/cpld.h b/sys/powerpc/amigaone/cpld.h index bdab9fd9c857..17f738020f89 100644 --- a/sys/powerpc/amigaone/cpld.h +++ b/sys/powerpc/amigaone/cpld.h @@ -7,7 +7,8 @@ * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR diff --git a/sys/powerpc/amigaone/cpld_x5000.c b/sys/powerpc/amigaone/cpld_x5000.c index bdaa35018280..73b570a9b75f 100644 --- a/sys/powerpc/amigaone/cpld_x5000.c +++ b/sys/powerpc/amigaone/cpld_x5000.c @@ -7,7 +7,8 @@ * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR From 9fab908a79e98408664cdcfbe2d01a3338a84a56 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Wed, 19 Feb 2020 04:46:41 +0000 Subject: [PATCH 11/34] powerpc: unconditionally mark SLB zones UMA_ZONE_CONTIG PR: 244118 Reported by: Francis Little Tested by: Francis Little, Mark Millard Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D23729 --- sys/powerpc/aim/slb.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sys/powerpc/aim/slb.c b/sys/powerpc/aim/slb.c index ab9dde4ee69b..5a9971a12cbf 100644 --- a/sys/powerpc/aim/slb.c +++ b/sys/powerpc/aim/slb.c @@ -523,18 +523,12 @@ slb_uma_real_alloc(uma_zone_t zone, vm_size_t bytes, int domain, static void slb_zone_init(void *dummy) { - uint32_t allocf_flags; - - allocf_flags = 0; - if (platform_real_maxaddr() != VM_MAX_ADDRESS) - allocf_flags = UMA_ZONE_CONTIG; - slbt_zone = uma_zcreate("SLB tree node", sizeof(struct slbtnode), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, - allocf_flags | UMA_ZONE_VM); + UMA_ZONE_CONTIG | UMA_ZONE_VM); slb_cache_zone = uma_zcreate("SLB cache", (n_slbs + 1)*sizeof(struct slb *), NULL, NULL, NULL, NULL, - UMA_ALIGN_PTR, allocf_flags | UMA_ZONE_VM); + UMA_ALIGN_PTR, UMA_ZONE_CONTIG | UMA_ZONE_VM); if (platform_real_maxaddr() != VM_MAX_ADDRESS) { uma_zone_set_allocf(slb_cache_zone, slb_uma_real_alloc); From 294de6bbd6dfa5eeb918bb1175905e5a88302095 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Wed, 19 Feb 2020 06:28:55 +0000 Subject: [PATCH 12/34] Add _BIX (Battery Information Extended) object support. ACPI Control Method Batteries have a _BIF and/or _BIX object which provide static properties of the battery. FreeBSD acpi_cmbat module supported _BIF object only, which was deprecated as of ACPI 4.0. _BIX is an extended version of _BIF defined in ACPI 4.0 or later. As of writing, _BIX has two revisions. One is in ACPI 4.0 (rev.0) and another is in ACPI 6.0 (rev.1). It seems that hardware vendors still stick to _BIF only or _BIX rev.0 + _BIF for the maximum compatibility. Microsoft requires _BIX rev.0 for Windows machines, so there are some laptop machines with _BIX rev.0 only. In this case, FreeBSD does not recognize the battery information. After this change, the acpi_cmbat module gets battery information from _BIX or _BIF object and internally uses _BIX rev.1 data structure as the primary information store in the kernel. ACPIIO_BATT_GET_BI[FX] returns an acpi_bi[fx] structure built by using information obtained from a _BIF or a _BIX object found on the system. The revision number field can be used to check which field is available. The acpiconf(8) utility will show additional information if _BIX is available. Although ABIs of ACPIIO_BATT_* were changed, the existing APIs for userland utilities are not changed and the backward-compatible ABIs are provided. This means that older versions of acpiconf(8) can also work with the new kernel. The (union acpi_battery_ioctl_arg) was padded to 256 byte long to avoid another ABI change in the future. A _BIX object with its revision number >1 will be treated as compatible with the rev.1 _BIX format. Reviewed by: takawata MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23728 --- share/man/man4/acpi_battery.4 | 173 ++++++++++++++++----- sys/dev/acpica/acpi_battery.c | 140 +++++++++-------- sys/dev/acpica/acpi_cmbat.c | 239 +++++++++++++++++++----------- sys/dev/acpica/acpi_if.m | 9 +- sys/dev/acpica/acpi_package.c | 13 ++ sys/dev/acpica/acpi_smbat.c | 52 ++++--- sys/dev/acpica/acpiio.h | 95 +++++++++++- sys/dev/acpica/acpivar.h | 6 +- usr.sbin/acpi/acpiconf/acpiconf.c | 61 +++++--- 9 files changed, 559 insertions(+), 229 deletions(-) diff --git a/share/man/man4/acpi_battery.4 b/share/man/man4/acpi_battery.4 index ca11b5b4e65c..2b44ecbce2b7 100644 --- a/share/man/man4/acpi_battery.4 +++ b/share/man/man4/acpi_battery.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 26, 2019 +.Dd February 16, 2020 .Dt ACPI_BATTERY 4 .Os .Sh NAME @@ -37,6 +37,7 @@ The .Nm is a driver for battery management features of the ACPI module. +.Pp An ACPI-compatible battery device supports either a Control Method Battery interface or a Smart Battery subsystem interface. The former is accessed by the AML @@ -45,7 +46,8 @@ code control methods, and the latter is controlled directly through the ACPI EC .Pq Embedded Controller typically via an SMBus interface. -This driver supports the +.Pp +This driver supports the .Xr sysctl 8 and .Xr ioctl 2 @@ -59,60 +61,86 @@ driver takes a single integer value for the battery unit number as an argument, and returns a specific structure for each request. A special unit number -.Li ACPI_BATTERY_ALL_UNITS +.Dv ACPI_BATTERY_ALL_UNITS specifies all of the attached units and reports accumulated information. .Bl -tag -width indent -.It ACPIIO_BATT_GET_UNITS Vt int +.It Dv ACPIIO_BATT_GET_UNITS Vt int Returns the number of battery units in the system. The unit number argument will be ignored. -.It ACPIIO_BATT_GET_BATTINFO Vt struct acpi_battinfo +.It Dv ACPIIO_BATT_GET_BATTINFO Vt struct acpi_battinfo Returns the following: .Bl -tag -width indent -.It cap +.It Va cap Battery capacity in percent, -.It min +.It Va min Remaining battery life in minutes, -.It state +.It Va state Current status of the battery encoded in the following: .Bl -tag -width indent -.It ACPI_BATT_STAT_DISCHARG Pq 0x0001 +.It Dv ACPI_BATT_STAT_DISCHARG Pq 0x0001 Battery is discharging, -.It ACPI_BATT_STAT_CHARGING Pq 0x0002 +.It Dv ACPI_BATT_STAT_CHARGING Pq 0x0002 Battery is being charged, or -.It ACPI_BATT_STAT_CRITICAL Pq 0x0004 +.It Dv ACPI_BATT_STAT_CRITICAL Pq 0x0004 Remaining battery life is critically low. .El .Pp Note that the status bits of each battery will be consolidated when -.Li ACPI_BATTERY_ALL_UNITS +.Dv ACPI_BATTERY_ALL_UNITS is specified. -.It rate +.It Va rate Current battery discharging rate in mW. .Li -1 means not discharging right now. .El -.It ACPIIO_BATT_GET_BIF Vt struct acpi_bif +.It Dv ACPIIO_BATT_GET_BIX Vt struct acpi_bix Returns battery information given by the ACPI -.Li _BIF Pq Battery Information +.Li _BIX Pq Battery Information object, which is the static portion of the Control Method Battery information. -In the case of a Smart Battery attached to SMBus, +In the case of a Smart Battery attached to +SMBus or a Control Method Battery with a +.Li _BIF +object, this ioctl will build a -.Vt struct acpi_bif +.Vt struct acpi_bix structure based on the obtained information and return it. .Bl -tag -width indent -.It units +.It Va rev +Revision number of the object. +There are the following well-known values: +.Bl -tag -width indent +.It Dv ACPI_BIX_REV_0 Pq 0x0000 +A +.Li _BIX +object in ACPI 4.0. +.It Dv ACPI_BIX_REV_1 Pq 0x0001 +A +.Li _BIX +object in ACPI 6.0. +.It Dv ACPI_BIX_REV_BIF Pq 0xffff +A +.Li _BIX +object built from the +.Li _BIF +object found on the system. +.El +.Pp +Note that this field should be checked by using +.Fn ACPI_BIX_REV_MIN_CHECK var rev +macro when checking the minimum revision number. +.It Va units Indicates the units used by the battery to report its capacity and charge rate encoded in the following: .Bl -tag -width indent -.It ACPI_BIF_UNITS_MW Pq 0x00000000 +.It ACPI_BIX_UNITS_MW Pq 0x00000000 in mW .Pq power -.It ACPI_BIF_UNITS_MA Pq 0x00000001 +.It ACPI_BIX_UNITS_MA Pq 0x00000001 in mA .Pq current .El @@ -120,31 +148,69 @@ in mA Note that capacity is expressed in mWh or mAh, and rate is expressed in mW or mA, respectively. -.It dcap +.It Va dcap The Battery's design capacity, which is the nominal capacity of a new battery. This is expressed as power or current depending on the value of .Va units . -.It lfcap +.It Va lfcap Predicted battery capacity when fully charged. Typically this will decrease every charging cycle. .It btech Battery technology: .Bl -tag -width indent .It 0x00000000 Primary cell Pq non-rechargable -.It 0x00000001 Secondery cell Pq rechargable +.It 0x00000001 Secondary cell Pq rechargable .El -.It dvol +.It Va dvol Design voltage in mV, which is the nominal voltage of a new battery. -.It wcap +.It Va wcap Design capacity of warning. When a discharging battery device reaches this capacity, notification is sent to the system. -.It lcap +.It Va lcap Design capacity of low. -.It gra1 +.It Va cycles +.Pq rev 0 or newer +The number of cycles the battery has experienced. +A cycle means an amount of discharge occurred which was +approximately equal to the value of Design Capacity. +.It Va accuracy +.Pq rev 0 or newer +The accuracy of the battery capacity measurement, +in thousandth of a percent. +.It Va stmax +.Pq rev 0 or newer +The Maximum Sampling Time of the battery in +milliseconds. +This is the maximum duration between two consecutive +measurements of the battery's capacities specified in +.Li _BST . +If two succeeding readings of +.Li _BST +beyond this duration occur, +two different results can be returned. +.It Va stmin +.Pq rev 0 or newer +The Minimum Sampling Time of the battery in +milliseconds. +.It Va aimax +.Pq rev 0 or newer +The Maximum Average Interval of the battery in +milliseconds. +This is the length of time within which the battery +averages the capacity measurements specified in +.Li _BST . +The Sampling Time specifies the frequency of measurements, +and the Average Interval specifies the width of the time +window of every measurement. +.It Va aimin +.Pq rev 0 or newer +The Minimum Average Interval of the battery in +milliseconds. +.It Va gra1 Battery capacity granularity between .Va low and @@ -152,7 +218,7 @@ and This is expressed as power or current depending on the value of .Va units . -.It gra2 +.It Va gra2 Battery capacity granularity between .Va warning and @@ -160,15 +226,41 @@ and This is expressed as power or current depending on the value of .Va units . -.It model +.It Va model Model number of the battery as a string. -.It serial +.It Va serial Serial number of the battery as a string. -.It type +.It Va type Type identifier of the battery as a string. -.It oeminfo +.It Va oeminfo OEM-specific information of the battery as a string. +.It Va scap +.Pq rev 1 or newer +Battery swapping capability encoded in the following: +.Bl -tag -width indent +.It ACPI_BIX_SCAP_NO Pq 0x00000000 +Non-swappable +.It ACPI_BIX_SCAP_COLD Pq 0x00000001 +Cold-swappable +.It ACPI_BIX_SCAP_HOT Pq 0x00000010 +Hot-swappable .El +.El +.It Dv ACPIIO_BATT_GET_BIF Vt struct acpi_bif +.Pq deprecated +Returns battery information given by the ACPI +.Li _BIF Pq Battery Information +object, +which was deprecated in ACPI 4.0 specification. +The data structure is a subset of +.Vt struct acpi_bix . +.Pp +Note that this ioctl will built a +.Vt struct acpi_bif +structure based on the obtained information +even if this object is not available and a +.Li _BIX +object is found. .It ACPIIO_BATT_GET_BST Vt struct acpi_bst Returns battery information given by the ACPI .Li _BST Pq Battery Status @@ -180,25 +272,25 @@ this ioctl will build a structure based on the obtained information and return it. .Bl -tag -width indent -.It state +.It Va state Battery state. The value is encoded in the same way as .Va state of .Vt struct acpi_battinfo . -.It rate +.It Va rate Battery present rate of charging or discharging. The unit of the value depends on .Va unit of .Vt struct acpi_bif . -.It cap +.It Va cap Battery remaining capacity. The unit of this value depends on .Va unit of .Vt struct acpi_bif . -.It volt +.It Va volt Battery present voltage. .El .El @@ -212,6 +304,8 @@ connected batteries: .It Va hw.acpi.battery.info_expire Information cache expiration time in seconds. The battery information obtained by +.Li _BIX +or .Li _BIF object will be stored and reused for successive read access to this MIB within the specified period. @@ -276,8 +370,11 @@ Battery information was changed. .An Munehiro Matsuda , .An Takanori Watanabe Aq Mt takawata@FreeBSD.org , .An Mitsuru IWASAKI Aq Mt iwasaki@FreeBSD.org , +.An Hans Petter Selasky Aq Mt hselasky@FreeBSD.org , and -.An Hans Petter Selasky Aq Mt hselasky@FreeBSD.org . +.An Hiroki Sato Aq Mt hrs@FreeBSD.org . .Pp This manual page was written by -.An Takanori Watanabe Aq Mt takawata@FreeBSD.org . +.An Takanori Watanabe Aq Mt takawata@FreeBSD.org +and +.An Hiroki Sato Aq Mt hrs@FreeBSD.org . diff --git a/sys/dev/acpica/acpi_battery.c b/sys/dev/acpica/acpi_battery.c index 0270c2607b80..eaf7dd0bf3e4 100644 --- a/sys/dev/acpica/acpi_battery.c +++ b/sys/dev/acpica/acpi_battery.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); /* Default seconds before re-sampling the battery state. */ #define ACPI_BATTERY_INFO_EXPIRE 5 -static int acpi_batteries_initted; +static int acpi_batteries_initialized; static int acpi_battery_info_expire = ACPI_BATTERY_INFO_EXPIRE; static struct acpi_battinfo acpi_battery_battinfo; static struct sysctl_ctx_list acpi_battery_sysctl_ctx; @@ -65,11 +65,10 @@ acpi_battery_register(device_t dev) { int error; - error = 0; ACPI_SERIAL_BEGIN(battery); - if (!acpi_batteries_initted) - error = acpi_battery_init(); + error = acpi_battery_init(); ACPI_SERIAL_END(battery); + return (error); } @@ -107,11 +106,12 @@ acpi_battery_bst_valid(struct acpi_bst *bst) bst->cap != ACPI_BATT_UNKNOWN && bst->volt != ACPI_BATT_UNKNOWN); } -/* Check _BIF results for validity. */ +/* Check _BI[FX] results for validity. */ int -acpi_battery_bif_valid(struct acpi_bif *bif) +acpi_battery_bix_valid(struct acpi_bix *bix) { - return (bif->lfcap != 0); + + return (bix->lfcap != 0); } /* Get info about one or all batteries. */ @@ -123,7 +123,7 @@ acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *battinfo) devclass_t batt_dc; device_t batt_dev; struct acpi_bst *bst; - struct acpi_bif *bif; + struct acpi_bix *bix; struct acpi_battinfo *bi; /* @@ -139,11 +139,11 @@ acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *battinfo) /* * Allocate storage for all _BST data, their derived battinfo data, - * and the current battery's _BIF data. + * and the current battery's _BIX (or _BIF) data. */ bst = malloc(devcount * sizeof(*bst), M_TEMP, M_WAITOK | M_ZERO); bi = malloc(devcount * sizeof(*bi), M_TEMP, M_WAITOK | M_ZERO); - bif = malloc(sizeof(*bif), M_TEMP, M_WAITOK | M_ZERO); + bix = malloc(sizeof(*bix), M_TEMP, M_WAITOK | M_ZERO); /* * Pass 1: for each battery that is present and valid, get its status, @@ -173,12 +173,12 @@ acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *battinfo) * Be sure we can get various info from the battery. */ if (ACPI_BATT_GET_STATUS(batt_dev, &bst[i]) != 0 || - ACPI_BATT_GET_INFO(batt_dev, bif) != 0) + ACPI_BATT_GET_INFO(batt_dev, bix, sizeof(*bix)) != 0) continue; /* If a battery is not installed, we sometimes get strange values. */ if (!acpi_battery_bst_valid(&bst[i]) || - !acpi_battery_bif_valid(bif)) + !acpi_battery_bix_valid(bix)) continue; /* @@ -197,18 +197,18 @@ acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *battinfo) * is 0 (due to some error reading the battery), skip this * conversion. */ - if (bif->units == ACPI_BIF_UNITS_MA && bif->dvol != 0 && dev == NULL) { - bst[i].rate = (bst[i].rate * bif->dvol) / 1000; - bst[i].cap = (bst[i].cap * bif->dvol) / 1000; - bif->lfcap = (bif->lfcap * bif->dvol) / 1000; + if (bix->units == ACPI_BIX_UNITS_MA && bix->dvol != 0 && dev == NULL) { + bst[i].rate = (bst[i].rate * bix->dvol) / 1000; + bst[i].cap = (bst[i].cap * bix->dvol) / 1000; + bix->lfcap = (bix->lfcap * bix->dvol) / 1000; } /* - * The calculation above may set bif->lfcap to zero. This was + * The calculation above may set bix->lfcap to zero. This was * seen on a laptop with a broken battery. The result of the * division was rounded to zero. */ - if (!acpi_battery_bif_valid(bif)) + if (!acpi_battery_bix_valid(bix)) continue; /* @@ -216,16 +216,16 @@ acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *battinfo) * "real-capacity" when the battery is fully charged. That breaks * the above arithmetic as it needs to be 100% maximum. */ - if (bst[i].cap > bif->lfcap) - bst[i].cap = bif->lfcap; + if (bst[i].cap > bix->lfcap) + bst[i].cap = bix->lfcap; /* Calculate percent capacity remaining. */ - bi[i].cap = (100 * bst[i].cap) / bif->lfcap; + bi[i].cap = (100 * bst[i].cap) / bix->lfcap; /* If this battery is not present, don't use its capacity. */ if (bi[i].cap != -1) { total_cap += bst[i].cap; - total_lfcap += bif->lfcap; + total_lfcap += bix->lfcap; } /* @@ -291,12 +291,9 @@ acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *battinfo) error = 0; out: - if (bi) - free(bi, M_TEMP); - if (bif) - free(bif, M_TEMP); - if (bst) - free(bst, M_TEMP); + free(bi, M_TEMP); + free(bix, M_TEMP); + free(bst, M_TEMP); return (error); } @@ -365,7 +362,8 @@ acpi_battery_ioctl(u_long cmd, caddr_t addr, void *arg) unit = 0; dev = NULL; ioctl_arg = NULL; - if (IOCPARM_LEN(cmd) == sizeof(*ioctl_arg)) { + if (IOCPARM_LEN(cmd) == sizeof(union acpi_battery_ioctl_arg) || + IOCPARM_LEN(cmd) == sizeof(union acpi_battery_ioctl_arg_v1)) { ioctl_arg = (union acpi_battery_ioctl_arg *)addr; unit = ioctl_arg->unit; if (unit != ACPI_BATTERY_ALL_UNITS) @@ -376,12 +374,14 @@ acpi_battery_ioctl(u_long cmd, caddr_t addr, void *arg) * No security check required: information retrieval only. If * new functions are added here, a check might be required. */ + /* Unit check */ switch (cmd) { case ACPIIO_BATT_GET_UNITS: *(int *)addr = acpi_battery_get_units(); error = 0; break; case ACPIIO_BATT_GET_BATTINFO: + case ACPIIO_BATT_GET_BATTINFO_V1: if (dev != NULL || unit == ACPI_BATTERY_ALL_UNITS) { bzero(&ioctl_arg->battinfo, sizeof(ioctl_arg->battinfo)); error = acpi_battery_get_battinfo(dev, &ioctl_arg->battinfo); @@ -390,24 +390,19 @@ acpi_battery_ioctl(u_long cmd, caddr_t addr, void *arg) case ACPIIO_BATT_GET_BIF: if (dev != NULL) { bzero(&ioctl_arg->bif, sizeof(ioctl_arg->bif)); - error = ACPI_BATT_GET_INFO(dev, &ioctl_arg->bif); - - /* - * Remove invalid characters. Perhaps this should be done - * within a convenience function so all callers get the - * benefit. - */ - acpi_battery_clean_str(ioctl_arg->bif.model, - sizeof(ioctl_arg->bif.model)); - acpi_battery_clean_str(ioctl_arg->bif.serial, - sizeof(ioctl_arg->bif.serial)); - acpi_battery_clean_str(ioctl_arg->bif.type, - sizeof(ioctl_arg->bif.type)); - acpi_battery_clean_str(ioctl_arg->bif.oeminfo, - sizeof(ioctl_arg->bif.oeminfo)); + error = ACPI_BATT_GET_INFO(dev, &ioctl_arg->bif, + sizeof(ioctl_arg->bif)); + } + break; + case ACPIIO_BATT_GET_BIX: + if (dev != NULL) { + bzero(&ioctl_arg->bix, sizeof(ioctl_arg->bix)); + error = ACPI_BATT_GET_INFO(dev, &ioctl_arg->bix, + sizeof(ioctl_arg->bix)); } break; case ACPIIO_BATT_GET_BST: + case ACPIIO_BATT_GET_BST_V1: if (dev != NULL) { bzero(&ioctl_arg->bst, sizeof(ioctl_arg->bst)); error = ACPI_BATT_GET_STATUS(dev, &ioctl_arg->bst); @@ -417,6 +412,25 @@ acpi_battery_ioctl(u_long cmd, caddr_t addr, void *arg) error = EINVAL; } + /* Sanitize the string members. */ + switch (cmd) { + case ACPIIO_BATT_GET_BIX: + case ACPIIO_BATT_GET_BIF: + /* + * Remove invalid characters. Perhaps this should be done + * within a convenience function so all callers get the + * benefit. + */ + acpi_battery_clean_str(ioctl_arg->bix.model, + sizeof(ioctl_arg->bix.model)); + acpi_battery_clean_str(ioctl_arg->bix.serial, + sizeof(ioctl_arg->bix.serial)); + acpi_battery_clean_str(ioctl_arg->bix.type, + sizeof(ioctl_arg->bix.type)); + acpi_battery_clean_str(ioctl_arg->bix.oeminfo, + sizeof(ioctl_arg->bix.oeminfo)); + }; + return (error); } @@ -450,26 +464,29 @@ acpi_battery_init(void) ACPI_SERIAL_ASSERT(battery); + if (acpi_batteries_initialized) + return(0); + error = ENXIO; dev = devclass_get_device(devclass_find("acpi"), 0); if (dev == NULL) goto out; sc = device_get_softc(dev); - error = acpi_register_ioctl(ACPIIO_BATT_GET_UNITS, acpi_battery_ioctl, - NULL); - if (error != 0) - goto out; - error = acpi_register_ioctl(ACPIIO_BATT_GET_BATTINFO, acpi_battery_ioctl, - NULL); - if (error != 0) - goto out; - error = acpi_register_ioctl(ACPIIO_BATT_GET_BIF, acpi_battery_ioctl, NULL); - if (error != 0) - goto out; - error = acpi_register_ioctl(ACPIIO_BATT_GET_BST, acpi_battery_ioctl, NULL); - if (error != 0) - goto out; +#define ACPI_REGISTER_IOCTL(a, b, c) do { \ + error = acpi_register_ioctl(a, b, c); \ + if (error) \ + goto out; \ + } while (0) + + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_UNITS, acpi_battery_ioctl, NULL); + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_BATTINFO, acpi_battery_ioctl, NULL); + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_BATTINFO_V1, acpi_battery_ioctl, NULL); + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_BIF, acpi_battery_ioctl, NULL); + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_BIX, acpi_battery_ioctl, NULL); + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_BST, acpi_battery_ioctl, NULL); + ACPI_REGISTER_IOCTL(ACPIIO_BATT_GET_BST_V1, acpi_battery_ioctl, NULL); +#undef ACPI_REGISTER_IOCTL sysctl_ctx_init(&acpi_battery_sysctl_ctx); acpi_battery_sysctl_tree = SYSCTL_ADD_NODE(&acpi_battery_sysctl_ctx, @@ -505,14 +522,17 @@ acpi_battery_init(void) &acpi_battery_info_expire, 0, "time in seconds until info is refreshed"); - acpi_batteries_initted = TRUE; + acpi_batteries_initialized = TRUE; out: - if (error != 0) { + if (error) { acpi_deregister_ioctl(ACPIIO_BATT_GET_UNITS, acpi_battery_ioctl); acpi_deregister_ioctl(ACPIIO_BATT_GET_BATTINFO, acpi_battery_ioctl); + acpi_deregister_ioctl(ACPIIO_BATT_GET_BATTINFO_V1, acpi_battery_ioctl); acpi_deregister_ioctl(ACPIIO_BATT_GET_BIF, acpi_battery_ioctl); + acpi_deregister_ioctl(ACPIIO_BATT_GET_BIX, acpi_battery_ioctl); acpi_deregister_ioctl(ACPIIO_BATT_GET_BST, acpi_battery_ioctl); + acpi_deregister_ioctl(ACPIIO_BATT_GET_BST_V1, acpi_battery_ioctl); } return (error); } diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index a029a2c7b473..1a9cba6061d8 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -61,12 +61,13 @@ ACPI_MODULE_NAME("BATTERY") #define ACPI_BATTERY_BST_CHANGE 0x80 #define ACPI_BATTERY_BIF_CHANGE 0x81 +#define ACPI_BATTERY_BIX_CHANGE ACPI_BATTERY_BIF_CHANGE struct acpi_cmbat_softc { device_t dev; int flags; - struct acpi_bif bif; + struct acpi_bix bix; struct acpi_bst bst; struct timespec bst_lastupdated; }; @@ -82,10 +83,10 @@ static void acpi_cmbat_notify_handler(ACPI_HANDLE h, UINT32 notify, static int acpi_cmbat_info_expired(struct timespec *lastupdated); static void acpi_cmbat_info_updated(struct timespec *lastupdated); static void acpi_cmbat_get_bst(void *arg); -static void acpi_cmbat_get_bif_task(void *arg); -static void acpi_cmbat_get_bif(void *arg); -static int acpi_cmbat_bst(device_t dev, struct acpi_bst *bstp); -static int acpi_cmbat_bif(device_t dev, struct acpi_bif *bifp); +static void acpi_cmbat_get_bix_task(void *arg); +static void acpi_cmbat_get_bix(void *arg); +static int acpi_cmbat_bst(device_t, struct acpi_bst *); +static int acpi_cmbat_bix(device_t, void *, size_t); static void acpi_cmbat_init_battery(void *arg); static device_method_t acpi_cmbat_methods[] = { @@ -96,7 +97,7 @@ static device_method_t acpi_cmbat_methods[] = { DEVMETHOD(device_resume, acpi_cmbat_resume), /* ACPI battery interface */ - DEVMETHOD(acpi_batt_get_info, acpi_cmbat_bif), + DEVMETHOD(acpi_batt_get_info, acpi_cmbat_bix), DEVMETHOD(acpi_batt_get_status, acpi_cmbat_bst), DEVMETHOD_END @@ -205,12 +206,12 @@ acpi_cmbat_notify_handler(ACPI_HANDLE h, UINT32 notify, void *context) timespecclear(&sc->bst_lastupdated); break; case ACPI_NOTIFY_BUS_CHECK: - case ACPI_BATTERY_BIF_CHANGE: + case ACPI_BATTERY_BIX_CHANGE: /* * Queue a callback to get the current battery info from thread * context. It's not safe to block in a notify handler. */ - AcpiOsExecute(OSL_NOTIFY_HANDLER, acpi_cmbat_get_bif_task, dev); + AcpiOsExecute(OSL_NOTIFY_HANDLER, acpi_cmbat_get_bix_task, dev); break; } @@ -269,15 +270,15 @@ acpi_cmbat_get_bst(void *arg) as = AcpiEvaluateObject(h, "_BST", NULL, &bst_buffer); if (ACPI_FAILURE(as)) { ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "error fetching current battery status -- %s\n", - AcpiFormatException(as)); + "error fetching current battery status -- %s\n", + AcpiFormatException(as)); goto end; } res = (ACPI_OBJECT *)bst_buffer.Pointer; if (!ACPI_PKG_VALID(res, 4)) { ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "battery status corrupted\n"); + "battery status corrupted\n"); goto end; } @@ -307,119 +308,194 @@ acpi_cmbat_get_bst(void *arg) sc->flags &= ~ACPI_BATT_STAT_CRITICAL; end: - if (bst_buffer.Pointer != NULL) - AcpiOsFree(bst_buffer.Pointer); + AcpiOsFree(bst_buffer.Pointer); } /* XXX There should be a cleaner way to do this locking. */ static void -acpi_cmbat_get_bif_task(void *arg) +acpi_cmbat_get_bix_task(void *arg) { ACPI_SERIAL_BEGIN(cmbat); - acpi_cmbat_get_bif(arg); + acpi_cmbat_get_bix(arg); ACPI_SERIAL_END(cmbat); } static void -acpi_cmbat_get_bif(void *arg) +acpi_cmbat_get_bix(void *arg) { struct acpi_cmbat_softc *sc; ACPI_STATUS as; ACPI_OBJECT *res; ACPI_HANDLE h; - ACPI_BUFFER bif_buffer; + ACPI_BUFFER bix_buffer; device_t dev; + int i, n; + const struct { + enum { _BIX, _BIF } type; + char *name; + } bobjs[] = { + { _BIX, "_BIX"}, + { _BIF, "_BIF"}, + }; ACPI_SERIAL_ASSERT(cmbat); dev = arg; sc = device_get_softc(dev); h = acpi_get_handle(dev); - bif_buffer.Pointer = NULL; - bif_buffer.Length = ACPI_ALLOCATE_BUFFER; + bix_buffer.Pointer = NULL; + bix_buffer.Length = ACPI_ALLOCATE_BUFFER; - as = AcpiEvaluateObject(h, "_BIF", NULL, &bif_buffer); - if (ACPI_FAILURE(as)) { + for (n = 0; n < sizeof(bobjs); n++) { + as = AcpiEvaluateObject(h, bobjs[n].name, NULL, &bix_buffer); + if (!ACPI_FAILURE(as)) { + res = (ACPI_OBJECT *)bix_buffer.Pointer; + break; + } + AcpiOsFree(bix_buffer.Pointer); + bix_buffer.Pointer = NULL; + bix_buffer.Length = ACPI_ALLOCATE_BUFFER; + } + /* Both _BIF and _BIX were not found. */ + if (n == sizeof(bobjs)) { ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "error fetching current battery info -- %s\n", - AcpiFormatException(as)); + "error fetching current battery info -- %s\n", + AcpiFormatException(as)); goto end; } - res = (ACPI_OBJECT *)bif_buffer.Pointer; - if (!ACPI_PKG_VALID(res, 13)) { - ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "battery info corrupted\n"); - goto end; + /* + * ACPI _BIX and _BIF revision mismatch check: + * + * 1. _BIF has no revision field. The number of fields must be 13. + * + * 2. _BIX has a revision field. As of ACPI 6.3 it must be "0" or + * "1". The number of fields will be checked---20 and 21, + * respectively. + * + * If the revision number is grater than "1" and the number of + * fields is grater than 21, it will be treated as compatible with + * ACPI 6.0 _BIX. If not, it will be ignored. + */ + i = 0; + switch (bobjs[n].type) { + case _BIX: + if (acpi_PkgInt16(res, i++, &sc->bix.rev) != 0) { + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), + "_BIX revision error\n"); + goto end; + } +#define ACPI_BIX_REV_MISMATCH_ERR(x, r) do { \ + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), \ + "_BIX revision mismatch (%u != %u)\n", x, r); \ + goto end; \ + } while (0) + + if (ACPI_PKG_VALID_EQ(res, 21)) { /* ACPI 6.0 _BIX */ + if (sc->bix.rev != ACPI_BIX_REV_1) + ACPI_BIX_REV_MISMATCH_ERR(sc->bix.rev, ACPI_BIX_REV_1); + } else if (ACPI_PKG_VALID_EQ(res, 20)) {/* ACPI 4.0 _BIX */ + if (sc->bix.rev != ACPI_BIX_REV_0) + ACPI_BIX_REV_MISMATCH_ERR(sc->bix.rev, ACPI_BIX_REV_0); + } else if (ACPI_PKG_VALID(res, 22) && + ACPI_BIX_REV_MIN_CHECK(sc->bix.rev, ACPI_BIX_REV_1 + 1)) { + /* + * Unknown _BIX with 22 or more members. + * Assume 21 members are compatible with 6.0 _BIX. + */ + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), + "Unknown _BIX revision(%u). " + "Assuming compatible with revision %u.\n", + sc->bix.rev, ACPI_BIX_REV_1); + } else { + /* Invalid _BIX. Ignore it. */ + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), + "Invalid _BIX found (rev=%u, count=%u). Ignored.\n", + sc->bix.rev, res->Package.Count); + goto end; + } + break; +#undef ACPI_BIX_REV_MISMATCH_ERR + case _BIF: + if (ACPI_PKG_VALID_EQ(res, 13)) /* _BIF */ + sc->bix.rev = ACPI_BIX_REV_BIF; + else { + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), + "Invalid _BIF found (count=%u). Ignored.\n", + res->Package.Count); + goto end; + } + break; } - if (acpi_PkgInt32(res, 0, &sc->bif.units) != 0) - goto end; - if (acpi_PkgInt32(res, 1, &sc->bif.dcap) != 0) - goto end; - if (acpi_PkgInt32(res, 2, &sc->bif.lfcap) != 0) - goto end; - if (acpi_PkgInt32(res, 3, &sc->bif.btech) != 0) - goto end; - if (acpi_PkgInt32(res, 4, &sc->bif.dvol) != 0) - goto end; - if (acpi_PkgInt32(res, 5, &sc->bif.wcap) != 0) - goto end; - if (acpi_PkgInt32(res, 6, &sc->bif.lcap) != 0) - goto end; - if (acpi_PkgInt32(res, 7, &sc->bif.gra1) != 0) - goto end; - if (acpi_PkgInt32(res, 8, &sc->bif.gra2) != 0) - goto end; - if (acpi_PkgStr(res, 9, sc->bif.model, ACPI_CMBAT_MAXSTRLEN) != 0) - goto end; - if (acpi_PkgStr(res, 10, sc->bif.serial, ACPI_CMBAT_MAXSTRLEN) != 0) - goto end; - if (acpi_PkgStr(res, 11, sc->bif.type, ACPI_CMBAT_MAXSTRLEN) != 0) - goto end; - if (acpi_PkgStr(res, 12, sc->bif.oeminfo, ACPI_CMBAT_MAXSTRLEN) != 0) - goto end; + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), + "rev = %04x\n", sc->bix.rev); +#define BIX_GETU32(NAME) do { \ + ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), \ + #NAME " = %u\n", sc->bix.NAME); \ + if (acpi_PkgInt32(res, i++, &sc->bix.NAME) != 0) \ + goto end; \ + } while (0) + BIX_GETU32(units); + BIX_GETU32(dcap); + BIX_GETU32(lfcap); + BIX_GETU32(btech); + BIX_GETU32(dvol); + BIX_GETU32(wcap); + BIX_GETU32(lcap); + if (ACPI_BIX_REV_MIN_CHECK(sc->bix.rev, ACPI_BIX_REV_0)) { + BIX_GETU32(cycles); + BIX_GETU32(accuracy); + BIX_GETU32(stmax); + BIX_GETU32(stmin); + BIX_GETU32(aimax); + BIX_GETU32(aimin); + } + BIX_GETU32(gra1); + BIX_GETU32(gra2); + if (acpi_PkgStr(res, i++, sc->bix.model, ACPI_CMBAT_MAXSTRLEN) != 0) + goto end; + if (acpi_PkgStr(res, i++, sc->bix.serial, ACPI_CMBAT_MAXSTRLEN) != 0) + goto end; + if (acpi_PkgStr(res, i++, sc->bix.type, ACPI_CMBAT_MAXSTRLEN) != 0) + goto end; + if (acpi_PkgStr(res, i++, sc->bix.oeminfo, ACPI_CMBAT_MAXSTRLEN) != 0) + goto end; + if (ACPI_BIX_REV_MIN_CHECK(sc->bix.rev, ACPI_BIX_REV_1)) + BIX_GETU32(scap); +#undef BIX_GETU32 end: - if (bif_buffer.Pointer != NULL) - AcpiOsFree(bif_buffer.Pointer); + AcpiOsFree(bix_buffer.Pointer); } static int -acpi_cmbat_bif(device_t dev, struct acpi_bif *bifp) +acpi_cmbat_bix(device_t dev, void *bix, size_t len) { struct acpi_cmbat_softc *sc; + if (len != sizeof(struct acpi_bix) && + len != sizeof(struct acpi_bif)) + return (-1); + sc = device_get_softc(dev); /* * Just copy the data. The only value that should change is the * last-full capacity, so we only update when we get a notify that says * the info has changed. Many systems apparently take a long time to - * process a _BIF call so we avoid it if possible. + * process a _BI[FX] call so we avoid it if possible. */ ACPI_SERIAL_BEGIN(cmbat); - bifp->units = sc->bif.units; - bifp->dcap = sc->bif.dcap; - bifp->lfcap = sc->bif.lfcap; - bifp->btech = sc->bif.btech; - bifp->dvol = sc->bif.dvol; - bifp->wcap = sc->bif.wcap; - bifp->lcap = sc->bif.lcap; - bifp->gra1 = sc->bif.gra1; - bifp->gra2 = sc->bif.gra2; - strncpy(bifp->model, sc->bif.model, sizeof(sc->bif.model)); - strncpy(bifp->serial, sc->bif.serial, sizeof(sc->bif.serial)); - strncpy(bifp->type, sc->bif.type, sizeof(sc->bif.type)); - strncpy(bifp->oeminfo, sc->bif.oeminfo, sizeof(sc->bif.oeminfo)); + memcpy(bix, &sc->bix, len); ACPI_SERIAL_END(cmbat); return (0); } static int -acpi_cmbat_bst(device_t dev, struct acpi_bst *bstp) +acpi_cmbat_bst(device_t dev, struct acpi_bst *bst) { struct acpi_cmbat_softc *sc; @@ -428,12 +504,9 @@ acpi_cmbat_bst(device_t dev, struct acpi_bst *bstp) ACPI_SERIAL_BEGIN(cmbat); if (acpi_BatteryIsPresent(dev)) { acpi_cmbat_get_bst(dev); - bstp->state = sc->bst.state; - bstp->rate = sc->bst.rate; - bstp->cap = sc->bst.cap; - bstp->volt = sc->bst.volt; + memcpy(bst, &sc->bst, sizeof(*bst)); } else - bstp->state = ACPI_BATT_STAT_NOT_PRESENT; + bst->state = ACPI_BATT_STAT_NOT_PRESENT; ACPI_SERIAL_END(cmbat); return (0); @@ -448,7 +521,7 @@ acpi_cmbat_init_battery(void *arg) dev = (device_t)arg; ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "battery initialization start\n"); + "battery enitialization start\n"); /* * Try repeatedly to get valid data from the battery. Since the @@ -487,11 +560,11 @@ acpi_cmbat_init_battery(void *arg) timespecclear(&sc->bst_lastupdated); acpi_cmbat_get_bst(dev); } - if (retry == 0 || !acpi_battery_bif_valid(&sc->bif)) - acpi_cmbat_get_bif(dev); + if (retry == 0 || !acpi_battery_bix_valid(&sc->bix)) + acpi_cmbat_get_bix(dev); valid = acpi_battery_bst_valid(&sc->bst) && - acpi_battery_bif_valid(&sc->bif); + acpi_battery_bix_valid(&sc->bix); ACPI_SERIAL_END(cmbat); if (valid) @@ -500,9 +573,9 @@ acpi_cmbat_init_battery(void *arg) if (retry == ACPI_CMBAT_RETRY_MAX) { ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "battery initialization failed, giving up\n"); + "battery initialization failed, giving up\n"); } else { ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), - "battery initialization done, tried %d times\n", retry + 1); + "battery initialization done, tried %d times\n", retry + 1); } } diff --git a/sys/dev/acpica/acpi_if.m b/sys/dev/acpica/acpi_if.m index b93a52898cb4..6e36f398411e 100644 --- a/sys/dev/acpica/acpi_if.m +++ b/sys/dev/acpica/acpi_if.m @@ -53,6 +53,7 @@ HEADER { typedef ACPI_STATUS (*acpi_scan_cb_t)(ACPI_HANDLE h, device_t *dev, int level, void *arg); + struct acpi_bix; struct acpi_bif; struct acpi_bst; }; @@ -210,14 +211,16 @@ METHOD int ec_write { }; # -# Get battery information (_BIF format) +# Get battery information (_BIF or _BIX format) # # device_t dev: Battery device -# struct acpi_bif *bif: Pointer to storage for _BIF results +# void *bix: Pointer to storage for _BIF or _BIX results +# size_t len: length of acpi_bif or acpi_bix. # METHOD int batt_get_info { device_t dev; - struct acpi_bif *bif; + void *bix; + size_t len; }; # diff --git a/sys/dev/acpica/acpi_package.c b/sys/dev/acpica/acpi_package.c index c7e79ab29e40..65d04f2053eb 100644 --- a/sys/dev/acpica/acpi_package.c +++ b/sys/dev/acpica/acpi_package.c @@ -70,6 +70,19 @@ acpi_PkgInt32(ACPI_OBJECT *res, int idx, uint32_t *dst) return (error); } +int +acpi_PkgInt16(ACPI_OBJECT *res, int idx, uint16_t *dst) +{ + UINT64 tmp; + int error; + + error = acpi_PkgInt(res, idx, &tmp); + if (error == 0) + *dst = (uint16_t)tmp; + + return (error); +} + int acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size) { diff --git a/sys/dev/acpica/acpi_smbat.c b/sys/dev/acpica/acpi_smbat.c index 718dc9f49f8f..28efb9015da5 100644 --- a/sys/dev/acpica/acpi_smbat.c +++ b/sys/dev/acpica/acpi_smbat.c @@ -46,9 +46,9 @@ struct acpi_smbat_softc { uint8_t sb_base_addr; device_t ec_dev; - struct acpi_bif bif; + struct acpi_bix bix; struct acpi_bst bst; - struct timespec bif_lastupdated; + struct timespec bix_lastupdated; struct timespec bst_lastupdated; }; @@ -57,7 +57,7 @@ static int acpi_smbat_attach(device_t dev); static int acpi_smbat_shutdown(device_t dev); static int acpi_smbat_info_expired(struct timespec *lastupdated); static void acpi_smbat_info_updated(struct timespec *lastupdated); -static int acpi_smbat_get_bif(device_t dev, struct acpi_bif *bif); +static int acpi_smbat_get_bix(device_t dev, void *, size_t); static int acpi_smbat_get_bst(device_t dev, struct acpi_bst *bst); ACPI_SERIAL_DECL(smbat, "ACPI Smart Battery"); @@ -87,7 +87,7 @@ static device_method_t acpi_smbat_methods[] = { /* ACPI battery interface */ DEVMETHOD(acpi_batt_get_status, acpi_smbat_get_bst), - DEVMETHOD(acpi_batt_get_info, acpi_smbat_get_bif), + DEVMETHOD(acpi_batt_get_info, acpi_smbat_get_bix), DEVMETHOD_END }; @@ -141,7 +141,7 @@ acpi_smbat_attach(device_t dev) return (ENXIO); } - timespecclear(&sc->bif_lastupdated); + timespecclear(&sc->bix_lastupdated); timespecclear(&sc->bst_lastupdated); if (acpi_battery_register(dev) != 0) { @@ -415,7 +415,7 @@ out: } static int -acpi_smbat_get_bif(device_t dev, struct acpi_bif *bif) +acpi_smbat_get_bix(device_t dev, void *bix, size_t len) { struct acpi_smbat_softc *sc; int error; @@ -423,70 +423,76 @@ acpi_smbat_get_bif(device_t dev, struct acpi_bif *bif) uint16_t val; uint8_t addr; + if (len != sizeof(struct acpi_bix) && + len != sizeof(struct acpi_bif)) + return (-1); + ACPI_SERIAL_BEGIN(smbat); addr = SMBATT_ADDRESS; error = ENXIO; sc = device_get_softc(dev); - if (!acpi_smbat_info_expired(&sc->bif_lastupdated)) { + if (!acpi_smbat_info_expired(&sc->bix_lastupdated)) { error = 0; goto out; } + sc->bix.rev = ACPI_BIX_REV_BIF; + if (acpi_smbus_read_2(sc, addr, SMBATT_CMD_BATTERY_MODE, &val)) goto out; if (val & SMBATT_BM_CAPACITY_MODE) { factor = 10; - sc->bif.units = ACPI_BIF_UNITS_MW; + sc->bix.units = ACPI_BIX_UNITS_MW; } else { factor = 1; - sc->bif.units = ACPI_BIF_UNITS_MA; + sc->bix.units = ACPI_BIX_UNITS_MA; } if (acpi_smbus_read_2(sc, addr, SMBATT_CMD_DESIGN_CAPACITY, &val)) goto out; - sc->bif.dcap = val * factor; + sc->bix.dcap = val * factor; if (acpi_smbus_read_2(sc, addr, SMBATT_CMD_FULL_CHARGE_CAPACITY, &val)) goto out; - sc->bif.lfcap = val * factor; - sc->bif.btech = 1; /* secondary (rechargeable) */ + sc->bix.lfcap = val * factor; + sc->bix.btech = 1; /* secondary (rechargeable) */ if (acpi_smbus_read_2(sc, addr, SMBATT_CMD_DESIGN_VOLTAGE, &val)) goto out; - sc->bif.dvol = val; + sc->bix.dvol = val; - sc->bif.wcap = sc->bif.dcap / 10; - sc->bif.lcap = sc->bif.dcap / 10; + sc->bix.wcap = sc->bix.dcap / 10; + sc->bix.lcap = sc->bix.dcap / 10; - sc->bif.gra1 = factor; /* not supported */ - sc->bif.gra2 = factor; /* not supported */ + sc->bix.gra1 = factor; /* not supported */ + sc->bix.gra2 = factor; /* not supported */ if (acpi_smbus_read_multi_1(sc, addr, SMBATT_CMD_DEVICE_NAME, - sc->bif.model, sizeof(sc->bif.model))) + sc->bix.model, sizeof(sc->bix.model))) goto out; if (acpi_smbus_read_2(sc, addr, SMBATT_CMD_SERIAL_NUMBER, &val)) goto out; - snprintf(sc->bif.serial, sizeof(sc->bif.serial), "0x%04x", val); + snprintf(sc->bix.serial, sizeof(sc->bix.serial), "0x%04x", val); if (acpi_smbus_read_multi_1(sc, addr, SMBATT_CMD_DEVICE_CHEMISTRY, - sc->bif.type, sizeof(sc->bif.type))) + sc->bix.type, sizeof(sc->bix.type))) goto out; if (acpi_smbus_read_multi_1(sc, addr, SMBATT_CMD_MANUFACTURER_DATA, - sc->bif.oeminfo, sizeof(sc->bif.oeminfo))) + sc->bix.oeminfo, sizeof(sc->bix.oeminfo))) goto out; /* XXX check if device was replugged during read? */ - acpi_smbat_info_updated(&sc->bif_lastupdated); + acpi_smbat_info_updated(&sc->bix_lastupdated); error = 0; out: if (error == 0) - memcpy(bif, &sc->bif, sizeof(sc->bif)); + memcpy(bix, &sc->bix, len); ACPI_SERIAL_END(smbat); return (error); } diff --git a/sys/dev/acpica/acpiio.h b/sys/dev/acpica/acpiio.h index dad4287baa9a..200acd01e988 100644 --- a/sys/dev/acpica/acpiio.h +++ b/sys/dev/acpica/acpiio.h @@ -48,9 +48,13 @@ struct acpi_battinfo { int rate; /* emptying rate */ }; +/* + * Battery Information object. Note that this object is deprecated in + * ACPI 4.0 + */ #define ACPI_CMBAT_MAXSTRLEN 32 struct acpi_bif { - uint32_t units; /* Units (mW or mA). */ + uint32_t units; /* Power Unit (mW or mA). */ #define ACPI_BIF_UNITS_MW 0 /* Capacity in mWh, rate in mW. */ #define ACPI_BIF_UNITS_MA 1 /* Capacity in mAh, rate in mA. */ uint32_t dcap; /* Design Capacity */ @@ -67,6 +71,76 @@ struct acpi_bif { char oeminfo[ACPI_CMBAT_MAXSTRLEN]; /* OEM information */ }; +/* + * Members in acpi_bix are reordered so that the first part is compatible + * with acpi_bif. + */ +struct acpi_bix { +/* _BIF-compatible */ + uint32_t units; /* Power Unit (mW or mA). */ +#define ACPI_BIX_UNITS_MW 0 /* Capacity in mWh, rate in mW. */ +#define ACPI_BIX_UNITS_MA 1 /* Capacity in mAh, rate in mA. */ + uint32_t dcap; /* Design Capacity */ + uint32_t lfcap; /* Last Full capacity */ + uint32_t btech; /* Battery Technology */ + uint32_t dvol; /* Design voltage (mV) */ + uint32_t wcap; /* WARN capacity */ + uint32_t lcap; /* Low capacity */ + uint32_t gra1; /* Granularity 1 (Warn to Low) */ + uint32_t gra2; /* Granularity 2 (Full to Warn) */ + char model[ACPI_CMBAT_MAXSTRLEN]; /* model identifier */ + char serial[ACPI_CMBAT_MAXSTRLEN]; /* Serial number */ + char type[ACPI_CMBAT_MAXSTRLEN]; /* Type */ + char oeminfo[ACPI_CMBAT_MAXSTRLEN]; /* OEM information */ + /* ACPI 4.0 or later */ + uint16_t rev; /* Revision */ +#define ACPI_BIX_REV_0 0 /* ACPI 4.0 _BIX */ +#define ACPI_BIX_REV_1 1 /* ACPI 6.0 _BIX */ +#define ACPI_BIX_REV_BIF 0xffff /* _BIF */ +#define ACPI_BIX_REV_MIN_CHECK(x, min) \ + (((min) == ACPI_BIX_REV_BIF) ? ((x) == ACPI_BIX_REV_BIF) : \ + (((x) == ACPI_BIX_REV_BIF) ? 0 : ((x) >= (min)))) + uint32_t cycles; /* Cycle Count */ + uint32_t accuracy; /* Measurement Accuracy */ + uint32_t stmax; /* Max Sampling Time */ + uint32_t stmin; /* Min Sampling Time */ + uint32_t aimax; /* Max Average Interval */ + uint32_t aimin; /* Min Average Interval */ + /* ACPI 6.0 or later */ + uint32_t scap; /* Battery Swapping Capability */ +#define ACPI_BIX_SCAP_NO 0x00000000 +#define ACPI_BIX_SCAP_COLD 0x00000001 +#define ACPI_BIX_SCAP_HOT 0x00000010 + uint8_t bix_reserved[58]; /* padding */ +}; + +#if 0 +/* acpi_bix in the original order just for reference */ +struct acpi_bix { + uint16_t rev; /* Revision */ + uint32_t units; /* Power Unit (mW or mA). */ + uint32_t dcap; /* Design Capacity */ + uint32_t lfcap; /* Last Full capacity */ + uint32_t btech; /* Battery Technology */ + uint32_t dvol; /* Design voltage (mV) */ + uint32_t wcap; /* Design Capacity of Warning */ + uint32_t lcap; /* Design Capacity of Low */ + uint32_t cycles; /* Cycle Count */ + uint32_t accuracy; /* Measurement Accuracy */ + uint32_t stmax; /* Max Sampling Time */ + uint32_t stmin; /* Min Sampling Time */ + uint32_t aimax; /* Max Average Interval */ + uint32_t aimin; /* Min Average Interval */ + uint32_t gra1; /* Granularity 1 (Warn to Low) */ + uint32_t gra2; /* Granularity 2 (Full to Warn) */ + char model[ACPI_CMBAT_MAXSTRLEN]; /* model identifier */ + char serial[ACPI_CMBAT_MAXSTRLEN]; /* Serial number */ + char type[ACPI_CMBAT_MAXSTRLEN]; /* Type */ + char oeminfo[ACPI_CMBAT_MAXSTRLEN]; /* OEM information */ + uint32_t scap; /* Battery Swapping Capability */ +}; +#endif + struct acpi_bst { uint32_t state; /* Battery State */ uint32_t rate; /* Present Rate */ @@ -91,7 +165,8 @@ struct acpi_bst { (ACPI_BATT_STAT_INVALID | ACPI_BATT_STAT_CRITICAL) #define ACPI_BATT_STAT_NOT_PRESENT ACPI_BATT_STAT_BST_MASK -union acpi_battery_ioctl_arg { +/* For backward compatibility */ +union acpi_battery_ioctl_arg_v1 { int unit; /* Device unit or ACPI_BATTERY_ALL_UNITS. */ struct acpi_battinfo battinfo; @@ -99,15 +174,27 @@ union acpi_battery_ioctl_arg { struct acpi_bif bif; struct acpi_bst bst; }; +union acpi_battery_ioctl_arg { + int unit; /* Device unit or ACPI_BATTERY_ALL_UNITS. */ + + struct acpi_battinfo battinfo; + + struct acpi_bix bix; + struct acpi_bif bif; + struct acpi_bst bst; +}; #define ACPI_BATTERY_ALL_UNITS (-1) -#define ACPI_BATT_UNKNOWN 0xffffffff /* _BST or _BIF value unknown. */ +#define ACPI_BATT_UNKNOWN 0xffffffff /* _BST or _BI[FX] value unknown. */ /* Common battery ioctls */ #define ACPIIO_BATT_GET_UNITS _IOR('B', 0x01, int) #define ACPIIO_BATT_GET_BATTINFO _IOWR('B', 0x03, union acpi_battery_ioctl_arg) -#define ACPIIO_BATT_GET_BIF _IOWR('B', 0x10, union acpi_battery_ioctl_arg) +#define ACPIIO_BATT_GET_BATTINFO_V1 _IOWR('B', 0x03, union acpi_battery_ioctl_arg_v1) +#define ACPIIO_BATT_GET_BIF _IOWR('B', 0x10, union acpi_battery_ioctl_arg_v1) +#define ACPIIO_BATT_GET_BIX _IOWR('B', 0x10, union acpi_battery_ioctl_arg) #define ACPIIO_BATT_GET_BST _IOWR('B', 0x11, union acpi_battery_ioctl_arg) +#define ACPIIO_BATT_GET_BST_V1 _IOWR('B', 0x11, union acpi_battery_ioctl_arg_v1) /* Control Method battery ioctls (deprecated) */ #define ACPIIO_CMBAT_GET_BIF ACPIIO_BATT_GET_BIF diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index e6f10cb4e41d..264b6f765ded 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -479,7 +479,7 @@ int acpi_battery_remove(device_t dev); int acpi_battery_get_units(void); int acpi_battery_get_info_expire(void); int acpi_battery_bst_valid(struct acpi_bst *bst); -int acpi_battery_bif_valid(struct acpi_bif *bif); +int acpi_battery_bix_valid(struct acpi_bix *bix); int acpi_battery_get_battinfo(device_t dev, struct acpi_battinfo *info); @@ -493,8 +493,12 @@ int acpi_acad_get_acline(int *); #define ACPI_PKG_VALID(pkg, size) \ ((pkg) != NULL && (pkg)->Type == ACPI_TYPE_PACKAGE && \ (pkg)->Package.Count >= (size)) +#define ACPI_PKG_VALID_EQ(pkg, size) \ + ((pkg) != NULL && (pkg)->Type == ACPI_TYPE_PACKAGE && \ + (pkg)->Package.Count == (size)) int acpi_PkgInt(ACPI_OBJECT *res, int idx, UINT64 *dst); int acpi_PkgInt32(ACPI_OBJECT *res, int idx, uint32_t *dst); +int acpi_PkgInt16(ACPI_OBJECT *res, int idx, uint16_t *dst); int acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size); int acpi_PkgGas(device_t dev, ACPI_OBJECT *res, int idx, int *type, int *rid, struct resource **dst, u_int flags); diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c index 4af4c73d4e15..8a31657fb980 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.c +++ b/usr.sbin/acpi/acpiconf/acpiconf.c @@ -96,34 +96,61 @@ acpi_battinfo(int num) /* Print battery design information. */ battio.unit = num; - if (ioctl(acpifd, ACPIIO_BATT_GET_BIF, &battio) == -1) + if (ioctl(acpifd, ACPIIO_BATT_GET_BIX, &battio) == -1) err(EX_IOERR, "get battery info (%d) failed", num); - amp = battio.bif.units; + amp = battio.bix.units; pwr_units = amp ? "mA" : "mW"; - if (battio.bif.dcap == UNKNOWN_CAP) + if (battio.bix.dcap == UNKNOWN_CAP) printf("Design capacity:\tunknown\n"); else - printf("Design capacity:\t%d %sh\n", battio.bif.dcap, + printf("Design capacity:\t%d %sh\n", battio.bix.dcap, pwr_units); - if (battio.bif.lfcap == UNKNOWN_CAP) + if (battio.bix.lfcap == UNKNOWN_CAP) printf("Last full capacity:\tunknown\n"); else - printf("Last full capacity:\t%d %sh\n", battio.bif.lfcap, + printf("Last full capacity:\t%d %sh\n", battio.bix.lfcap, pwr_units); - printf("Technology:\t\t%s\n", battio.bif.btech == 0 ? + printf("Technology:\t\t%s\n", battio.bix.btech == 0 ? "primary (non-rechargeable)" : "secondary (rechargeable)"); - if (battio.bif.dvol == UNKNOWN_CAP) + if (ACPI_BIX_REV_MIN_CHECK(battio.bix.rev, ACPI_BIX_REV_1)) { + printf("Battery Swappable Capability:\t"); + if (battio.bix.scap == ACPI_BIX_SCAP_NO) + printf("Non-swappable\n"); + else if (battio.bix.scap == ACPI_BIX_SCAP_COLD) + printf("cold swap\n"); + else if (battio.bix.scap == ACPI_BIX_SCAP_HOT) + printf("hot swap\n"); + else + printf("unknown\n"); + } + if (battio.bix.dvol == UNKNOWN_CAP) printf("Design voltage:\t\tunknown\n"); else - printf("Design voltage:\t\t%d mV\n", battio.bif.dvol); - printf("Capacity (warn):\t%d %sh\n", battio.bif.wcap, pwr_units); - printf("Capacity (low):\t\t%d %sh\n", battio.bif.lcap, pwr_units); - printf("Low/warn granularity:\t%d %sh\n", battio.bif.gra1, pwr_units); - printf("Warn/full granularity:\t%d %sh\n", battio.bif.gra2, pwr_units); - printf("Model number:\t\t%s\n", battio.bif.model); - printf("Serial number:\t\t%s\n", battio.bif.serial); - printf("Type:\t\t\t%s\n", battio.bif.type); - printf("OEM info:\t\t%s\n", battio.bif.oeminfo); + printf("Design voltage:\t\t%d mV\n", battio.bix.dvol); + printf("Capacity (warn):\t%d %sh\n", battio.bix.wcap, pwr_units); + printf("Capacity (low):\t\t%d %sh\n", battio.bix.lcap, pwr_units); + if (ACPI_BIX_REV_MIN_CHECK(battio.bix.rev, ACPI_BIX_REV_0)) { + if (battio.bix.cycles != ACPI_BATT_UNKNOWN) + printf("Cycle Count:\t\t%d\n", battio.bix.cycles); + printf("Mesurement Accuracy:\t%d %%\n", + battio.bix.accuracy / 1000); + if (battio.bix.stmax != ACPI_BATT_UNKNOWN) + printf("Max Sampling Time:\t%d ms\n", + battio.bix.stmax); + if (battio.bix.stmin != ACPI_BATT_UNKNOWN) + printf("Min Sampling Time:\t%d ms\n", + battio.bix.stmin); + printf("Max Average Interval:\t%d ms\n", + battio.bix.aimax); + printf("Min Average Interval:\t%d ms\n", + battio.bix.aimin); + } + printf("Low/warn granularity:\t%d %sh\n", battio.bix.gra1, pwr_units); + printf("Warn/full granularity:\t%d %sh\n", battio.bix.gra2, pwr_units); + printf("Model number:\t\t%s\n", battio.bix.model); + printf("Serial number:\t\t%s\n", battio.bix.serial); + printf("Type:\t\t\t%s\n", battio.bix.type); + printf("OEM info:\t\t%s\n", battio.bix.oeminfo); /* Fetch battery voltage information. */ volt = UNKNOWN_VOLTAGE; From bf7dba0b91602a869e3f26ee910fb8e4a08f444f Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Wed, 19 Feb 2020 08:15:20 +0000 Subject: [PATCH 13/34] Type validating smr protected pointer accessors. This API is intended to provide some measure of safety with SMR protected pointers. A struct wrapper provides type checking and a guarantee that all access is mediated by the API unless abused. All modifying functions take an assert as an argument to guarantee that the required synchronization is present. Reviewed by: kib, markj, mjg Differential Revision: https://reviews.freebsd.org/D23711 --- sys/sys/smr.h | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/sys/sys/smr.h b/sys/sys/smr.h index 19502020e6eb..4218558c7936 100644 --- a/sys/sys/smr.h +++ b/sys/sys/smr.h @@ -77,6 +77,98 @@ struct smr { #define SMR_ASSERT_NOT_ENTERED(smr) \ KASSERT(!SMR_ENTERED(smr), ("In smr section.")); +#define SMR_ASSERT(ex, fn) \ + KASSERT((ex), (fn ": Assertion " #ex " failed at %s:%d", __FILE__, __LINE__)) + +/* + * SMR Accessors are meant to provide safe access to SMR protected + * pointers and prevent misuse and accidental access. + * + * Accessors are grouped by type: + * entered - Use while in a read section (between smr_enter/smr_exit()) + * serialized - Use while holding a lock that serializes writers. Updates + * are synchronized with readers via included barriers. + * unserialized - Use after the memory is out of scope and not visible to + * readers. + * + * All acceses include a parameter for an assert to verify the required + * synchronization. For example, a writer might use: + * + * smr_serilized_store(pointer, value, mtx_owned(&writelock)); + * + * These are only enabled in INVARIANTS kernels. + */ + +/* Type restricting pointer access to force smr accessors. */ +#define SMR_TYPE_DECLARE(smrtype, type) \ +typedef struct { \ + type __ptr; /* Do not access directly */ \ +} smrtype + +/* + * Read from an SMR protected pointer while in a read section. + */ +#define smr_entered_load(p, smr) ({ \ + SMR_ASSERT(SMR_ENTERED((smr)), "smr_entered_load"); \ + (__typeof((p)->__ptr))atomic_load_acq_ptr((uintptr_t *)&(p)->__ptr); \ +}) + +/* + * Read from an SMR protected pointer while serialized by an + * external mechanism. 'ex' should contain an assert that the + * external mechanism is held. i.e. mtx_owned() + */ +#define smr_serialized_load(p, ex) ({ \ + SMR_ASSERT(ex, "smr_serialized_load"); \ + (__typeof((p)->__ptr))atomic_load_ptr((uintptr_t *)&(p)->__ptr);\ +}) + +/* + * Store 'v' to an SMR protected pointer while serialized by an + * external mechanism. 'ex' should contain an assert that the + * external mechanism is held. i.e. mtx_owned() + */ +#define smr_serialized_store(p, v, ex) do { \ + SMR_ASSERT(ex, "smr_serialized_store"); \ + __typeof((p)->__ptr) _v = (v); \ + atomic_store_rel_ptr((uintptr_t *)&(p)->__ptr, (uintptr_t)_v); \ +} while (0) + +/* + * swap 'v' with an SMR protected pointer and return the old value + * while serialized by an external mechanism. 'ex' should contain + * an assert that the external mechanism is provided. i.e. mtx_owned() + */ +#define smr_serialized_swap(p, v, ex) ({ \ + SMR_ASSERT(ex, "smr_serialized_swap"); \ + __typeof((p)->__ptr) _v = (v); \ + /* Release barrier guarantees contents are visible to reader */ \ + atomic_thread_fence_rel(); \ + (__typeof((p)->__ptr))atomic_swap_ptr( \ + (uintptr_t *)&(p)->__ptr, (uintptr_t)_v); \ +}) + +/* + * Read from an SMR protected pointer when no serialization is required + * such as in the destructor callback or when the caller guarantees other + * synchronization. + */ +#define smr_unserialized_load(p, ex) ({ \ + SMR_ASSERT(ex, "smr_unserialized_load"); \ + (__typeof((p)->__ptr))atomic_load_ptr((uintptr_t *)&(p)->__ptr);\ +}) + +/* + * Store to an SMR protected pointer when no serialiation is required + * such as in the destructor callback or when the caller guarantees other + * synchronization. + */ +#define smr_unserialized_store(p, v, ex) do { \ + SMR_ASSERT(ex, "smr_unserialized_store"); \ + __typeof((p)->__ptr) _v = (v); \ + atomic_store_ptr((uintptr_t *)&(p)->__ptr, (uintptr_t)_v); \ +} while (0) + /* * Return the current write sequence number. */ From 6c5f36ff3073ba6df4604e5b2d6638d4db0422a5 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Wed, 19 Feb 2020 08:17:27 +0000 Subject: [PATCH 14/34] Eliminate some unnecessary uses of UMA_ZONE_VM. Only zones involved in virtual address or physical page allocation need to be marked with this flag. Reviewed by: markj Tested by: pho Differential Revision: https://reviews.freebsd.org/D23712 --- sys/kern/subr_vmem.c | 7 +++---- sys/kern/vfs_subr.c | 2 +- sys/vm/swap_pager.c | 4 ++-- sys/vm/vm_page.c | 4 ++-- sys/vm/vm_pager.c | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/sys/kern/subr_vmem.c b/sys/kern/subr_vmem.c index b35844a4faff..57fdb2101dd7 100644 --- a/sys/kern/subr_vmem.c +++ b/sys/kern/subr_vmem.c @@ -561,8 +561,7 @@ qc_init(vmem_t *vm, vmem_size_t qcache_max) qc->qc_vmem = vm; qc->qc_size = size; qc->qc_cache = uma_zcache_create(qc->qc_name, size, - NULL, NULL, NULL, NULL, qc_import, qc_release, qc, - UMA_ZONE_VM); + NULL, NULL, NULL, NULL, qc_import, qc_release, qc, 0); MPASS(qc->qc_cache); } } @@ -668,10 +667,10 @@ vmem_startup(void) mtx_init(&vmem_list_lock, "vmem list lock", NULL, MTX_DEF); vmem_zone = uma_zcreate("vmem", sizeof(struct vmem), NULL, NULL, NULL, NULL, - UMA_ALIGN_PTR, UMA_ZONE_VM); + UMA_ALIGN_PTR, 0); vmem_bt_zone = uma_zcreate("vmem btag", sizeof(struct vmem_btag), NULL, NULL, NULL, NULL, - UMA_ALIGN_PTR, UMA_ZONE_VM | UMA_ZONE_NOFREE); + UMA_ALIGN_PTR, UMA_ZONE_VM); #ifndef UMA_MD_SMALL_ALLOC mtx_init(&vmem_bt_lock, "btag lock", NULL, MTX_DEF); uma_prealloc(vmem_bt_zone, BT_MAXALLOC); diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index cfb52a15a772..a5e3079de6c3 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -671,7 +671,7 @@ vntblinit(void *dummy __unused) */ buf_trie_zone = uma_zcreate("BUF TRIE", pctrie_node_size(), NULL, NULL, pctrie_zone_init, NULL, UMA_ALIGN_PTR, - UMA_ZONE_NOFREE | UMA_ZONE_VM); + UMA_ZONE_NOFREE); uma_prealloc(buf_trie_zone, nbuf); vnodes_created = counter_u64_alloc(M_WAITOK); diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index d62db64d1888..723755a625bf 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -585,11 +585,11 @@ swap_pager_swap_init(void) n = maxswzone != 0 ? maxswzone / sizeof(struct swblk) : vm_cnt.v_page_count / 2; swpctrie_zone = uma_zcreate("swpctrie", pctrie_node_size(), NULL, NULL, - pctrie_zone_init, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM); + pctrie_zone_init, NULL, UMA_ALIGN_PTR, 0); if (swpctrie_zone == NULL) panic("failed to create swap pctrie zone."); swblk_zone = uma_zcreate("swblk", sizeof(struct swblk), NULL, NULL, - NULL, NULL, _Alignof(struct swblk) - 1, UMA_ZONE_VM); + NULL, NULL, _Alignof(struct swblk) - 1, 0); if (swblk_zone == NULL) panic("failed to create swap blk zone."); n2 = n; diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 20a37e1b10fa..b98936733018 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -202,7 +202,7 @@ vm_page_init(void *dummy) { fakepg_zone = uma_zcreate("fakepg", sizeof(struct vm_page), NULL, NULL, - NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE | UMA_ZONE_VM); + NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE); bogus_page = vm_page_alloc(NULL, 0, VM_ALLOC_NOOBJ | VM_ALLOC_NORMAL | VM_ALLOC_WIRED); } @@ -2022,7 +2022,7 @@ again: #endif vmd = VM_DOMAIN(domain); if (vmd->vmd_pgcache[pool].zone != NULL) { - m = uma_zalloc(vmd->vmd_pgcache[pool].zone, M_NOWAIT); + m = uma_zalloc(vmd->vmd_pgcache[pool].zone, M_NOWAIT | M_NOVM); if (m != NULL) { flags |= PG_PCPU_CACHE; goto found; diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index 31890cd8d40c..b5e4fa48329c 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -185,7 +185,7 @@ vm_pager_bufferinit(void) /* Main zone for paging bufs. */ pbuf_zone = uma_zcreate("pbuf", sizeof(struct buf), pbuf_ctor, pbuf_dtor, pbuf_init, NULL, UMA_ALIGN_CACHE, - UMA_ZONE_VM | UMA_ZONE_NOFREE); + UMA_ZONE_NOFREE); /* Few systems may still use this zone directly, so it needs a limit. */ nswbuf_max += uma_zone_set_max(pbuf_zone, NSWBUF_MIN); } From e9ceb9dd110e04fc19729b4e9fb1c8bfbb8398a3 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Wed, 19 Feb 2020 09:10:11 +0000 Subject: [PATCH 15/34] Don't release xbusy on kmem pages. After lockless page lookup we will not be able to guarantee that they can be racquired without blocking. Reviewed by: kib Discussed with: markj Differential Revision: https://reviews.freebsd.org/D23506 --- sys/vm/vm_glue.c | 6 ++---- sys/vm/vm_kern.c | 5 +---- sys/vm/vm_page.h | 5 +++++ sys/vm/vm_swapout.c | 4 +--- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index fd6756c9694c..8465fba5eb8d 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -342,10 +342,8 @@ vm_thread_stack_create(struct domainset *ds, vm_object_t *ksobjp, int pages) VM_OBJECT_WLOCK(ksobj); (void)vm_page_grab_pages(ksobj, 0, VM_ALLOC_NORMAL | VM_ALLOC_WIRED, ma, pages); - for (i = 0; i < pages; i++) { + for (i = 0; i < pages; i++) vm_page_valid(ma[i]); - vm_page_xunbusy(ma[i]); - } VM_OBJECT_WUNLOCK(ksobj); pmap_qenter(ks, ma, pages); *ksobjp = ksobj; @@ -365,7 +363,7 @@ vm_thread_stack_dispose(vm_object_t ksobj, vm_offset_t ks, int pages) m = vm_page_lookup(ksobj, i); if (m == NULL) panic("%s: kstack already missing?", __func__); - vm_page_busy_acquire(m, 0); + vm_page_xbusy_claim(m); vm_page_unwire_noq(m); vm_page_free(m); } diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 58b2fc93a886..191155dd0e5f 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -224,7 +224,6 @@ retry: if ((flags & M_ZERO) && (m->flags & PG_ZERO) == 0) pmap_zero_page(m); vm_page_valid(m); - vm_page_xunbusy(m); pmap_enter(kernel_pmap, addr + i, m, prot, prot | PMAP_ENTER_WIRED, 0); } @@ -317,7 +316,6 @@ retry: if ((flags & M_ZERO) && (m->flags & PG_ZERO) == 0) pmap_zero_page(m); vm_page_valid(m); - vm_page_xunbusy(m); pmap_enter(kernel_pmap, tmp, m, VM_PROT_RW, VM_PROT_RW | PMAP_ENTER_WIRED, 0); tmp += PAGE_SIZE; @@ -501,7 +499,6 @@ retry: KASSERT((m->oflags & VPO_UNMANAGED) != 0, ("kmem_malloc: page %p is managed", m)); vm_page_valid(m); - vm_page_xunbusy(m); pmap_enter(kernel_pmap, addr + i, m, prot, prot | PMAP_ENTER_WIRED, 0); #if VM_NRESERVLEVEL > 0 @@ -591,7 +588,7 @@ _kmem_unback(vm_object_t object, vm_offset_t addr, vm_size_t size) #endif for (; offset < end; offset += PAGE_SIZE, m = next) { next = vm_page_next(m); - vm_page_busy_acquire(m, 0); + vm_page_xbusy_claim(m); vm_page_unwire_noq(m); vm_page_free(m); } diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index a34ee241de97..649531f58f9d 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -764,9 +764,14 @@ void vm_page_object_busy_assert(vm_page_t m); void vm_page_assert_pga_writeable(vm_page_t m, uint16_t bits); #define VM_PAGE_ASSERT_PGA_WRITEABLE(m, bits) \ vm_page_assert_pga_writeable(m, bits) +#define vm_page_xbusy_claim(m) do { \ + vm_page_assert_xbusied_unchecked((m)); \ + (m)->busy_lock = VPB_CURTHREAD_EXCLUSIVE; \ +} while (0) #else #define VM_PAGE_OBJECT_BUSY_ASSERT(m) (void)0 #define VM_PAGE_ASSERT_PGA_WRITEABLE(m, bits) (void)0 +#define vm_page_xbusy_claim(m) #endif #if BYTE_ORDER == BIG_ENDIAN diff --git a/sys/vm/vm_swapout.c b/sys/vm/vm_swapout.c index 8a7c6f57588b..6dd8f75d3865 100644 --- a/sys/vm/vm_swapout.c +++ b/sys/vm/vm_swapout.c @@ -540,6 +540,7 @@ vm_thread_swapout(struct thread *td) if (m == NULL) panic("vm_thread_swapout: kstack already missing?"); vm_page_dirty(m); + vm_page_xunbusy_unchecked(m); vm_page_unwire(m, PQ_LAUNDRY); } VM_OBJECT_WUNLOCK(ksobj); @@ -564,7 +565,6 @@ vm_thread_swapin(struct thread *td, int oom_alloc) for (i = 0; i < pages;) { vm_page_assert_xbusied(ma[i]); if (vm_page_all_valid(ma[i])) { - vm_page_xunbusy(ma[i]); i++; continue; } @@ -581,8 +581,6 @@ vm_thread_swapin(struct thread *td, int oom_alloc) KASSERT(rv == VM_PAGER_OK, ("%s: cannot get kstack for proc %d", __func__, td->td_proc->p_pid)); vm_object_pip_wakeup(ksobj); - for (j = i; j < i + count; j++) - vm_page_xunbusy(ma[j]); i += count; } pmap_qenter(td->td_kstack, ma, pages); From 8209febbb3d07809890550a0048b2d76363239f9 Mon Sep 17 00:00:00 2001 From: Sergio Carlavilla Delgado Date: Wed, 19 Feb 2020 12:49:49 +0000 Subject: [PATCH 16/34] Add some HISTORY sections to manpages environ(7) was in AT&T Version 7 ac(8): Add a HISTORY section sa(8): Add a HISTORY section sqrt(3): Add the actual sqrt function to the HISTORY section Obtained from: OpenBSD Submitted by: gbergling@gmail.com Approved by: bcr@(mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23693 --- lib/msun/man/sqrt.3 | 5 ++++- share/man/man7/environ.7 | 4 ++-- usr.sbin/ac/ac.8 | 12 +++++++++++- usr.sbin/sa/sa.8 | 10 +++++++++- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/lib/msun/man/sqrt.3 b/lib/msun/man/sqrt.3 index 31d15ac3b258..bf6c3436cdbf 100644 --- a/lib/msun/man/sqrt.3 +++ b/lib/msun/man/sqrt.3 @@ -28,7 +28,7 @@ .\" from: @(#)sqrt.3 6.4 (Berkeley) 5/6/91 .\" $FreeBSD$ .\" -.Dd March 5, 2011 +.Dd February 15, 2020 .Dt SQRT 3 .Os .Sh NAME @@ -113,6 +113,9 @@ The function appeared in .Bx 4.3 . The +.Fn sqrt +function appeared in +.At v2 . .Fn sqrtl function appeared in .Fx 8.0 . diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7 index 2870d8e78809..2d22afbad90a 100644 --- a/share/man/man7/environ.7 +++ b/share/man/man7/environ.7 @@ -28,7 +28,7 @@ .\" @(#)environ.7 8.3 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd April 12, 2003 +.Dd February 14, 2020 .Dt ENVIRON 7 .Os .Sh NAME @@ -261,4 +261,4 @@ built-in command in The .Nm manual page appeared in -.Bx 4.2 . +.At v7 . diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8 index 954d9f71159b..0767e427d340 100644 --- a/usr.sbin/ac/ac.8 +++ b/usr.sbin/ac/ac.8 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 21, 2010 +.Dd February 14, 2020 .Dt AC 8 .Os .Sh NAME @@ -126,6 +126,16 @@ ac -p -t "!ttyd*" > other .Xr getutxent 3 , .Xr init 8 , .Xr sa 8 +.Sh HISTORY +An +.Nm +command appeared in +.At v5 . +This version of +.Nm +was written for +.Nx 0.9a +from the specification provided by various systems' manual pages. .\" .Sh NOTES .\" If COMPAT_SUNOS is defined .\" .Nm ac diff --git a/usr.sbin/sa/sa.8 b/usr.sbin/sa/sa.8 index 1b66ac2a12e9..dc50fc441c16 100644 --- a/usr.sbin/sa/sa.8 +++ b/usr.sbin/sa/sa.8 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 18, 2007 +.Dd February 14, 2020 .Dt SA 8 .Os .Sh NAME @@ -234,6 +234,14 @@ per-user accounting summary database .Xr acct 5 , .Xr ac 8 , .Xr accton 8 +.Sh HISTORY +.Nm +first appeared in +.At v5 . +.Nm +was rewritten for +.Nx 0.9a +from the specification provided by various systems' manual pages. .Sh AUTHORS .An Chris G. Demetriou Aq Mt cgd@postgres.berkeley.edu .Sh CAVEATS From 9b61ffab6b8b37fa53f8d77725f7a1c91ae2a49b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 19 Feb 2020 14:09:15 +0000 Subject: [PATCH 17/34] lib_gen.c now also depends on ncurses_dll.h specify it to prevent some breakage if ncurses_dll.h is already present in base while building --- lib/ncurses/ncurses/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 2a2150610606..c069233eb3ed 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -345,7 +345,7 @@ names.c: MKnames.awk codes.c: MKcodes.awk ${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c -lib_gen.c: MKlib_gen.sh curses.h +lib_gen.c: MKlib_gen.sh curses.h ncurses_dll.h LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CPP:N${CCACHE_BIN}} ${CPPFLAGS}" \ "${AWK}" generated < curses.h >$@ From db1d8f1de4eec565114304e3f75bae7cbb7680b7 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 19 Feb 2020 14:12:59 +0000 Subject: [PATCH 18/34] Move GCOV option to default NO GNU gcov will be removed along with GCC 4.2.1 at the end of the month. Change the default to NO in preparation. --- share/mk/src.opts.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 534a4c0fbaa4..4c28196bf3d1 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -102,7 +102,6 @@ __DEFAULT_YES_OPTIONS = \ FREEBSD_UPDATE \ FTP \ GAMES \ - GCOV \ GDB \ GNU_DIFF \ GNU_GREP \ @@ -201,6 +200,7 @@ __DEFAULT_NO_OPTIONS = \ EXPERIMENTAL \ GCC \ GCC_BOOTSTRAP \ + GCOV \ GNUCXX \ GNU_GREP_COMPAT \ GPL_DTC \ From 45181e6dba3000e2c776f73fa55e54be88097b38 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 19 Feb 2020 14:16:48 +0000 Subject: [PATCH 19/34] src.conf.5: regen after r358101, WITHOUT_GCOV default --- share/man/man5/src.conf.5 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 4086ac2f2ed0..456cebf5b3ac 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,6 +1,6 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. .\" $FreeBSD$ -.Dd February 6, 2020 +.Dd February 19, 2020 .Dt SRC.CONF 5 .Os .Sh NAME @@ -705,8 +705,8 @@ This option is deprecated and will be removed before Set to build gcc and g++ as part of the bootstrap process. This option is deprecated and will be removed before .Fx 13 . -.It Va WITHOUT_GCOV -Set to not build the +.It Va WITH_GCOV +Build and install the GNU .Xr gcov 1 tool. .It Va WITHOUT_GDB @@ -747,6 +747,17 @@ Set to neither build nor install .Lb libgmock , .Lb libgtest , and dependent tests. +.Pp +This is a default setting on +mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. +.It Va WITH_GOOGLETEST +Set to build and install +.Lb libgmock , +.Lb libgtest , +and dependent tests. +.Pp +This is a default setting on +amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf. .It Va WITHOUT_GPIO Set to not build .Xr gpioctl 8 From 777e39e5492e443cbc9c06b9d50d2d153738bb03 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 19 Feb 2020 14:18:17 +0000 Subject: [PATCH 20/34] Add a note about some fallouts due to the ncurses update --- UPDATING | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPDATING b/UPDATING index af8b6f75e952..3359f2e69ad5 100644 --- a/UPDATING +++ b/UPDATING @@ -26,6 +26,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20200218: + ncurses has been updated to a newer version (6.1-20200118). After an + update some applications using ncurses may results have some rendering + problems and would need to be rebuilt. + 20200217: The size of struct vnet and the magic cookie have changed. Users need to recompile libkvm and all modules using VIMAGE From 5a4931f2bb596fde50a7dd78af7f83980be134a1 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 19 Feb 2020 14:26:27 +0000 Subject: [PATCH 21/34] nanobsd: add WITHOUT_LLVM_COV, akin to WITHOUT_GCOV --- tools/tools/nanobsd/embedded/common | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common index 9233baa03839..2d9ee126915c 100644 --- a/tools/tools/nanobsd/embedded/common +++ b/tools/tools/nanobsd/embedded/common @@ -142,6 +142,7 @@ WITHOUT_GAMES=true WITHOUT_GCOV=true WITHOUT_HTML=true WITHOUT_IPFILTER=true +WITHOUT_LLVM_COV=true WITHOUT_LOCALES=true WITHOUT_LPR=true WITHOUT_MAN=true From 550bec4fdef888873e595b63fd1af9cbc749b114 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 14:32:55 +0000 Subject: [PATCH 22/34] kdump: decode SHM_ANON as first arg to legacy shm_open(2) The first argument to shm_open(2) as well as shm_open2(2) may be a path or SHM_ANON. Decode SHM_ANON, at least- paths will show up as namei results in kdump output, which may be sufficient; in those cases, we'll have printed an address. Future commits will add support for shm_open2() to libsysdecode/truss/kdump. Reported by: kaktus MFC after: 3 days --- usr.bin/kdump/kdump.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 3319d2f06607..3c7e126bb33d 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -1248,7 +1249,12 @@ ktrsyscall(struct ktr_syscall *ktr, u_int sv_flags) break; #ifdef SYS_freebsd12_shm_open case SYS_freebsd12_shm_open: - print_number(ip, narg, c); + if (ip[0] == (uintptr_t)SHM_ANON) { + printf("(SHM_ANON"); + ip++; + } else { + print_number(ip, narg, c); + } putchar(','); print_mask_arg(sysdecode_open_flags, ip[0]); putchar(','); From 09d7d4ad9a118f20b40c9ee1097233901bbc038c Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 19 Feb 2020 14:40:53 +0000 Subject: [PATCH 23/34] whereis: remove gnu/libexec from source search paths The last subdirectory of gnu/libexec was removed in r85742. --- usr.bin/whereis/pathnames.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/whereis/pathnames.h b/usr.bin/whereis/pathnames.h index c177720a5bf2..2bcf28cee32c 100644 --- a/usr.bin/whereis/pathnames.h +++ b/usr.bin/whereis/pathnames.h @@ -36,7 +36,7 @@ "/usr/src/usr.sbin:/usr/src/libexec:" \ "/usr/src/gnu/bin:/usr/src/gnu/usr.bin:" \ "/usr/src/gnu/sbin:/usr/src/gnu/usr.sbin:" \ -"/usr/src/gnu/libexec:/usr/src/contrib:" \ +"/usr/src/contrib:" \ "/usr/src/secure/bin:/usr/src/secure/usr.bin:" \ "/usr/src/secure/sbin:/usr/src/secure/usr.sbin:" \ "/usr/src/secure/libexec:/usr/src/crypto:" \ From c70019dd0a90966b3a784dfd0747dfe8ccfb04fc Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 14:52:32 +0000 Subject: [PATCH 24/34] libsysdecode: grab shmflags from sys/mman.h, add decode method Any SHM_* flag here is (and likely will continue to be) a shmflag that may be passed to shm_open2(), with exception to SHM_ANON. This is a prereq to adding appropriate support to truss/kdump. Reviewed by: kaktus (slightly earlier version) Differential Revision: https://reviews.freebsd.org/D23733 --- lib/libsysdecode/flags.c | 7 +++++++ lib/libsysdecode/mktables | 1 + lib/libsysdecode/sysdecode.h | 1 + 3 files changed, 9 insertions(+) diff --git a/lib/libsysdecode/flags.c b/lib/libsysdecode/flags.c index 957b4a95e666..5ba197438452 100644 --- a/lib/libsysdecode/flags.c +++ b/lib/libsysdecode/flags.c @@ -1277,3 +1277,10 @@ sysdecode_sctp_sinfo_flags(FILE *fp, int sinfo_flags) } } } + +bool +sysdecode_shmflags(FILE *fp, int flags, int *rem) +{ + + return (print_mask_0(fp, shmflags, flags, rem)); +} diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables index 4765ca5d8beb..c85cd8657230 100644 --- a/lib/libsysdecode/mktables +++ b/lib/libsysdecode/mktables @@ -165,6 +165,7 @@ if [ -e "${include_dir}/x86/sysarch.h" ]; then else gen_table "sysarchnum" "[A-Z_]+[[:space:]]+[0-9]+" "machine/sysarch.h" fi +gen_table "shmflags" "SHM_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/mman.h" "SHM_ANON" # Generate a .depend file for our output file if [ -n "$output_file" ]; then diff --git a/lib/libsysdecode/sysdecode.h b/lib/libsysdecode/sysdecode.h index 218943245b66..a01ac1243aa2 100644 --- a/lib/libsysdecode/sysdecode.h +++ b/lib/libsysdecode/sysdecode.h @@ -128,5 +128,6 @@ const char *sysdecode_vmresult(int _result); bool sysdecode_wait4_options(FILE *_fp, int _options, int *_rem); bool sysdecode_wait6_options(FILE *_fp, int _options, int *_rem); const char *sysdecode_whence(int _whence); +bool sysdecode_shmflags(FILE *_fp, int _flags, int *_rem); #endif /* !__SYSDECODE_H__ */ From bcca34259c046ca78f574e4c8694d0af0f0d0bec Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 14:54:33 +0000 Subject: [PATCH 25/34] truss: decode shm_open2 shm_open2 is similar to shm_open, except it also takes shmflags and optional name to label the anonymous region for, e.g., debugging purposes. The appropriate support for decoding shmflags was added to libsysdecode in r358115. This is a part of D23733. Reviewed by: kaktus --- usr.bin/truss/syscall.h | 1 + usr.bin/truss/syscalls.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/usr.bin/truss/syscall.h b/usr.bin/truss/syscall.h index 74fbcb7b2545..c70942303708 100644 --- a/usr.bin/truss/syscall.h +++ b/usr.bin/truss/syscall.h @@ -122,6 +122,7 @@ enum Argtype { Rtpriofunc, RusageWho, Schedpolicy, + ShmFlags, Shutdown, Signal, Sigprocmask, diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 721fbd23f8db..31192b37a527 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -471,6 +471,9 @@ static struct syscall decoded_syscalls[] = { { Ptr | IN, 3 }, { Socklent, 4 } } }, { .name = "shm_open", .ret_type = 1, .nargs = 3, .args = { { ShmName | IN, 0 }, { Open, 1 }, { Octal, 2 } } }, + { .name = "shm_open2", .ret_type = 1, .nargs = 5, + .args = { { ShmName | IN, 0 }, { Open, 1 }, { Octal, 2 }, + { ShmFlags, 3 }, { BinString | IN, 4 } } }, { .name = "shm_rename", .ret_type = 1, .nargs = 3, .args = { { Name | IN, 0 }, { Name | IN, 1 }, { Hex, 2 } } }, { .name = "shm_unlink", .ret_type = 1, .nargs = 1, @@ -2009,6 +2012,9 @@ print_arg(struct syscall_args *sc, unsigned long *args, register_t *retval, case Whence: print_integer_arg(sysdecode_whence, fp, args[sc->offset]); break; + case ShmFlags: + print_mask_arg(sysdecode_shmflags, fp, args[sc->offset]); + break; case Sockdomain: print_integer_arg(sysdecode_socketdomain, fp, args[sc->offset]); break; From c1b0c847474cb0f806872bf9661d7c84902638b3 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 14:55:59 +0000 Subject: [PATCH 26/34] kdump: decode shm_open2 This is the kdump counterpart of the truss support added in r358116, and also a part of D23733. shm_open2 is the successor to shm_open. Reviewed by: kaktus --- usr.bin/kdump/kdump.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 3c7e126bb33d..3b5975333596 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1263,6 +1263,22 @@ ktrsyscall(struct ktr_syscall *ktr, u_int sv_flags) narg -= 2; break; #endif + case SYS_shm_open2: + if (ip[0] == (uintptr_t)SHM_ANON) { + printf("(SHM_ANON"); + ip++; + } else { + print_number(ip, narg, c); + } + putchar(','); + print_mask_arg(sysdecode_open_flags, ip[0]); + putchar(','); + decode_filemode(ip[1]); + putchar(','); + print_mask_arg(sysdecode_shmflags, ip[2]); + ip += 3; + narg -= 3; + break; case SYS_minherit: print_number(ip, narg, c); print_number(ip, narg, c); From 733ba7eff60798e1a6a0405b6f48e2978eff3817 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 19 Feb 2020 15:12:01 +0000 Subject: [PATCH 27/34] truss: fix shm_open2 oversight (BinString -> Name) BinString assumes a length in the next argument; Name is more appropriate for the final argument. --- usr.bin/truss/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 31192b37a527..214138c4dd6a 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -473,7 +473,7 @@ static struct syscall decoded_syscalls[] = { .args = { { ShmName | IN, 0 }, { Open, 1 }, { Octal, 2 } } }, { .name = "shm_open2", .ret_type = 1, .nargs = 5, .args = { { ShmName | IN, 0 }, { Open, 1 }, { Octal, 2 }, - { ShmFlags, 3 }, { BinString | IN, 4 } } }, + { ShmFlags, 3 }, { Name | IN, 4 } } }, { .name = "shm_rename", .ret_type = 1, .nargs = 3, .args = { { Name | IN, 0 }, { Name | IN, 1 }, { Hex, 2 } } }, { .name = "shm_unlink", .ret_type = 1, .nargs = 1, From 4d083e6d200025d67963d4cd177ded690675c723 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 19 Feb 2020 15:56:40 +0000 Subject: [PATCH 28/34] Cirrus-CI: increase timeout to 120m For some reason build+package+test time went from about 1h10 to over 1h30 (killed due to timeout prior to completion). The reason for the increase still needs investigation. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index d10e19e63b31..e70ace73a5b0 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -9,7 +9,7 @@ env: CIRRUS_CLONE_DEPTH: 1 task: - timeout_in: 90m + timeout_in: 120m install_script: - pkg install -y qemu-devel uefi-edk2-qemu-x86_64 script: From 579df69311a3e00d4c6f3dccfd53d5252d8aa811 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 19 Feb 2020 16:23:21 +0000 Subject: [PATCH 29/34] nanobsd: add WITHOUT_LLVM_COV, akin to WITHOUT_GCOV Another case, missed in r358105 --- tools/tools/nanobsd/dhcpd/common | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tools/nanobsd/dhcpd/common b/tools/tools/nanobsd/dhcpd/common index 6ea48b59376c..96495a3a4ea7 100644 --- a/tools/tools/nanobsd/dhcpd/common +++ b/tools/tools/nanobsd/dhcpd/common @@ -111,6 +111,7 @@ WITHOUT_GAMES=true WITHOUT_GCOV=true WITHOUT_HTML=true WITHOUT_IPFILTER=true +WITHOUT_LLVM_COV=true WITHOUT_LOCALES=true WITHOUT_LPR=true WITHOUT_MAN=true From e3c73f3d74c77b2c168519b10bdb6910a84287ef Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Wed, 19 Feb 2020 16:44:16 +0000 Subject: [PATCH 30/34] bridge tests: Remove unneeded 'All rights reserved.' The FreeBSD foundation no longer requires this, as per https://lists.freebsd.org/pipermail/svn-src-all/2019-February/177215.html and private communications. Sponsored by: The FreeBSD Foundation --- tests/sys/net/if_bridge_test.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/sys/net/if_bridge_test.sh b/tests/sys/net/if_bridge_test.sh index 384857bff589..c51321187018 100755 --- a/tests/sys/net/if_bridge_test.sh +++ b/tests/sys/net/if_bridge_test.sh @@ -3,7 +3,6 @@ # SPDX-License-Identifier: BSD-2-Clause-FreeBSD # # Copyright (c) 2020 The FreeBSD Foundation -# All rights reserved. # # This software was developed by Kristof Provost under sponsorship # from the FreeBSD Foundation. From 72c3fc31f590566e93496732d6fa769cd353e270 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 19 Feb 2020 16:58:06 +0000 Subject: [PATCH 31/34] import ncurses 6.2-20200215 --- ANNOUNCE | 1610 ++++----- AUTHORS | 5 +- Ada95/Makefile.in | 7 +- Ada95/README | 3 +- Ada95/TODO | 5 +- Ada95/aclocal.m4 | 30 +- Ada95/configure | 996 +++--- Ada95/configure.in | 31 +- Ada95/doc/Makefile.in | 5 +- Ada95/gen/Makefile.in | 5 +- Ada95/gen/adacurses-config.in | 5 +- Ada95/gen/gen.c | 5 +- Ada95/gen/html.m4 | 5 +- Ada95/gen/normal.m4 | 5 +- Ada95/gen/table.m4 | 5 +- .../gen/terminal_interface-curses-aux.ads.m4 | 5 +- ..._interface-curses-forms-field_types.ads.m4 | 5 +- ...erface-curses-forms-field_user_data.ads.m4 | 5 +- ...terface-curses-forms-form_user_data.ads.m4 | 5 +- .../terminal_interface-curses-forms.ads.m4 | 7 +- ...terface-curses-menus-item_user_data.ads.m4 | 7 +- ...terface-curses-menus-menu_user_data.ads.m4 | 5 +- .../terminal_interface-curses-menus.ads.m4 | 7 +- .../terminal_interface-curses-mouse.ads.m4 | 7 +- ...l_interface-curses-panels-user_data.ads.m4 | 5 +- .../terminal_interface-curses-panels.ads.m4 | 7 +- .../terminal_interface-curses-trace.ads.m4 | 5 +- Ada95/gen/terminal_interface-curses.adb.m4 | 7 +- Ada95/gen/terminal_interface-curses.ads.m4 | 7 +- Ada95/include/MKncurses_def.sh | 5 +- Ada95/include/Makefile.in | 5 +- Ada95/include/ncurses_cfg.hin | 5 +- Ada95/include/ncurses_defs | 5 +- Ada95/make-tar.sh | 5 +- Ada95/mk-1st.awk | 5 +- Ada95/samples/Makefile.in | 7 +- Ada95/samples/README | 5 +- Ada95/samples/ncurses.adb | 5 +- Ada95/samples/ncurses2-acs_and_scroll.adb | 7 +- Ada95/samples/ncurses2-acs_and_scroll.ads | 5 +- Ada95/samples/ncurses2-acs_display.adb | 7 +- Ada95/samples/ncurses2-acs_display.ads | 5 +- Ada95/samples/ncurses2-attr_test.adb | 7 +- Ada95/samples/ncurses2-attr_test.ads | 7 +- Ada95/samples/ncurses2-color_edit.adb | 7 +- Ada95/samples/ncurses2-color_edit.ads | 5 +- Ada95/samples/ncurses2-color_test.adb | 7 +- Ada95/samples/ncurses2-color_test.ads | 5 +- Ada95/samples/ncurses2-demo_forms.adb | 7 +- Ada95/samples/ncurses2-demo_forms.ads | 5 +- Ada95/samples/ncurses2-demo_pad.adb | 7 +- Ada95/samples/ncurses2-demo_pad.ads | 5 +- Ada95/samples/ncurses2-demo_panels.adb | 7 +- Ada95/samples/ncurses2-demo_panels.ads | 5 +- Ada95/samples/ncurses2-flushinp_test.adb | 5 +- Ada95/samples/ncurses2-flushinp_test.ads | 5 +- Ada95/samples/ncurses2-genericputs.adb | 7 +- Ada95/samples/ncurses2-genericputs.ads | 7 +- Ada95/samples/ncurses2-getch.ads | 5 +- Ada95/samples/ncurses2-getch_test.adb | 7 +- Ada95/samples/ncurses2-getch_test.ads | 5 +- Ada95/samples/ncurses2-getopt.adb | 7 +- Ada95/samples/ncurses2-getopt.ads | 7 +- Ada95/samples/ncurses2-m.adb | 7 +- Ada95/samples/ncurses2-m.ads | 5 +- Ada95/samples/ncurses2-menu_test.adb | 7 +- Ada95/samples/ncurses2-menu_test.ads | 5 +- Ada95/samples/ncurses2-overlap_test.adb | 7 +- Ada95/samples/ncurses2-overlap_test.ads | 5 +- Ada95/samples/ncurses2-slk_test.adb | 7 +- Ada95/samples/ncurses2-slk_test.ads | 5 +- .../samples/ncurses2-test_sgr_attributes.adb | 7 +- .../samples/ncurses2-test_sgr_attributes.ads | 5 +- Ada95/samples/ncurses2-trace_set.adb | 7 +- Ada95/samples/ncurses2-trace_set.ads | 5 +- Ada95/samples/ncurses2-util.adb | 7 +- Ada95/samples/ncurses2-util.ads | 7 +- Ada95/samples/ncurses2.ads | 5 +- Ada95/samples/rain.adb | 7 +- Ada95/samples/rain.ads | 5 +- .../samples/sample-curses_demo-attributes.adb | 5 +- .../samples/sample-curses_demo-attributes.ads | 5 +- Ada95/samples/sample-curses_demo-mouse.adb | 7 +- Ada95/samples/sample-curses_demo-mouse.ads | 5 +- Ada95/samples/sample-curses_demo.adb | 7 +- Ada95/samples/sample-curses_demo.ads | 5 +- Ada95/samples/sample-explanation.adb_p | 6 +- Ada95/samples/sample-explanation.ads | 5 +- Ada95/samples/sample-form_demo-aux.adb | 7 +- Ada95/samples/sample-form_demo-aux.ads | 5 +- Ada95/samples/sample-form_demo-handler.adb | 7 +- Ada95/samples/sample-form_demo-handler.ads | 5 +- Ada95/samples/sample-form_demo.adb | 7 +- Ada95/samples/sample-form_demo.ads | 5 +- Ada95/samples/sample-function_key_setting.adb | 7 +- Ada95/samples/sample-function_key_setting.ads | 5 +- Ada95/samples/sample-header_handler.adb | 7 +- Ada95/samples/sample-header_handler.ads | 5 +- Ada95/samples/sample-helpers.adb | 7 +- Ada95/samples/sample-helpers.ads | 5 +- Ada95/samples/sample-keyboard_handler.adb | 7 +- Ada95/samples/sample-keyboard_handler.ads | 5 +- Ada95/samples/sample-manifest.ads | 5 +- Ada95/samples/sample-menu_demo-aux.adb | 7 +- Ada95/samples/sample-menu_demo-aux.ads | 5 +- Ada95/samples/sample-menu_demo-handler.adb | 7 +- Ada95/samples/sample-menu_demo-handler.ads | 5 +- Ada95/samples/sample-menu_demo.adb | 7 +- Ada95/samples/sample-menu_demo.ads | 5 +- Ada95/samples/sample-my_field_type.adb | 7 +- Ada95/samples/sample-my_field_type.ads | 5 +- Ada95/samples/sample-text_io_demo.adb | 7 +- Ada95/samples/sample-text_io_demo.ads | 5 +- Ada95/samples/sample.adb | 7 +- Ada95/samples/sample.ads | 5 +- Ada95/samples/split-path.awk | 54 + Ada95/samples/status.adb | 5 +- Ada95/samples/status.ads | 5 +- Ada95/samples/tour.adb | 5 +- Ada95/samples/tour.ads | 5 +- Ada95/src/Makefile.in | 9 +- Ada95/src/c_threaded_variables.c | 3 +- Ada95/src/c_threaded_variables.h | 5 +- Ada95/src/c_varargs_to_ada.c | 5 +- Ada95/src/c_varargs_to_ada.h | 5 +- Ada95/src/library-cfg.sh | 5 +- Ada95/src/library.gpr.in | 4 +- Ada95/src/modules | 5 +- Ada95/src/ncurses_compat.c | 5 +- Ada95/src/terminal_interface-curses-aux.adb | 5 +- ...terface-curses-forms-field_types-alpha.adb | 7 +- ...terface-curses-forms-field_types-alpha.ads | 5 +- ...-curses-forms-field_types-alphanumeric.adb | 7 +- ...-curses-forms-field_types-alphanumeric.ads | 5 +- ...rses-forms-field_types-enumeration-ada.adb | 7 +- ...rses-forms-field_types-enumeration-ada.ads | 5 +- ...e-curses-forms-field_types-enumeration.adb | 5 +- ...e-curses-forms-field_types-enumeration.ads | 5 +- ...face-curses-forms-field_types-intfield.adb | 7 +- ...face-curses-forms-field_types-intfield.ads | 5 +- ...-curses-forms-field_types-ipv4_address.adb | 7 +- ...-curses-forms-field_types-ipv4_address.ads | 5 +- ...rface-curses-forms-field_types-numeric.adb | 7 +- ...rface-curses-forms-field_types-numeric.ads | 5 +- ...erface-curses-forms-field_types-regexp.adb | 5 +- ...erface-curses-forms-field_types-regexp.ads | 5 +- ...e-curses-forms-field_types-user-choice.adb | 7 +- ...e-curses-forms-field_types-user-choice.ads | 7 +- ...nterface-curses-forms-field_types-user.adb | 7 +- ...nterface-curses-forms-field_types-user.ads | 7 +- ...nal_interface-curses-forms-field_types.adb | 7 +- ...interface-curses-forms-field_user_data.adb | 5 +- ..._interface-curses-forms-form_user_data.adb | 5 +- Ada95/src/terminal_interface-curses-forms.adb | 7 +- ..._interface-curses-menus-item_user_data.adb | 5 +- ..._interface-curses-menus-menu_user_data.adb | 5 +- Ada95/src/terminal_interface-curses-menus.adb | 7 +- Ada95/src/terminal_interface-curses-mouse.adb | 7 +- ...inal_interface-curses-panels-user_data.adb | 5 +- .../src/terminal_interface-curses-panels.adb | 7 +- .../src/terminal_interface-curses-putwin.adb | 5 +- .../src/terminal_interface-curses-putwin.ads | 5 +- .../src/terminal_interface-curses-termcap.adb | 7 +- .../src/terminal_interface-curses-termcap.ads | 5 +- .../terminal_interface-curses-terminfo.adb | 7 +- .../terminal_interface-curses-terminfo.ads | 5 +- .../terminal_interface-curses-text_io-aux.adb | 7 +- .../terminal_interface-curses-text_io-aux.ads | 7 +- ...al_interface-curses-text_io-complex_io.adb | 5 +- ...al_interface-curses-text_io-complex_io.ads | 5 +- ...al_interface-curses-text_io-decimal_io.adb | 5 +- ...al_interface-curses-text_io-decimal_io.ads | 5 +- ...nterface-curses-text_io-enumeration_io.adb | 5 +- ...nterface-curses-text_io-enumeration_io.ads | 5 +- ...inal_interface-curses-text_io-fixed_io.adb | 5 +- ...inal_interface-curses-text_io-fixed_io.ads | 5 +- ...inal_interface-curses-text_io-float_io.adb | 5 +- ...inal_interface-curses-text_io-float_io.ads | 5 +- ...al_interface-curses-text_io-integer_io.adb | 5 +- ...al_interface-curses-text_io-integer_io.ads | 5 +- ...al_interface-curses-text_io-modular_io.adb | 5 +- ...al_interface-curses-text_io-modular_io.ads | 5 +- .../src/terminal_interface-curses-text_io.adb | 7 +- .../src/terminal_interface-curses-text_io.ads | 5 +- .../src/terminal_interface-curses-trace.adb_p | 5 +- Ada95/src/terminal_interface.ads | 7 +- COPYING | 5 +- INSTALL | 42 +- MANIFEST | 2 + Makefile.in | 5 +- Makefile.os2 | 5 +- NEWS | 38 +- README | 5 +- README.MinGW | 5 +- README.emx | 5 +- TO-DO | 5 +- VERSION | 2 +- aclocal.m4 | 30 +- announce.html.in | 2920 ++++++---------- c++/Makefile.in | 5 +- c++/NEWS | 5 +- c++/PROBLEMS | 5 +- c++/README-first | 5 +- c++/cursesapp.cc | 5 +- c++/cursesapp.h | 5 +- c++/cursesf.cc | 5 +- c++/cursesf.h | 5 +- c++/cursesm.cc | 5 +- c++/cursesm.h | 5 +- c++/cursesmain.cc | 5 +- c++/cursesp.cc | 5 +- c++/cursesp.h | 5 +- c++/cursespad.cc | 5 +- c++/cursesw.cc | 5 +- c++/cursesw.h | 5 +- c++/cursslk.cc | 5 +- c++/cursslk.h | 5 +- c++/demo.cc | 5 +- c++/edit_cfg.sh | 5 +- c++/etip.h.in | 5 +- c++/headers | 5 +- c++/internal.h | 5 +- c++/modules | 5 +- configure | 3007 ++++++++-------- configure.in | 41 +- convert_configure.pl | 5 +- dist.mk | 19 +- doc/html/Ada95.html | 5 +- doc/html/ada/funcs/A.htm | 36 +- doc/html/ada/funcs/B.htm | 28 +- doc/html/ada/funcs/C.htm | 102 +- doc/html/ada/funcs/D.htm | 80 +- doc/html/ada/funcs/E.htm | 22 +- doc/html/ada/funcs/F.htm | 94 +- doc/html/ada/funcs/G.htm | 178 +- doc/html/ada/funcs/H.htm | 30 +- doc/html/ada/funcs/I.htm | 88 +- doc/html/ada/funcs/K.htm | 14 +- doc/html/ada/funcs/L.htm | 24 +- doc/html/ada/funcs/M.htm | 88 +- doc/html/ada/funcs/N.htm | 52 +- doc/html/ada/funcs/O.htm | 10 +- doc/html/ada/funcs/P.htm | 98 +- doc/html/ada/funcs/Q.htm | 2 +- doc/html/ada/funcs/R.htm | 64 +- doc/html/ada/funcs/S.htm | 364 +- doc/html/ada/funcs/T.htm | 64 +- doc/html/ada/funcs/U.htm | 32 +- doc/html/ada/funcs/V.htm | 8 +- doc/html/ada/funcs/W.htm | 92 +- .../terminal_interface-curses-aux__adb.htm | 89 +- .../terminal_interface-curses-aux__ads.htm | 111 +- ...ce-curses-forms-field_types-alpha__adb.htm | 27 +- ...ce-curses-forms-field_types-alpha__ads.htm | 19 +- ...es-forms-field_types-alphanumeric__adb.htm | 27 +- ...es-forms-field_types-alphanumeric__ads.htm | 19 +- ...forms-field_types-enumeration-ada__adb.htm | 55 +- ...forms-field_types-enumeration-ada__ads.htm | 25 +- ...ses-forms-field_types-enumeration__adb.htm | 101 +- ...ses-forms-field_types-enumeration__ads.htm | 55 +- ...curses-forms-field_types-intfield__adb.htm | 35 +- ...curses-forms-field_types-intfield__ads.htm | 23 +- ...es-forms-field_types-ipv4_address__adb.htm | 27 +- ...es-forms-field_types-ipv4_address__ads.htm | 17 +- ...-curses-forms-field_types-numeric__adb.htm | 37 +- ...-curses-forms-field_types-numeric__ads.htm | 23 +- ...e-curses-forms-field_types-regexp__adb.htm | 25 +- ...e-curses-forms-field_types-regexp__ads.htm | 21 +- ...ses-forms-field_types-user-choice__adb.htm | 93 +- ...ses-forms-field_types-user-choice__ads.htm | 49 +- ...ace-curses-forms-field_types-user__adb.htm | 121 +- ...ace-curses-forms-field_types-user__ads.htm | 51 +- ...nterface-curses-forms-field_types__adb.htm | 265 +- ...nterface-curses-forms-field_types__ads.htm | 171 +- ...face-curses-forms-field_user_data__adb.htm | 39 +- ...face-curses-forms-field_user_data__ads.htm | 27 +- ...rface-curses-forms-form_user_data__adb.htm | 39 +- ...rface-curses-forms-form_user_data__ads.htm | 27 +- .../terminal_interface-curses-forms__adb.htm | 917 ++--- .../terminal_interface-curses-forms__ads.htm | 725 ++-- ...rface-curses-menus-item_user_data__adb.htm | 39 +- ...rface-curses-menus-item_user_data__ads.htm | 29 +- ...rface-curses-menus-menu_user_data__adb.htm | 39 +- ...rface-curses-menus-menu_user_data__ads.htm | 27 +- .../terminal_interface-curses-menus__adb.htm | 981 +++--- .../terminal_interface-curses-menus__ads.htm | 515 +-- .../terminal_interface-curses-mouse__adb.htm | 215 +- .../terminal_interface-curses-mouse__ads.htm | 161 +- ...interface-curses-panels-user_data__adb.htm | 47 +- ...interface-curses-panels-user_data__ads.htm | 27 +- .../terminal_interface-curses-panels__adb.htm | 135 +- .../terminal_interface-curses-panels__ads.htm | 75 +- .../terminal_interface-curses-putwin__adb.htm | 47 +- .../terminal_interface-curses-putwin__ads.htm | 15 +- ...terminal_interface-curses-termcap__adb.htm | 155 +- ...terminal_interface-curses-termcap__ads.htm | 35 +- ...erminal_interface-curses-terminfo__adb.htm | 145 +- ...erminal_interface-curses-terminfo__ads.htm | 33 +- ...inal_interface-curses-text_io-aux__adb.htm | 113 +- ...inal_interface-curses-text_io-aux__ads.htm | 23 +- ...terface-curses-text_io-complex_io__adb.htm | 47 +- ...terface-curses-text_io-complex_io__ads.htm | 39 +- ...terface-curses-text_io-decimal_io__adb.htm | 55 +- ...terface-curses-text_io-decimal_io__ads.htm | 39 +- ...ace-curses-text_io-enumeration_io__adb.htm | 57 +- ...ace-curses-text_io-enumeration_io__ads.htm | 33 +- ...interface-curses-text_io-fixed_io__adb.htm | 55 +- ...interface-curses-text_io-fixed_io__ads.htm | 39 +- ...interface-curses-text_io-float_io__adb.htm | 55 +- ...interface-curses-text_io-float_io__ads.htm | 39 +- ...terface-curses-text_io-integer_io__adb.htm | 45 +- ...terface-curses-text_io-integer_io__ads.htm | 33 +- ...terface-curses-text_io-modular_io__adb.htm | 45 +- ...terface-curses-text_io-modular_io__ads.htm | 33 +- ...terminal_interface-curses-text_io__adb.htm | 345 +- ...terminal_interface-curses-text_io__ads.htm | 93 +- .../terminal_interface-curses-trace__adb.htm | 25 +- .../terminal_interface-curses-trace__ads.htm | 95 +- .../ada/terminal_interface-curses__adb.htm | 3033 +++++++++-------- .../ada/terminal_interface-curses__ads.htm | 1747 +++++----- ...rminal_interface-curses_constants__ads.htm | 8 +- doc/html/ada/terminal_interface__ads.htm | 13 +- doc/html/announce.html | 2814 ++++++--------- doc/html/hackguide.html | 5 +- doc/html/index.html | 5 +- doc/html/man/adacurses6-config.1.html | 7 +- doc/html/man/captoinfo.1m.html | 7 +- doc/html/man/clear.1.html | 7 +- doc/html/man/curs_add_wch.3x.html | 5 +- doc/html/man/curs_add_wchstr.3x.html | 5 +- doc/html/man/curs_addch.3x.html | 5 +- doc/html/man/curs_addchstr.3x.html | 5 +- doc/html/man/curs_addstr.3x.html | 5 +- doc/html/man/curs_addwstr.3x.html | 5 +- doc/html/man/curs_attr.3x.html | 5 +- doc/html/man/curs_beep.3x.html | 5 +- doc/html/man/curs_bkgd.3x.html | 5 +- doc/html/man/curs_bkgrnd.3x.html | 5 +- doc/html/man/curs_border.3x.html | 5 +- doc/html/man/curs_border_set.3x.html | 5 +- doc/html/man/curs_clear.3x.html | 5 +- doc/html/man/curs_color.3x.html | 5 +- doc/html/man/curs_delch.3x.html | 5 +- doc/html/man/curs_deleteln.3x.html | 5 +- doc/html/man/curs_extend.3x.html | 5 +- doc/html/man/curs_get_wch.3x.html | 5 +- doc/html/man/curs_get_wstr.3x.html | 5 +- doc/html/man/curs_getcchar.3x.html | 5 +- doc/html/man/curs_getch.3x.html | 5 +- doc/html/man/curs_getstr.3x.html | 5 +- doc/html/man/curs_getyx.3x.html | 5 +- doc/html/man/curs_in_wch.3x.html | 5 +- doc/html/man/curs_in_wchstr.3x.html | 5 +- doc/html/man/curs_inch.3x.html | 5 +- doc/html/man/curs_inchstr.3x.html | 5 +- doc/html/man/curs_initscr.3x.html | 5 +- doc/html/man/curs_inopts.3x.html | 5 +- doc/html/man/curs_ins_wch.3x.html | 5 +- doc/html/man/curs_ins_wstr.3x.html | 5 +- doc/html/man/curs_insch.3x.html | 5 +- doc/html/man/curs_insstr.3x.html | 5 +- doc/html/man/curs_instr.3x.html | 5 +- doc/html/man/curs_inwstr.3x.html | 5 +- doc/html/man/curs_kernel.3x.html | 5 +- doc/html/man/curs_legacy.3x.html | 5 +- doc/html/man/curs_memleaks.3x.html | 5 +- doc/html/man/curs_mouse.3x.html | 5 +- doc/html/man/curs_move.3x.html | 5 +- doc/html/man/curs_opaque.3x.html | 5 +- doc/html/man/curs_outopts.3x.html | 5 +- doc/html/man/curs_overlay.3x.html | 5 +- doc/html/man/curs_pad.3x.html | 5 +- doc/html/man/curs_print.3x.html | 5 +- doc/html/man/curs_printw.3x.html | 5 +- doc/html/man/curs_refresh.3x.html | 5 +- doc/html/man/curs_scanw.3x.html | 5 +- doc/html/man/curs_scr_dump.3x.html | 5 +- doc/html/man/curs_scroll.3x.html | 5 +- doc/html/man/curs_slk.3x.html | 5 +- doc/html/man/curs_sp_funcs.3x.html | 5 +- doc/html/man/curs_termattrs.3x.html | 5 +- doc/html/man/curs_termcap.3x.html | 5 +- doc/html/man/curs_terminfo.3x.html | 5 +- doc/html/man/curs_threads.3x.html | 5 +- doc/html/man/curs_touch.3x.html | 5 +- doc/html/man/curs_trace.3x.html | 5 +- doc/html/man/curs_util.3x.html | 5 +- doc/html/man/curs_variables.3x.html | 5 +- doc/html/man/curs_window.3x.html | 5 +- doc/html/man/default_colors.3x.html | 5 +- doc/html/man/define_key.3x.html | 5 +- doc/html/man/form.3x.html | 7 +- doc/html/man/form_cursor.3x.html | 5 +- doc/html/man/form_data.3x.html | 5 +- doc/html/man/form_driver.3x.html | 5 +- doc/html/man/form_field.3x.html | 5 +- doc/html/man/form_field_attributes.3x.html | 5 +- doc/html/man/form_field_buffer.3x.html | 5 +- doc/html/man/form_field_info.3x.html | 5 +- doc/html/man/form_field_just.3x.html | 5 +- doc/html/man/form_field_new.3x.html | 5 +- doc/html/man/form_field_opts.3x.html | 5 +- doc/html/man/form_field_userptr.3x.html | 5 +- doc/html/man/form_field_validation.3x.html | 5 +- doc/html/man/form_fieldtype.3x.html | 5 +- doc/html/man/form_hook.3x.html | 5 +- doc/html/man/form_new.3x.html | 5 +- doc/html/man/form_new_page.3x.html | 5 +- doc/html/man/form_opts.3x.html | 5 +- doc/html/man/form_page.3x.html | 5 +- doc/html/man/form_post.3x.html | 5 +- doc/html/man/form_requestname.3x.html | 5 +- doc/html/man/form_userptr.3x.html | 5 +- doc/html/man/form_variables.3x.html | 5 +- doc/html/man/form_win.3x.html | 5 +- doc/html/man/index.html | 5 +- doc/html/man/infocmp.1m.html | 7 +- doc/html/man/infotocap.1m.html | 7 +- doc/html/man/key_defined.3x.html | 5 +- doc/html/man/keybound.3x.html | 5 +- doc/html/man/keyok.3x.html | 5 +- doc/html/man/legacy_coding.3x.html | 5 +- doc/html/man/menu.3x.html | 7 +- doc/html/man/menu_attributes.3x.html | 5 +- doc/html/man/menu_cursor.3x.html | 5 +- doc/html/man/menu_driver.3x.html | 5 +- doc/html/man/menu_format.3x.html | 5 +- doc/html/man/menu_hook.3x.html | 5 +- doc/html/man/menu_items.3x.html | 5 +- doc/html/man/menu_mark.3x.html | 5 +- doc/html/man/menu_new.3x.html | 5 +- doc/html/man/menu_opts.3x.html | 5 +- doc/html/man/menu_pattern.3x.html | 5 +- doc/html/man/menu_post.3x.html | 5 +- doc/html/man/menu_requestname.3x.html | 5 +- doc/html/man/menu_spacing.3x.html | 5 +- doc/html/man/menu_userptr.3x.html | 5 +- doc/html/man/menu_win.3x.html | 5 +- doc/html/man/mitem_current.3x.html | 5 +- doc/html/man/mitem_name.3x.html | 5 +- doc/html/man/mitem_new.3x.html | 5 +- doc/html/man/mitem_opts.3x.html | 5 +- doc/html/man/mitem_userptr.3x.html | 5 +- doc/html/man/mitem_value.3x.html | 5 +- doc/html/man/mitem_visible.3x.html | 5 +- doc/html/man/ncurses.3x.html | 7 +- doc/html/man/ncurses6-config.1.html | 7 +- doc/html/man/new_pair.3x.html | 5 +- doc/html/man/panel.3x.html | 253 +- doc/html/man/resizeterm.3x.html | 5 +- doc/html/man/scr_dump.5.html | 5 +- doc/html/man/tabs.1.html | 7 +- doc/html/man/term.5.html | 5 +- doc/html/man/term.7.html | 5 +- doc/html/man/term_variables.3x.html | 5 +- doc/html/man/terminfo.5.html | 12 +- doc/html/man/tic.1m.html | 7 +- doc/html/man/toe.1m.html | 7 +- doc/html/man/tput.1.html | 7 +- doc/html/man/tset.1.html | 7 +- doc/html/man/user_caps.5.html | 5 +- doc/html/man/wresize.3x.html | 5 +- doc/html/ncurses-intro.html | 5 +- form/Makefile.in | 5 +- form/READ.ME | 5 +- form/f_trace.c | 5 +- form/fld_arg.c | 5 +- form/fld_attr.c | 5 +- form/fld_current.c | 5 +- form/fld_def.c | 5 +- form/fld_dup.c | 5 +- form/fld_ftchoice.c | 5 +- form/fld_ftlink.c | 5 +- form/fld_info.c | 5 +- form/fld_just.c | 5 +- form/fld_link.c | 5 +- form/fld_max.c | 5 +- form/fld_move.c | 5 +- form/fld_newftyp.c | 5 +- form/fld_opts.c | 5 +- form/fld_pad.c | 5 +- form/fld_page.c | 5 +- form/fld_stat.c | 5 +- form/fld_type.c | 5 +- form/fld_user.c | 5 +- form/form.h | 5 +- form/form.priv.h | 5 +- form/frm_cursor.c | 5 +- form/frm_data.c | 5 +- form/frm_def.c | 5 +- form/frm_driver.c | 5 +- form/frm_hook.c | 5 +- form/frm_opts.c | 5 +- form/frm_page.c | 5 +- form/frm_post.c | 5 +- form/frm_req_name.c | 5 +- form/frm_scale.c | 5 +- form/frm_sub.c | 5 +- form/frm_user.c | 5 +- form/frm_win.c | 5 +- form/fty_alnum.c | 5 +- form/fty_alpha.c | 5 +- form/fty_enum.c | 5 +- form/fty_generic.c | 5 +- form/fty_int.c | 5 +- form/fty_ipv4.c | 5 +- form/fty_num.c | 5 +- form/fty_regex.c | 5 +- form/headers | 3 +- form/llib-lform | 3 +- form/llib-lformt | 3 +- form/llib-lformtw | 3 +- form/llib-lformw | 3 +- form/modules | 5 +- include/Caps | 5 +- include/Caps-ncurses | 4 +- include/Caps.aix4 | 5 +- include/Caps.hpux11 | 5 +- include/Caps.keys | 5 +- include/Caps.osf1r5 | 5 +- include/Caps.uwin | 5 +- include/MKhashsize.sh | 5 +- include/MKkey_defs.sh | 5 +- include/MKncurses_def.sh | 5 +- include/MKparametrized.sh | 5 +- include/MKterm.h.awk.in | 5 +- include/Makefile.in | 5 +- include/capdefaults.c | 5 +- include/curses.h.in | 13 +- include/edit_cfg.sh | 5 +- include/hashed_db.h | 5 +- include/headers | 5 +- include/nc_alloc.h | 7 +- include/nc_mingw.h | 5 +- include/nc_panel.h | 5 +- include/nc_string.h | 5 +- include/nc_termios.h | 5 +- include/nc_tparm.h | 5 +- include/ncurses_cfg.hin | 5 +- include/ncurses_defs | 5 +- include/ncurses_dll.h.in | 5 +- include/ncurses_mingw.h | 5 +- include/term_entry.h | 5 +- include/termcap.h.in | 5 +- include/tic.h | 5 +- include/unctrl.h.in | 5 +- man/MKada_config.in | 5 +- man/MKncu_config.in | 5 +- man/MKterminfo.sh | 5 +- man/Makefile.in | 5 +- man/captoinfo.1m | 5 +- man/clear.1 | 5 +- man/curs_add_wch.3x | 5 +- man/curs_add_wchstr.3x | 5 +- man/curs_addch.3x | 5 +- man/curs_addchstr.3x | 5 +- man/curs_addstr.3x | 5 +- man/curs_addwstr.3x | 5 +- man/curs_attr.3x | 5 +- man/curs_beep.3x | 5 +- man/curs_bkgd.3x | 5 +- man/curs_bkgrnd.3x | 5 +- man/curs_border.3x | 5 +- man/curs_border_set.3x | 5 +- man/curs_clear.3x | 5 +- man/curs_color.3x | 5 +- man/curs_delch.3x | 5 +- man/curs_deleteln.3x | 5 +- man/curs_extend.3x | 5 +- man/curs_get_wch.3x | 5 +- man/curs_get_wstr.3x | 5 +- man/curs_getcchar.3x | 5 +- man/curs_getch.3x | 5 +- man/curs_getstr.3x | 5 +- man/curs_getyx.3x | 5 +- man/curs_in_wch.3x | 5 +- man/curs_in_wchstr.3x | 5 +- man/curs_inch.3x | 5 +- man/curs_inchstr.3x | 5 +- man/curs_initscr.3x | 5 +- man/curs_inopts.3x | 5 +- man/curs_ins_wch.3x | 5 +- man/curs_ins_wstr.3x | 5 +- man/curs_insch.3x | 5 +- man/curs_insstr.3x | 5 +- man/curs_instr.3x | 5 +- man/curs_inwstr.3x | 5 +- man/curs_kernel.3x | 5 +- man/curs_legacy.3x | 5 +- man/curs_memleaks.3x | 5 +- man/curs_mouse.3x | 5 +- man/curs_move.3x | 5 +- man/curs_opaque.3x | 5 +- man/curs_outopts.3x | 5 +- man/curs_overlay.3x | 5 +- man/curs_pad.3x | 5 +- man/curs_print.3x | 5 +- man/curs_printw.3x | 5 +- man/curs_refresh.3x | 5 +- man/curs_scanw.3x | 5 +- man/curs_scr_dump.3x | 5 +- man/curs_scroll.3x | 5 +- man/curs_slk.3x | 5 +- man/curs_sp_funcs.3x | 5 +- man/curs_termattrs.3x | 5 +- man/curs_termcap.3x | 5 +- man/curs_terminfo.3x | 5 +- man/curs_threads.3x | 5 +- man/curs_touch.3x | 5 +- man/curs_trace.3x | 5 +- man/curs_util.3x | 5 +- man/curs_variables.3x | 5 +- man/curs_window.3x | 5 +- man/default_colors.3x | 5 +- man/define_key.3x | 5 +- man/form.3x | 5 +- man/form_cursor.3x | 5 +- man/form_data.3x | 5 +- man/form_driver.3x | 5 +- man/form_field.3x | 5 +- man/form_field_attributes.3x | 5 +- man/form_field_buffer.3x | 5 +- man/form_field_info.3x | 5 +- man/form_field_just.3x | 5 +- man/form_field_new.3x | 5 +- man/form_field_opts.3x | 5 +- man/form_field_userptr.3x | 5 +- man/form_field_validation.3x | 5 +- man/form_fieldtype.3x | 5 +- man/form_hook.3x | 5 +- man/form_new.3x | 5 +- man/form_new_page.3x | 5 +- man/form_opts.3x | 5 +- man/form_page.3x | 5 +- man/form_post.3x | 5 +- man/form_requestname.3x | 5 +- man/form_userptr.3x | 5 +- man/form_variables.3x | 5 +- man/form_win.3x | 5 +- man/infocmp.1m | 5 +- man/infotocap.1m | 5 +- man/key_defined.3x | 5 +- man/keybound.3x | 5 +- man/keyok.3x | 5 +- man/legacy_coding.3x | 5 +- man/make_sed.sh | 5 +- man/man_db.renames | 5 +- man/manhtml.aliases | 8 +- man/manhtml.externs | 5 +- man/manlinks.sed | 5 +- man/menu.3x | 5 +- man/menu_attributes.3x | 5 +- man/menu_cursor.3x | 5 +- man/menu_driver.3x | 5 +- man/menu_format.3x | 5 +- man/menu_hook.3x | 5 +- man/menu_items.3x | 5 +- man/menu_mark.3x | 5 +- man/menu_new.3x | 5 +- man/menu_opts.3x | 5 +- man/menu_pattern.3x | 5 +- man/menu_post.3x | 5 +- man/menu_requestname.3x | 5 +- man/menu_spacing.3x | 5 +- man/menu_userptr.3x | 5 +- man/menu_win.3x | 5 +- man/mitem_current.3x | 5 +- man/mitem_name.3x | 5 +- man/mitem_new.3x | 5 +- man/mitem_opts.3x | 5 +- man/mitem_userptr.3x | 5 +- man/mitem_value.3x | 5 +- man/mitem_visible.3x | 5 +- man/ncurses.3x | 5 +- man/new_pair.3x | 5 +- man/panel.3x | 240 +- man/resizeterm.3x | 5 +- man/scr_dump.5 | 5 +- man/tabs.1 | 5 +- man/term.5 | 5 +- man/term.7 | 5 +- man/term_variables.3x | 5 +- man/terminfo.head | 5 +- man/terminfo.tail | 5 +- man/tic.1m | 5 +- man/toe.1m | 5 +- man/tput.1 | 5 +- man/tset.1 | 5 +- man/user_caps.5 | 5 +- man/wresize.3x | 5 +- menu/Makefile.in | 5 +- menu/READ.ME | 5 +- menu/eti.h | 5 +- menu/headers | 3 +- menu/llib-lmenu | 3 +- menu/llib-lmenut | 3 +- menu/llib-lmenutw | 3 +- menu/llib-lmenuw | 3 +- menu/m_attribs.c | 5 +- menu/m_cursor.c | 5 +- menu/m_driver.c | 5 +- menu/m_format.c | 5 +- menu/m_global.c | 5 +- menu/m_hook.c | 5 +- menu/m_item_cur.c | 5 +- menu/m_item_nam.c | 5 +- menu/m_item_new.c | 5 +- menu/m_item_opt.c | 5 +- menu/m_item_top.c | 5 +- menu/m_item_use.c | 5 +- menu/m_item_val.c | 5 +- menu/m_item_vis.c | 5 +- menu/m_items.c | 5 +- menu/m_new.c | 5 +- menu/m_opts.c | 5 +- menu/m_pad.c | 5 +- menu/m_pattern.c | 5 +- menu/m_post.c | 5 +- menu/m_req_name.c | 5 +- menu/m_scale.c | 5 +- menu/m_spacing.c | 5 +- menu/m_sub.c | 5 +- menu/m_trace.c | 5 +- menu/m_userptr.c | 5 +- menu/m_win.c | 5 +- menu/menu.h | 5 +- menu/menu.priv.h | 5 +- menu/mf_common.h | 5 +- menu/modules | 5 +- misc/Makefile.in | 5 +- misc/chkdef.cmd | 5 +- misc/cleantic.cmd | 5 +- misc/cmpdef.cmd | 5 +- misc/csort | 5 +- misc/emx.src | 5 +- misc/gen-pkgconfig.in | 16 +- misc/gen_edit.sh | 5 +- misc/magic | 5 +- misc/makedef.cmd | 5 +- misc/makellib | 5 +- misc/ncurses-config.in | 5 +- misc/ncurses.supp | 5 +- misc/run_tic.in | 7 +- misc/shlib | 5 +- misc/tdlint | 5 +- mk-0th.awk | 5 +- mk-1st.awk | 5 +- mk-2nd.awk | 5 +- mk-hdr.awk | 5 +- ncurses/Makefile.in | 15 +- ncurses/README | 5 +- ncurses/README.IZ | 5 +- ncurses/SigAction.h | 5 +- ncurses/base/MKkeyname.awk | 5 +- ncurses/base/MKlib_gen.sh | 7 +- ncurses/base/MKunctrl.awk | 5 +- ncurses/base/README | 5 +- ncurses/base/define_key.c | 5 +- ncurses/base/key_defined.c | 5 +- ncurses/base/keybound.c | 5 +- ncurses/base/keyok.c | 5 +- ncurses/base/legacy_coding.c | 5 +- ncurses/base/lib_addch.c | 5 +- ncurses/base/lib_addstr.c | 5 +- ncurses/base/lib_beep.c | 5 +- ncurses/base/lib_bkgd.c | 5 +- ncurses/base/lib_box.c | 5 +- ncurses/base/lib_chgat.c | 5 +- ncurses/base/lib_clear.c | 5 +- ncurses/base/lib_clearok.c | 5 +- ncurses/base/lib_clrbot.c | 5 +- ncurses/base/lib_clreol.c | 5 +- ncurses/base/lib_color.c | 5 +- ncurses/base/lib_colorset.c | 5 +- ncurses/base/lib_delch.c | 5 +- ncurses/base/lib_delwin.c | 5 +- ncurses/base/lib_dft_fgbg.c | 5 +- ncurses/base/lib_driver.c | 5 +- ncurses/base/lib_echo.c | 5 +- ncurses/base/lib_endwin.c | 5 +- ncurses/base/lib_erase.c | 5 +- ncurses/base/lib_flash.c | 5 +- ncurses/base/lib_freeall.c | 5 +- ncurses/base/lib_getch.c | 5 +- ncurses/base/lib_getstr.c | 5 +- ncurses/base/lib_hline.c | 5 +- ncurses/base/lib_immedok.c | 5 +- ncurses/base/lib_inchstr.c | 5 +- ncurses/base/lib_initscr.c | 5 +- ncurses/base/lib_insch.c | 5 +- ncurses/base/lib_insdel.c | 5 +- ncurses/base/lib_insnstr.c | 5 +- ncurses/base/lib_instr.c | 5 +- ncurses/base/lib_isendwin.c | 5 +- ncurses/base/lib_leaveok.c | 5 +- ncurses/base/lib_mouse.c | 5 +- ncurses/base/lib_move.c | 5 +- ncurses/base/lib_mvwin.c | 5 +- ncurses/base/lib_newterm.c | 5 +- ncurses/base/lib_newwin.c | 5 +- ncurses/base/lib_nl.c | 5 +- ncurses/base/lib_overlay.c | 5 +- ncurses/base/lib_pad.c | 5 +- ncurses/base/lib_printw.c | 5 +- ncurses/base/lib_redrawln.c | 5 +- ncurses/base/lib_refresh.c | 5 +- ncurses/base/lib_restart.c | 5 +- ncurses/base/lib_scanw.c | 5 +- ncurses/base/lib_screen.c | 5 +- ncurses/base/lib_scroll.c | 5 +- ncurses/base/lib_scrollok.c | 5 +- ncurses/base/lib_scrreg.c | 5 +- ncurses/base/lib_set_term.c | 5 +- ncurses/base/lib_slk.c | 5 +- ncurses/base/lib_slkatr_set.c | 5 +- ncurses/base/lib_slkatrof.c | 5 +- ncurses/base/lib_slkatron.c | 5 +- ncurses/base/lib_slkatrset.c | 5 +- ncurses/base/lib_slkattr.c | 5 +- ncurses/base/lib_slkclear.c | 5 +- ncurses/base/lib_slkcolor.c | 5 +- ncurses/base/lib_slkinit.c | 5 +- ncurses/base/lib_slklab.c | 5 +- ncurses/base/lib_slkrefr.c | 5 +- ncurses/base/lib_slkset.c | 5 +- ncurses/base/lib_slktouch.c | 5 +- ncurses/base/lib_touch.c | 5 +- ncurses/base/lib_ungetch.c | 5 +- ncurses/base/lib_vline.c | 5 +- ncurses/base/lib_wattroff.c | 5 +- ncurses/base/lib_wattron.c | 5 +- ncurses/base/lib_winch.c | 5 +- ncurses/base/lib_window.c | 5 +- ncurses/base/nc_panel.c | 5 +- ncurses/base/new_pair.c | 5 +- ncurses/base/resizeterm.c | 5 +- ncurses/base/safe_sprintf.c | 5 +- ncurses/base/sigaction.c | 5 +- ncurses/base/tries.c | 5 +- ncurses/base/use_window.c | 5 +- ncurses/base/version.c | 5 +- ncurses/base/vsscanf.c | 5 +- ncurses/base/wresize.c | 5 +- ncurses/build.priv.h | 5 +- ncurses/curses.priv.h | 5 +- ncurses/fifo_defs.h | 5 +- ncurses/llib-lncurses | 3 +- ncurses/llib-lncursest | 3 +- ncurses/llib-lncursestw | 3 +- ncurses/llib-lncursesw | 3 +- ncurses/llib-ltic | 3 +- ncurses/llib-ltict | 3 +- ncurses/llib-ltictw | 3 +- ncurses/llib-lticw | 3 +- ncurses/llib-ltinfo | 3 +- ncurses/llib-ltinfot | 3 +- ncurses/llib-ltinfotw | 3 +- ncurses/llib-ltinfow | 3 +- ncurses/modules | 5 +- ncurses/new_pair.h | 5 +- ncurses/report_offsets.c | 5 +- ncurses/tinfo/MKcaptab.awk | 5 +- ncurses/tinfo/MKcaptab.sh | 43 +- ncurses/tinfo/MKcodes.awk | 5 +- ncurses/tinfo/MKfallback.sh | 7 +- ncurses/tinfo/MKkeys_list.sh | 5 +- ncurses/tinfo/MKnames.awk | 5 +- ncurses/tinfo/MKuserdefs.sh | 4 +- ncurses/tinfo/README | 5 +- ncurses/tinfo/access.c | 5 +- ncurses/tinfo/add_tries.c | 5 +- ncurses/tinfo/alloc_entry.c | 5 +- ncurses/tinfo/alloc_ttype.c | 7 +- ncurses/tinfo/captoinfo.c | 5 +- ncurses/tinfo/comp_error.c | 5 +- ncurses/tinfo/comp_expand.c | 5 +- ncurses/tinfo/comp_hash.c | 7 +- ncurses/tinfo/comp_parse.c | 5 +- ncurses/tinfo/comp_scan.c | 5 +- ncurses/tinfo/db_iterator.c | 5 +- ncurses/tinfo/doalloc.c | 5 +- ncurses/tinfo/entries.c | 5 +- ncurses/tinfo/free_ttype.c | 7 +- ncurses/tinfo/getenv_num.c | 5 +- ncurses/tinfo/hashed_db.c | 5 +- ncurses/tinfo/home_terminfo.c | 5 +- ncurses/tinfo/init_keytry.c | 5 +- ncurses/tinfo/lib_acs.c | 5 +- ncurses/tinfo/lib_baudrate.c | 5 +- ncurses/tinfo/lib_cur_term.c | 5 +- ncurses/tinfo/lib_data.c | 5 +- ncurses/tinfo/lib_has_cap.c | 5 +- ncurses/tinfo/lib_kernel.c | 5 +- ncurses/tinfo/lib_longname.c | 5 +- ncurses/tinfo/lib_napms.c | 5 +- ncurses/tinfo/lib_options.c | 5 +- ncurses/tinfo/lib_print.c | 5 +- ncurses/tinfo/lib_raw.c | 5 +- ncurses/tinfo/lib_setup.c | 5 +- ncurses/tinfo/lib_termcap.c | 5 +- ncurses/tinfo/lib_termname.c | 5 +- ncurses/tinfo/lib_tgoto.c | 5 +- ncurses/tinfo/lib_ti.c | 5 +- ncurses/tinfo/lib_tparm.c | 5 +- ncurses/tinfo/lib_tputs.c | 5 +- ncurses/tinfo/lib_ttyflags.c | 5 +- ncurses/tinfo/make_hash.c | 14 +- ncurses/tinfo/make_keys.c | 5 +- ncurses/tinfo/name_match.c | 5 +- ncurses/tinfo/obsolete.c | 5 +- ncurses/tinfo/parse_entry.c | 5 +- ncurses/tinfo/read_entry.c | 7 +- ncurses/tinfo/read_termcap.c | 5 +- ncurses/tinfo/strings.c | 5 +- ncurses/tinfo/tinfo_driver.c | 5 +- ncurses/tinfo/trim_sgr0.c | 5 +- ncurses/tinfo/use_screen.c | 5 +- ncurses/tinfo/write_entry.c | 5 +- ncurses/trace/README | 5 +- ncurses/trace/lib_trace.c | 5 +- ncurses/trace/lib_traceatr.c | 5 +- ncurses/trace/lib_tracebits.c | 5 +- ncurses/trace/lib_tracechr.c | 5 +- ncurses/trace/lib_tracedmp.c | 5 +- ncurses/trace/lib_tracemse.c | 5 +- ncurses/trace/trace_buf.c | 5 +- ncurses/trace/trace_tries.c | 5 +- ncurses/trace/trace_xnames.c | 5 +- ncurses/trace/varargs.c | 5 +- ncurses/trace/visbuf.c | 5 +- ncurses/tty/MKexpanded.sh | 5 +- ncurses/tty/hardscroll.c | 5 +- ncurses/tty/hashmap.c | 5 +- ncurses/tty/lib_mvcur.c | 5 +- ncurses/tty/lib_tstp.c | 5 +- ncurses/tty/lib_twait.c | 5 +- ncurses/tty/lib_vidattr.c | 10 +- ncurses/tty/tty_update.c | 5 +- ncurses/widechar/charable.c | 5 +- ncurses/widechar/lib_add_wch.c | 5 +- ncurses/widechar/lib_box_set.c | 5 +- ncurses/widechar/lib_cchar.c | 5 +- ncurses/widechar/lib_erasewchar.c | 5 +- ncurses/widechar/lib_get_wch.c | 5 +- ncurses/widechar/lib_get_wstr.c | 5 +- ncurses/widechar/lib_hline_set.c | 5 +- ncurses/widechar/lib_in_wch.c | 5 +- ncurses/widechar/lib_in_wchnstr.c | 5 +- ncurses/widechar/lib_ins_wch.c | 5 +- ncurses/widechar/lib_inwstr.c | 5 +- ncurses/widechar/lib_key_name.c | 5 +- ncurses/widechar/lib_pecho_wchar.c | 5 +- ncurses/widechar/lib_slk_wset.c | 5 +- ncurses/widechar/lib_unget_wch.c | 5 +- ncurses/widechar/lib_vid_attr.c | 5 +- ncurses/widechar/lib_vline_set.c | 5 +- ncurses/widechar/lib_wacs.c | 5 +- ncurses/widechar/lib_wunctrl.c | 5 +- ncurses/widechar/widechars.c | 5 +- ncurses/win32con/gettimeofday.c | 5 +- ncurses/win32con/wcwidth.c | 5 +- ncurses/win32con/win_driver.c | 5 +- package/debian-mingw/changelog | 4 +- package/debian-mingw64/changelog | 4 +- package/debian/changelog | 4 +- package/mingw-ncurses.nsi | 6 +- package/mingw-ncurses.spec | 4 +- package/ncurses.map | 6 +- package/ncurses.spec | 15 +- package/ncursest.map | 6 +- package/ncursest.spec | 15 +- package/ncursestw.map | 6 +- package/ncursesw.map | 6 +- panel/Makefile.in | 5 +- panel/headers | 3 +- panel/llib-lpanel | 3 +- panel/llib-lpanelt | 3 +- panel/llib-lpaneltw | 3 +- panel/llib-lpanelw | 3 +- panel/modules | 5 +- panel/p_above.c | 5 +- panel/p_below.c | 5 +- panel/p_bottom.c | 5 +- panel/p_delete.c | 5 +- panel/p_hidden.c | 5 +- panel/p_hide.c | 5 +- panel/p_move.c | 5 +- panel/p_new.c | 5 +- panel/p_replace.c | 5 +- panel/p_show.c | 5 +- panel/p_top.c | 5 +- panel/p_update.c | 5 +- panel/p_user.c | 5 +- panel/p_win.c | 5 +- panel/panel.c | 5 +- panel/panel.h | 5 +- panel/panel.priv.h | 5 +- progs/MKtermsort.sh | 5 +- progs/Makefile.in | 5 +- progs/capconvert | 5 +- progs/clear.c | 5 +- progs/clear.sh | 3 +- progs/clear_cmd.c | 5 +- progs/clear_cmd.h | 5 +- progs/dump_entry.c | 5 +- progs/dump_entry.h | 5 +- progs/infocmp.c | 5 +- progs/modules | 5 +- progs/progs.priv.h | 5 +- progs/reset_cmd.c | 5 +- progs/reset_cmd.h | 5 +- progs/tabs.c | 5 +- progs/tic.c | 5 +- progs/toe.c | 5 +- progs/tparm_type.c | 5 +- progs/tparm_type.h | 5 +- progs/tput.c | 5 +- progs/transform.c | 5 +- progs/tset.c | 5 +- progs/tty_settings.c | 5 +- progs/tty_settings.h | 5 +- test/Makefile.in | 5 +- test/README | 5 +- test/aclocal.m4 | 37 +- test/background.c | 5 +- test/blue.c | 5 +- test/bs.6 | 5 +- test/bs.c | 5 +- test/cardfile.c | 5 +- test/chgat.c | 5 +- test/clip_printw.c | 5 +- test/color_content.c | 4 +- test/color_name.h | 5 +- test/color_set.c | 5 +- test/configure | 279 +- test/configure.in | 5 +- test/demo_altkeys.c | 5 +- test/demo_defkey.c | 5 +- test/demo_forms.c | 5 +- test/demo_keyok.c | 5 +- test/demo_menus.c | 5 +- test/demo_new_pair.c | 5 +- test/demo_panels.c | 5 +- test/demo_tabs.c | 4 +- test/demo_termcap.c | 5 +- test/demo_terminfo.c | 5 +- test/ditto.c | 5 +- test/dots.c | 5 +- test/dots_curses.c | 5 +- test/dots_mvcur.c | 5 +- test/dots_termcap.c | 5 +- test/dots_xcurses.c | 5 +- test/dump_window.c | 4 +- test/dump_window.h | 4 +- test/echochar.c | 5 +- test/edit_field.c | 5 +- test/edit_field.h | 5 +- test/extended_color.c | 5 +- test/filter.c | 5 +- test/firework.c | 5 +- test/firstlast.c | 5 +- test/foldkeys.c | 5 +- test/form_driver_w.c | 5 +- test/gdc.6 | 5 +- test/gdc.c | 5 +- test/hanoi.c | 5 +- test/hashtest.c | 5 +- test/inch_wide.c | 5 +- test/inchs.c | 5 +- test/ins_wide.c | 5 +- test/insdelln.c | 5 +- test/inserts.c | 5 +- test/key_names.c | 5 +- test/keynames.c | 5 +- test/knight.c | 5 +- test/linedata.h | 5 +- test/linux-color.dat | 5 +- test/list_keys.c | 5 +- test/listused.sh | 5 +- test/lrtest.c | 5 +- test/make-tar.sh | 5 +- test/mk-test.awk | 5 +- test/modules | 5 +- test/movewindow.c | 5 +- test/ncurses.c | 5 +- test/ncurses_tst.hin | 5 +- test/padview.c | 5 +- test/pair_content.c | 4 +- test/parse_rgb.h | 4 +- test/picsmap.c | 5 +- test/picsmap.h | 5 +- test/popup_msg.c | 5 +- test/popup_msg.h | 5 +- test/programs | 5 +- test/railroad.c | 5 +- test/rain.c | 5 +- test/redraw.c | 5 +- test/savescreen.c | 5 +- test/savescreen.sh | 5 +- test/sp_tinfo.c | 5 +- test/test.priv.h | 5 +- test/test_add_wchstr.c | 5 +- test/test_addchstr.c | 5 +- test/test_addstr.c | 5 +- test/test_addwstr.c | 5 +- test/test_arrays.c | 5 +- test/test_get_wstr.c | 5 +- test/test_getstr.c | 5 +- test/test_instr.c | 5 +- test/test_inwstr.c | 5 +- test/test_opaque.c | 5 +- test/test_setupterm.c | 5 +- test/test_sgr.c | 5 +- test/test_termattrs.c | 5 +- test/test_vid_puts.c | 5 +- test/test_vidputs.c | 5 +- test/testaddch.c | 5 +- test/testscanw.c | 5 +- test/tput-colorcube | 5 +- test/tput-initc | 5 +- test/tracemunch | 5 +- test/view.c | 5 +- test/widechars.h | 3 +- test/worm.c | 5 +- test/xterm-16color.dat | 5 +- test/xterm-256color.dat | 5 +- test/xterm-88color.dat | 5 +- 1127 files changed, 15477 insertions(+), 15923 deletions(-) create mode 100644 Ada95/samples/split-path.awk diff --git a/ANNOUNCE b/ANNOUNCE index 8bda60e2f074..e0603d622394 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,4 +1,4 @@ - Announcing ncurses 6.1 + Announcing ncurses 6.2 Overview @@ -17,7 +17,7 @@ Overview * It is used in almost every system based on the Linux kernel (aside from some embedded applications). * It is used as the system curses library on OpenBSD, FreeBSD and - OSX. + MacOS. * It is used in environments such as Cygwin and MinGW. The first of these was EMX on OS/2 Warp. * It is used (though usually not as the system curses) on all of the @@ -26,611 +26,374 @@ Overview * It should work readily on any ANSI/POSIX-conforming unix. The distribution includes the library and support utilities, including - * [1]captoinfo, a termcap conversion tool - * [2]clear, utility for clearing the screen - * [3]infocmp, the terminfo decompiler - * [4]tabs, set tabs on a terminal - * [5]tic, the terminfo compiler - * [6]toe, list (table of) terminfo entries - * [7]tput, utility for retrieving terminal capabilities in shell + * captoinfo, a termcap conversion tool + * clear, utility for clearing the screen + * infocmp, the terminfo decompiler + * tabs, set tabs on a terminal + * tic, the terminfo compiler + * toe, list (table of) terminfo entries + * tput, utility for retrieving terminal capabilities in shell scripts - * [8]tset, to initialize the terminal + * tset, to initialize the terminal Full manual pages are provided for the library and tools. - The ncurses distribution is available at ncurses' [9]homepage: + The ncurses distribution is available at ncurses' homepage: - [10]ftp://ftp.invisible-island.net/ncurses/ or - [11]https://invisible-mirror.net/archives/ncurses/ . + ftp://ftp.invisible-island.net/ncurses/ or + https://invisible-mirror.net/archives/ncurses/ . It is also available via anonymous FTP at the GNU distribution site - [12]ftp://ftp.gnu.org/gnu/ncurses/ . + ftp://ftp.gnu.org/gnu/ncurses/ . Release Notes - These notes are for ncurses 6.1, released January 27, 2018. + These notes are for ncurses 6.2, released February 12, 2020. This release is designed to be source-compatible with ncurses 5.0 - through 6.0; providing extensions to the application binary interface + through 6.1; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the - ncurses 5 ABI, the intent of the release is to provide extensions to - the ncurses 6 ABI: - * improve integration of tput and tset - * provide support for extended numeric capabilities. + ncurses 5 ABI, the reason for the release is to reflect improvements + to the ncurses 6 ABI and the supporting utility programs. There are, of course, numerous other improvements, listed in this announcement. - The release notes also mention some bug-fixes, but are focused on new - features and improvements to existing features since ncurses 6.0 - release. + The most important bug-fixes/improvements dealt with user-defined + capabilities in terminal descriptions. The release notes also mention + some other bug-fixes, but are focused on new features and improvements + to existing features since ncurses 6.1 release. Library improvements New features - The improved integration of tput and tset made only small changes to - the libraries. However, supporting extended numeric capabilities - required a few changes: - * The TERMINAL structure in is now opaque. Doing that - allowed making the structure larger, to hold the extended numeric - data. - A few applications required changes during development of - ncurses 6.1 because those applications misused the members of that - structure, e.g., directly modifying it rather than using - [13]def_prog_mode. - * Having made TERMINAL opaque (and because none of the library - functions use anything except a pointer to TERMINAL), it was - possible to increase the size of the structure, adding to the end. - Existing applications which were linked to the ncurses 6.0 - high-level (ncurses, ncursesw) and low-level (tinfo, tinfo) - libraries should not require re-linking since the binary interface - did not change, nor did the structure offsets with TERMINAL - change. - A few applications use the inner TERMTYPE structure's offsets to - refer to terminfo capabilities within that structure. Again, those - do not require modification because their offsets within TERMINAL - did not change. - * When configured for wide-characters, i.e., "ncursesw" the TERMINAL - structure is extended. - The new data in TERMINAL holds the same information as TERMTYPE, - but with larger numbers ("int" versus "short"). It is named - TERMTYPE2. - The library uses this structure internally in preference to - TERMTYPE, referring to TERMTYPE only to initialize it for - applications that use the capabilities defined in - * When configured for 8-bit (narrow) characters, the TERMTYPE2 - structure is not used. - * The updated application binary interface is 6.1.20171230 (used for - new [14]versioned symbols), although the interface changes were - developed several months previously. - - The motivation for making this extension came from noticing that - [15]termcap applications could (though not [16]realistically) use - larger numbers than would fit in 16-bits, and the fact that the number - of color pairs for a 256-color xterm could not be expressed in - terminfo (i.e., 32767 versus 65536). Also, a few terminals support - direct-colors, which could use the extension. - - Generally speaking, applications that use internal details of a - library are unsupported. There was exactly one exception for ncurses: - the tack program used the internal details of TERMINAL, because it - provides an ncurses-specific feature for interactively modifying a - terminfo description and writing the updated description to a - text-file. It was possible to not only separate tack from these - [17]internal details of ncurses, but to generalize it so that the - program works with Unix curses (omitting the ncurses-specific - feature). That was released as [18]tack 1.08 in July 2017. - - While making changes to tack to eliminate its dependency upon ncurses - internals, the publicly-visible details of those internals were - reviewed, and some symbols were moved to private header files, while - others were marked explicitly as ncurses internals. Future releases of - ncurses may eliminate some of those symbols (such as those used by - tack 1.07) because they are neither part of the API or the ABI. - - Using the TERMTYPE2 extended numeric capabilities, it is possible to - support both color pair values and color values past 32767. Taking - compatibility into account, developers readily understand that neither - function signatures nor structure offsets change. Also, existing - functions have to operate with the extended numbers. Most of that work - is internal to the library. For the external interfaces, a hybrid - approach was used: - * X/Open Curses defined function prototypes such as wattr_set with - an unused parameter, for "future" use. After 25 years, the future - is here: ncurses uses the parameter to augment color pair values - as described in the [19]manual page. - * Other functions such as those defining color pairs did not have a - corresponding reserved parameter. For those, ncurses defines - extended versions such as init_extended_pair (versus init_pair), - init_extended_color (versus init_color). + There are several new features: + * O_EDGE_INSERT_STAY tells the form library to optionally delay + cursor movement on a field edge/boundary + * O_INPUT_FIELD extension to form library allows a dynamic field to + shrink if the new limit is smaller than the current field size. + * added exit_curses and exit_terminfo to replace internal symbols + for leak-checking. + * added curses_trace, to replace trace(). Additionally, to improve performance other changes (and extensions) are provided in this release: - * Several new functions simplify management of large sets of color - pairs: reset_color_pairs, alloc_pair, find_pair and free_pair. - * New "RGB" extension capability for direct-color support is used to - improve performance of color_content. - * The internal colorpair_t is now a struct, eliminating an internal - 8-bit limit on colors - * Allocation for SCREEN's color-pair table starts small, grows on - demand up to the limit given in the terminal description. - * setcchar and getcchar now treat a negative color-pair as an error. + * mouse decoding now handles shift/control/alt logic when decoding + xterm's 1006 mode + * ncurses now defines a limit for wgetnstr, wgetn_wstr when length + is negative or "too large". + * reordered loop-limit checks in winsnstr in case the string has no + terminating null and only the number of characters is used. + * there is now no buffer-size limit when reading the $TERMCAP + variable. + * the $TERMCAP variable may be interpreted as a fallback to a + terminfo entry + * mvcur now decides whether to use hard-tabs, using xt, tbc and hts + as clues. + * extended colors are improved by modifying an internal call to + vid_puts to pass extended color pairs e.g., from tty_update.c and + lib_mvcur.c + * the initialization functions now avoid relying upon persistent + data for the result from getenv + * scrolling is improved: + + a limit check in newline_forces_scroll handles the case where + the row is inside scroll-margins, but not at the end. + + improved loop limits in _nc_scroll_window handle a case where + the scrolled data is a pad which is taller than the window. Other improvements - These are new or revised features: - * modify c++/etip.h.in to accommodate deprecation of throw and - throws in c++17 - * add new function unfocus_current_field - * add option to preserve leading whitespace in form fields - * add a macro for is_linetouched and adjust the function's return - value to make it possible for most applications to check for an - error-return. - * add build-time utility report_offsets to help show when the - various configurations of tinfo library are compatible or not. + These are revised features: + * used "const" in some prototypes rather than NCURSES_CONST where + X/Open Curses was updated to do this, e.g., wscanw, newterm, the + terminfo interface. Also use "const" for consistency in the + termcap interface, which was withdrawn by X/Open Curses in Issue 5 + (2007). As of Issue 7, X/Open Curses still lacks "const" for + certain return values, e.g., keyname. + * modified wbkgd and wbkgrnd to improve compatibility with SVr4 + curses, changing the way the window rendition is updated when the + background character is modified + * improved terminfo write/read by modifying the fourth item of the + extended header to denote the number of valid strings in the + extended string table (see term(5)). + * modified the initialization checks for mouse so that the + xterm+sm+1006 block will work with terminal descriptions not + mentioning xterm. These were done to limit or ultimately deprecate features: - * drop two symbols obsoleted in 2004: _nc_check_termtype, and - _nc_resolve_uses - * move _nc_tracebits, _tracedump and _tracemouse to curses.priv.h, - since they are not part of the suggested ABI6. - * mark some structs in form/menu/panel libraries as potentially - opaque without modifying API/ABI. - * ifdef'd header-file definition of mouse_trafo with - NCURSES_NOMACROS - * remove initialization-check for calling napms in the term-driver - configuration; none is needed. - * modify trace to avoid overwriting existing file + * deprecated safe-sprintf, since the vsnprintf function, which does + what was needed, was standardized long ago. + * marked vwprintw and vwscanw as deprecated; recommend using + vw_printw and vw_scanw, respectively. + * added deprecation warnings for internal functions called by older + versions of tack. + * removed unused _nc_import_termtype2 function. These are improvements to existing features: - * modify make_hash to allow building with address-sanitizer, - assuming that --disable-leaks is configured. - * move SCREEN field for use_tioctl data before the ncursesw fields, - and limit that to the sp-funcs configuration to improve termlib - compatibility - * modify db-iterator: - + ignore zero-length files in db-iterator; these are useful for - instance to suppress $HOME/.terminfo when not wanted. - + modify update_getenv to ensure that environment variables - which are not initially set will be checked later if an - application happens to set them - * modify _nc_outc_wrapper to use the standard output if the screen - was not initialized, rather than returning an error. - * improve checks for low-level terminfo functions when the terminal - has not been initialized. - * modify set_curterm to update ttytype[] data used by longname/p> - * modify _nc_get_screensize to allow for use_env and use_tioctl - state to be per-screen when sp-funcs are configured, better - matching the behavior when using the term-driver configuration. - * remove an early-return from _nc_do_color, which can interfere with - data needed by bkgd when ncurses is configured with extended - colors - * incorporate A_COLOR mask into COLOR_PAIR, in case user application - provides an out-of-range pair number - * modify logic for endwin-state to be able to detect the case where - the screen was never initialized, using that to trigger a flush of - ncurses' buffer for mvcur, e.g., in the sample program dots_mvcur - for the term-driver configuration. + * check parameter of set_escdelay, return ERR if negative. + * check parameter of set_tabsize, return ERR if not greater than + zero + * correct a status-check in _nc_read_tic_entry() so that if reading + a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to + the compiled-in search list. + * amend check for repeat_char to handle a case where setlocale() was + called after initscr + * move macro for is_linetouched inside NCURSES_NOMACROS ifndef. + * use _nc_copy_termtype2 rather than direct assignment in setupterm, + in case it is called repeatedly using fallback terminfo + descriptions + * improve workaround for Solaris wcwidth versus line-drawing + characters + * add checks in repair_subwindows to keep the current position and + scroll-margins inside the resized subwindow. + * correct a buffer-limit in write_entry.c for systems that use + caseless filenames. + * improved build-time utility report_offsets: + + add categories, e.g., "w" for wide-character, "t" for threads + to make the report more readable. Reorganized the structures + reported to make the categories more apparent. + + add NCURSES_GLOBALS and NCURSES_PRESCREEN to report to show + how similar the different libtinfo configurations are. + * modified some header files to ensure that those include necessary + files except for the previously-documented cases + * added some traces in initialization to show whether a fallback + entry is used. + * made minor optimization to reduce calls to _nc_reserve_pairs These are corrections to existing features: - * fixes for writing extended color pairs in putwin. - * modify no-leaks code for lib_cur_term.c to account for the tgetent - cache. - * amend handling of the repeat_char capability in EmitRange to avoid - scope creep: translate the character to the alternate character - set when the alternate character set is enabled, and do not use - repeat_char for characters past 255. - * improve wide-character implementation of myADDNSTR in - frm_driver.c, which was inconsistent with the normal - implementation. - * modify winnstr and winchnstr to return error if the output pointer - is null, as well as adding a null pointer check of the window - pointer for better compatibility with other implementations. - * modify setupterm to save original tty-modes so that erasechar - works as expected. Also modify _nc_setupscreen to avoid redundant - calls to get original tty-modes. - * modify wattr_set and wattr_get to return ERR if win-parameter is - null, as documented. - * correct order of initialization for traces in use_env and - use_tioctl versus first _tracef calls. - * correct parameters for copywin call in _nc_Synchronize_Attributes - * flush the standard output in _nc_flush for the case where SP is - zero, e.g., when called via putp. This fixes a scenario where - "tput flash" did not work after changes in 20130112. - * amend internal use of tputs to consistently use the number of - lines affected, e.g., for insert/delete character operations. - While merging terminfo source early in 1995, several descriptions - used the "*" proportional delay for these operations, prompting a - change in doupdate. - * correct return-value of extended putwin. - * double-width multibyte characters were not counted properly in - winsnstr and wins_nwstr. - * amend fix for _nc_ripoffline from 20091031 to make test/ditto.c - work in threaded configuration. - * modify _nc_viscbuf2 and _tracecchar_t2 to trace wide-characters as - a whole rather than their multibyte equivalents. - * minor fix in wadd_wchnstr to ensure that each cell has nonzero - width. - * move PUTC_INIT calls next to wcrtomb calls, to avoid carry-over of - error status when processing Unicode values which are not mapped. - * add missing assignment in lib_getch.c to make notimeout work + * fix a special case in PutAttrChar where a cell is marked as + alternate-character set, but the terminal does not actually + support the given graphic character. This would happen in an older + terminal such as vt52, which lacks most line-drawing capability. + * corrected flag for "seq" method of db 1.8.5 interface, needed by + toe on some of the BSDs. + * modify comparison in make_hash.c to correct a special case in + collision handling for Caps-hpux11 + * add extended_slk_color{,_sp} symbols to the appropriate + package/*.{map,sym} files + * modify lib_setup to avoid calling pthread_self() without first + verifying that the address is valid, i.e., for weak symbols + * add a couple of broken-linker symbols to the list of versioned + symbols to help with link-time optimization versus weak symbols. Program improvements - While reviewing user feedback, it became apparent that the differences - between [20]reset (an alias for tset) and "tput reset" were confusing: - * one ([21]tset) updated the terminal modes, but used only part of - the terminfo capabilities for initialization, while - * the other ([22]tput) used all of the terminal capabilities while - neglecting the terminal modes. + Several improvements were made to the utility programs: - On further investigation, it turned out that the differences were - largely an accident due to the way those programs had evolved. + clear - This release eliminates the unnecessary differences, using the same - approach for tput's init (initialization), reset and clear operations - as the separate [23]reset and [24]clear programs. Doing this does not - change the command-line options; existing scripts are unaffected. + + improved logic for clearing with the E3 extension, in case + the terminal scrolls content onto its saved-lines before + actually clearing the display, by clearing the saved-lines + after clearing the display - These are the user-visible changes for the three programs (tput, tset - and clear): - * add the terminal-mode parts of "reset" (aka tset) to the "tput - reset" command, making the two almost the same except for - window-size. - * improve tput's check for being called as "init" or "reset" to - allow for transformed names. - * add "clear" as a possible link/alias to tput. - * amend changes for tput to reset tty modes to "sane" if the program - is run as "reset", like tset. Likewise, ensure that tset sends - either reset- or init-strings. - * add -x option to clear/tput to make the E3 extension optional - * add functionality of "tset -w" to tput, like the "-c" feature this - is not optional in tput. - * add options -T and -V to clear command for compatibility with - tput. - * drop long-obsolete "-n" option from tset. - * modify tset's assignment to TERM in its output to reflect the name - by which the terminal description is found, rather than the - primary name. That was an unnecessary part from the initial - conversion of tset from termcap to terminfo. The termcap library - in 4.3BSD did this to avoid using the short 2-character name - * remove a restriction in tput's support for termcap names which - omitted capabilities normally not shown in termcap translations - * add usage message to clear command - * improve usage messages for tset and tput. + infocmp - Other user-visible improvements and new features include: - * modify tic/infocmp display of numeric values to use hexadecimal - when they are "close" to a power of two, making the result more - readable. - * add "-W" option to tic/infocmp to force long strings to wrap. - + This is in addition to the "-w" option which attempts to fit - capabilities into a given line-length. - + If "-f" option splits line, do not further split it with - "-W". - + Begin a new line when adding "use=" after a wrapped line. - * add "-q" option to infocmp to suppress the "Reconstructed from" - comment from the header, and a corresponding option to tic to - suppress all comments from the "tic -I" output. - * Sorted options in usage message for infocmp, to make it simpler to - see unused letters. - * Updated usage message for tic, adding "-0" option. - * add infocmp/tic "-Q" option, which allows one to dump the compiled - form of the terminal entry, in hexadecimal or base64: - + A "b64:" prefix in the TERMINFO variable tells the terminfo - reader to use base64 according to RFC-3548 as well as - RFC-4648 url/filename-safe format. - + A "hex:" prefix tells the terminfo reader to accept - hexadecimal data as generated by "infocmp -0qQ1". + + omit filtering of "OTxx" names which are used for obsolete + capabilities, when the output is sorted by long-names. This + change helps when making a table of the short/long capability + names. - Other less-visible improvements and new features include: - * modify utility headers such as tic.h to make it clearer which are - externals that are used by tack. - * add "reset" to list of programs whose names might change in - manpages due to program-transformation configure options. - * modify "-T" option of clear and tput to call use_tioctl to obtain - the operating system's notion of the screensize if possible. - * add check in tput for init/reset operands to ensure those use a - terminal. - * modify programs clear, tabs, tput and tset to pass the actual tty - file descriptor to setupterm rather than the standard output or - error, making padding work. - * change tset's initialization to allow it to get settings from the - standard input as well as /dev/tty, to be more effective when - output or error are redirected. - * amend check in tput, tabs and clear to allow those to use the - database-only features in cron if a "-T" option gives a suitable - terminal name. - * improve error message from tset/reset when both stderr/stdout are - redirected to a file or pipe. + tic - Several of the less apparent features deal with translation of - terminfo to termcap (and the reverse), with corresponding checks by - tic: - * modify check in fmt_entry to handle a cancelled reset string. Make - similar fixes in other parts of dump_entry.c and tput.c - * correct read of terminfo entry in which all strings are absent or - explicitly cancelled. Before this fix, the result was that all - were treated as only absent. - * modify infocmp to suppress mixture of absent/cancelled - capabilities that would only show as "NULL, NULL", unless the "-q" - option is used, e.g., to show "-, @" or "@, -". - * correct a warning from tic about keys which are the same, to skip - over missing/cancelled values. - * add check in tic for use of bold, etc., video attributes in the - color capabilities, accounting whether the feature is listed in - ncv. - * add check in tic for unnecessary use of "2" to denote a shifted - special key. - * improve check in tic for delays by also warning about beep/flash - when a delay is not embedded, or if those use the VT100 reverse - video escape without using a delay. - * improve checks in trim_sgr0, comp_parse.c and parse_entry.c, for - cancelled string capabilities. - * add check in tic for some syntax errors of delays, as well as use - of proportional delays for non-line capabilities. - * add check in tic for conflict between ritm, rmso, rmul versus - sgr0. - * add check in _nc_parse_entry for invalid entry name, setting the - name to "invalid" to avoid problems storing entries. - * improve _nc_tparm_analyze, using that to extend the checks made by - tic for reporting inconsistencies between the expected number of - parameters for a capability and the actual. - * remove tic warning about "^?" in string capabilities, which was - marked as an extension; however all Unix implementations support - this and X/Open Curses does not address it. On the other hand, - [25]BSD termcap did not support this feature (until the - [26]mid-1990s). - in _nc_infotocap, added a check to ensure that terminfo "^?" is - not written to termcap. - * modify sscanf calls in _nc_infotocap for patterns "%{number}%+%c" - and "%'char'%+%c" to check that the final character is really "c", - avoiding a case in icl6404 which cannot be converted to termcap. - * in _nc_tic_expand and _nc_infotocap, improved string-length check - when deciding whether to use "^X" or "\xxx" format for control - characters, to make the output of tic/infocmp more predictable. - * limited termcap "%d" width to 2 digits on input, and use "%2" in - preference to "%02" on output. - * correct terminfo/termcap conversion of "%02" and "%03" into "%2" - and "%3"; the result repeated the last character. + + added check for consistent alternate character set + capabilities. + + added check for paired indn/rin. + + added check for terminals with parm_dch vs parm_ich. + + added check for the case where setf/setb are given using + different strings, but provide identical results to + setaf/setab. + + corrected check for ich1. + + changed a too-large terminal entry from a fatal error to a + warning. + + toe + + + ignores any hex/b64 $TERMINFO value in the list of terminfo + databases. + + tset + + + replace check in reset command for obsolete "pt" capability + using tbc and hts capabilities as clues + + modify reset to allow for tabstops at intervals other than 8. + + change reset's behavior for margins to simply clear + soft-margins if possible, rather than clearing and then + setting them according to the terminal's width. + + tput + + + add "x" to getopt string so that "tput -x clear" works. + + Several changes were made to the generated ncurses*config scripts and + the analogous ".pc" files to reduce differences between the + configurations they report: + * modified the ncurse*-config and pc-files to more closely match for + the -I and -l options. + * filtered out linker-specs from the --libs report. + * amended the ncurses*-config and pc-files to take into account the + rpath hack which differed between those files. + * modified generated ncurses*config and ncurses.pc, ncursesw.pc, + etc., to list helper libraries such as gpm for static linking. Examples - Along with the library and utilities, many improvements were made to - the [27]ncurses-examples. + Along with the library and utilities, improvements were made to the + ncurses-examples. Most of this activity aimed at improving the + test-packages. A few changes are more generally useful, e.g., for the + main ncurses test-program, and for analyzing traces using the + tracemunch script: + * improve recovery from error when reading command-character in + test/ncurses.c, showing the relevant error message and not exiting + on EINTR. + * improve tracemunch, by keeping track of TERMINAL* values, and if + tracing was first turned on after initialization, attempt to show + distinct screen, window and terminal names anyway. + * modify tracemunch to accept filename parameters in addition to use + as a pipe/filter. + * update tracemunch to work with perl 5.26.2, which changed the + rules for escaping regular expressions. + * add some checks in tracemunch for undefined variables. + * modify TurnOn/TurnOff macros (in lib_vidattr.c and lib_vid_attr.c) + to avoid expansion of "CUR" in trace. - These changes were made to demonstrate new extensions in ncurses: - * add demo_new_pair program, to demonstrate [28]alloc_pair, - [29]find_pair and [30]free_pair functions. - This program iterates over the possible color combinations, - allocating or initializing color pairs. For best results, choose - screen-width dividing evenly into the number of colors. e.g., + There are other new demo/test programs and reusable examples: - 32x64,32x128 256 colors - 24x44,24x88 88 colors - 32x64,24x128 16 colors + color_content + Demonstrate the color_content and extended_color_content + functions. - * add extended_color program, like the older color_set program, but - using the extended color functions, with and without the - SP-functions interface. - * add picsmap program to fill in some testing issues not met by - dots, using this as the third example in a comparison of the - [31]ncurses versus slang libraries. - The program can directly read X bitmap and pixmap files, - displaying a picture. It can read other image files using - ImageMagick's convert program to translate the image into text. - For 16-, 88- and 256-color terminal descriptions, picsmap can load - a palette file which tells it which color palette entries to use. - For direct-colors, the terminal descriptions use the RGB extension - capability. + demo_tabs + A simple demo of tabs in curses. - There are other new example programs and a few scripts: - * add dots_xcurses program to illustrate a different approach used - for extended colors which can be contrasted with dots_curses. - * add list_keys program show function keys for one or more terminal - descriptions. It uses ncurses's convention of modifiers for - special keys, based on xterm. - * add padview program, to compare pads with direct updates in the - view program. - * add sp_tinfo program to exercise the SP-functions extension of the - low-level terminfo library. - * add test-programs for termattrs and term_attrs functions. - * add test_sgr program to exercise all combinations of the sgr - capability. - * add tput-colorcube demo script, imitating xterm's 88- and - 256-color scripts using tput. - * add tput-initc script to demonstrate how tput may be used to - initialize a color palette from a data file. + dump_window + A portable curses screen-dump, used to compare ncurses screen + contents with Solaris. + + pair_content + Demonstrate the pair_content and extended_pair_content + functions. + + report_hashing + Check hash-tables used for terminfo and termcap names. + + parse_rgb + Sample implementation of the ncurses RGB extension from + user_caps.5, used in picsmap and savescreen programs. A variety of improvements were made to existing programs, both new features as well as options added to make the set of programs more consistent. - - The ncurses program is the largest; a proportionately large number of - changes were made to it: - * modify a/A screens to make exiting on an escape character depend - on the start of keypad and timeout modes, to allow better testing - of function-keys. - add "t" toggle for notimeout function. - * modify layout of b/B screens to allow for additional annotation on - the right margin; some terminals with partial support did not - display well. - * modify c/C screens to allow for extended color pairs. - add z/Z zoom feature to make extended color pairs easier to test. - modify test-screens to take advantage of wide screens, reducing - the number of lines used for 88- and 256-colors. - * modify "d" edit-color screen to optionally read xterm color - palette directly from terminal, as well as handling KEY_RESIZE and - screen-repainting with control/L and control/R. - * add examples to "F" screen for WACS_D_PLUS and WACS_T_PLUS. - * improve "g" screen, correcting ifdef which made the legend not - reflect changes to keypad- and scroll-modes. Added check for - return-value of putwin. - * make "s" test easier to understand which subtests are available - add a corresponding "S" wide-character overlap test-screen. - * add "v" screen to show baudrate and other values. - - These changes were made to the other examples: - * modify blue program to use Unicode values for card-glyphs when - available, as well as improving the check for CP437 and CP850. - * improve demo_menus program, allowing mouse-click on the - menu-headers to switch the active menu. This requires a new - extension option O_MOUSE_MENU to tell the menu driver to put mouse - events which do not apply to the active menu back into the queue - so that the application can handle the event. - * correct logic in demo_terminfo program for "-f" option - * modify ditto program to allow $XTERM_PROG environment variable to - override "xterm" as the name of the program to run in the threaded - configuration. - * add several options to the "dots" test-programs. - * modify filter program: - + illustrate an alternative to getnstr, that polls for input - while updating a clock on the right margin as well as - responding to window size-changes. - + adapt logic used in [32]dialog [33]"--keep-tite" option for - filter program as the "-a" option. When set, filter attempts - to suppress the alternate screen. - * modify knight program to provide the "slow" solution for small - screens using "R", noting that Warnsdorf's method is easily done - with "a". - * modify the savescreen program to add test patterns that exercise - 88-, 256-, etc., colors. - * add options to test_arrays, for selecting termcap vs terminfo, - etc. - * modify the view program: - + expand tabs using the ncurses library rather than in the - test-program. - + eliminate the "-n" option by simply reading the whole file. - + implement page up/down commands. - + remove the very old SIGWINCH example; just use KEY_RESIZE. - * improve animation in xmas program by adding a time-delay in - blinkit. - * modify several test-programs which call use_default_colors to - consistently do this only if the "-d" option is given. - * modify the install-rule for ncurses-examples to put the data files - in the data directory, e.g., /usr/share/ncurses-examples. - * modify several test programs to use new popup_msgs function, - adapted from the help-screen used in the edit_field program. - * modify test data for xterm palettes to use the newer - color4/color12 values. - * improve the tracemunch script: - + show screenXX pointers and thread identifiers as names. - + chang address-parameters of add_wch, color_content and - pair_content to dummy parameters. + * add "-l" option to test/background, to dump screen contents in a + form that lets different curses implementations be compared. + * add "@" command to test/ncurses F-test, to allow rapid jump to + different character pages. + * added enum, regex examples to test/demo_forms + * amend Scaled256() macro in test/picsmap.c to cover the full range + 0..1000 + * corrected pathname used in Ada95 sample programs for explain.txt, + to work with test-packages, and used an awk script to split the + resulting pathname when it would be too long for a single line. + * ignore interrupted system-call in test/ncurses's command-line, + e.g., if the terminal were resized. + * improved ifdef's for TABSIZE variable, to help with AIX/HPUX + ports. Terminal database There are several new terminal descriptions: - dumb-emacs-ansi, dvtm, dvtm-256color, fbterm, iterm2, linux-m1 - minitel entries, putty-noapp, viewdata, and vt100+4bsd - building-block. - - xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title - building blocks and xterm+direct, xterm+indirect, xterm-direct. - from [34]xterm patch #331. - - several other "-direct" descriptions to address the differences of - other terminal emulators versus xterm-direct. + alacritty, domterm, kitty, mintty, mintty-direct, ms-terminal, + n7900, nsterm-build309, nsterm-direct, screen5, ti703, ti707, + ti703-w, ti707-w vscode, vscode-direct, xterm-mono, xterm.js There are many changes to existing terminal descriptions. Some were updates to several descriptions: - * use xterm+sm+1006 in several terminal descriptions which were - validated as supporting the extended mouse feature for their - respective terminal emulators. - * corrected sgr/sgr0 strings in a few cases reported by tic, making - those correspond to the non-sgr settings where they differ, but - otherwise use ECMA-48 consistently. - * add 0.1sec mandatory delay to flash capabilities using the VT100 - reverse-video control + * use ansi+rep in a dozen places + * add rs1 to konsole, mlterm + * improve several flash capabilities with trailing mandatory delays + * drop ich1 from rxvt-basic, Eterm and mlterm to improve + compatibility with old non-curses programs + * add/use xterm+keypad in xterm-new + * use xterm+sl-twm for consistency, nine places + * improve xm example in xterm+x11mouse and xterm+sm_1006. while others affected specific descriptions. These were retested, to - take into account new/undocumented changes by their developers: + take into account changes by their developers: - iterm, minitel, st, viewdata, nsterm + terminator, st - while these are specific fixes based on user reports, or warnings from - tic: + while these are specific fixes based on reviewing documentation, user + reports, or warnings from tic: - [35]ansi building blocks + adds200: - + restored rmir/smir in ansi+idc to better match original - ansiterm+idc, add alias ansiterm + + fix typo - [36]icl6402 + gnome-256color - + corrected missing comma-separator between string capabilities - in icl6402 and m2-nam + + base entry on "gnome", not "vte", for consistency - [37]interix + interix - + updated using tack and SFU with Windows 7 Ultimate. - + used ^? for kdch1 + + trim unnecessary setf/setb - [38]linux + linux-16color - + made linux3.0 entry the default linux entry - + modify linux2.6 entry to improve line-drawing so that the - linux3.0 entry can be used in non-UTF-8 mode - + omitted selection of ISO-8859-1 for G0 in enacs capability - from linux2.6 entry, to avoid conflict with the user-defined - mapping. The reset feature uses ISO-8859-1 in any case. - + modify flash capability for linux and wyse entries to put the - delay between the reverse/normal escapes rather than after - + modify linux-16color to not mask dim, standout or reverse - with the ncv capability + + accommodate Linux console driver incompatibility introduced + in early 2018 - [39]pccon entries + nsterm-256color: - + fixed some inconsistencies in the pccon* entries - + add bold to pccon+sgr+acs and pccon-base - + add keys f12-f124 to pccon+keys + + add nsterm-build309 to replace nsterm-256color, assigning the + latter as an alias of nsterm, to make mouse work with + nsterm-256color - [40]tmux + regent40: - + corrected sgr string, which used screen's "standout" code - rather than the standard code. - + add settings corresponding to xterm-keys option to reflect - upcoming change to make that option "on" by default - + uncanceled Ms + + renumber function-keys to match manual - [41]vt100 + regent60: - + modify vt100 rs2 string to reset vt52 mode and scrolling - regions - + corrected rs2 string for vt100-nam - + made minor fixes for vt100+4bsd, e.g., delay in sgr for - consistency + + add cd (clr_eos) + + corrected acsc + + add shifted function-keys - [42]vte + tvi950: - + moved SGR 24 and 27 from vte-2014 to vte-2012 - + add a few capabilities fixed in recent VTE development + + added function-key definitions to agree with Televideo 950 + manual + + corrected acsc + + remove bogus kf0 + + add bel - [43]xterm + tvi955: - + add rep to xterm-new, available since [44]late 1996. - + modify xterm+256color and xterm+256setaf to use correct - number of color pairs. - + modify rs1 for xterm-16color, xterm-88color and - xterm-256color to reset palette using oc string as in linux - entry. - + add rs1 capability to xterm-256color - + add oc capability to xterm+256color, allowing palette reset - for xterm - + add op to xterm+256setaf - + modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs - to match [45]xterm #272, reflecting packager's changes - + used ANSI reply for u8 in xterm-new, to reflect vt220-style - responses that could be returned. - + made xterm-pcolor sgr consistent with other capabilities + + fix typo + + vi200: + + + add acsc string, including right/down-arrow + + wy50: + + + corrected acsc + + wy50 and wy60: + + + add shifted function-keys as kF1 to kF16 + + xterm+x11hilite: + + + eliminate unused p5 parameter. A few entries use extensions (user-defined terminal capabilities): - * add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic - * used RGB capability in new *-direct entries to denote direct-color - feature. + * use xterm+sm+1006 (aka "SGR 1006 mouse") for konsole-base and + putty + * add Smol/Rmol user-defined capability to tmux and vte-2018 + * add Smulx user-defined capability to tmux, vte-2018 Documentation @@ -639,273 +402,279 @@ Release Notes * attempts to improve the description of features which users have found confusing * fills in overlooked descriptions of features which were described - in the [46]NEWS file but treated sketchily in manual pages. - - In particular, - * Since the underlying features for [47]tset, [48]tput, and - [49]clear have been better integrated, the documentation now - includes information on how those tools evolved. - In addition to explaining the improved integration of the tools, - the manual pages made it easier to see how the tools are similar - and how they are different. - * The addch manual page has additional information on - [50]portability and differences from other implementations. - * The discussion of color-pairs in the attributes manual page is - improved in its [51]history section. - * The documentation of the chtype, cchar_t types and the attribute - values which can be stored in those types, in particular the - [52]history and [53]portability sections of the attributes manual - page, has been improved. - * improve discussion of [54]portability in the mouse manual. - * The pad manual page has a section on the [55]origin and - portability of pads. - * Differences between SVr4 and X/Open Curses soft-keys are discussed - in a new section on [56]portability. - * There are updated/improved notes on portability in the - [57]resizeterm and [58]wresize manual pages. + in the NEWS file but treated sketchily in manual pages. In addition to providing background information to explain these features and show how they evolved, there are corrections, clarifications, etc.: - * add note in the [59]addch manual about line-drawing when it - depends upon UTF-8. - * improve discussion of line-drawing characters in the [60]add_wch - manual. - * explain in [61]clear's manual page that it writes to the standard - output. - * improve description of [62]endwin. - * improve discussion of field validation in the [63]form driver - manual page. - * clarify the use of wint_t vs wchar_t in [64]get_wstr manual page. - * clarify in the [65]getch manual that the keypad mode affects an - application's ability to read KEY_MOUSE codes, but does not affect - KEY_RESIZE. - trim some obsolete/incorrect wording about EINTR from the getch - manual page - improve manual pages for [66]getch and [67]get_wch to point out - that they might return user-defined values which have no - predefined names in - * improve description of the -R option in the [68]infocmp manual - page - * clarify in the [69]resizeterm manual page how KEY_RESIZE is pushed - onto the input stream. - * document return value of [70]use_extended_names - * document differences in [71]ESCDELAY versus AIX's implementation - in the variables manual page. - * The _nc_free_tinfo function is now documented in the - [72]memory-leaks manual page, because it could be used in tack for - memory-leak checking. - * add a note to the [73]tic manual page about -W versus -f options. - * improve terminfo manual description of [74]terminfo syntax. - improve terminfo manual page discussion of [75]control- and - graphics- characters. - improve [76]color-handling section in terminfo manual page - * clarify description in [77]tput manual page regarding support for - termcap names - update [78]tput manual page to reflect changes to manipulate - terminal modes by sharing functions with tset. - * clarify in manual pages that the optional verbose option level of - [79]tic and [80]infocmp is available only when ncurses is - configured for tracing. - * improve manual page description of [81]tset/reset versus - window-size. - * improve description of [82]tgoto parameters + * Corrections: + + correct error-returns listed in manual pages for a few form + functions + + corrected prototypes in several manpages using script to + extract those in compilable form. + + fix typo in term.5, improve explanation of format + * Clarify in manual pages that vwprintw and vwscanw are obsolete. + They have not been part of X/Open Curses since 2007. + * New/improved history and portability sections: + + curs_addch.3x gives some background for ACS symbols. + + curs_getcchar.3x explains a difference between ncurses and + X/Open Curses. + + curs_getstr.3x gives historical/portability background for + the length parameter of wgetnstr. + + curs_slk.3x lists a few differences between SVr4 curses and + X/Open Curses for soft-keys. + + curs_terminfo.3x explains that the initial implementation of + terminfo in SVr2 was mostly replaced by other developers in + SVr3. + + infocmp.1 explains that the initial version of terminfo had + no tool for decompiling descriptions. That came later, with + SVr3, with a different developer. + + tabs.1 tells more than you wanted to know about the tool. + + tic.1 explains that the initial version of terminfo had a + rudimentary tool (based on termcap) for compiling entries. + The tool used with Unix was developed by others for SVr3. + + toe.1 explains the origin of this tool. + * Improvements for user_caps.5: + + mention meml, memu and box1 + + expanded description of XM + + add a clarification regarding the RGB capability. + + mention user_caps.5 in the tic and infocmp manual pages. + * Other improvements: + + curs_add_wch.3x adds note about Unicode terminology for the + line-drawing characters. + + curs_color.3x improves discussion of error returns and + extensions. + + curs_mouse.3x explains how the kmous and XM capabilities are + used for xterm-mouse input. + + curs_refresh.3x improves documentation regarding the virtual + and physical screens. + + curs_util.3x mentions a difference between SVr4 and X/Open + Curses for unctrl.h + + curs_variables.3x improves description of the init_tabs + capability and TABSIZE variable. + + ncurses.3x improves documentation regarding feature-test + macros in curses.h + + resizeterm.3x about top-level windows which touch the + screen's borders. + + tput.1 clarifies how tput determines the terminal size. - There are new manual pages: - * [83]user_caps documents the terminfo extensions used by ncurses. - * [84]scr_dump documents the screen-dump format. + There are no new manual pages (all of the manual page updates are to + existing pages). Some of the improvements are more subtle, relating to the way the - information is presented: - * Made minor fixes to manpage NAME/SYNOPSIS sections to consistently - use rule that either all functions which are prototyped in - SYNOPSIS are listed in the NAME section, or the manual-page name - is the sole item listed in the NAME section. The latter is used to - reduce clutter, e.g., for the top-level library manual pages as - well as for certain feature-pages such as [85]SP-funcs and - [86]threading. - * improve manual pages for utilities with respect to POSIX versus - X/Open Curses. - * improve organization of the [87]attributes and [88]color manual - pages. + information is presented. For instance, the generated terminfo.5 file + uses a different table layout, allowing it to use space on wide + terminals more effectively. Interesting bug-fixes - * modify toe to not exit if unable to read a terminal description, - e.g., if there is a permission problem. - * correct 20100515 change for weak signals versus sigprocmask - * work around Ada tool-breakage in Debian 9 and later by invoking - gprconfig to specify the C compiler to be used by gnatmake, and - conditionally suppressing Library_Options line for static - libraries. - * There were, as well, several bug-fixes to handle illegal input for - tic. Because those did not correspond to useful terminal - descriptions, most users are unaffected. + While there were many bugs fixed during development of ncurses 6.2, + only a few (the reason for this release) were both important and + interesting. Most of the bug-fixes were for local issues which did not + affect compatibility across releases. Since those are detailed in the + NEWS file no elaboration is needed here. + + The interesting bugs were in tic/infocmp's handling of user-defined + capabilities. These were not recent bugs. Initially it was a simple + problem: + * The user-defined capabilities can be any type (boolean, number or + string), but once given a type all uses of the name must conform + to that type--unless some special support for a particular + multi-typed name is built into ncurses. + * One of simpleterm's contributors copied some definitions for using + tmux's user-defined capabilities in late in 2016. + +diff --git a/st.info b/st.info +@@ -185,7 +185,10 @@ st| simpleterm, + tsl=\E]0;, + xenl, + vpa=\E[%i%p1%dd, +- ++# Tmux unofficial extensions, see TERMINFO EXTENSIONS in tmux(1) ++ Se, ++ Ss, ++ Tc, + + st-256color| simpleterm with 256 colors, + use=st, + + * Later, in (referring to a version from mid-2017), a user asked to + have it updated in ncurses. + * However, it had an error from the change in late 2016. The + terminal description made what tmux expected to be string actually + a boolean. + Over the years, there were problems with each of simpleterm's + terminal descriptions. I repaired those, and usually dealt with + the problem. + * The difference in this case was that when compiling the terminal + database, tic may have in memory the definitions for more than one + terminal description (so that it can resolve "use=" clauses). + Seeing two different types for the same name, in certain + situations it would incorrectly merge the symbol tables for the + two terminal descriptions. + * On simpleterm's side, their bug was finally fixed in late 2019, + three years after the bug was created. + + For ncurses, the elapsed time to fix this bug was less than three + years. Someone reported a problem with the terminal description a few + weeks after releasing ncurses 6.1 (in tmux #1264), and the terminal + description was updated that week (ncurses patch 20180224): + +20180224 + + modify _nc_resolve_uses2() to detect incompatible types when merging + a "use=" clause of extended capabilities. The problem was seen in a + defective terminfo integrated from simpleterm sources in 20171111, + compounded by repair in 20180121. + + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD + + The larger part of that change added a check to prevent a simple merge + of terminal descriptions where the same user-defined name was used + with different types. But it raised some questions: + * Was there a reliable way to manage terminal descriptions which + used the same extended name in different ways? + * Should ncurses provide a registry of well-known extended names, + with their types? + + Since the correction to terminfo.src could have been readily adopted + by packagers, there was nothing more to be done from ncurses' + standpoint on that part. But improving ncurses to prevent issues like + that is the reason for making a release. + + Nothing more (constructive) was mentioned with regard to simpleterm. + But a few problems were found in the handling of user-defined + capabilities: + * Forward-references to user-defined capabilities in a "use=" clause + did not allocate new data for each use. In tic, successive + compilation of terminal entries could add user-defined + capabilities to the wrong terminal entry. + This was not noticed before, since xterm's terminal descriptions + were the main users of the feature, and almost all of the uses of + the building-blocks which contained user-defined capabilities were + backward-references. + * There is one (documented) case where ncurses 6.1 supports a + user-defined capability that could be any type (i.e., "RGB"). The + check added in February 2018 to guard against mismatches did not + handle all of the combinations needed. + + Both of these issues dated from the original implementation of + user-defined capabilities. Fixing them does not change the terminal + database, but a older tic without the fixes will not be able to handle + terminfo sources which rely upon those fixes. Starting in June 2019, + the download link for the terminfo source file was capped at that + date. The development sources have an up-to-date copy of the file, for + people with a legitimate need for it. + + The "-c" (check) option of tic is not very useful if it cannot offer + advice on parameters needed for user-defined capabilities. The various + Caps files were reorganized to reduce redundancy, and in the common + portion (Caps-ncurses), a registry of user-defined capabilities is + provided for use by tic. While users can still define their own custom + capabilities, tic will not offer any advice when their parameters do + not match. + + In ncurses 6.2, tic makes a special check to allow any type for RGB, + but its being able to do this relies upon fixes made in the ncurses + library in mid-2019. Configuration changes Major changes - This release provides a new binary format for terminal descriptions - that use extended numeric capabilities. Applications built with the - wide-character ncursesw library can use these extended numbers. - * This includes utilities such as tic and infocmp, because (as noted - in [89]New features), the feature relies upon an extension to the - low-level tinfo library. - * A few software packagers use a configuration option of ncurses - which allows the low-level tinfo library to be shared between the - high-level ncurses and ncursesw libraries. This new feature was - designed to work in that configuration as well. - - Other applications (i.e., using the 8-bit ncurses library) which read - the extended terminal descriptions see those numeric capabilities set - to the maximum value for a signed 16-bit number. - - Older versions of ncurses' tic accept out-of-range numeric - capabilities, storing those as the maximum value for a signed 16-bit - number. Other implementations of curses (mentioned in the discussion - of [90]picsmap) give zero for these out-of-range capabilities. + There are no major changes. Several new options were added to ease + integration of packages with systems using different versions of GNAT + and ncurses. Also, improvements were made to configure checks. Configuration options - These changes provide support for tack 1.08, released in [91]July - 2017: - * add --without-tack configure option to refine --with-progs - configure option. Normally tack is built outside the ncurses tree, - but a few packagers combine it during the build. If term_entry.h - is installed, there is no advantage to in-tree builds. - * adjust configure-script to define HAVE_CURSES_DATA_BOOLNAMES - symbol needed for tack 1.08 when built in-tree. Rather than - relying upon internal "_nc_" functions, tack now uses the boolean, - number and string capability name-arrays provided by ncurses and - SVr4 Unix curses. It still uses term_entry.h for the definitions - of the extended capability arrays. - * add dependency upon ncurses_cfg.h to tic's header-files; any - program using tic-library will have to supply this file. Legacy - tack versions supply this file; ongoing tack development has - dropped the dependency upon tic-library and new releases will not - be affected. + There are a few new/modified configure options: - Other changes to the configure-script and generated files include - * add configure options to disable checks for form, menu and panel - libraries so that ncurses-examples can be built with non-SVr4 - curses implementations. - * add configure option --enable-opaque-curses for ncurses library - and similar options for the other libraries. - * add configure option --disable-wattr-macros for use in cases where - one wants to use the same headers for ncurses5/ncurses6 - development, by suppressing the wattr* macros which differ due to - the introduction of extended colors - * modify configure macro for shared-library rules to use -Wl,-rpath - rather than -rpath to work around a bug in scons - * improve ncurses-examples' configure script to define as needed - NCURSES_WIDECHAR for platforms where _XOPEN_SOURCE_EXTENDED does - not work. Also modified the test program to ensure that if - building with ncurses, that the cchar_t type is checked, since - that is normally (since [92]20111030) ifdef'd depending on this - test. - * modify configure script to handle the case where tic-library is - renamed, but the --with-debug option is used by itself without - normal or shared libraries - * modify editing script which generates resulting.map to work with - the clang configuration on recent FreeBSD, which gives an error on - an empty "local" section. - * improve configure check for setting the WILDCARD_SYMS variable; on - ppc64 the variable is in the Data section rather than Text. - * correct result of configure option --without-fallbacks, which - caused FALLBACK_LIST to be set to "no" - * modify --with-pkg-config-libdir option to make it possible to - install ".pc" files even if pkg-config is not found. Limit this - change, to suppress the actual install if it is not overridden to - a valid directory at install time. - * disallow "no" as a possible value for --with-shlib-version option, - overlooked in cleanup-changes for [93]20000708. + --with-config-suffix + helps work around a filename conflict with Debian packages + versus test-packages. + + --with-ada-libname + allows one to rename the "AdaCurses" library (at least one + packager prefers a lowercase name). + + --with-fallbacks + now ensures there is a value, and adds the fallback information + to top-level Makefile summary. + + --with-pcre2 + check for pcre-posix library to help with MinGW port. + + --with-tic-path and + + --with-infocmp-path + help work around problems building fallback source using + pre-6.0 tic/infocmp. + + --with-versioned-syms + option value can now be a relative pathname. Portability Many of the portability changes are implemented via the configure script: - * improve configure script's CF_CC_ENV_FLAGS macro to allow for - compiler wrappers such as ccache. This change moves only the - preprocessor, optimization and warning flags to CPPFLAGS and - CFLAGS, leaving the residue in CC. That happens to work for gcc's - various "model" options, but may require tuning for other - compilers. - * modify ncurses-examples' configure script to use pkg-config for - the extra form/menu/panel libraries, to be more consistent with - the handling of the curses/ncurses library. - * add configuration checks to build with [94]NetBSD curses, which - for example lacks [95]use_env. - * change ncurses-examples to use attr_t vs chtype to follow X/Open - documentation more closely since Solaris xpg4-curses uses - different values for WA_xxx vs A_xxx that rely on attr_t being an - unsigned short. Tru64 aka OSF1, HPUX, AIX did as ncurses does, - equating the two sets. - * modify several test programs to reflect that ncurses honors - existing signal handlers in initscr, while other implementations - do not. - * add configure check for openpty to ncurses-examples' configure - script, for ditto. - * improve check for working poll function by using posix_openpt as a - fallback in case there is no valid terminal on the standard input - * modify ncurses-examples' configure script to check for pthread - dependency of ncursest or ncursestw library when building the - ncurses examples, e.g., in case weak symbols are used. - * add checks in ncurses-examples' configure script for some - functions neither in 4.3BSD curses, nor based on X/Open Curses: - + modify a loop limit in firework.c to work around absense of - limit checks in some libraries. - + fill the last row of a window with "?" in firstlast if waddch - does not return ERR on the lower-right corner. - * build-fixes for the Portland Group (PGI) compilers - + accept whitespace in sed expression for generating expanded.c - + modify configure check that g++ compiler warnings are not - used. - + add configure check for -fPIC option needed for shared - libraries. - * modify configure script for clang as used on FreeBSD, to work - around clang's differences in exit codes vs gcc. - * fixes for configure/build using clang on OSX - + do not redefine "inline" in ncurses_cfg.h; this was - originally to solve a problem with gcc/g++, but is aggravated - by clang's misuse of symbols to pretend it is gcc. - + add braces to configure script to prevent unwanted addition - of "-lstdc++" option to the CXXLIBS symbol. - + improve/update test-program used for checking existence of - stdc++ library. - + if $CXXLIBS is set, the linkage test uses that in addition to - $LIBS. - * fixes for OS/2: - + use button instead of kbuf[0] in EMX-specific part of - lib_mouse.c - + support building with libtool on OS/2 - + use stdc++ library with OS/2 kLIBC - + clear configure script's cf_XOPEN_SOURCE for OS/2, to work - with its header files - * add "newer" baudrate symbols to the [96]baudrate function in the - ncurses library as well as to a corresponding table in tset. - * modify ncurses-examples savescreen to work with AIX and HPUX. - * define WIN32_LEAN_AND_MEAN for MinGW port, making builds faster. - * add a configure check for wcwidth versus the ncurses line-drawing - characters, to use in special-casing systems such as Solaris. - Solaris, however, requires a special case that maps Unicode - line-drawing characters into the acsc string for non-Unicode - locales. Solaris also has a misconfigured wcwidth which marks all - of the line drawing characters as double-width. - * string-hacks (non-standard): - + fix configure script to record when strlcat is found on - OpenBSD. - + add --enable-string-hacks option to ncurses-examples' - configure script. - + completed string-hacks for sprintf, etc., including the - ncurses-examples programs. - + make --enable-string-hacks option work with Debian by - checking for the "bsd" library and its associated - "" header. - * workaround for Debian's antique/unmaintained version of mawk: - + see Debian #65617, which was fixed in mawk's upstream - releases in [97]2009. - + related fixes when building link_test. + * ignore $TERMINFO as a default value in configure script if it came + from the infocmp -Q option. + * distinguish gcc from icc and clang when the --enable-warnings + option is not used, to avoid unnecessary warnings about + unrecognized inline options + * consistently prepend new libraries as they are found during + configuration, rather than relying upon the linker to resolve + order dependencies of libraries. + * modified configure scripts to reduce relinking/ranlib during + library install : + + use "install -p" when available, to avoid need for ranlib of + static libraries. + + scripts which use "--disable-relink;" add a 1-second sleep to + work around tools which use whole-second timestamps, e.g., in + utime rather than the actual file system resolution. + * add configure check for getenv to work around implementation shown + in Emscripten which overwrites the previous return value on each + call. + Use that to optionally suppress START_TRACE macro, whose call to + getenv may not work properly + * change target configure level for _XOPEN_SOURCE to 600 to address + use of vsscanf and setenv. + * reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE + combines with _XOPEN_SOURCE + Allow for Cygwin's newlib when checking for the _DEFAULT_SOURCE + symbol. + MidnightBSD is now checked for the _XOPEN_SOURCE-related + definitions. + * If the check for va_copy or __va_copy fails, + + configure now tries copying the pointers for va_list, or as + an array. + + alternatively, it checks for __builtin_va_copy(), which could + be used with AIX xlc in c89 mode. + * several changes to support a port to Ultrix 3.1: + + check if "b" binary feature of fopen works + + check for missing feature of locale.h + + add fallback for strstr() in test-programs + + add fallback for STDOUT_FILENO in test-programs + * The test/configure script (used for ncurses-examples) is improved: + + work around non-ncurses termcap.h file, e.g., in Slackware. + + check for TABSIZE variable. + + checks for the X11/Intrinsic.h header, accommodate recent + MacOS changes which largely emptied /usr/include. + + Here are some of the other portability fixes: + * added dummy "check" rule in top-level and test-Makefile to + simplify building test-packages for ArchLinux. + * dropped library-dependency on psapi for MinGW port, since + win_driver.c defines PSAPI_VERSION to 2, making it use + GetProcessImageFileName from kernel32.dll + * made build-fixes for configuration using --program-suffix with + Ada95, noticed with MacOS but applicable to other platforms + without libpanelw, etc. + * modified ncurses/Makefile.in to fix a case where Debian/testing + changes to the ld --as-needed configuration broke ncurses-examples + test packages. + * used _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ + symbols to simplify building with Microsoft Visual C++, since the + former are defined in both compiler configurations. _________________________________________________________________ Features of ncurses @@ -982,10 +751,10 @@ Features of ncurses types even when no terminfo tree or termcap file is accessible (this may be useful for support of screen-oriented programs that must run in single-user mode). - * The [98]tic/[99]captoinfo utility provided with ncurses has the - ability to translate many termcaps from the XENIX, IBM and AT&T - extension sets. - * A BSD-like [100]tset utility is provided. + * The tic/captoinfo utility provided with ncurses has the ability to + translate many termcaps from the XENIX, IBM and AT&T extension + sets. + * A BSD-like tset utility is provided. * The ncurses library and utilities will automatically read terminfo entries from $HOME/.terminfo if it exists, and compile to that directory if it exists and the user has no write access to the @@ -1000,20 +769,20 @@ Features of ncurses other entries in the same source file (as in System V) but also to compiled entries in either the system terminfo directory or the user's $HOME/.terminfo directory. - * The table-of-entries utility [101]toe makes it easy for users to - see exactly what terminal types are available on the system. + * The table-of-entries utility toe makes it easy for users to see + exactly what terminal types are available on the system. * The library meets the XSI requirement that every macro entry point have a corresponding function which may be linked (and will be prototype-checked) if the macro definition is disabled with #undef. - * Extensive documentation is provided (see the [102]Additional - Reading section of the [103]ncurses FAQ for online documentation). + * Extensive documentation is provided (see the Additional Reading + section of the ncurses FAQ for online documentation). Applications using ncurses The ncurses distribution includes a selection of test programs (including a few games). These are available separately as - [104]ncurses-examples + ncurses-examples The ncurses library has been tested with a wide variety of applications including: @@ -1021,127 +790,131 @@ Applications using ncurses aptitude FrontEnd to Apt, the debian package manager - [105]https://wiki.debian.org/Aptitude + https://wiki.debian.org/Aptitude cdk Curses Development Kit - [106]https://invisible-island.net/cdk/ + https://invisible-island.net/cdk/ ded directory-editor - [107]https://invisible-island.net/ded/ + https://invisible-island.net/ded/ dialog the underlying application used in Slackware's setup, and the basis for similar install/configure applications on many systems. - [108]https://invisible-island.net/dialog/ + https://invisible-island.net/dialog/ lynx the text WWW browser - [109]https://lynx.invisible-island.net/ + https://lynx.invisible-island.net/ mutt mail utility - [110]http://www.mutt.org/ + http://www.mutt.org/ ncftp file-transfer utility - [111]https://www.ncftp.com/ + https://www.ncftp.com/ nvi New vi uses ncurses. - [112]https://sites.google.com/a/bostic.com/keithbostic/vi + https://sites.google.com/a/bostic.com/keithbostic/vi ranger A console file manager with VI key bindings in Python. - [113]https://ranger.github.io/ + https://ranger.github.io/ tin newsreader, supporting color, MIME - [114]http://www.tin.org/ + http://www.tin.org/ vifm File manager with vi like keybindings - [115]https://vifm.info/ + https://vifm.info/ as well as some that use ncurses for the terminfo support alone: minicom terminal emulator for serial modem connections - [116]https://alioth.debian.org/projects/minicom/ + https://alioth.debian.org/projects/minicom/ mosh a replacement for ssh. - [117]https://mosh.mit.edu/ + https://mosh.mit.edu/ tack terminfo action checker - [118]https://invisible-island.net/ncurses/tack.html + https://invisible-island.net/ncurses/tack.html tmux terminal multiplexor - [119]https://github.com/tmux/tmux/wiki + https://github.com/tmux/tmux/wiki vile vi-like-emacs may be built to use the terminfo, termcap or curses interfaces. - [120]https://invisible-island.net/vile/ + https://invisible-island.net/vile/ and finally, those which use only the termcap interface: emacs text editor - [121]https://www.gnu.org/software/emacs/ + https://www.gnu.org/software/emacs/ less The most commonly used pager (a program that displays text files). - [122]http://www.greenwoodsoftware.com/less/ + http://www.greenwoodsoftware.com/less/ screen terminal multiplexor - [123]https://www.gnu.org/software/screen/ + https://www.gnu.org/software/screen/ vim text editor - [124]https://www.vim.org/ + https://www.vim.org/ Development activities Zeyd Ben-Halim started ncurses from a previous package pcurses, written by Pavel Curtis. Eric S. Raymond continued development. - Juergen Pfeifer wrote most of the form and menu libraries. Ongoing - development work is done by [125]Thomas Dickey. Thomas Dickey also - acts as the maintainer for the Free Software Foundation, which holds - the [126]copyright on ncurses. + Juergen Pfeifer wrote most of the form and menu libraries. + + Ongoing development work is done by Thomas E. Dickey. Thomas E. Dickey + has acted as the maintainer for the Free Software Foundation, which + holds a copyright on ncurses for releases 4.2 through 6.1. Following + the release of ncurses 6.1, effective as of release 6.2, copyright for + ncurses reverted to Thomas E. Dickey (see the ncurses FAQ for + additional information). Contact the current maintainers at - [127]bug-ncurses@gnu.org + bug-ncurses@gnu.org To join the ncurses mailing list, please write email to - [128]bug-ncurses-request@gnu.org + bug-ncurses-request@gnu.org containing the line: @@ -1150,219 +923,60 @@ Development activities This list is open to anyone interested in helping with the development and testing of this package. - Beta versions of ncurses and patches to the current release are made - available at + Beta versions of ncurses are made available at - [129]ftp://ftp.invisible-island.net/ncurses/ and - [130]https://invisible-mirror.net/archives/ncurses/ . + ftp://ftp.invisible-island.net/ncurses/current/ and + https://invisible-mirror.net/archives/ncurses/current/ . + + Patches to the current release are made available at + + ftp://ftp.invisible-island.net/ncurses/6.1/ and + https://invisible-mirror.net/archives/ncurses/6.1/ . There is an archive of the mailing list here: - [131]http://lists.gnu.org/archive/html/bug-ncurses (also - [132]https) + http://lists.gnu.org/archive/html/bug-ncurses (also https) Related resources The release notes make scattered references to these pages, which may be interesting by themselves: - * [133]ncurses licensing - * [134]Symbol versioning in ncurses - * [135]Comments on ncurses versus slang (S-Lang) - * [136]tack - terminfo action checker - * [137]tctest - termcap library checker - * [138]Terminal Database + * ncurses licensing + * Symbol versioning in ncurses + * Comments on ncurses versus slang (S-Lang) + * tack - terminfo action checker + * tctest - termcap library checker + * Terminal Database Other resources The distribution provides a newer version of the terminfo-format - terminal description file once maintained by [139]Eric Raymond . - Unlike the older version, the termcap and terminfo data are provided - in the same file, which also provides several user-definable - extensions beyond the X/Open specification. + terminal description file once maintained by Eric Raymond . Unlike the + older version, the termcap and terminfo data are provided in the same + file, which also provides several user-definable extensions beyond the + X/Open specification. You can find lots of information on terminal-related topics not - covered in the terminfo file at [140]Richard Shuford's archive . + covered in the terminfo file at Richard Shuford's archive . The + collection of computer manuals at bitsavers.org has also been useful. - * [141]Overview - * [142]Release Notes - + [143]Library improvements - o [144]New features - o [145]Other improvements - + [146]Program improvements - o [147]Utilities - o [148]Examples - + [149]Terminal database - + [150]Documentation - + [151]Interesting bug-fixes - + [152]Configuration changes - o [153]Major changes - o [154]Configuration options - + [155]Portability - * [156]Features of ncurses - * [157]Applications using ncurses - * [158]Development activities - * [159]Related resources - * [160]Other resources - -References - - 1. https://invisible-island.net/ncurses/man/captoinfo.1m.html - 2. https://invisible-island.net/ncurses/man/clear.1.html - 3. https://invisible-island.net/ncurses/man/infocmp.1m.html - 4. https://invisible-island.net/ncurses/man/tabs.1.html - 5. https://invisible-island.net/ncurses/man/tic.1m.html - 6. https://invisible-island.net/ncurses/man/toe.1m.html - 7. https://invisible-island.net/ncurses/man/tput.1.html - 8. https://invisible-island.net/ncurses/man/tset.1.html - 9. https://invisible-island.net/ncurses/ - 10. ftp://ftp.invisible-island.net/ncurses/ - 11. https://invisible-mirror.net/archives/ncurses/ - 12. ftp://ftp.gnu.org/gnu/ncurses/ - 13. https://invisible-island.net/ncurses/man/curs_kernel.3x.html#h3-def_prog_mode_-def_shell_mode - 14. https://invisible-island.net/ncurses/ncurses-mapsyms.html - 15. https://invisible-island.net/ncurses/tctest.html#bsd42-numeric-caps - 16. https://invisible-island.net/ncurses/ncurses-slang.html#cause_numbers - 17. https://invisible-island.net/ncurses/tack.html#portable - 18. https://invisible-island.net/ncurses/tack/CHANGES.html#index-t20170726 - 19. https://invisible-island.net/ncurses/man/curs_attr.3x.html#h2-EXTENSIONS - 20. https://invisible-island.net/ncurses/man/tset.1.html#h3-reset---reinitialization - 21. https://invisible-island.net/ncurses/man/tset.1.html - 22. https://invisible-island.net/ncurses/man/tput.1.html - 23. https://invisible-island.net/ncurses/man/tset.1.html#h3-reset---reinitialization - 24. https://invisible-island.net/ncurses/man/clear.1.html - 25. https://invisible-island.net/ncurses/tctest.html#bsd42-ctl-question - 26. https://invisible-island.net/ncurses/tctest.html#freebsd-ctl-question - 27. https://invisible-island.net/ncurses/ncurses-examples.html - 28. https://invisible-island.net/ncurses/man/new_pair.3x.html#h3-alloc_pair - 29. https://invisible-island.net/ncurses/man/new_pair.3x.html#h3-find_pair - 30. https://invisible-island.net/ncurses/man/new_pair.3x.html#h3-free_pair - 31. https://invisible-island.net/ncurses/ncurses-slang.html#compare_picsmap - 32. https://invisible-island.net/dialog/ - 33. https://invisible-island.net/dialog/manpage/dialog.html#h3-Common-Options - 34. https://invisible-island.net/xterm/xterm.log.html#xterm_331 - 35. https://invisible-island.net/ncurses/terminfo.src.html#toc-_A_N_S_I__S_Y_S__I_S_O_6429__E_C_M_A-48__Capabilities - 36. https://invisible-island.net/ncurses/terminfo.src.html#tic-icl6404 - 37. https://invisible-island.net/ncurses/terminfo.src.html#tic-interix - 38. https://invisible-island.net/ncurses/terminfo.src.html#toc-_Linux_consoles - 39. https://invisible-island.net/ncurses/terminfo.src.html#toc-_Open_B_S_D_consoles - 40. https://invisible-island.net/ncurses/terminfo.src.html#toc-_Tmux - 41. https://invisible-island.net/ncurses/terminfo.src.html#toc-_D_E_C__V_T100_and_compatibles - 42. https://invisible-island.net/ncurses/terminfo.src.html#toc-_G_N_O_M_E__V_T_E_ - 43. https://invisible-island.net/ncurses/terminfo.src.html#toc-_X_T_E_R_M - 44. https://invisible-island.net/xterm/xterm.log.html#xterm_32 - 45. https://invisible-island.net/xterm/xterm.log.html#xterm_272 - 46. https://invisible-island.net/ncurses/NEWS.html - 47. https://invisible-island.net/ncurses/man/clear.1.html#h2-HISTORY - 48. https://invisible-island.net/ncurses/man/clear.1.html#h2-HISTORY - 49. https://invisible-island.net/ncurses/man/clear.1.html#h2-HISTORY - 50. https://invisible-island.net/ncurses/man/curs_addch.3x.html#h2-PORTABILITY - 51. https://invisible-island.net/ncurses/man/curs_attr.3x.html#h2-HISTORY - 52. https://invisible-island.net/ncurses/man/curs_attr.3x.html#h2-HISTORY - 53. https://invisible-island.net/ncurses/man/curs_attr.3x.html#h2-PORTABILITY - 54. https://invisible-island.net/ncurses/man/curs_mouse.3x.html#h2-PORTABILITY - 55. https://invisible-island.net/ncurses/man/curs_pad.3x.html#h2-PORTABILITY - 56. https://invisible-island.net/ncurses/man/curs_slk.3x.html#h2-PORTABILITY - 57. https://invisible-island.net/ncurses/man/resizeterm.3x.html#h2-PORTABILITY - 58. https://invisible-island.net/ncurses/man/wresize.3x.html#h2-PORTABILITY - 59. https://invisible-island.net/ncurses/man/curs_addch.3x.html#h3-ACS-Symbols - 60. https://invisible-island.net/ncurses/man/curs_add_wch.3x.html - 61. https://invisible-island.net/ncurses/man/clear.1.html#h2-DESCRIPTION - 62. https://invisible-island.net/ncurses/man/curs_initscr.3x.html#h3-endwin - 63. https://invisible-island.net/ncurses/man/form_driver.3x.html - 64. https://invisible-island.net/ncurses/man/curs_get_wstr.3x.html#h2-RETURN-VALUE - 65. https://invisible-island.net/ncurses/man/curs_getch.3x.html#h3-Predefined-key-codes - 66. https://invisible-island.net/ncurses/man/curs_getch.3x.html#h3-Keypad-Mode - 67. https://invisible-island.net/ncurses/man/curs_get_wch.3x.html#h2-DESCRIPTION - 68. https://invisible-island.net/ncurses/man/infocmp.1m.html - 69. https://invisible-island.net/ncurses/man/resizeterm.3x.html#h2-NOTES - 70. https://invisible-island.net/ncurses/man/curs_extend.3x#h2-RETURN-VALUE - 71. https://invisible-island.net/ncurses/man/curs_variables.3x.html#h2-PORTABILITY - 72. https://invisible-island.net/ncurses/man/curs_memleaks.3x.html - 73. https://invisible-island.net/ncurses/man/tic.1m.html - 74. https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Terminfo-Capabilities-Syntax - 75. https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Line-Graphics - 76. https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Color-Handling - 77. https://invisible-island.net/ncurses/man/tput.1.html#h2-PORTABILITY - 78. https://invisible-island.net/ncurses/man/tput.1.html#h3-Aliases - 79. https://invisible-island.net/ncurses/man/tic.1m.html#h2-OPTIONS - 80. https://invisible-island.net/ncurses/man/infocmp.1m.html#h3-Other-Options - 81. https://invisible-island.net/ncurses/man/tset.1.html - 82. https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h3-FORMATTING-CAPABILITIES - 83. https://invisible-island.net/ncurses/man/user_caps.5.html - 84. https://invisible-island.net/ncurses/man/scr_dump.5.html - 85. https://invisible-island.net/ncurses/man/curs_sp_funcs.3x.html - 86. https://invisible-island.net/ncurses/man/curs_threads.3x.html - 87. https://invisible-island.net/ncurses/man/curs_attr.3x.html - 88. file:///ncurses/man/curs_color.3x.html - 89. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-new-library - 90. https://invisible-island.net/ncurses/ncurses-slang.html#compare_picsmap - 91. https://invisible-island.net/ncurses/tack/CHANGES.html#index-t20170726 - 92. https://invisible-island.net/ncurses/NEWS.html#t20111030 - 93. https://invisible-island.net/ncurses/NEWS.html#t20000708 - 94. https://invisible-island.net/ncurses/ncurses-netbsd.html - 95. https://invisible-island.net/ncurses/man/curs_util.3x.html#h3-use_env - 96. https://invisible-island.net/ncurses/man/curs_termattrs.3x.html#h3-baudrate - 97. https://invisible-island.net/mawk/CHANGES.html#t20090727 - 98. https://invisible-island.net/ncurses/man/tic.1m.html - 99. https://invisible-island.net/ncurses/man/captoinfo.1m.html - 100. https://invisible-island.net/ncurses/man/tset.1.html - 101. https://invisible-island.net/ncurses/man/toe.1m.html - 102. https://invisible-island.net/ncurses/ncurses.faq.html#additional_reading - 103. https://invisible-island.net/ncurses/ncurses.faq.html - 104. https://invisible-island.net/ncurses/ncurses-examples.html - 105. https://wiki.debian.org/Aptitude - 106. https://invisible-island.net/cdk/ - 107. https://invisible-island.net/ded/ - 108. https://invisible-island.net/dialog/ - 109. https://lynx.invisible-island.net/ - 110. http://www.mutt.org/ - 111. https://www.ncftp.com/ - 112. https://sites.google.com/a/bostic.com/keithbostic/vi - 113. https://ranger.github.io/ - 114. http://www.tin.org/ - 115. https://vifm.info/ - 116. https://alioth.debian.org/projects/minicom/ - 117. https://mosh.mit.edu/ - 118. https://invisible-island.net/ncurses/tack.html - 119. https://github.com/tmux/tmux/wiki - 120. https://invisible-island.net/vile/ - 121. https://www.gnu.org/software/emacs/ - 122. http://www.greenwoodsoftware.com/less/ - 123. https://www.gnu.org/software/screen/ - 124. https://www.vim.org/ - 125. mailto:dickey@invisible-island.net - 126. https://invisible-island.net/ncurses/ncurses-license.html - 127. mailto:bug-ncurses@gnu.org - 128. mailto:bug-ncurses-request@gnu.org - 129. ftp://ftp.invisible-island.net/ncurses/ - 130. https://invisible-mirror.net/archives/ncurses/ - 131. http://lists.gnu.org/archive/html/bug-ncurses - 132. https://lists.gnu.org/archive/html/bug-ncurses - 133. https://invisible-island.net/ncurses/ncurses-license.html - 134. https://invisible-island.net/ncurses/ncurses-mapsyms.html - 135. https://invisible-island.net/ncurses/ncurses-slang.html - 136. https://invisible-island.net/ncurses/tack.html - 137. https://invisible-island.net/ncurses/tctest.html - 138. https://invisible-island.net/ncurses/ncurses.html#download_database - 139. http://www.catb.org/~esr/terminfo/ - 140. http://web.archive.org/web/*/http://www.cs.utk.edu/~shuford/terminal - 141. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-overview - 142. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-release-notes - 143. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-library - 144. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-new-library - 145. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-fixes-library - 146. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-programs - 147. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-utilities - 148. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-examples - 149. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-database - 150. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-documentation - 151. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-bug-fixes - 152. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-config-config - 153. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-config-major - 154. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h4-config-options - 155. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h3-portability - 156. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-features - 157. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-who-uses - 158. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-development - 159. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-this-stuff - 160. file:///usr/build/ncurses/ncurses-6.1-20180127/doc/html/announce.html#h2-other-stuff + * Overview + * Release Notes + + Library improvements + o New features + o Other improvements + + Program improvements + o Utilities + o Examples + + Terminal database + + Documentation + + Interesting bug-fixes + + Configuration changes + o Major changes + o Configuration options + + Portability + * Features of ncurses + * Applications using ncurses + * Development activities + * Related resources + * Other resources diff --git a/AUTHORS b/AUTHORS index 708e1ef735b2..0018842ca099 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 2006,2017 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2006,2017 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: AUTHORS,v 1.3 2017/02/04 15:20:52 tom Exp $ +-- $Id: AUTHORS,v 1.4 2020/02/02 23:34:34 tom Exp $ ------------------------------------------------------------------------------- These are the principal authors/contributors of ncurses since 1.9.9e, in decreasing order of their contribution: diff --git a/Ada95/Makefile.in b/Ada95/Makefile.in index 4d80fe386c1b..67625d7e9cda 100644 --- a/Ada95/Makefile.in +++ b/Ada95/Makefile.in @@ -1,6 +1,7 @@ -# $Id: Makefile.in,v 1.22 2015/08/05 23:15:41 tom Exp $ +# $Id: Makefile.in,v 1.23 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 1998-2010,2015 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 1998-2010,2015 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 "Software"), # @@ -30,7 +31,7 @@ # Author: Juergen Pfeifer, 1996 # # Version Control -# $Revision: 1.22 $ +# $Revision: 1.23 $ # SHELL = @SHELL@ VPATH = @srcdir@ diff --git a/Ada95/README b/Ada95/README index ea9ae80e761d..d014f3278f98 100644 --- a/Ada95/README +++ b/Ada95/README @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- diff --git a/Ada95/TODO b/Ada95/TODO index f5c8acde4c4d..122275f91189 100644 --- a/Ada95/TODO +++ b/Ada95/TODO @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-1999,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-1999,2006 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: TODO,v 1.5 2006/04/22 22:23:21 tom Exp $ +-- $Id: TODO,v 1.6 2020/02/02 23:34:34 tom Exp $ ------------------------------------------------------------------------------- -- Intensive testing diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 index 057abc8c4fa7..7438acc170da 100644 --- a/Ada95/aclocal.m4 +++ b/Ada95/aclocal.m4 @@ -1,5 +1,6 @@ dnl*************************************************************************** -dnl Copyright (c) 2010-2019,2020 Free Software Foundation, Inc. * +dnl Copyright 2018-2019,2020 Thomas E. Dickey * +dnl Copyright 2010-2017,2018 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -28,7 +29,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey dnl -dnl $Id: aclocal.m4,v 1.151 2020/01/11 23:42:04 tom Exp $ +dnl $Id: aclocal.m4,v 1.153 2020/02/08 21:04:00 tom Exp $ dnl Macros used in NCURSES Ada95 auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -928,6 +929,28 @@ CF_ARG_DISABLE(gnat-projects, AC_MSG_RESULT($enable_gnat_projects) ])dnl dnl --------------------------------------------------------------------------- +dnl CF_ENABLE_BROKEN_LINKER version: 1 updated: 2020/02/08 15:59:30 +dnl ----------------------- +dnl Some linkers cannot reference a data-only object. Cygwin used to be one. +dnl This usually follows CF_LINK_DATAONLY, but is not required in case we need +dnl an unconditional feature. +AC_DEFUN([CF_ENABLE_BROKEN_LINKER],[ + +AC_MSG_CHECKING(if you want broken-linker support code) +AC_ARG_ENABLE(broken_linker, + [ --enable-broken_linker compile with broken-linker support code], + [with_broken_linker=$enableval], + [with_broken_linker=no]) +AC_MSG_RESULT($with_broken_linker) + +: ${BROKEN_LINKER:=0} +if test "x$with_broken_linker" = xyes ; then + AC_DEFINE(BROKEN_LINKER,1,[Define to 1 to work around linkers which cannot link data-only modules]) + BROKEN_LINKER=1 +fi +AC_SUBST(BROKEN_LINKER) +])dnl +dnl --------------------------------------------------------------------------- dnl CF_FIND_LIBRARY version: 9 updated: 2008/03/23 14:48:54 dnl --------------- dnl Look for a non-standard library, given parameters for AC_TRY_LINK. We @@ -2191,7 +2214,7 @@ AC_DEFUN([CF_LIB_TYPE], test -n "$LIB_SUFFIX" && $2="${LIB_SUFFIX}[$]{$2}" ])dnl dnl --------------------------------------------------------------------------- -dnl CF_LINK_DATAONLY version: 12 updated: 2017/07/23 17:46:07 +dnl CF_LINK_DATAONLY version: 13 updated: 2020/02/08 15:59:30 dnl ---------------- dnl Some systems have a non-ANSI linker that doesn't pull in modules that have dnl only data (i.e., no functions), for example NeXT. On those systems we'll @@ -2251,6 +2274,7 @@ if test "$cf_cv_link_dataonly" = no ; then AC_DEFINE(BROKEN_LINKER,1,[if data-only library module does not link]) BROKEN_LINKER=1 fi +AC_SUBST(BROKEN_LINKER) ])dnl dnl --------------------------------------------------------------------------- diff --git a/Ada95/configure b/Ada95/configure index 8551030a3c81..03e8fda6fd18 100755 --- a/Ada95/configure +++ b/Ada95/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.74 . +# From configure.in Revision: 1.76 . # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52.20200111. # @@ -10987,7 +10987,8 @@ fi ############################################################################### ### use option --enable-broken-linker to force on use of broken-linker support -echo "$as_me:10990: checking if you want broken-linker support code" >&5 + +echo "$as_me:10991: checking if you want broken-linker support code" >&5 echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 # Check whether --enable-broken_linker or --disable-broken_linker was given. @@ -10995,44 +10996,31 @@ if test "${enable_broken_linker+set}" = set; then enableval="$enable_broken_linker" with_broken_linker=$enableval else - with_broken_linker=${BROKEN_LINKER:-no} + with_broken_linker=no fi; -echo "$as_me:11000: result: $with_broken_linker" >&5 +echo "$as_me:11001: result: $with_broken_linker" >&5 echo "${ECHO_T}$with_broken_linker" >&6 -BROKEN_LINKER=0 -if test "$with_broken_linker" = yes ; then - cat >>confdefs.h <<\EOF +: ${BROKEN_LINKER:=0} +if test "x$with_broken_linker" = xyes ; then + +cat >>confdefs.h <<\EOF #define BROKEN_LINKER 1 EOF BROKEN_LINKER=1 -elif test "$DFT_LWR_MODEL" = shared ; then - case $cf_cv_system_name in - (cygwin*) - cat >>confdefs.h <<\EOF -#define BROKEN_LINKER 1 -EOF - - BROKEN_LINKER=1 - test -n "$verbose" && echo " cygwin linker is broken anyway" 1>&6 - -echo "${as_me:-configure}:11020: testing cygwin linker is broken anyway ..." 1>&5 - - ;; - esac fi # Check to define _XOPEN_SOURCE "automatically" -echo "$as_me:11028: checking if the POSIX test-macros are already defined" >&5 +echo "$as_me:11016: checking if the POSIX test-macros are already defined" >&5 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 if test "${cf_cv_posix_visible+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 11035 "configure" +#line 11023 "configure" #include "confdefs.h" #include int @@ -11051,16 +11039,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11054: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11042: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11057: \$? = $ac_status" >&5 + echo "$as_me:11045: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11060: \"$ac_try\"") >&5 + { (eval echo "$as_me:11048: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11063: \$? = $ac_status" >&5 + echo "$as_me:11051: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_visible=no else @@ -11071,7 +11059,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11074: result: $cf_cv_posix_visible" >&5 +echo "$as_me:11062: result: $cf_cv_posix_visible" >&5 echo "${ECHO_T}$cf_cv_posix_visible" >&6 if test "$cf_cv_posix_visible" = no; then @@ -11116,14 +11104,14 @@ case $host_os in cf_gnu_xopen_source=$cf_XOPEN_SOURCE -echo "$as_me:11119: checking if this is the GNU C library" >&5 +echo "$as_me:11107: checking if this is the GNU C library" >&5 echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 if test "${cf_cv_gnu_library+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 11126 "configure" +#line 11114 "configure" #include "confdefs.h" #include int @@ -11142,16 +11130,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11145: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11133: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11148: \$? = $ac_status" >&5 + echo "$as_me:11136: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11151: \"$ac_try\"") >&5 + { (eval echo "$as_me:11139: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11154: \$? = $ac_status" >&5 + echo "$as_me:11142: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_library=yes else @@ -11162,7 +11150,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11165: result: $cf_cv_gnu_library" >&5 +echo "$as_me:11153: result: $cf_cv_gnu_library" >&5 echo "${ECHO_T}$cf_cv_gnu_library" >&6 if test x$cf_cv_gnu_library = xyes; then @@ -11170,7 +11158,7 @@ if test x$cf_cv_gnu_library = xyes; then # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE # was changed to help a little. newlib incorporated the change about 4 # years later. - echo "$as_me:11173: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo "$as_me:11161: checking if _DEFAULT_SOURCE can be used as a basis" >&5 echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 if test "${cf_cv_gnu_library_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11182,7 +11170,7 @@ else CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 11185 "configure" +#line 11173 "configure" #include "confdefs.h" #include int @@ -11201,16 +11189,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11204: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11192: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11207: \$? = $ac_status" >&5 + echo "$as_me:11195: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11210: \"$ac_try\"") >&5 + { (eval echo "$as_me:11198: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11213: \$? = $ac_status" >&5 + echo "$as_me:11201: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_library_219=yes else @@ -11222,12 +11210,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$cf_save" fi -echo "$as_me:11225: result: $cf_cv_gnu_library_219" >&5 +echo "$as_me:11213: result: $cf_cv_gnu_library_219" >&5 echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 if test "x$cf_cv_gnu_library_219" = xyes; then cf_save="$CPPFLAGS" - echo "$as_me:11230: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo "$as_me:11218: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_dftsrc_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11332,7 +11320,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >conftest.$ac_ext <<_ACEOF -#line 11335 "configure" +#line 11323 "configure" #include "confdefs.h" #include @@ -11352,16 +11340,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11355: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11343: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11358: \$? = $ac_status" >&5 + echo "$as_me:11346: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11361: \"$ac_try\"") >&5 + { (eval echo "$as_me:11349: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11364: \$? = $ac_status" >&5 + echo "$as_me:11352: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_dftsrc_219=yes else @@ -11372,7 +11360,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11375: result: $cf_cv_gnu_dftsrc_219" >&5 +echo "$as_me:11363: result: $cf_cv_gnu_dftsrc_219" >&5 echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" else @@ -11381,14 +11369,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 if test "x$cf_cv_gnu_dftsrc_219" != xyes; then - echo "$as_me:11384: checking if we must define _GNU_SOURCE" >&5 + echo "$as_me:11372: checking if we must define _GNU_SOURCE" >&5 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 11391 "configure" +#line 11379 "configure" #include "confdefs.h" #include int @@ -11403,16 +11391,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11406: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11394: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11409: \$? = $ac_status" >&5 + echo "$as_me:11397: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11412: \"$ac_try\"") >&5 + { (eval echo "$as_me:11400: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11415: \$? = $ac_status" >&5 + echo "$as_me:11403: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_source=no else @@ -11519,7 +11507,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >conftest.$ac_ext <<_ACEOF -#line 11522 "configure" +#line 11510 "configure" #include "confdefs.h" #include int @@ -11534,16 +11522,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11537: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11525: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11540: \$? = $ac_status" >&5 + echo "$as_me:11528: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11543: \"$ac_try\"") >&5 + { (eval echo "$as_me:11531: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11546: \$? = $ac_status" >&5 + echo "$as_me:11534: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_source=no else @@ -11558,12 +11546,12 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11561: result: $cf_cv_gnu_source" >&5 +echo "$as_me:11549: result: $cf_cv_gnu_source" >&5 echo "${ECHO_T}$cf_cv_gnu_source" >&6 if test "$cf_cv_gnu_source" = yes then - echo "$as_me:11566: checking if we should also define _DEFAULT_SOURCE" >&5 + echo "$as_me:11554: checking if we should also define _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_default_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11573,7 +11561,7 @@ else CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 11576 "configure" +#line 11564 "configure" #include "confdefs.h" #include int @@ -11588,16 +11576,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11591: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11579: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11594: \$? = $ac_status" >&5 + echo "$as_me:11582: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11597: \"$ac_try\"") >&5 + { (eval echo "$as_me:11585: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11600: \$? = $ac_status" >&5 + echo "$as_me:11588: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_default_source=no else @@ -11608,7 +11596,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11611: result: $cf_cv_default_source" >&5 +echo "$as_me:11599: result: $cf_cv_default_source" >&5 echo "${ECHO_T}$cf_cv_default_source" >&6 if test "$cf_cv_default_source" = yes then @@ -11645,16 +11633,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -echo "$as_me:11648: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:11636: checking if we should define _POSIX_C_SOURCE" >&5 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 if test "${cf_cv_posix_c_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "${as_me:-configure}:11654: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:11642: testing if the symbol is already defined go no further ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 11657 "configure" +#line 11645 "configure" #include "confdefs.h" #include int @@ -11669,16 +11657,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11672: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11660: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11675: \$? = $ac_status" >&5 + echo "$as_me:11663: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11678: \"$ac_try\"") >&5 + { (eval echo "$as_me:11666: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11681: \$? = $ac_status" >&5 + echo "$as_me:11669: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_c_source=no else @@ -11699,7 +11687,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >conftest.$ac_ext <<_ACEOF -#line 11702 "configure" +#line 11690 "configure" #include "confdefs.h" #include int @@ -11714,16 +11702,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11717: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11705: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11720: \$? = $ac_status" >&5 + echo "$as_me:11708: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11723: \"$ac_try\"") >&5 + { (eval echo "$as_me:11711: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11726: \$? = $ac_status" >&5 + echo "$as_me:11714: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -11734,7 +11722,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "${as_me:-configure}:11737: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:11725: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -11742,10 +11730,10 @@ echo "${as_me:-configure}:11737: testing ifdef from value $cf_POSIX_C_SOURCE ... test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:11745: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:11733: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 11748 "configure" +#line 11736 "configure" #include "confdefs.h" #include int @@ -11760,16 +11748,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11763: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11751: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11766: \$? = $ac_status" >&5 + echo "$as_me:11754: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11769: \"$ac_try\"") >&5 + { (eval echo "$as_me:11757: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11772: \$? = $ac_status" >&5 + echo "$as_me:11760: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -11785,7 +11773,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11788: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:11776: result: $cf_cv_posix_c_source" >&5 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 if test "$cf_cv_posix_c_source" != no ; then @@ -11925,14 +11913,14 @@ fi # cf_cv_posix_visible ;; (*) -echo "$as_me:11928: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:11916: checking if we should define _XOPEN_SOURCE" >&5 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 if test "${cf_cv_xopen_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 11935 "configure" +#line 11923 "configure" #include "confdefs.h" #include @@ -11951,16 +11939,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11954: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11942: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11957: \$? = $ac_status" >&5 + echo "$as_me:11945: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11960: \"$ac_try\"") >&5 + { (eval echo "$as_me:11948: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11963: \$? = $ac_status" >&5 + echo "$as_me:11951: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -11972,7 +11960,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 11975 "configure" +#line 11963 "configure" #include "confdefs.h" #include @@ -11991,16 +11979,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11994: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:11982: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11997: \$? = $ac_status" >&5 + echo "$as_me:11985: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12000: \"$ac_try\"") >&5 + { (eval echo "$as_me:11988: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12003: \$? = $ac_status" >&5 + echo "$as_me:11991: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -12015,7 +12003,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:12018: result: $cf_cv_xopen_source" >&5 +echo "$as_me:12006: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -12145,16 +12133,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -echo "$as_me:12148: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:12136: checking if we should define _POSIX_C_SOURCE" >&5 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 if test "${cf_cv_posix_c_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "${as_me:-configure}:12154: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:12142: testing if the symbol is already defined go no further ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 12157 "configure" +#line 12145 "configure" #include "confdefs.h" #include int @@ -12169,16 +12157,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12172: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12160: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12175: \$? = $ac_status" >&5 + echo "$as_me:12163: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12178: \"$ac_try\"") >&5 + { (eval echo "$as_me:12166: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12181: \$? = $ac_status" >&5 + echo "$as_me:12169: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_c_source=no else @@ -12199,7 +12187,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >conftest.$ac_ext <<_ACEOF -#line 12202 "configure" +#line 12190 "configure" #include "confdefs.h" #include int @@ -12214,16 +12202,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12217: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12205: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12220: \$? = $ac_status" >&5 + echo "$as_me:12208: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12223: \"$ac_try\"") >&5 + { (eval echo "$as_me:12211: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12226: \$? = $ac_status" >&5 + echo "$as_me:12214: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -12234,7 +12222,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "${as_me:-configure}:12237: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:12225: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -12242,10 +12230,10 @@ echo "${as_me:-configure}:12237: testing ifdef from value $cf_POSIX_C_SOURCE ... test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:12245: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:12233: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 12248 "configure" +#line 12236 "configure" #include "confdefs.h" #include int @@ -12260,16 +12248,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12263: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12251: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12266: \$? = $ac_status" >&5 + echo "$as_me:12254: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12269: \"$ac_try\"") >&5 + { (eval echo "$as_me:12257: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12272: \$? = $ac_status" >&5 + echo "$as_me:12260: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -12285,7 +12273,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:12288: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:12276: result: $cf_cv_posix_c_source" >&5 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 if test "$cf_cv_posix_c_source" != no ; then @@ -12479,7 +12467,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:12482: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:12470: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -12489,7 +12477,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:12492: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:12480: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -12499,7 +12487,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:12502: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:12490: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -12509,10 +12497,10 @@ fi fi if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then - echo "$as_me:12512: checking if _XOPEN_SOURCE really is set" >&5 + echo "$as_me:12500: checking if _XOPEN_SOURCE really is set" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 12515 "configure" +#line 12503 "configure" #include "confdefs.h" #include int @@ -12527,16 +12515,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12530: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12518: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12533: \$? = $ac_status" >&5 + echo "$as_me:12521: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12536: \"$ac_try\"") >&5 + { (eval echo "$as_me:12524: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12539: \$? = $ac_status" >&5 + echo "$as_me:12527: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_XOPEN_SOURCE_set=yes else @@ -12545,12 +12533,12 @@ cat conftest.$ac_ext >&5 cf_XOPEN_SOURCE_set=no fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:12548: result: $cf_XOPEN_SOURCE_set" >&5 + echo "$as_me:12536: result: $cf_XOPEN_SOURCE_set" >&5 echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 if test $cf_XOPEN_SOURCE_set = yes then cat >conftest.$ac_ext <<_ACEOF -#line 12553 "configure" +#line 12541 "configure" #include "confdefs.h" #include int @@ -12565,16 +12553,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12568: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12556: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12571: \$? = $ac_status" >&5 + echo "$as_me:12559: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12574: \"$ac_try\"") >&5 + { (eval echo "$as_me:12562: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12577: \$? = $ac_status" >&5 + echo "$as_me:12565: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_XOPEN_SOURCE_set_ok=yes else @@ -12585,19 +12573,19 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext if test $cf_XOPEN_SOURCE_set_ok = no then - { echo "$as_me:12588: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + { echo "$as_me:12576: WARNING: _XOPEN_SOURCE is lower than requested" >&5 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} fi else -echo "$as_me:12593: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:12581: checking if we should define _XOPEN_SOURCE" >&5 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 if test "${cf_cv_xopen_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 12600 "configure" +#line 12588 "configure" #include "confdefs.h" #include @@ -12616,16 +12604,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12619: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12607: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12622: \$? = $ac_status" >&5 + echo "$as_me:12610: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12625: \"$ac_try\"") >&5 + { (eval echo "$as_me:12613: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12628: \$? = $ac_status" >&5 + echo "$as_me:12616: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -12637,7 +12625,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 12640 "configure" +#line 12628 "configure" #include "confdefs.h" #include @@ -12656,16 +12644,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12659: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12647: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12662: \$? = $ac_status" >&5 + echo "$as_me:12650: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12665: \"$ac_try\"") >&5 + { (eval echo "$as_me:12653: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12668: \$? = $ac_status" >&5 + echo "$as_me:12656: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -12680,7 +12668,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:12683: result: $cf_cv_xopen_source" >&5 +echo "$as_me:12671: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -12806,7 +12794,7 @@ if test "${enable_largefile+set}" = set; then fi; if test "$enable_largefile" != no; then - echo "$as_me:12809: checking for special C compiler options needed for large files" >&5 + echo "$as_me:12797: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -12818,7 +12806,7 @@ else # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat >conftest.$ac_ext <<_ACEOF -#line 12821 "configure" +#line 12809 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -12838,16 +12826,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12841: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12829: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12844: \$? = $ac_status" >&5 + echo "$as_me:12832: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12847: \"$ac_try\"") >&5 + { (eval echo "$as_me:12835: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12850: \$? = $ac_status" >&5 + echo "$as_me:12838: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -12857,16 +12845,16 @@ fi rm -f conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objext -if { (eval echo "$as_me:12860: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12848: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12863: \$? = $ac_status" >&5 + echo "$as_me:12851: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12866: \"$ac_try\"") >&5 + { (eval echo "$as_me:12854: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12869: \$? = $ac_status" >&5 + echo "$as_me:12857: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else @@ -12880,13 +12868,13 @@ rm -f conftest.$ac_objext rm -f conftest.$ac_ext fi fi -echo "$as_me:12883: result: $ac_cv_sys_largefile_CC" >&5 +echo "$as_me:12871: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi - echo "$as_me:12889: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + echo "$as_me:12877: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -12894,7 +12882,7 @@ else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF -#line 12897 "configure" +#line 12885 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -12914,16 +12902,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12917: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12905: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12920: \$? = $ac_status" >&5 + echo "$as_me:12908: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12923: \"$ac_try\"") >&5 + { (eval echo "$as_me:12911: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12926: \$? = $ac_status" >&5 + echo "$as_me:12914: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -12932,7 +12920,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 12935 "configure" +#line 12923 "configure" #include "confdefs.h" #define _FILE_OFFSET_BITS 64 #include @@ -12953,16 +12941,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12956: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12944: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12959: \$? = $ac_status" >&5 + echo "$as_me:12947: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12962: \"$ac_try\"") >&5 + { (eval echo "$as_me:12950: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12965: \$? = $ac_status" >&5 + echo "$as_me:12953: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; break else @@ -12973,7 +12961,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:12976: result: $ac_cv_sys_file_offset_bits" >&5 +echo "$as_me:12964: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 if test "$ac_cv_sys_file_offset_bits" != no; then @@ -12983,7 +12971,7 @@ EOF fi rm -rf conftest* - echo "$as_me:12986: checking for _LARGE_FILES value needed for large files" >&5 + echo "$as_me:12974: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -12991,7 +12979,7 @@ else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF -#line 12994 "configure" +#line 12982 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -13011,16 +12999,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13014: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13002: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13017: \$? = $ac_status" >&5 + echo "$as_me:13005: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13020: \"$ac_try\"") >&5 + { (eval echo "$as_me:13008: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13023: \$? = $ac_status" >&5 + echo "$as_me:13011: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -13029,7 +13017,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 13032 "configure" +#line 13020 "configure" #include "confdefs.h" #define _LARGE_FILES 1 #include @@ -13050,16 +13038,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13053: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13041: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13056: \$? = $ac_status" >&5 + echo "$as_me:13044: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13059: \"$ac_try\"") >&5 + { (eval echo "$as_me:13047: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13062: \$? = $ac_status" >&5 + echo "$as_me:13050: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; break else @@ -13070,7 +13058,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:13073: result: $ac_cv_sys_large_files" >&5 +echo "$as_me:13061: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 if test "$ac_cv_sys_large_files" != no; then @@ -13083,7 +13071,7 @@ rm -rf conftest* fi if test "$enable_largefile" != no ; then - echo "$as_me:13086: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + echo "$as_me:13074: checking for _LARGEFILE_SOURCE value needed for large files" >&5 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13091,7 +13079,7 @@ else while :; do ac_cv_sys_largefile_source=no cat >conftest.$ac_ext <<_ACEOF -#line 13094 "configure" +#line 13082 "configure" #include "confdefs.h" #include int @@ -13103,16 +13091,16 @@ return !fseeko; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13106: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13094: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13109: \$? = $ac_status" >&5 + echo "$as_me:13097: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13112: \"$ac_try\"") >&5 + { (eval echo "$as_me:13100: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13115: \$? = $ac_status" >&5 + echo "$as_me:13103: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -13121,7 +13109,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 13124 "configure" +#line 13112 "configure" #include "confdefs.h" #define _LARGEFILE_SOURCE 1 #include @@ -13134,16 +13122,16 @@ return !fseeko; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13137: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13125: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13140: \$? = $ac_status" >&5 + echo "$as_me:13128: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13143: \"$ac_try\"") >&5 + { (eval echo "$as_me:13131: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13146: \$? = $ac_status" >&5 + echo "$as_me:13134: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_source=1; break else @@ -13154,7 +13142,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:13157: result: $ac_cv_sys_largefile_source" >&5 +echo "$as_me:13145: result: $ac_cv_sys_largefile_source" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 if test "$ac_cv_sys_largefile_source" != no; then @@ -13168,13 +13156,13 @@ rm -rf conftest* # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug # in glibc 2.1.3, but that breaks too many other things. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. -echo "$as_me:13171: checking for fseeko" >&5 +echo "$as_me:13159: checking for fseeko" >&5 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 if test "${ac_cv_func_fseeko+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 13177 "configure" +#line 13165 "configure" #include "confdefs.h" #include int @@ -13186,16 +13174,16 @@ return fseeko && fseeko (stdin, 0, 0); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13189: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13177: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13192: \$? = $ac_status" >&5 + echo "$as_me:13180: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13195: \"$ac_try\"") >&5 + { (eval echo "$as_me:13183: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13198: \$? = $ac_status" >&5 + echo "$as_me:13186: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fseeko=yes else @@ -13205,7 +13193,7 @@ ac_cv_func_fseeko=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:13208: result: $ac_cv_func_fseeko" >&5 +echo "$as_me:13196: result: $ac_cv_func_fseeko" >&5 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 if test $ac_cv_func_fseeko = yes; then @@ -13244,14 +13232,14 @@ fi fi - echo "$as_me:13247: checking whether to use struct dirent64" >&5 + echo "$as_me:13235: checking whether to use struct dirent64" >&5 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6 if test "${cf_cv_struct_dirent64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 13254 "configure" +#line 13242 "configure" #include "confdefs.h" #pragma GCC diagnostic error "-Wincompatible-pointer-types" @@ -13273,16 +13261,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13276: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13264: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13279: \$? = $ac_status" >&5 + echo "$as_me:13267: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13282: \"$ac_try\"") >&5 + { (eval echo "$as_me:13270: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13285: \$? = $ac_status" >&5 + echo "$as_me:13273: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_struct_dirent64=yes else @@ -13293,7 +13281,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13296: result: $cf_cv_struct_dirent64" >&5 +echo "$as_me:13284: result: $cf_cv_struct_dirent64" >&5 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF @@ -13303,7 +13291,7 @@ EOF fi ### Enable compiling-in rcs id's -echo "$as_me:13306: checking if RCS identifiers should be compiled-in" >&5 +echo "$as_me:13294: checking if RCS identifiers should be compiled-in" >&5 echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 # Check whether --with-rcs-ids or --without-rcs-ids was given. @@ -13313,7 +13301,7 @@ if test "${with_rcs_ids+set}" = set; then else with_rcs_ids=no fi; -echo "$as_me:13316: result: $with_rcs_ids" >&5 +echo "$as_me:13304: result: $with_rcs_ids" >&5 echo "${ECHO_T}$with_rcs_ids" >&6 test "$with_rcs_ids" = yes && cat >>confdefs.h <<\EOF @@ -13323,7 +13311,7 @@ EOF ############################################################################### ### Note that some functions (such as const) are normally disabled anyway. -echo "$as_me:13326: checking if you want to build with function extensions" >&5 +echo "$as_me:13314: checking if you want to build with function extensions" >&5 echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 # Check whether --enable-ext-funcs or --disable-ext-funcs was given. @@ -13333,7 +13321,7 @@ if test "${enable_ext_funcs+set}" = set; then else with_ext_funcs=yes fi; -echo "$as_me:13336: result: $with_ext_funcs" >&5 +echo "$as_me:13324: result: $with_ext_funcs" >&5 echo "${ECHO_T}$with_ext_funcs" >&6 if test "$with_ext_funcs" = yes ; then NCURSES_EXT_FUNCS=1 @@ -13351,7 +13339,7 @@ else fi ### use option --enable-const to turn on use of const beyond that in XSI. -echo "$as_me:13354: checking for extended use of const keyword" >&5 +echo "$as_me:13342: checking for extended use of const keyword" >&5 echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 # Check whether --enable-const or --disable-const was given. @@ -13361,7 +13349,7 @@ if test "${enable_const+set}" = set; then else with_ext_const=no fi; -echo "$as_me:13364: result: $with_ext_const" >&5 +echo "$as_me:13352: result: $with_ext_const" >&5 echo "${ECHO_T}$with_ext_const" >&6 NCURSES_CONST='/*nothing*/' if test "$with_ext_const" = yes ; then @@ -13371,7 +13359,7 @@ fi ############################################################################### # These options are relatively safe to experiment with. -echo "$as_me:13374: checking if you want all development code" >&5 +echo "$as_me:13362: checking if you want all development code" >&5 echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 # Check whether --with-develop or --without-develop was given. @@ -13381,7 +13369,7 @@ if test "${with_develop+set}" = set; then else with_develop=no fi; -echo "$as_me:13384: result: $with_develop" >&5 +echo "$as_me:13372: result: $with_develop" >&5 echo "${ECHO_T}$with_develop" >&6 ############################################################################### @@ -13390,7 +13378,7 @@ echo "${ECHO_T}$with_develop" >&6 # This is still experimental (20080329), but should ultimately be moved to # the script-block --with-normal, etc. -echo "$as_me:13393: checking if you want to link with the pthread library" >&5 +echo "$as_me:13381: checking if you want to link with the pthread library" >&5 echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 # Check whether --with-pthread or --without-pthread was given. @@ -13400,27 +13388,27 @@ if test "${with_pthread+set}" = set; then else with_pthread=no fi; -echo "$as_me:13403: result: $with_pthread" >&5 +echo "$as_me:13391: result: $with_pthread" >&5 echo "${ECHO_T}$with_pthread" >&6 if test "$with_pthread" != no ; then - echo "$as_me:13407: checking for pthread.h" >&5 + echo "$as_me:13395: checking for pthread.h" >&5 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 if test "${ac_cv_header_pthread_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 13413 "configure" +#line 13401 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:13417: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:13405: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:13423: \$? = $ac_status" >&5 + echo "$as_me:13411: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -13439,7 +13427,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:13442: result: $ac_cv_header_pthread_h" >&5 +echo "$as_me:13430: result: $ac_cv_header_pthread_h" >&5 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 if test $ac_cv_header_pthread_h = yes; then @@ -13449,7 +13437,7 @@ EOF for cf_lib_pthread in pthread c_r do - echo "$as_me:13452: checking if we can link with the $cf_lib_pthread library" >&5 + echo "$as_me:13440: checking if we can link with the $cf_lib_pthread library" >&5 echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 cf_save_LIBS="$LIBS" @@ -13470,7 +13458,7 @@ done LIBS="$cf_add_libs" cat >conftest.$ac_ext <<_ACEOF -#line 13473 "configure" +#line 13461 "configure" #include "confdefs.h" #include @@ -13487,16 +13475,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13490: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13478: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13493: \$? = $ac_status" >&5 + echo "$as_me:13481: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13496: \"$ac_try\"") >&5 + { (eval echo "$as_me:13484: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13499: \$? = $ac_status" >&5 + echo "$as_me:13487: \$? = $ac_status" >&5 (exit $ac_status); }; }; then with_pthread=yes else @@ -13506,7 +13494,7 @@ with_pthread=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$cf_save_LIBS" - echo "$as_me:13509: result: $with_pthread" >&5 + echo "$as_me:13497: result: $with_pthread" >&5 echo "${ECHO_T}$with_pthread" >&6 test "$with_pthread" = yes && break done @@ -13534,7 +13522,7 @@ cat >>confdefs.h <<\EOF EOF else - { { echo "$as_me:13537: error: Cannot link with pthread library" >&5 + { { echo "$as_me:13525: error: Cannot link with pthread library" >&5 echo "$as_me: error: Cannot link with pthread library" >&2;} { (exit 1); exit 1; }; } fi @@ -13543,7 +13531,7 @@ fi fi -echo "$as_me:13546: checking if you want to use weak-symbols for pthreads" >&5 +echo "$as_me:13534: checking if you want to use weak-symbols for pthreads" >&5 echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 # Check whether --enable-weak-symbols or --disable-weak-symbols was given. @@ -13553,18 +13541,18 @@ if test "${enable_weak_symbols+set}" = set; then else use_weak_symbols=no fi; -echo "$as_me:13556: result: $use_weak_symbols" >&5 +echo "$as_me:13544: result: $use_weak_symbols" >&5 echo "${ECHO_T}$use_weak_symbols" >&6 if test "$use_weak_symbols" = yes ; then -echo "$as_me:13560: checking if $CC supports weak symbols" >&5 +echo "$as_me:13548: checking if $CC supports weak symbols" >&5 echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 if test "${cf_cv_weak_symbols+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 13567 "configure" +#line 13555 "configure" #include "confdefs.h" #include @@ -13590,16 +13578,16 @@ weak_symbol(fopen); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13593: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13581: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13596: \$? = $ac_status" >&5 + echo "$as_me:13584: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13599: \"$ac_try\"") >&5 + { (eval echo "$as_me:13587: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13602: \$? = $ac_status" >&5 + echo "$as_me:13590: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_weak_symbols=yes else @@ -13610,7 +13598,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13613: result: $cf_cv_weak_symbols" >&5 +echo "$as_me:13601: result: $cf_cv_weak_symbols" >&5 echo "${ECHO_T}$cf_cv_weak_symbols" >&6 else @@ -13639,13 +13627,13 @@ EOF fi # OpenSUSE is installing ncurses6, using reentrant option. -echo "$as_me:13642: checking for _nc_TABSIZE" >&5 +echo "$as_me:13630: checking for _nc_TABSIZE" >&5 echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6 if test "${ac_cv_func__nc_TABSIZE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 13648 "configure" +#line 13636 "configure" #include "confdefs.h" #define _nc_TABSIZE autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -13676,16 +13664,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13679: \"$ac_link\"") >&5 +if { (eval echo "$as_me:13667: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13682: \$? = $ac_status" >&5 + echo "$as_me:13670: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13685: \"$ac_try\"") >&5 + { (eval echo "$as_me:13673: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13688: \$? = $ac_status" >&5 + echo "$as_me:13676: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func__nc_TABSIZE=yes else @@ -13695,7 +13683,7 @@ ac_cv_func__nc_TABSIZE=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:13698: result: $ac_cv_func__nc_TABSIZE" >&5 +echo "$as_me:13686: result: $ac_cv_func__nc_TABSIZE" >&5 echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6 if test $ac_cv_func__nc_TABSIZE = yes; then assume_reentrant=yes @@ -13707,7 +13695,7 @@ fi # opaque outside of that, so there is no --enable-opaque option. We can use # this option without --with-pthreads, but this will be always set for # pthreads. -echo "$as_me:13710: checking if you want experimental reentrant code" >&5 +echo "$as_me:13698: checking if you want experimental reentrant code" >&5 echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 # Check whether --enable-reentrant or --disable-reentrant was given. @@ -13717,7 +13705,7 @@ if test "${enable_reentrant+set}" = set; then else with_reentrant=$assume_reentrant fi; -echo "$as_me:13720: result: $with_reentrant" >&5 +echo "$as_me:13708: result: $with_reentrant" >&5 echo "${ECHO_T}$with_reentrant" >&6 if test "$with_reentrant" = yes ; then cf_cv_enable_reentrant=1 @@ -13740,7 +13728,7 @@ fi ### Allow using a different wrap-prefix if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then - echo "$as_me:13743: checking for prefix used to wrap public variables" >&5 + echo "$as_me:13731: checking for prefix used to wrap public variables" >&5 echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 # Check whether --with-wrap-prefix or --without-wrap-prefix was given. @@ -13750,7 +13738,7 @@ if test "${with_wrap_prefix+set}" = set; then else NCURSES_WRAP_PREFIX=_nc_ fi; - echo "$as_me:13753: result: $NCURSES_WRAP_PREFIX" >&5 + echo "$as_me:13741: result: $NCURSES_WRAP_PREFIX" >&5 echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 else NCURSES_WRAP_PREFIX=_nc_ @@ -13764,7 +13752,7 @@ EOF ### use option --disable-echo to suppress full display compiling commands -echo "$as_me:13767: checking if you want to see long compiling messages" >&5 +echo "$as_me:13755: checking if you want to see long compiling messages" >&5 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6 # Check whether --enable-echo or --disable-echo was given. @@ -13798,11 +13786,11 @@ else ECHO_CC='' fi; -echo "$as_me:13801: result: $enableval" >&5 +echo "$as_me:13789: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 ### use option --enable-warnings to turn on all gcc warnings -echo "$as_me:13805: checking if you want to see compiler warnings" >&5 +echo "$as_me:13793: checking if you want to see compiler warnings" >&5 echo $ECHO_N "checking if you want to see compiler warnings... $ECHO_C" >&6 # Check whether --enable-warnings or --disable-warnings was given. @@ -13810,7 +13798,7 @@ if test "${enable_warnings+set}" = set; then enableval="$enable_warnings" with_warnings=$enableval fi; -echo "$as_me:13813: result: $with_warnings" >&5 +echo "$as_me:13801: result: $with_warnings" >&5 echo "${ECHO_T}$with_warnings" >&6 if test "x$with_warnings" = "xyes"; then @@ -13836,7 +13824,7 @@ do done cat >conftest.$ac_ext <<_ACEOF -#line 13839 "configure" +#line 13827 "configure" #include "confdefs.h" #include @@ -13851,26 +13839,26 @@ String foo = malloc(1) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13854: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13842: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13857: \$? = $ac_status" >&5 + echo "$as_me:13845: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13860: \"$ac_try\"") >&5 + { (eval echo "$as_me:13848: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13863: \$? = $ac_status" >&5 + echo "$as_me:13851: \$? = $ac_status" >&5 (exit $ac_status); }; }; then -echo "$as_me:13866: checking for X11/Xt const-feature" >&5 +echo "$as_me:13854: checking for X11/Xt const-feature" >&5 echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 if test "${cf_cv_const_x_string+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 13873 "configure" +#line 13861 "configure" #include "confdefs.h" #define _CONST_X_STRING /* X11R7.8 (perhaps) */ @@ -13887,16 +13875,16 @@ String foo = malloc(1); *foo = 0 } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:13890: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:13878: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13893: \$? = $ac_status" >&5 + echo "$as_me:13881: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13896: \"$ac_try\"") >&5 + { (eval echo "$as_me:13884: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13899: \$? = $ac_status" >&5 + echo "$as_me:13887: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_const_x_string=no @@ -13911,7 +13899,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:13914: result: $cf_cv_const_x_string" >&5 +echo "$as_me:13902: result: $cf_cv_const_x_string" >&5 echo "${ECHO_T}$cf_cv_const_x_string" >&6 LIBS="$cf_save_LIBS_CF_CONST_X_STRING" @@ -13940,7 +13928,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi cat > conftest.$ac_ext <&5 + { echo "$as_me:13947: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="-Wall" @@ -13972,12 +13960,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:13975: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:13963: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13978: \$? = $ac_status" >&5 + echo "$as_me:13966: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:13980: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:13968: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -13985,7 +13973,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 CFLAGS="$cf_save_CFLAGS" elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" then - { echo "$as_me:13988: checking for $CC warning options..." >&5 + { echo "$as_me:13976: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS= @@ -14009,12 +13997,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:14012: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:14000: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14015: \$? = $ac_status" >&5 + echo "$as_me:14003: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:14017: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:14005: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case $cf_opt in (Winline) @@ -14022,7 +14010,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 ([34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:14025: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:14013: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -14032,7 +14020,7 @@ echo "${as_me:-configure}:14025: testing feature is broken in gcc $GCC_VERSION . ([12].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:14035: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:14023: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -14065,10 +14053,10 @@ cat > conftest.i <&5 + { echo "$as_me:14056: checking for $CC __attribute__ directives..." >&5 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} cat > conftest.$ac_ext <&5 + if { (eval echo "$as_me:14108: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14123: \$? = $ac_status" >&5 + echo "$as_me:14111: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:14125: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:14113: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h case $cf_attribute in @@ -14182,7 +14170,7 @@ rm -rf conftest* fi ### use option --enable-assertions to turn on generation of assertion code -echo "$as_me:14185: checking if you want to enable runtime assertions" >&5 +echo "$as_me:14173: checking if you want to enable runtime assertions" >&5 echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 # Check whether --enable-assertions or --disable-assertions was given. @@ -14192,7 +14180,7 @@ if test "${enable_assertions+set}" = set; then else with_assertions=no fi; -echo "$as_me:14195: result: $with_assertions" >&5 +echo "$as_me:14183: result: $with_assertions" >&5 echo "${ECHO_T}$with_assertions" >&6 if test -n "$GCC" then @@ -14245,7 +14233,7 @@ case "$CFLAGS $CPPFLAGS" in ;; esac -echo "$as_me:14248: checking whether to add trace feature to all models" >&5 +echo "$as_me:14236: checking whether to add trace feature to all models" >&5 echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 # Check whether --with-trace or --without-trace was given. @@ -14255,7 +14243,7 @@ if test "${with_trace+set}" = set; then else cf_with_trace=$cf_all_traces fi; -echo "$as_me:14258: result: $cf_with_trace" >&5 +echo "$as_me:14246: result: $cf_with_trace" >&5 echo "${ECHO_T}$cf_with_trace" >&6 if test "$cf_with_trace" = yes ; then @@ -14363,7 +14351,7 @@ else ADA_TRACE=FALSE fi -echo "$as_me:14366: checking if we want to use GNAT projects" >&5 +echo "$as_me:14354: checking if we want to use GNAT projects" >&5 echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 # Check whether --enable-gnat-projects or --disable-gnat-projects was given. @@ -14380,7 +14368,7 @@ else enable_gnat_projects=yes fi; -echo "$as_me:14383: result: $enable_gnat_projects" >&5 +echo "$as_me:14371: result: $enable_gnat_projects" >&5 echo "${ECHO_T}$enable_gnat_projects" >&6 ### Checks for libraries. @@ -14388,13 +14376,13 @@ case $cf_cv_system_name in (*mingw32*) ;; (*) -echo "$as_me:14391: checking for gettimeofday" >&5 +echo "$as_me:14379: checking for gettimeofday" >&5 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 if test "${ac_cv_func_gettimeofday+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14397 "configure" +#line 14385 "configure" #include "confdefs.h" #define gettimeofday autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -14425,16 +14413,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14428: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14416: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14431: \$? = $ac_status" >&5 + echo "$as_me:14419: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14434: \"$ac_try\"") >&5 + { (eval echo "$as_me:14422: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14437: \$? = $ac_status" >&5 + echo "$as_me:14425: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_gettimeofday=yes else @@ -14444,7 +14432,7 @@ ac_cv_func_gettimeofday=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:14447: result: $ac_cv_func_gettimeofday" >&5 +echo "$as_me:14435: result: $ac_cv_func_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 if test $ac_cv_func_gettimeofday = yes; then cat >>confdefs.h <<\EOF @@ -14453,7 +14441,7 @@ EOF else -echo "$as_me:14456: checking for gettimeofday in -lbsd" >&5 +echo "$as_me:14444: checking for gettimeofday in -lbsd" >&5 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -14461,7 +14449,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 14464 "configure" +#line 14452 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -14480,16 +14468,16 @@ gettimeofday (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14483: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14471: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14486: \$? = $ac_status" >&5 + echo "$as_me:14474: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14489: \"$ac_try\"") >&5 + { (eval echo "$as_me:14477: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14492: \$? = $ac_status" >&5 + echo "$as_me:14480: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bsd_gettimeofday=yes else @@ -14500,7 +14488,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:14503: result: $ac_cv_lib_bsd_gettimeofday" >&5 +echo "$as_me:14491: result: $ac_cv_lib_bsd_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 if test $ac_cv_lib_bsd_gettimeofday = yes; then @@ -14516,13 +14504,13 @@ fi esac ### Checks for header files. -echo "$as_me:14519: checking for ANSI C header files" >&5 +echo "$as_me:14507: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14525 "configure" +#line 14513 "configure" #include "confdefs.h" #include #include @@ -14530,13 +14518,13 @@ else #include _ACEOF -if { (eval echo "$as_me:14533: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:14521: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:14539: \$? = $ac_status" >&5 + echo "$as_me:14527: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -14558,7 +14546,7 @@ rm -f conftest.err conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 14561 "configure" +#line 14549 "configure" #include "confdefs.h" #include @@ -14576,7 +14564,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 14579 "configure" +#line 14567 "configure" #include "confdefs.h" #include @@ -14597,7 +14585,7 @@ if test $ac_cv_header_stdc = yes; then : else cat >conftest.$ac_ext <<_ACEOF -#line 14600 "configure" +#line 14588 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -14623,15 +14611,15 @@ main (void) } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:14626: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14614: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14629: \$? = $ac_status" >&5 + echo "$as_me:14617: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:14631: \"$ac_try\"") >&5 + { (eval echo "$as_me:14619: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14634: \$? = $ac_status" >&5 + echo "$as_me:14622: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -14644,7 +14632,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi -echo "$as_me:14647: result: $ac_cv_header_stdc" >&5 +echo "$as_me:14635: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -14660,28 +14648,28 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:14663: checking for $ac_header" >&5 +echo "$as_me:14651: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14669 "configure" +#line 14657 "configure" #include "confdefs.h" $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14675: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14663: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14678: \$? = $ac_status" >&5 + echo "$as_me:14666: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14681: \"$ac_try\"") >&5 + { (eval echo "$as_me:14669: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14684: \$? = $ac_status" >&5 + echo "$as_me:14672: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else @@ -14691,7 +14679,7 @@ eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:14694: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:14682: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:14692: checking for signed char" >&5 echo $ECHO_N "checking for signed char... $ECHO_C" >&6 if test "${ac_cv_type_signed_char+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14710 "configure" +#line 14698 "configure" #include "confdefs.h" $ac_includes_default int @@ -14722,16 +14710,16 @@ if (sizeof (signed char)) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14725: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14713: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14728: \$? = $ac_status" >&5 + echo "$as_me:14716: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14731: \"$ac_try\"") >&5 + { (eval echo "$as_me:14719: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14734: \$? = $ac_status" >&5 + echo "$as_me:14722: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signed_char=yes else @@ -14741,10 +14729,10 @@ ac_cv_type_signed_char=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:14744: result: $ac_cv_type_signed_char" >&5 +echo "$as_me:14732: result: $ac_cv_type_signed_char" >&5 echo "${ECHO_T}$ac_cv_type_signed_char" >&6 -echo "$as_me:14747: checking size of signed char" >&5 +echo "$as_me:14735: checking size of signed char" >&5 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 if test "${ac_cv_sizeof_signed_char+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -14753,7 +14741,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 14756 "configure" +#line 14744 "configure" #include "confdefs.h" $ac_includes_default int @@ -14765,21 +14753,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14768: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14756: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14771: \$? = $ac_status" >&5 + echo "$as_me:14759: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14774: \"$ac_try\"") >&5 + { (eval echo "$as_me:14762: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14777: \$? = $ac_status" >&5 + echo "$as_me:14765: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 14782 "configure" +#line 14770 "configure" #include "confdefs.h" $ac_includes_default int @@ -14791,16 +14779,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14794: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14782: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14797: \$? = $ac_status" >&5 + echo "$as_me:14785: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14800: \"$ac_try\"") >&5 + { (eval echo "$as_me:14788: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14803: \$? = $ac_status" >&5 + echo "$as_me:14791: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -14816,7 +14804,7 @@ cat conftest.$ac_ext >&5 ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 14819 "configure" +#line 14807 "configure" #include "confdefs.h" $ac_includes_default int @@ -14828,16 +14816,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14831: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14819: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14834: \$? = $ac_status" >&5 + echo "$as_me:14822: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14837: \"$ac_try\"") >&5 + { (eval echo "$as_me:14825: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14840: \$? = $ac_status" >&5 + echo "$as_me:14828: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -14853,7 +14841,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF -#line 14856 "configure" +#line 14844 "configure" #include "confdefs.h" $ac_includes_default int @@ -14865,16 +14853,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:14868: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:14856: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14871: \$? = $ac_status" >&5 + echo "$as_me:14859: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14874: \"$ac_try\"") >&5 + { (eval echo "$as_me:14862: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14877: \$? = $ac_status" >&5 + echo "$as_me:14865: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -14887,12 +14875,12 @@ done ac_cv_sizeof_signed_char=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:14890: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:14878: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 14895 "configure" +#line 14883 "configure" #include "confdefs.h" $ac_includes_default int @@ -14908,15 +14896,15 @@ fclose (f); } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:14911: \"$ac_link\"") >&5 +if { (eval echo "$as_me:14899: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14914: \$? = $ac_status" >&5 + echo "$as_me:14902: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:14916: \"$ac_try\"") >&5 + { (eval echo "$as_me:14904: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14919: \$? = $ac_status" >&5 + echo "$as_me:14907: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_signed_char=`cat conftest.val` else @@ -14932,19 +14920,19 @@ else ac_cv_sizeof_signed_char=0 fi fi -echo "$as_me:14935: result: $ac_cv_sizeof_signed_char" >&5 +echo "$as_me:14923: result: $ac_cv_sizeof_signed_char" >&5 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 cat >>confdefs.h <&5 +echo "$as_me:14929: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 14947 "configure" +#line 14935 "configure" #include "confdefs.h" #include #include @@ -14952,13 +14940,13 @@ else #include _ACEOF -if { (eval echo "$as_me:14955: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:14943: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:14961: \$? = $ac_status" >&5 + echo "$as_me:14949: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -14980,7 +14968,7 @@ rm -f conftest.err conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 14983 "configure" +#line 14971 "configure" #include "confdefs.h" #include @@ -14998,7 +14986,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 15001 "configure" +#line 14989 "configure" #include "confdefs.h" #include @@ -15019,7 +15007,7 @@ if test $ac_cv_header_stdc = yes; then : else cat >conftest.$ac_ext <<_ACEOF -#line 15022 "configure" +#line 15010 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -15045,15 +15033,15 @@ main (void) } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15048: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15036: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15051: \$? = $ac_status" >&5 + echo "$as_me:15039: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15053: \"$ac_try\"") >&5 + { (eval echo "$as_me:15041: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15056: \$? = $ac_status" >&5 + echo "$as_me:15044: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -15066,7 +15054,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi -echo "$as_me:15069: result: $ac_cv_header_stdc" >&5 +echo "$as_me:15057: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -15079,13 +15067,13 @@ fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -echo "$as_me:15082: checking for $ac_hdr that defines DIR" >&5 +echo "$as_me:15070: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 15088 "configure" +#line 15076 "configure" #include "confdefs.h" #include #include <$ac_hdr> @@ -15100,16 +15088,16 @@ return 0; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15103: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15091: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15106: \$? = $ac_status" >&5 + echo "$as_me:15094: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15109: \"$ac_try\"") >&5 + { (eval echo "$as_me:15097: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15112: \$? = $ac_status" >&5 + echo "$as_me:15100: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else @@ -15119,7 +15107,7 @@ eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:15122: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:15110: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 + echo "$as_me:15123: checking for opendir in -ldir" >&5 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 if test "${ac_cv_lib_dir_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15140,7 +15128,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldir $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 15143 "configure" +#line 15131 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15159,16 +15147,16 @@ opendir (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15162: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15150: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15165: \$? = $ac_status" >&5 + echo "$as_me:15153: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15168: \"$ac_try\"") >&5 + { (eval echo "$as_me:15156: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15171: \$? = $ac_status" >&5 + echo "$as_me:15159: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dir_opendir=yes else @@ -15179,14 +15167,14 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15182: result: $ac_cv_lib_dir_opendir" >&5 +echo "$as_me:15170: result: $ac_cv_lib_dir_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 if test $ac_cv_lib_dir_opendir = yes; then LIBS="$LIBS -ldir" fi else - echo "$as_me:15189: checking for opendir in -lx" >&5 + echo "$as_me:15177: checking for opendir in -lx" >&5 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 if test "${ac_cv_lib_x_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15194,7 +15182,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lx $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 15197 "configure" +#line 15185 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15213,16 +15201,16 @@ opendir (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15216: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15204: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15219: \$? = $ac_status" >&5 + echo "$as_me:15207: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15222: \"$ac_try\"") >&5 + { (eval echo "$as_me:15210: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15225: \$? = $ac_status" >&5 + echo "$as_me:15213: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_x_opendir=yes else @@ -15233,7 +15221,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15236: result: $ac_cv_lib_x_opendir" >&5 +echo "$as_me:15224: result: $ac_cv_lib_x_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 if test $ac_cv_lib_x_opendir = yes; then LIBS="$LIBS -lx" @@ -15241,13 +15229,13 @@ fi fi -echo "$as_me:15244: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:15232: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 15250 "configure" +#line 15238 "configure" #include "confdefs.h" #include #include @@ -15263,16 +15251,16 @@ return 0; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15266: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15254: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15269: \$? = $ac_status" >&5 + echo "$as_me:15257: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15272: \"$ac_try\"") >&5 + { (eval echo "$as_me:15260: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15275: \$? = $ac_status" >&5 + echo "$as_me:15263: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else @@ -15282,7 +15270,7 @@ ac_cv_header_time=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:15285: result: $ac_cv_header_time" >&5 +echo "$as_me:15273: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -15300,13 +15288,13 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return=return -echo "$as_me:15303: checking for an ANSI C-conforming const" >&5 +echo "$as_me:15291: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 15309 "configure" +#line 15297 "configure" #include "confdefs.h" int @@ -15364,16 +15352,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:15367: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:15355: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15370: \$? = $ac_status" >&5 + echo "$as_me:15358: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15373: \"$ac_try\"") >&5 + { (eval echo "$as_me:15361: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15376: \$? = $ac_status" >&5 + echo "$as_me:15364: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else @@ -15383,7 +15371,7 @@ ac_cv_c_const=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:15386: result: $ac_cv_c_const" >&5 +echo "$as_me:15374: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -15395,7 +15383,7 @@ fi ### Checks for external-data -echo "$as_me:15398: checking if data-only library module links" >&5 +echo "$as_me:15386: checking if data-only library module links" >&5 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 if test "${cf_cv_link_dataonly+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15403,20 +15391,20 @@ else rm -f conftest.a cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:15397: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15412: \$? = $ac_status" >&5 + echo "$as_me:15400: \$? = $ac_status" >&5 (exit $ac_status); } ; then mv conftest.o data.o && \ ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null fi rm -f conftest.$ac_ext data.o cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:15420: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15435: \$? = $ac_status" >&5 + echo "$as_me:15423: \$? = $ac_status" >&5 (exit $ac_status); }; then mv conftest.o func.o && \ ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null @@ -15445,7 +15433,7 @@ EOF cf_cv_link_dataonly=unknown else cat >conftest.$ac_ext <<_ACEOF -#line 15448 "configure" +#line 15436 "configure" #include "confdefs.h" int main(void) @@ -15456,15 +15444,15 @@ else _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15459: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15447: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15462: \$? = $ac_status" >&5 + echo "$as_me:15450: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15464: \"$ac_try\"") >&5 + { (eval echo "$as_me:15452: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15467: \$? = $ac_status" >&5 + echo "$as_me:15455: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_link_dataonly=yes else @@ -15479,7 +15467,7 @@ fi fi -echo "$as_me:15482: result: $cf_cv_link_dataonly" >&5 +echo "$as_me:15470: result: $cf_cv_link_dataonly" >&5 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 if test "$cf_cv_link_dataonly" = no ; then @@ -15498,23 +15486,23 @@ unistd.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:15501: checking for $ac_header" >&5 +echo "$as_me:15489: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 15507 "configure" +#line 15495 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:15511: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:15499: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:15517: \$? = $ac_status" >&5 + echo "$as_me:15505: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -15533,7 +15521,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:15536: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:15524: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:15534: checking for working mkstemp" >&5 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 if test "${cf_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15554,7 +15542,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_mkstemp=maybe else cat >conftest.$ac_ext <<_ACEOF -#line 15557 "configure" +#line 15545 "configure" #include "confdefs.h" #include @@ -15595,15 +15583,15 @@ int main(void) _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:15598: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15586: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15601: \$? = $ac_status" >&5 + echo "$as_me:15589: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:15603: \"$ac_try\"") >&5 + { (eval echo "$as_me:15591: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15606: \$? = $ac_status" >&5 + echo "$as_me:15594: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_func_mkstemp=yes @@ -15618,16 +15606,16 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:15621: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:15609: result: $cf_cv_func_mkstemp" >&5 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 if test "x$cf_cv_func_mkstemp" = xmaybe ; then - echo "$as_me:15624: checking for mkstemp" >&5 + echo "$as_me:15612: checking for mkstemp" >&5 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 if test "${ac_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 15630 "configure" +#line 15618 "configure" #include "confdefs.h" #define mkstemp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15658,16 +15646,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15661: \"$ac_link\"") >&5 +if { (eval echo "$as_me:15649: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15664: \$? = $ac_status" >&5 + echo "$as_me:15652: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15667: \"$ac_try\"") >&5 + { (eval echo "$as_me:15655: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15670: \$? = $ac_status" >&5 + echo "$as_me:15658: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mkstemp=yes else @@ -15677,7 +15665,7 @@ ac_cv_func_mkstemp=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:15680: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:15668: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 fi @@ -15706,7 +15694,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- unset cf_TEMP_gnat # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. set dummy $cf_prog_gnat; ac_word=$2 -echo "$as_me:15709: checking for $ac_word" >&5 +echo "$as_me:15697: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15723,7 +15711,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" - echo "$as_me:15726: found $ac_dir/$ac_word" >&5 + echo "$as_me:15714: found $ac_dir/$ac_word" >&5 break fi done @@ -15735,10 +15723,10 @@ fi cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat if test -n "$cf_TEMP_gnat"; then - echo "$as_me:15738: result: $cf_TEMP_gnat" >&5 + echo "$as_me:15726: result: $cf_TEMP_gnat" >&5 echo "${ECHO_T}$cf_TEMP_gnat" >&6 else - echo "$as_me:15741: result: no" >&5 + echo "$as_me:15729: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -15748,7 +15736,7 @@ fi unset cf_cv_gnat_version unset cf_TEMP_gnat -echo "$as_me:15751: checking for $cf_prog_gnat version" >&5 +echo "$as_me:15739: checking for $cf_prog_gnat version" >&5 echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 if test "${cf_cv_gnat_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15759,7 +15747,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` fi -echo "$as_me:15762: result: $cf_cv_gnat_version" >&5 +echo "$as_me:15750: result: $cf_cv_gnat_version" >&5 echo "${ECHO_T}$cf_cv_gnat_version" >&6 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version @@ -15788,7 +15776,7 @@ else cd conftest.src for cf_gprconfig in Ada C do - echo "$as_me:15791: checking for gprconfig name for $cf_gprconfig" >&5 + echo "$as_me:15779: checking for gprconfig name for $cf_gprconfig" >&5 echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 if test $cf_gprconfig = C then @@ -15807,10 +15795,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 if test -n "$cf_gprconfig_value" then eval cf_ada_config_$cf_gprconfig=$cf_gprconfig_value - echo "$as_me:15810: result: $cf_gprconfig_value" >&5 + echo "$as_me:15798: result: $cf_gprconfig_value" >&5 echo "${ECHO_T}$cf_gprconfig_value" >&6 else - echo "$as_me:15813: result: missing" >&5 + echo "$as_me:15801: result: missing" >&5 echo "${ECHO_T}missing" >&6 cf_ada_config="#" break @@ -15823,7 +15811,7 @@ echo "${ECHO_T}missing" >&6 if test "x$cf_ada_config" != "x#" then -echo "$as_me:15826: checking for gnat version" >&5 +echo "$as_me:15814: checking for gnat version" >&5 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 if test "${cf_cv_gnat_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15834,7 +15822,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` fi -echo "$as_me:15837: result: $cf_cv_gnat_version" >&5 +echo "$as_me:15825: result: $cf_cv_gnat_version" >&5 echo "${ECHO_T}$cf_cv_gnat_version" >&6 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no @@ -15843,7 +15831,7 @@ case $cf_cv_gnat_version in cf_cv_prog_gnat_correct=yes ;; (*) - { echo "$as_me:15846: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + { echo "$as_me:15834: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} cf_cv_prog_gnat_correct=no ;; @@ -15851,7 +15839,7 @@ esac # Extract the first word of "m4", so it can be a program name with args. set dummy m4; ac_word=$2 -echo "$as_me:15854: checking for $ac_word" >&5 +echo "$as_me:15842: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_M4_exists+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15866,7 +15854,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_M4_exists="yes" -echo "$as_me:15869: found $ac_dir/$ac_word" >&5 +echo "$as_me:15857: found $ac_dir/$ac_word" >&5 break done @@ -15875,20 +15863,20 @@ fi fi M4_exists=$ac_cv_prog_M4_exists if test -n "$M4_exists"; then - echo "$as_me:15878: result: $M4_exists" >&5 + echo "$as_me:15866: result: $M4_exists" >&5 echo "${ECHO_T}$M4_exists" >&6 else - echo "$as_me:15881: result: no" >&5 + echo "$as_me:15869: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$ac_cv_prog_M4_exists" = no; then cf_cv_prog_gnat_correct=no - { echo "$as_me:15887: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + { echo "$as_me:15875: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:15891: checking if GNAT works" >&5 + echo "$as_me:15879: checking if GNAT works" >&5 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 rm -rf conftest* *~conftest* @@ -15916,7 +15904,7 @@ else fi rm -rf conftest* *~conftest* - echo "$as_me:15919: result: $cf_cv_prog_gnat_correct" >&5 + echo "$as_me:15907: result: $cf_cv_prog_gnat_correct" >&5 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 fi else @@ -15926,7 +15914,7 @@ fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:15929: checking optimization options for ADAFLAGS" >&5 + echo "$as_me:15917: checking optimization options for ADAFLAGS" >&5 echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 case "$CFLAGS" in (*-g*) @@ -15943,10 +15931,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 ;; esac - echo "$as_me:15946: result: $ADAFLAGS" >&5 + echo "$as_me:15934: result: $ADAFLAGS" >&5 echo "${ECHO_T}$ADAFLAGS" >&6 -echo "$as_me:15949: checking if GNATPREP supports -T option" >&5 +echo "$as_me:15937: checking if GNATPREP supports -T option" >&5 echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 if test "${cf_cv_gnatprep_opt_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15956,11 +15944,11 @@ cf_cv_gnatprep_opt_t=no gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes fi -echo "$as_me:15959: result: $cf_cv_gnatprep_opt_t" >&5 +echo "$as_me:15947: result: $cf_cv_gnatprep_opt_t" >&5 echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" -echo "$as_me:15963: checking if GNAT supports generics" >&5 +echo "$as_me:15951: checking if GNAT supports generics" >&5 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 case $cf_cv_gnat_version in (3.[1-9]*|[4-9].*) @@ -15970,7 +15958,7 @@ case $cf_cv_gnat_version in cf_gnat_generics=no ;; esac -echo "$as_me:15973: result: $cf_gnat_generics" >&5 +echo "$as_me:15961: result: $cf_gnat_generics" >&5 echo "${ECHO_T}$cf_gnat_generics" >&6 if test "$cf_gnat_generics" = yes @@ -15982,7 +15970,7 @@ else cf_generic_objects= fi -echo "$as_me:15985: checking if GNAT supports SIGINT" >&5 +echo "$as_me:15973: checking if GNAT supports SIGINT" >&5 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 if test "${cf_cv_gnat_sigint+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -16030,7 +16018,7 @@ fi rm -rf conftest* *~conftest* fi -echo "$as_me:16033: result: $cf_cv_gnat_sigint" >&5 +echo "$as_me:16021: result: $cf_cv_gnat_sigint" >&5 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 if test $cf_cv_gnat_sigint = yes ; then @@ -16043,7 +16031,7 @@ cf_gnat_libraries=no cf_gnat_projects=no if test "$enable_gnat_projects" != no ; then -echo "$as_me:16046: checking if GNAT supports project files" >&5 +echo "$as_me:16034: checking if GNAT supports project files" >&5 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 case $cf_cv_gnat_version in (3.[0-9]*) @@ -16106,15 +16094,15 @@ CF_EOF esac ;; esac -echo "$as_me:16109: result: $cf_gnat_projects" >&5 +echo "$as_me:16097: result: $cf_gnat_projects" >&5 echo "${ECHO_T}$cf_gnat_projects" >&6 fi # enable_gnat_projects if test $cf_gnat_projects = yes then - echo "$as_me:16115: checking if GNAT supports libraries" >&5 + echo "$as_me:16103: checking if GNAT supports libraries" >&5 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 - echo "$as_me:16117: result: $cf_gnat_libraries" >&5 + echo "$as_me:16105: result: $cf_gnat_libraries" >&5 echo "${ECHO_T}$cf_gnat_libraries" >&6 fi @@ -16134,7 +16122,7 @@ else USE_GNAT_LIBRARIES="#" fi -echo "$as_me:16137: checking for ada-compiler" >&5 +echo "$as_me:16125: checking for ada-compiler" >&5 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 # Check whether --with-ada-compiler or --without-ada-compiler was given. @@ -16145,12 +16133,12 @@ else cf_ada_compiler=gnatmake fi; -echo "$as_me:16148: result: $cf_ada_compiler" >&5 +echo "$as_me:16136: result: $cf_ada_compiler" >&5 echo "${ECHO_T}$cf_ada_compiler" >&6 cf_ada_package=terminal_interface -echo "$as_me:16153: checking for ada-include" >&5 +echo "$as_me:16141: checking for ada-include" >&5 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 # Check whether --with-ada-include or --without-ada-include was given. @@ -16186,7 +16174,7 @@ case ".$withval" in withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:16189: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:16177: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -16195,10 +16183,10 @@ esac fi eval ADA_INCLUDE="$withval" -echo "$as_me:16198: result: $ADA_INCLUDE" >&5 +echo "$as_me:16186: result: $ADA_INCLUDE" >&5 echo "${ECHO_T}$ADA_INCLUDE" >&6 -echo "$as_me:16201: checking for ada-objects" >&5 +echo "$as_me:16189: checking for ada-objects" >&5 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 # Check whether --with-ada-objects or --without-ada-objects was given. @@ -16234,7 +16222,7 @@ case ".$withval" in withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:16237: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:16225: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -16243,10 +16231,10 @@ esac fi eval ADA_OBJECTS="$withval" -echo "$as_me:16246: result: $ADA_OBJECTS" >&5 +echo "$as_me:16234: result: $ADA_OBJECTS" >&5 echo "${ECHO_T}$ADA_OBJECTS" >&6 -echo "$as_me:16249: checking if an Ada95 shared-library should be built" >&5 +echo "$as_me:16237: checking if an Ada95 shared-library should be built" >&5 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. @@ -16256,14 +16244,14 @@ if test "${with_ada_sharedlib+set}" = set; then else with_ada_sharedlib=no fi; -echo "$as_me:16259: result: $with_ada_sharedlib" >&5 +echo "$as_me:16247: result: $with_ada_sharedlib" >&5 echo "${ECHO_T}$with_ada_sharedlib" >&6 if test "x$with_ada_sharedlib" != xno then if test "x$cf_gnat_projects" != xyes then - { echo "$as_me:16266: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + { echo "$as_me:16254: WARNING: disabling shared-library since GNAT projects are not supported" >&5 echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} with_ada_sharedlib=no fi @@ -16283,7 +16271,7 @@ fi # allow the Ada binding to be renamed -echo "$as_me:16286: checking for ada-libname" >&5 +echo "$as_me:16274: checking for ada-libname" >&5 echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 # Check whether --with-ada-libname or --without-ada-libname was given. @@ -16299,16 +16287,16 @@ case "x$ADA_LIBNAME" in ;; esac -echo "$as_me:16302: result: $ADA_LIBNAME" >&5 +echo "$as_me:16290: result: $ADA_LIBNAME" >&5 echo "${ECHO_T}$ADA_LIBNAME" >&6 else - { { echo "$as_me:16306: error: No usable Ada compiler found" >&5 + { { echo "$as_me:16294: error: No usable Ada compiler found" >&5 echo "$as_me: error: No usable Ada compiler found" >&2;} { (exit 1); exit 1; }; } fi else - { { echo "$as_me:16311: error: The Ada compiler is needed for this package" >&5 + { { echo "$as_me:16299: error: The Ada compiler is needed for this package" >&5 echo "$as_me: error: The Ada compiler is needed for this package" >&2;} { (exit 1); exit 1; }; } fi @@ -16348,7 +16336,7 @@ elif test "$includedir" != "/usr/include"; then fi ### Build up pieces for makefile rules -echo "$as_me:16351: checking default library suffix" >&5 +echo "$as_me:16339: checking default library suffix" >&5 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -16359,10 +16347,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 (shared) DFT_ARG_SUFFIX='' ;; esac test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" -echo "$as_me:16362: result: $DFT_ARG_SUFFIX" >&5 +echo "$as_me:16350: result: $DFT_ARG_SUFFIX" >&5 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 -echo "$as_me:16365: checking default library-dependency suffix" >&5 +echo "$as_me:16353: checking default library-dependency suffix" >&5 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 case X$DFT_LWR_MODEL in @@ -16420,10 +16408,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" fi -echo "$as_me:16423: result: $DFT_DEP_SUFFIX" >&5 +echo "$as_me:16411: result: $DFT_DEP_SUFFIX" >&5 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 -echo "$as_me:16426: checking default object directory" >&5 +echo "$as_me:16414: checking default object directory" >&5 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -16439,7 +16427,7 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 DFT_OBJ_SUBDIR='obj_s' ;; esac esac -echo "$as_me:16442: result: $DFT_OBJ_SUBDIR" >&5 +echo "$as_me:16430: result: $DFT_OBJ_SUBDIR" >&5 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 ### Set up low-level terminfo dependencies for makefiles. @@ -16681,7 +16669,7 @@ DEFS=-DHAVE_CONFIG_H : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:16684: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:16672: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -16857,7 +16845,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:16860: error: ambiguous option: $1 + { { echo "$as_me:16848: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -16876,7 +16864,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:16879: error: unrecognized option: $1 + -*) { { echo "$as_me:16867: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -16948,7 +16936,7 @@ do "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; - *) { { echo "$as_me:16951: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:16939: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -17300,7 +17288,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:17303: creating $ac_file" >&5 + { echo "$as_me:17291: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -17318,7 +17306,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:17321: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:17309: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -17331,7 +17319,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:17334: error: cannot find input file: $f" >&5 + { { echo "$as_me:17322: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -17347,7 +17335,7 @@ cat >>$CONFIG_STATUS <<\EOF if test -n "$ac_seen"; then ac_used=`grep '@datarootdir@' $ac_item` if test -z "$ac_used"; then - { echo "$as_me:17350: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:17338: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&2;} @@ -17356,7 +17344,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' $ac_item` if test -n "$ac_seen"; then - { echo "$as_me:17359: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:17347: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&2;} @@ -17393,7 +17381,7 @@ s,@INSTALL@,$ac_INSTALL,;t t ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file` if test -z "$ac_init"; then ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` - { echo "$as_me:17396: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:17384: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&5 echo "$as_me: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&2;} @@ -17404,7 +17392,7 @@ $ac_seen" >&2;} egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out if test -s $tmp/out; then ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out` - { echo "$as_me:17407: WARNING: Some variables may not be substituted: + { echo "$as_me:17395: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -17453,7 +17441,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:17456: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:17444: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -17464,7 +17452,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:17467: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:17455: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -17477,7 +17465,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:17480: error: cannot find input file: $f" >&5 + { { echo "$as_me:17468: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -17535,7 +17523,7 @@ cat >>$CONFIG_STATUS <<\EOF rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:17538: $ac_file is unchanged" >&5 + { echo "$as_me:17526: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff --git a/Ada95/configure.in b/Ada95/configure.in index 21624e1521cf..3c3c1b156155 100644 --- a/Ada95/configure.in +++ b/Ada95/configure.in @@ -1,5 +1,6 @@ dnl*************************************************************************** -dnl Copyright (c) 2010-2019,2020 Free Software Foundation, Inc. * +dnl Copyright 2018-2019,2020 Thomas E. Dickey * +dnl Copyright 2010-2016,2018 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -28,7 +29,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey dnl -dnl $Id: configure.in,v 1.74 2020/01/11 23:33:38 tom Exp $ +dnl $Id: configure.in,v 1.76 2020/02/08 21:03:20 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl For additional information, see @@ -37,7 +38,7 @@ dnl https://invisible-island.net/autoconf/my-autoconf.html dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.52.20200111) -AC_REVISION($Revision: 1.74 $) +AC_REVISION($Revision: 1.76 $) AC_INIT(gen/gen.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -214,27 +215,7 @@ fi CF_HELP_MESSAGE(Fine-Tuning Your Configuration:) ### use option --enable-broken-linker to force on use of broken-linker support -AC_MSG_CHECKING(if you want broken-linker support code) -AC_ARG_ENABLE(broken_linker, - [ --enable-broken_linker compile with broken-linker support code], - [with_broken_linker=$enableval], - [with_broken_linker=${BROKEN_LINKER:-no}]) -AC_MSG_RESULT($with_broken_linker) - -BROKEN_LINKER=0 -if test "$with_broken_linker" = yes ; then - AC_DEFINE(BROKEN_LINKER) - BROKEN_LINKER=1 -elif test "$DFT_LWR_MODEL" = shared ; then - case $cf_cv_system_name in - (cygwin*) - AC_DEFINE(BROKEN_LINKER) - BROKEN_LINKER=1 - CF_VERBOSE(cygwin linker is broken anyway) - ;; - esac -fi -AC_SUBST(BROKEN_LINKER) +CF_ENABLE_BROKEN_LINKER # Check to define _XOPEN_SOURCE "automatically" CF_XOPEN_SOURCE(600) @@ -457,7 +438,7 @@ AC_CHECK_LIB(bsd, gettimeofday, esac ### Checks for header files. -AC_CHECK_SIZEOF([signed char], 0) +AC_CHECK_SIZEOF([signed char]) AC_STDC_HEADERS AC_HEADER_DIRENT AC_HEADER_TIME diff --git a/Ada95/doc/Makefile.in b/Ada95/doc/Makefile.in index c9d6da6becfb..3ef39000e7ba 100644 --- a/Ada95/doc/Makefile.in +++ b/Ada95/doc/Makefile.in @@ -1,6 +1,7 @@ -# $Id: Makefile.in,v 1.6 2019/09/07 20:21:52 tom Exp $ +# $Id: Makefile.in,v 1.7 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2011-2018,2019 Free Software Foundation, Inc. # +# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 2011-2015,2018 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 "Software"), # diff --git a/Ada95/gen/Makefile.in b/Ada95/gen/Makefile.in index 4e649d1c36e0..446f8bdf8e89 100644 --- a/Ada95/gen/Makefile.in +++ b/Ada95/gen/Makefile.in @@ -1,5 +1,6 @@ ############################################################################## -# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. # +# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 1998-2015,2018 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 "Software"), # @@ -28,7 +29,7 @@ # # Author: Juergen Pfeifer, 1996 # -# $Id: Makefile.in,v 1.89 2019/08/31 15:44:14 tom Exp $ +# $Id: Makefile.in,v 1.90 2020/02/02 23:34:34 tom Exp $ # .SUFFIXES: diff --git a/Ada95/gen/adacurses-config.in b/Ada95/gen/adacurses-config.in index 8805b0933f8c..2b055dc53f11 100644 --- a/Ada95/gen/adacurses-config.in +++ b/Ada95/gen/adacurses-config.in @@ -1,7 +1,8 @@ #! /bin/sh -# $Id: adacurses-config.in,v 1.13 2019/09/07 20:20:52 tom Exp $ +# $Id: adacurses-config.in,v 1.14 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2007-2016,2019 Free Software Foundation, Inc. # +# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 2007-2014,2016 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 "Software"), # diff --git a/Ada95/gen/gen.c b/Ada95/gen/gen.c index fd759ba45a41..b204236b34c1 100644 --- a/Ada95/gen/gen.c +++ b/Ada95/gen/gen.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2014,2016 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2014,2016 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 * @@ -32,7 +33,7 @@ /* Version Control - $Id: gen.c,v 1.70 2016/02/13 22:00:22 tom Exp $ + $Id: gen.c,v 1.71 2020/02/02 23:34:34 tom Exp $ --------------------------------------------------------------------------*/ /* This program prints on its standard output the source for the diff --git a/Ada95/gen/html.m4 b/Ada95/gen/html.m4 index 76058505b3e9..22374f6bca59 100644 --- a/Ada95/gen/html.m4 +++ b/Ada95/gen/html.m4 @@ -1,5 +1,6 @@ dnl*************************************************************************** -dnl Copyright (c) 2000-2007,2019 Free Software Foundation, Inc. * +dnl Copyright 2019,2020 Thomas E. Dickey * +dnl Copyright 2000-2006,2007 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -26,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * dnl authorization. * dnl*************************************************************************** dnl -dnl $Id: html.m4,v 1.4 2019/03/16 21:49:15 tom Exp $ +dnl $Id: html.m4,v 1.5 2020/02/02 23:34:34 tom Exp $ define(`ANCHORIDX',`0')dnl define(`MANPAGE',`define(`MANPG',$1)dnl |===================================================================== diff --git a/Ada95/gen/normal.m4 b/Ada95/gen/normal.m4 index 95299768314a..513270271cbc 100644 --- a/Ada95/gen/normal.m4 +++ b/Ada95/gen/normal.m4 @@ -1,5 +1,6 @@ dnl*************************************************************************** -dnl Copyright (c) 1998,2006 Free Software Foundation, Inc. * +dnl Copyright 2020 Thomas E. Dickey * +dnl Copyright 1998,2006 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -26,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * dnl authorization. * dnl*************************************************************************** dnl -dnl $Id: normal.m4,v 1.2 2006/04/22 23:16:14 tom Exp $ +dnl $Id: normal.m4,v 1.3 2020/02/02 23:34:34 tom Exp $ define(`MANPAGE',`define(`MANPG',$1)dnl |===================================================================== -- | Man page MANPG diff --git a/Ada95/gen/table.m4 b/Ada95/gen/table.m4 index 36b0027b8d1d..7de07d3c00b6 100644 --- a/Ada95/gen/table.m4 +++ b/Ada95/gen/table.m4 @@ -1,5 +1,6 @@ dnl*************************************************************************** -dnl Copyright (c) 2000,2006 Free Software Foundation, Inc. * +dnl Copyright 2020 Thomas E. Dickey * +dnl Copyright 2000,2006 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -26,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * dnl authorization. * dnl*************************************************************************** dnl -dnl $Id: table.m4,v 1.2 2006/04/22 23:16:44 tom Exp $ +dnl $Id: table.m4,v 1.3 2020/02/02 23:34:34 tom Exp $ define(`ANCHORIDX',`0')dnl define(`MANPAGE',`define(`MANPG',$1)')dnl divert(-1)dnl diff --git a/Ada95/gen/terminal_interface-curses-aux.ads.m4 b/Ada95/gen/terminal_interface-curses-aux.ads.m4 index 5e3505020c66..94eaad87ff3b 100644 --- a/Ada95/gen/terminal_interface-curses-aux.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-aux.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1998-2011,2014 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 -- @@ -38,7 +39,7 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.24 $ +-- $Revision: 1.25 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System; diff --git a/Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4 b/Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4 index 4a179869b140..0f5db6caa096 100644 --- a/Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1998-2011,2014 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 -- @@ -38,7 +39,7 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.20 $ +-- $Revision: 1.21 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; diff --git a/Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4 b/Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4 index 9de700bcd058..71334b601ccd 100644 --- a/Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -38,7 +39,7 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.16 $ +-- $Revision: 1.17 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4 b/Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4 index f7fb1a702f3f..4a989492c1fa 100644 --- a/Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -38,7 +39,7 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ +-- $Revision: 1.16 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/gen/terminal_interface-curses-forms.ads.m4 b/Ada95/gen/terminal_interface-curses-forms.ads.m4 index b269f4c447d7..1293d3734941 100644 --- a/Ada95/gen/terminal_interface-curses-forms.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-forms.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2014 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 -- @@ -38,8 +39,8 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.33 $ --- $Date: 2014/05/24 21:31:57 $ +-- $Revision: 1.34 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System; diff --git a/Ada95/gen/terminal_interface-curses-menus-item_user_data.ads.m4 b/Ada95/gen/terminal_interface-curses-menus-item_user_data.ads.m4 index 4ffa41b5bdef..57dc963c8945 100644 --- a/Ada95/gen/terminal_interface-curses-menus-item_user_data.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-menus-item_user_data.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2009 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 -- @@ -38,8 +39,8 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.17 $ --- $Date: 2009/12/26 17:31:35 $ +-- $Revision: 1.18 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/gen/terminal_interface-curses-menus-menu_user_data.ads.m4 b/Ada95/gen/terminal_interface-curses-menus-menu_user_data.ads.m4 index 9138ba6c3ab0..af8ae12dbd5e 100644 --- a/Ada95/gen/terminal_interface-curses-menus-menu_user_data.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-menus-menu_user_data.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -38,7 +39,7 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ +-- $Revision: 1.16 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/gen/terminal_interface-curses-menus.ads.m4 b/Ada95/gen/terminal_interface-curses-menus.ads.m4 index 0ad9c456dbda..6914c16b7619 100644 --- a/Ada95/gen/terminal_interface-curses-menus.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-menus.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2014 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 -- @@ -38,8 +39,8 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.31 $ --- $Date: 2014/05/24 21:31:57 $ +-- $Revision: 1.32 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System; diff --git a/Ada95/gen/terminal_interface-curses-mouse.ads.m4 b/Ada95/gen/terminal_interface-curses-mouse.ads.m4 index 8d3f8edc7922..6506b4ed102a 100644 --- a/Ada95/gen/terminal_interface-curses-mouse.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-mouse.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2015 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2014,2015 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 -- @@ -38,8 +39,8 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.32 $ --- $Date: 2015/05/30 23:19:19 $ +-- $Revision: 1.33 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System; diff --git a/Ada95/gen/terminal_interface-curses-panels-user_data.ads.m4 b/Ada95/gen/terminal_interface-curses-panels-user_data.ads.m4 index 03d8114fdff6..4d60e52c8dc7 100644 --- a/Ada95/gen/terminal_interface-curses-panels-user_data.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-panels-user_data.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -38,7 +39,7 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ +-- $Revision: 1.16 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/gen/terminal_interface-curses-panels.ads.m4 b/Ada95/gen/terminal_interface-curses-panels.ads.m4 index b0eda4d427d3..1175343ae8c6 100644 --- a/Ada95/gen/terminal_interface-curses-panels.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-panels.ads.m4 @@ -10,7 +10,8 @@ include(M4MACRO)dnl -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2014 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 -- @@ -38,8 +39,8 @@ include(M4MACRO)dnl ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.22 $ --- $Date: 2014/05/24 21:31:57 $ +-- $Revision: 1.23 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System; diff --git a/Ada95/gen/terminal_interface-curses-trace.ads.m4 b/Ada95/gen/terminal_interface-curses-trace.ads.m4 index e22734358a5e..794d132929bd 100644 --- a/Ada95/gen/terminal_interface-curses-trace.ads.m4 +++ b/Ada95/gen/terminal_interface-curses-trace.ads.m4 @@ -9,7 +9,8 @@ include(M4MACRO)---------------------------------------------------------------- -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000,2014 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 -- @@ -37,7 +38,7 @@ include(M4MACRO)---------------------------------------------------------------- ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control: --- $Revision: 1.4 $ +-- $Revision: 1.5 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/gen/terminal_interface-curses.adb.m4 b/Ada95/gen/terminal_interface-curses.adb.m4 index 1c55ed2589e9..3f34d203d57c 100644 --- a/Ada95/gen/terminal_interface-curses.adb.m4 +++ b/Ada95/gen/terminal_interface-curses.adb.m4 @@ -9,7 +9,8 @@ include(M4MACRO)---------------------------------------------------------------- -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 2007-2011,2014 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 -- @@ -37,8 +38,8 @@ include(M4MACRO)---------------------------------------------------------------- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ --- $Date: 2018/07/07 23:28:45 $ +-- $Revision: 1.16 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System; diff --git a/Ada95/gen/terminal_interface-curses.ads.m4 b/Ada95/gen/terminal_interface-curses.ads.m4 index 25bb5d9b5f4c..a5e9103683aa 100644 --- a/Ada95/gen/terminal_interface-curses.ads.m4 +++ b/Ada95/gen/terminal_interface-curses.ads.m4 @@ -9,7 +9,8 @@ include(M4MACRO)---------------------------------------------------------------- -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2011,2014 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 -- @@ -37,8 +38,8 @@ include(M4MACRO)---------------------------------------------------------------- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.47 $ --- $Date: 2014/05/24 21:31:57 $ +-- $Revision: 1.48 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System.Storage_Elements; diff --git a/Ada95/include/MKncurses_def.sh b/Ada95/include/MKncurses_def.sh index 1740bccb8c08..4b2ae4166880 100755 --- a/Ada95/include/MKncurses_def.sh +++ b/Ada95/include/MKncurses_def.sh @@ -1,7 +1,8 @@ #! /bin/sh -# $Id: MKncurses_def.sh,v 1.3 2003/10/25 16:19:46 tom Exp $ +# $Id: MKncurses_def.sh,v 1.4 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2000,2003 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 2003 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 "Software"), # diff --git a/Ada95/include/Makefile.in b/Ada95/include/Makefile.in index d497fb184167..58713d17d2bc 100644 --- a/Ada95/include/Makefile.in +++ b/Ada95/include/Makefile.in @@ -1,6 +1,7 @@ -# $Id: Makefile.in,v 1.5 2018/01/15 22:12:59 tom Exp $ +# $Id: Makefile.in,v 1.6 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2010-2015,2018 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 2010-2015,2018 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 "Software"), # diff --git a/Ada95/include/ncurses_cfg.hin b/Ada95/include/ncurses_cfg.hin index 533a5606218d..f8bcb6628742 100644 --- a/Ada95/include/ncurses_cfg.hin +++ b/Ada95/include/ncurses_cfg.hin @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2005-2017,2018 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 * @@ -30,7 +31,7 @@ * Author: Thomas E. Dickey 1997 * ****************************************************************************/ /* - * $Id: ncurses_cfg.hin,v 1.10 2018/01/01 15:10:43 tom Exp $ + * $Id: ncurses_cfg.hin,v 1.11 2020/02/02 23:34:34 tom Exp $ * * This is a template-file used to generate the "ncurses_cfg.h" file. * diff --git a/Ada95/include/ncurses_defs b/Ada95/include/ncurses_defs index 31746200df5c..7a7059bf7de9 100644 --- a/Ada95/include/ncurses_defs +++ b/Ada95/include/ncurses_defs @@ -1,6 +1,7 @@ -# $Id: ncurses_defs,v 1.44 2013/04/27 19:50:17 tom Exp $ +# $Id: ncurses_defs,v 1.45 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2000-2012,2013 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 2008-2012,2013 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 "Software"), # diff --git a/Ada95/make-tar.sh b/Ada95/make-tar.sh index fbedca72e238..e88b312841b1 100755 --- a/Ada95/make-tar.sh +++ b/Ada95/make-tar.sh @@ -1,7 +1,8 @@ #!/bin/sh -# $Id: make-tar.sh,v 1.17 2019/03/02 22:51:42 tom Exp $ +# $Id: make-tar.sh,v 1.18 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2010-2017,2019 Free Software Foundation, Inc. # +# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 2010-2015,2017 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 "Software"), # diff --git a/Ada95/mk-1st.awk b/Ada95/mk-1st.awk index 77265497152a..616bfa6b1cea 100644 --- a/Ada95/mk-1st.awk +++ b/Ada95/mk-1st.awk @@ -1,6 +1,7 @@ -# $Id: mk-1st.awk,v 1.4 2011/02/22 09:40:01 tom Exp $ +# $Id: mk-1st.awk,v 1.5 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2010,2011 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 2010,2011 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 "Software"), # diff --git a/Ada95/samples/Makefile.in b/Ada95/samples/Makefile.in index c7323e8b249e..25568490aab0 100644 --- a/Ada95/samples/Makefile.in +++ b/Ada95/samples/Makefile.in @@ -1,5 +1,6 @@ ############################################################################## -# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. # +# Copyright 2018-2019,2020 Thomas E. Dickey # +# Copyright 1998-2015,2018 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 "Software"), # @@ -28,7 +29,7 @@ # # Author: Juergen Pfeifer, 1996 # -# $Id: Makefile.in,v 1.57 2019/12/22 01:09:19 tom Exp $ +# $Id: Makefile.in,v 1.59 2020/02/02 23:34:34 tom Exp $ # .SUFFIXES: @@ -166,4 +167,4 @@ realclean :: distclean $(THISLIB)-explanation.adb : $(srcdir)/$(THISLIB)-explanation.adb_p rm -f $@ - $(ADAPREP) -DTHIS_DATADIR=\"$(THIS_DATADIR)/\" @GNATPREP_OPTS@ $(srcdir)/$(THISLIB)-explanation.adb_p $@ + $(AWK) -v this_datadir=$(THIS_DATADIR) -f $(srcdir)/split-path.awk < $(srcdir)/$(THISLIB)-explanation.adb_p >$@ diff --git a/Ada95/samples/README b/Ada95/samples/README index c4f16ad306dc..8562343304d4 100644 --- a/Ada95/samples/README +++ b/Ada95/samples/README @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998,2006 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: README,v 1.2 2006/04/22 22:24:12 tom Exp $ +-- $Id: README,v 1.3 2020/02/02 23:34:34 tom Exp $ ------------------------------------------------------------------------------- The intention of the demo at this point in time is not to demonstrate all diff --git a/Ada95/samples/ncurses.adb b/Ada95/samples/ncurses.adb index 19f658d5632c..39ba7dcbd46b 100644 --- a/Ada95/samples/ncurses.adb +++ b/Ada95/samples/ncurses.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.m; use ncurses2.m; diff --git a/Ada95/samples/ncurses2-acs_and_scroll.adb b/Ada95/samples/ncurses2-acs_and_scroll.adb index 0d2a26b0449c..7bb492c5e0d4 100644 --- a/Ada95/samples/ncurses2-acs_and_scroll.adb +++ b/Ada95/samples/ncurses2-acs_and_scroll.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2011,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 2000-2009,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.12 $ --- $Date: 2018/07/07 23:31:55 $ +-- $Revision: 1.13 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- Windows and scrolling tester. diff --git a/Ada95/samples/ncurses2-acs_and_scroll.ads b/Ada95/samples/ncurses2-acs_and_scroll.ads index 79e4862af0f6..bd2759a667b7 100644 --- a/Ada95/samples/ncurses2-acs_and_scroll.ads +++ b/Ada95/samples/ncurses2-acs_and_scroll.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.acs_and_scroll; diff --git a/Ada95/samples/ncurses2-acs_display.adb b/Ada95/samples/ncurses2-acs_display.adb index a71c61d5daff..2916e15c71cd 100644 --- a/Ada95/samples/ncurses2-acs_display.adb +++ b/Ada95/samples/ncurses2-acs_display.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2006,2008 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2008 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.6 $ --- $Date: 2008/07/26 18:47:34 $ +-- $Revision: 1.7 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-acs_display.ads b/Ada95/samples/ncurses2-acs_display.ads index 4e616c5e1443..d685e58ac4ba 100644 --- a/Ada95/samples/ncurses2-acs_display.ads +++ b/Ada95/samples/ncurses2-acs_display.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.acs_display; diff --git a/Ada95/samples/ncurses2-attr_test.adb b/Ada95/samples/ncurses2-attr_test.adb index 66271042c0bb..b41cc8081ee4 100644 --- a/Ada95/samples/ncurses2-attr_test.adb +++ b/Ada95/samples/ncurses2-attr_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2007,2008 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2007,2008 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.9 $ --- $Date: 2008/07/26 18:47:26 $ +-- $Revision: 1.10 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-attr_test.ads b/Ada95/samples/ncurses2-attr_test.ads index 51c51435eab5..08931eec550d 100644 --- a/Ada95/samples/ncurses2-attr_test.ads +++ b/Ada95/samples/ncurses2-attr_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000,2006 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.2 $ --- $Date: 2006/06/25 14:24:40 $ +-- $Revision: 1.3 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.attr_test; diff --git a/Ada95/samples/ncurses2-color_edit.adb b/Ada95/samples/ncurses2-color_edit.adb index 098f98d837b2..7c30c666a234 100644 --- a/Ada95/samples/ncurses2-color_edit.adb +++ b/Ada95/samples/ncurses2-color_edit.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.6 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.7 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-color_edit.ads b/Ada95/samples/ncurses2-color_edit.ads index 3e8e392dfe8e..a44889b2e12e 100644 --- a/Ada95/samples/ncurses2-color_edit.ads +++ b/Ada95/samples/ncurses2-color_edit.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.color_edit; diff --git a/Ada95/samples/ncurses2-color_test.adb b/Ada95/samples/ncurses2-color_test.adb index c8f6c837ae17..ca35e04a8acf 100644 --- a/Ada95/samples/ncurses2-color_test.adb +++ b/Ada95/samples/ncurses2-color_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2006,2008 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2008 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.3 $ --- $Date: 2008/07/26 18:47:17 $ +-- $Revision: 1.4 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-color_test.ads b/Ada95/samples/ncurses2-color_test.ads index 6e663181a9bc..e927fdd699eb 100644 --- a/Ada95/samples/ncurses2-color_test.ads +++ b/Ada95/samples/ncurses2-color_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.color_test; diff --git a/Ada95/samples/ncurses2-demo_forms.adb b/Ada95/samples/ncurses2-demo_forms.adb index 0eeeb5e3f862..5c86af793357 100644 --- a/Ada95/samples/ncurses2-demo_forms.adb +++ b/Ada95/samples/ncurses2-demo_forms.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.7 $ --- $Date: 2014/09/13 19:10:18 $ +-- $Revision: 1.8 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-demo_forms.ads b/Ada95/samples/ncurses2-demo_forms.ads index eabaa01b9e91..775e77714ef5 100644 --- a/Ada95/samples/ncurses2-demo_forms.ads +++ b/Ada95/samples/ncurses2-demo_forms.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.demo_forms; diff --git a/Ada95/samples/ncurses2-demo_pad.adb b/Ada95/samples/ncurses2-demo_pad.adb index 781e3a003057..86bfb2d689d9 100644 --- a/Ada95/samples/ncurses2-demo_pad.adb +++ b/Ada95/samples/ncurses2-demo_pad.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2014,2020 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.10 $ --- $Date: 2020/01/18 17:02:13 $ +-- $Revision: 1.11 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-demo_pad.ads b/Ada95/samples/ncurses2-demo_pad.ads index b996263c1cde..f110632d3252 100644 --- a/Ada95/samples/ncurses2-demo_pad.ads +++ b/Ada95/samples/ncurses2-demo_pad.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.demo_pad; diff --git a/Ada95/samples/ncurses2-demo_panels.adb b/Ada95/samples/ncurses2-demo_panels.adb index 5e2320adcdff..aa6ca369f5b2 100644 --- a/Ada95/samples/ncurses2-demo_panels.adb +++ b/Ada95/samples/ncurses2-demo_panels.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2011,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 2000-2008,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.8 $ --- $Date: 2018/07/07 23:31:02 $ +-- $Revision: 1.9 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-demo_panels.ads b/Ada95/samples/ncurses2-demo_panels.ads index eb2878c8501e..a35842de3c66 100644 --- a/Ada95/samples/ncurses2-demo_panels.ads +++ b/Ada95/samples/ncurses2-demo_panels.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.demo_panels (nap_mseci : Integer); diff --git a/Ada95/samples/ncurses2-flushinp_test.adb b/Ada95/samples/ncurses2-flushinp_test.adb index 9ea98e158c34..eca47339dcd8 100644 --- a/Ada95/samples/ncurses2-flushinp_test.adb +++ b/Ada95/samples/ncurses2-flushinp_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/ncurses2-flushinp_test.ads b/Ada95/samples/ncurses2-flushinp_test.ads index 5376c94a54b2..ca8244e18e9d 100644 --- a/Ada95/samples/ncurses2-flushinp_test.ads +++ b/Ada95/samples/ncurses2-flushinp_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; diff --git a/Ada95/samples/ncurses2-genericputs.adb b/Ada95/samples/ncurses2-genericputs.adb index 829d08d23a2f..71d1c1633f41 100644 --- a/Ada95/samples/ncurses2-genericputs.adb +++ b/Ada95/samples/ncurses2-genericputs.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2008,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2008,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.4 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.5 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/ncurses2-genericputs.ads b/Ada95/samples/ncurses2-genericputs.ads index accc3cc63d70..41f2c9b7f303 100644 --- a/Ada95/samples/ncurses2-genericputs.ads +++ b/Ada95/samples/ncurses2-genericputs.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.3 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.4 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/samples/ncurses2-getch.ads b/Ada95/samples/ncurses2-getch.ads index 21a09f3160f2..7fabce9cc097 100644 --- a/Ada95/samples/ncurses2-getch.ads +++ b/Ada95/samples/ncurses2-getch.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure getch_test; diff --git a/Ada95/samples/ncurses2-getch_test.adb b/Ada95/samples/ncurses2-getch_test.adb index 8f020e7c123b..8bcb7a412acf 100644 --- a/Ada95/samples/ncurses2-getch_test.adb +++ b/Ada95/samples/ncurses2-getch_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2009,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2009,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.9 $ --- $Date: 2014/09/13 19:10:18 $ +-- $Revision: 1.10 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- Character input test diff --git a/Ada95/samples/ncurses2-getch_test.ads b/Ada95/samples/ncurses2-getch_test.ads index 78a0a48c172e..01e19283aa24 100644 --- a/Ada95/samples/ncurses2-getch_test.ads +++ b/Ada95/samples/ncurses2-getch_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.getch_test; diff --git a/Ada95/samples/ncurses2-getopt.adb b/Ada95/samples/ncurses2-getopt.adb index 29f1fee8281a..7c902f9308ba 100644 --- a/Ada95/samples/ncurses2-getopt.adb +++ b/Ada95/samples/ncurses2-getopt.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2008,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2008,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.8 $ --- $Date: 2011/03/19 12:09:51 $ +-- $Revision: 1.9 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- A simplified version of the GNU getopt function diff --git a/Ada95/samples/ncurses2-getopt.ads b/Ada95/samples/ncurses2-getopt.ads index a8b356e968d6..09d997cf816c 100644 --- a/Ada95/samples/ncurses2-getopt.ads +++ b/Ada95/samples/ncurses2-getopt.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000,2006 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.2 $ --- $Date: 2006/06/25 14:24:40 $ +-- $Revision: 1.3 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package ncurses2.getopt is diff --git a/Ada95/samples/ncurses2-m.adb b/Ada95/samples/ncurses2-m.adb index 1e53b3fe04e9..e8a837d8240e 100644 --- a/Ada95/samples/ncurses2-m.adb +++ b/Ada95/samples/ncurses2-m.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2018,2020 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 2000-2007,2008 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.10 $ --- $Date: 2020/01/18 17:02:13 $ +-- $Revision: 1.11 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- TODO use Default_Character where appropriate diff --git a/Ada95/samples/ncurses2-m.ads b/Ada95/samples/ncurses2-m.ads index c32d895dc147..3c87da75992a 100644 --- a/Ada95/samples/ncurses2-m.ads +++ b/Ada95/samples/ncurses2-m.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package ncurses2.m is diff --git a/Ada95/samples/ncurses2-menu_test.adb b/Ada95/samples/ncurses2-menu_test.adb index bce9782372a4..721f7502c6ef 100644 --- a/Ada95/samples/ncurses2-menu_test.adb +++ b/Ada95/samples/ncurses2-menu_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2006,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.8 $ --- $Date: 2011/03/23 00:39:28 $ +-- $Revision: 1.9 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-menu_test.ads b/Ada95/samples/ncurses2-menu_test.ads index 17e5b16b3e48..1b7e74bb7580 100644 --- a/Ada95/samples/ncurses2-menu_test.ads +++ b/Ada95/samples/ncurses2-menu_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.menu_test; diff --git a/Ada95/samples/ncurses2-overlap_test.adb b/Ada95/samples/ncurses2-overlap_test.adb index 948b2b38d623..11a2d0be782b 100644 --- a/Ada95/samples/ncurses2-overlap_test.adb +++ b/Ada95/samples/ncurses2-overlap_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2014,2015 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2014,2015 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.7 $ --- $Date: 2015/07/25 23:43:19 $ +-- $Revision: 1.8 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-overlap_test.ads b/Ada95/samples/ncurses2-overlap_test.ads index ce6e3e696121..d6589eab3811 100644 --- a/Ada95/samples/ncurses2-overlap_test.ads +++ b/Ada95/samples/ncurses2-overlap_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.overlap_test; diff --git a/Ada95/samples/ncurses2-slk_test.adb b/Ada95/samples/ncurses2-slk_test.adb index 755542c31547..4971ed64bb2e 100644 --- a/Ada95/samples/ncurses2-slk_test.adb +++ b/Ada95/samples/ncurses2-slk_test.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2011,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 2000-2009,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.10 $ --- $Date: 2018/07/07 23:30:32 $ +-- $Revision: 1.11 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-slk_test.ads b/Ada95/samples/ncurses2-slk_test.ads index 51e95871a97c..1aff9d0c93c9 100644 --- a/Ada95/samples/ncurses2-slk_test.ads +++ b/Ada95/samples/ncurses2-slk_test.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.slk_test; diff --git a/Ada95/samples/ncurses2-test_sgr_attributes.adb b/Ada95/samples/ncurses2-test_sgr_attributes.adb index 97449a40cafc..ac6df4a1857b 100644 --- a/Ada95/samples/ncurses2-test_sgr_attributes.adb +++ b/Ada95/samples/ncurses2-test_sgr_attributes.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000,2006 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.2 $ --- $Date: 2006/06/25 14:24:40 $ +-- $Revision: 1.3 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/ncurses2-test_sgr_attributes.ads b/Ada95/samples/ncurses2-test_sgr_attributes.ads index 241118094e16..5589547347d0 100644 --- a/Ada95/samples/ncurses2-test_sgr_attributes.ads +++ b/Ada95/samples/ncurses2-test_sgr_attributes.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.test_sgr_attributes; diff --git a/Ada95/samples/ncurses2-trace_set.adb b/Ada95/samples/ncurses2-trace_set.adb index df4468b23812..d2739809dad4 100644 --- a/Ada95/samples/ncurses2-trace_set.adb +++ b/Ada95/samples/ncurses2-trace_set.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.6 $ --- $Date: 2014/09/13 19:10:18 $ +-- $Revision: 1.7 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; diff --git a/Ada95/samples/ncurses2-trace_set.ads b/Ada95/samples/ncurses2-trace_set.ads index 7bbf8ca5450a..352736c97686 100644 --- a/Ada95/samples/ncurses2-trace_set.ads +++ b/Ada95/samples/ncurses2-trace_set.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure ncurses2.trace_set; diff --git a/Ada95/samples/ncurses2-util.adb b/Ada95/samples/ncurses2-util.adb index e0f3d35bbca4..152a5d3777af 100644 --- a/Ada95/samples/ncurses2-util.adb +++ b/Ada95/samples/ncurses2-util.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2008,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2008,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.9 $ --- $Date: 2014/05/24 21:32:18 $ +-- $Revision: 1.10 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; use Ada.Text_IO; diff --git a/Ada95/samples/ncurses2-util.ads b/Ada95/samples/ncurses2-util.ads index f46749f06862..5d71d73a7b5d 100644 --- a/Ada95/samples/ncurses2-util.ads +++ b/Ada95/samples/ncurses2-util.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000,2006 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.2 $ --- $Date: 2006/06/25 14:24:40 $ +-- $Revision: 1.3 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/ncurses2.ads b/Ada95/samples/ncurses2.ads index 2fe01970899d..42e66f3008a3 100644 --- a/Ada95/samples/ncurses2.ads +++ b/Ada95/samples/ncurses2.ads @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.1 $ +-- $Revision: 1.2 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/samples/rain.adb b/Ada95/samples/rain.adb index d673018eb036..2649252ad6ce 100644 --- a/Ada95/samples/rain.adb +++ b/Ada95/samples/rain.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2007,2008 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 -- @@ -36,8 +37,8 @@ -- Author: Laurent Pautet -- Modified by: Juergen Pfeifer, 1997 -- Version Control --- $Revision: 1.8 $ --- $Date: 2008/08/30 21:38:07 $ +-- $Revision: 1.9 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- -- diff --git a/Ada95/samples/rain.ads b/Ada95/samples/rain.ads index 9c7242e9b3a3..20ec0651e204 100644 --- a/Ada95/samples/rain.ads +++ b/Ada95/samples/rain.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -36,7 +37,7 @@ -- Author: Laurent Pautet -- Modified by: Juergen Pfeifer, 1997 -- Version Control --- $Revision: 1.7 $ +-- $Revision: 1.8 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- -- diff --git a/Ada95/samples/sample-curses_demo-attributes.adb b/Ada95/samples/sample-curses_demo-attributes.adb index b0f60d4a3465..ed9371162f26 100644 --- a/Ada95/samples/sample-curses_demo-attributes.adb +++ b/Ada95/samples/sample-curses_demo-attributes.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.13 $ +-- $Revision: 1.14 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-curses_demo-attributes.ads b/Ada95/samples/sample-curses_demo-attributes.ads index d1032d99aed1..636c12f35b9e 100644 --- a/Ada95/samples/sample-curses_demo-attributes.ads +++ b/Ada95/samples/sample-curses_demo-attributes.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample.Curses_Demo.Attributes is diff --git a/Ada95/samples/sample-curses_demo-mouse.adb b/Ada95/samples/sample-curses_demo-mouse.adb index 490685c75076..d388e4c81c0e 100644 --- a/Ada95/samples/sample-curses_demo-mouse.adb +++ b/Ada95/samples/sample-curses_demo-mouse.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2008 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.16 $ --- $Date: 2008/07/26 18:48:19 $ +-- $Revision: 1.17 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-curses_demo-mouse.ads b/Ada95/samples/sample-curses_demo-mouse.ads index e48834dfe75d..fbaebab63be8 100644 --- a/Ada95/samples/sample-curses_demo-mouse.ads +++ b/Ada95/samples/sample-curses_demo-mouse.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample.Curses_Demo.Mouse is diff --git a/Ada95/samples/sample-curses_demo.adb b/Ada95/samples/sample-curses_demo.adb index 4dd96a721d2a..f342a3250bd3 100644 --- a/Ada95/samples/sample-curses_demo.adb +++ b/Ada95/samples/sample-curses_demo.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2004,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2004,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.17 $ --- $Date: 2011/03/23 00:29:04 $ +-- $Revision: 1.18 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-curses_demo.ads b/Ada95/samples/sample-curses_demo.ads index 2ee0d9d24095..264c4c01b492 100644 --- a/Ada95/samples/sample-curses_demo.ads +++ b/Ada95/samples/sample-curses_demo.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample.Curses_Demo is diff --git a/Ada95/samples/sample-explanation.adb_p b/Ada95/samples/sample-explanation.adb_p index e1752df137a2..f99ceb6f7550 100644 --- a/Ada95/samples/sample-explanation.adb_p +++ b/Ada95/samples/sample-explanation.adb_p @@ -7,7 +7,7 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2019 Free Software Foundation, Inc. -- +-- Copyright 2019,2020 Thomas E. Dickey -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -35,8 +35,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.4 $ --- $Date: 2019/09/08 00:14:54 $ +-- $Revision: 1.5 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- Poor mans help system. This scans a sequential file for key lines and diff --git a/Ada95/samples/sample-explanation.ads b/Ada95/samples/sample-explanation.ads index 728825e2c9d7..6e955b4b6224 100644 --- a/Ada95/samples/sample-explanation.ads +++ b/Ada95/samples/sample-explanation.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- Poor mans help system. This scans a sequential file for key lines and diff --git a/Ada95/samples/sample-form_demo-aux.adb b/Ada95/samples/sample-form_demo-aux.adb index a3b044dcc3eb..072b1871a8d3 100644 --- a/Ada95/samples/sample-form_demo-aux.adb +++ b/Ada95/samples/sample-form_demo-aux.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2004,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2004,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.17 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.18 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; diff --git a/Ada95/samples/sample-form_demo-aux.ads b/Ada95/samples/sample-form_demo-aux.ads index 7e7f7cd21e39..7e7f28670e4e 100644 --- a/Ada95/samples/sample-form_demo-aux.ads +++ b/Ada95/samples/sample-form_demo-aux.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2011 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-form_demo-handler.adb b/Ada95/samples/sample-form_demo-handler.adb index d871c1cc7796..d180b1d58b25 100644 --- a/Ada95/samples/sample-form_demo-handler.adb +++ b/Ada95/samples/sample-form_demo-handler.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2004,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2004,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.14 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Sample.Form_Demo.Aux; diff --git a/Ada95/samples/sample-form_demo-handler.ads b/Ada95/samples/sample-form_demo-handler.ads index 7d875a0fff6c..8966e5bcc58d 100644 --- a/Ada95/samples/sample-form_demo-handler.ads +++ b/Ada95/samples/sample-form_demo-handler.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-form_demo.adb b/Ada95/samples/sample-form_demo.adb index ed84526feae2..72ca51c46dd9 100644 --- a/Ada95/samples/sample-form_demo.adb +++ b/Ada95/samples/sample-form_demo.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.16 $ --- $Date: 2011/03/23 00:44:12 $ +-- $Revision: 1.17 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-form_demo.ads b/Ada95/samples/sample-form_demo.ads index ebdb0d42bba8..0dda0711197f 100644 --- a/Ada95/samples/sample-form_demo.ads +++ b/Ada95/samples/sample-form_demo.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample.Form_Demo is diff --git a/Ada95/samples/sample-function_key_setting.adb b/Ada95/samples/sample-function_key_setting.adb index 4ff70be7bb8a..6c5a804f61df 100644 --- a/Ada95/samples/sample-function_key_setting.adb +++ b/Ada95/samples/sample-function_key_setting.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.15 $ --- $Date: 2011/03/23 00:44:12 $ +-- $Revision: 1.16 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; diff --git a/Ada95/samples/sample-function_key_setting.ads b/Ada95/samples/sample-function_key_setting.ads index 4188158f05c9..daf14534b123 100644 --- a/Ada95/samples/sample-function_key_setting.ads +++ b/Ada95/samples/sample-function_key_setting.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2011 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-header_handler.adb b/Ada95/samples/sample-header_handler.adb index f552e20ee5df..572aa8aa62b5 100644 --- a/Ada95/samples/sample-header_handler.adb +++ b/Ada95/samples/sample-header_handler.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.20 $ --- $Date: 2014/09/13 19:10:18 $ +-- $Revision: 1.21 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Calendar; use Ada.Calendar; diff --git a/Ada95/samples/sample-header_handler.ads b/Ada95/samples/sample-header_handler.ads index a81379dc8c19..18f76d70d726 100644 --- a/Ada95/samples/sample-header_handler.ads +++ b/Ada95/samples/sample-header_handler.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-helpers.adb b/Ada95/samples/sample-helpers.adb index ceef268134a5..4dbdd40c9142 100644 --- a/Ada95/samples/sample-helpers.adb +++ b/Ada95/samples/sample-helpers.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.14 $ --- $Date: 2011/03/19 12:13:21 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Sample.Explanation; use Sample.Explanation; diff --git a/Ada95/samples/sample-helpers.ads b/Ada95/samples/sample-helpers.ads index 28e89bb5707c..5b7d3d7d88f1 100644 --- a/Ada95/samples/sample-helpers.ads +++ b/Ada95/samples/sample-helpers.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2011 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-keyboard_handler.adb b/Ada95/samples/sample-keyboard_handler.adb index 1d3f20c74b4f..5a671fa7e8aa 100644 --- a/Ada95/samples/sample-keyboard_handler.adb +++ b/Ada95/samples/sample-keyboard_handler.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.16 $ --- $Date: 2011/03/23 00:34:24 $ +-- $Revision: 1.17 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Strings; use Ada.Strings; diff --git a/Ada95/samples/sample-keyboard_handler.ads b/Ada95/samples/sample-keyboard_handler.ads index 9ad9535fd945..6daecc81ac35 100644 --- a/Ada95/samples/sample-keyboard_handler.ads +++ b/Ada95/samples/sample-keyboard_handler.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-manifest.ads b/Ada95/samples/sample-manifest.ads index 331cffc87d30..1fa33a9eb472 100644 --- a/Ada95/samples/sample-manifest.ads +++ b/Ada95/samples/sample-manifest.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-menu_demo-aux.adb b/Ada95/samples/sample-menu_demo-aux.adb index 091f08b92a37..f430c88cd7c6 100644 --- a/Ada95/samples/sample-menu_demo-aux.adb +++ b/Ada95/samples/sample-menu_demo-aux.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.14 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; diff --git a/Ada95/samples/sample-menu_demo-aux.ads b/Ada95/samples/sample-menu_demo-aux.ads index e82aedf995b0..778b34cf8ae8 100644 --- a/Ada95/samples/sample-menu_demo-aux.ads +++ b/Ada95/samples/sample-menu_demo-aux.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2009,2011 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-menu_demo-handler.adb b/Ada95/samples/sample-menu_demo-handler.adb index 84d29f6351bf..ebbaf43ce33b 100644 --- a/Ada95/samples/sample-menu_demo-handler.adb +++ b/Ada95/samples/sample-menu_demo-handler.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2004,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2004,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.16 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.17 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Sample.Menu_Demo.Aux; diff --git a/Ada95/samples/sample-menu_demo-handler.ads b/Ada95/samples/sample-menu_demo-handler.ads index e9eaa6b74b76..eff73e065334 100644 --- a/Ada95/samples/sample-menu_demo-handler.ads +++ b/Ada95/samples/sample-menu_demo-handler.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-menu_demo.adb b/Ada95/samples/sample-menu_demo.adb index 80cd94b1d4e5..7e49ddde998d 100644 --- a/Ada95/samples/sample-menu_demo.adb +++ b/Ada95/samples/sample-menu_demo.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2008,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2008,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.19 $ --- $Date: 2011/03/23 00:44:12 $ +-- $Revision: 1.20 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; diff --git a/Ada95/samples/sample-menu_demo.ads b/Ada95/samples/sample-menu_demo.ads index 87537aac43ad..84b5a6948182 100644 --- a/Ada95/samples/sample-menu_demo.ads +++ b/Ada95/samples/sample-menu_demo.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample.Menu_Demo is diff --git a/Ada95/samples/sample-my_field_type.adb b/Ada95/samples/sample-my_field_type.adb index e0d6f6732d12..dbdd88ab1c84 100644 --- a/Ada95/samples/sample-my_field_type.adb +++ b/Ada95/samples/sample-my_field_type.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2008 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.16 $ --- $Date: 2008/07/26 18:47:58 $ +-- $Revision: 1.17 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/samples/sample-my_field_type.ads b/Ada95/samples/sample-my_field_type.ads index b8f3653c1d0a..1f1e65f3cc41 100644 --- a/Ada95/samples/sample-my_field_type.ads +++ b/Ada95/samples/sample-my_field_type.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2003,2006 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Forms; use Terminal_Interface.Curses.Forms; diff --git a/Ada95/samples/sample-text_io_demo.adb b/Ada95/samples/sample-text_io_demo.adb index a8e29a49ef51..f23fe7ce897b 100644 --- a/Ada95/samples/sample-text_io_demo.adb +++ b/Ada95/samples/sample-text_io_demo.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.18 $ --- $Date: 2018/07/07 23:38:02 $ +-- $Revision: 1.19 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Numerics.Generic_Elementary_Functions; diff --git a/Ada95/samples/sample-text_io_demo.ads b/Ada95/samples/sample-text_io_demo.ads index 3bbc1b2ce41e..307f370042a4 100644 --- a/Ada95/samples/sample-text_io_demo.ads +++ b/Ada95/samples/sample-text_io_demo.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample.Text_IO_Demo is diff --git a/Ada95/samples/sample.adb b/Ada95/samples/sample.adb index 9b3759f0c53a..e10294b7612a 100644 --- a/Ada95/samples/sample.adb +++ b/Ada95/samples/sample.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2008,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2008,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.18 $ --- $Date: 2011/03/23 00:44:12 $ +-- $Revision: 1.19 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Text_IO; diff --git a/Ada95/samples/sample.ads b/Ada95/samples/sample.ads index 791c33ae9fb2..fecab98dae24 100644 --- a/Ada95/samples/sample.ads +++ b/Ada95/samples/sample.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Sample is diff --git a/Ada95/samples/split-path.awk b/Ada95/samples/split-path.awk new file mode 100644 index 000000000000..86e8ccdc10f1 --- /dev/null +++ b/Ada95/samples/split-path.awk @@ -0,0 +1,54 @@ +############################################################################## +# Copyright 2020 Thomas E. Dickey # +# # +# Permission is hereby granted, free of charge, to any person obtaining a # +# copy of this software and associated documentation files (the "Software"), # +# to deal in the Software without restriction, including without limitation # +# the rights to use, copy, modify, merge, publish, distribute, distribute # +# with modifications, sublicense, and/or sell copies of the Software, and to # +# permit persons to whom the Software is furnished to do so, subject to the # +# following conditions: # +# # +# The above copyright notice and this permission notice shall be included in # +# all copies or substantial portions of the Software. # +# # +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # +# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # +# DEALINGS IN THE SOFTWARE. # +# # +# Except as contained in this notice, the name(s) of the above copyright # +# holders shall not be used in advertising or otherwise to promote the sale, # +# use or other dealings in this Software without prior written # +# authorization. # +############################################################################## +# +# Author: Thomas E. Dickey +# +# $Id: split-path.awk,v 1.3 2020/02/02 23:34:34 tom Exp $ +BEGIN { cols = 72; } +/[$]THIS_DATADIR/ { + gsub("[$]THIS_DATADIR", "\"" this_datadir "\""); + if ( length ($0) > cols ) { + indent = index($0, "\"") - 1; + broken = index($0, "&"); + if (broken > 0 && broken < indent) + indent = broken - 1; + leader = sprintf ("%*s& ", indent, " "); + buffer = $0; + first = 1; + while ( length(buffer) > cols ) { + printf("%.*s\"\n", cols, buffer); + buffer = leader "\"" substr(buffer, cols + 1); + } + if ( buffer != "" && buffer != leader "\"\"" ) + printf("%.*s\n", cols, buffer); + next; + } +} +{ + print; +} diff --git a/Ada95/samples/status.adb b/Ada95/samples/status.adb index 5da9a92290c8..eb55c756e1c4 100644 --- a/Ada95/samples/status.adb +++ b/Ada95/samples/status.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -36,7 +37,7 @@ -- Author: Laurent Pautet -- Modified by: Juergen Pfeifer, 1997 -- Version Control --- $Revision: 1.8 $ +-- $Revision: 1.9 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- This package has been contributed by Laurent Pautet -- diff --git a/Ada95/samples/status.ads b/Ada95/samples/status.ads index 37ad5f1c1b9d..66fd19e938f0 100644 --- a/Ada95/samples/status.ads +++ b/Ada95/samples/status.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -36,7 +37,7 @@ -- Author: Laurent Pautet -- Modified by: Juergen Pfeifer, 1997 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- This package has been contributed by Laurent Pautet -- diff --git a/Ada95/samples/tour.adb b/Ada95/samples/tour.adb index e71310bf6fb6..07f206ea2368 100644 --- a/Ada95/samples/tour.adb +++ b/Ada95/samples/tour.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Sample; use Sample; diff --git a/Ada95/samples/tour.ads b/Ada95/samples/tour.ads index 3f9ce30cecf8..0011bbfc425a 100644 --- a/Ada95/samples/tour.ads +++ b/Ada95/samples/tour.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control --- $Revision: 1.10 $ +-- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ procedure Tour; diff --git a/Ada95/src/Makefile.in b/Ada95/src/Makefile.in index bdfe0a81e5e7..384fa3cda5cb 100644 --- a/Ada95/src/Makefile.in +++ b/Ada95/src/Makefile.in @@ -1,5 +1,6 @@ ############################################################################## -# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. # +# Copyright 2018-2019,2020 Thomas E. Dickey # +# Copyright 1999-2016,2018 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 "Software"), # @@ -28,7 +29,7 @@ # # Author: Juergen Pfeifer, 1996 # -# $Id: Makefile.in,v 1.87 2019/09/07 20:53:06 tom Exp $ +# $Id: Makefile.in,v 1.89 2020/02/02 23:34:34 tom Exp $ # .SUFFIXES: @@ -274,7 +275,7 @@ STATIC_DIRS = \ @USE_GNAT_PROJECTS@ -rm -f $(GNAT_PROJECT) @USE_GNAT_PROJECTS@ $(SHELL) $(srcdir)/library-cfg.sh static $(srcdir)/library.gpr $(CFLAGS_NORMAL) >$(GNAT_PROJECT) @USE_GNAT_PROJECTS@ @echo "Using GNAT Project:" -@USE_GNAT_PROJECTS@ @-$(SHELL) -c "diff -u $(srcdir)/library.gpr $(GNAT_PROJECT); exit 0" +@USE_GNAT_PROJECTS@ @-$(SHELL) -c "diff -c $(srcdir)/library.gpr $(GNAT_PROJECT); exit 0" @USE_GNAT_PROJECTS@ $(ADAMAKE) $(ADAMAKEFLAGS) -XLIB_KIND=static @USE_GNAT_PROJECTS@ $(AR) $(ARFLAGS) $@ $(STATIC_C_OBJS) @USE_GNAT_PROJECTS@ -rm -f $(GNAT_PROJECT) @@ -312,7 +313,7 @@ SHARED_DIRS = \ @MAKE_ADA_SHAREDLIB@ -rm -f $(GNAT_PROJECT) @MAKE_ADA_SHAREDLIB@ $(SHELL) $(srcdir)/library-cfg.sh dynamic $(srcdir)/library.gpr $(CFLAGS_SHARED) >$(GNAT_PROJECT) @MAKE_ADA_SHAREDLIB@ @echo "Making Ada shared-lib:" -@MAKE_ADA_SHAREDLIB@ @-$(SHELL) -c "diff -u $(srcdir)/library.gpr $(GNAT_PROJECT); exit 0" +@MAKE_ADA_SHAREDLIB@ @-$(SHELL) -c "diff -c $(srcdir)/library.gpr $(GNAT_PROJECT); exit 0" @MAKE_ADA_SHAREDLIB@ $(ADAMAKE) $(ADAMAKEFLAGS) -XLIB_KIND=dynamic @MAKE_ADA_SHAREDLIB@ -rm -f $(GNAT_PROJECT) diff --git a/Ada95/src/c_threaded_variables.c b/Ada95/src/c_threaded_variables.c index bc58c46abefe..4c13153ed095 100644 --- a/Ada95/src/c_threaded_variables.c +++ b/Ada95/src/c_threaded_variables.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2011,2014 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2014 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 * diff --git a/Ada95/src/c_threaded_variables.h b/Ada95/src/c_threaded_variables.h index 5f0f62f16333..e27ff7c303d5 100644 --- a/Ada95/src/c_threaded_variables.h +++ b/Ada95/src/c_threaded_variables.h @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2011-2014,2015 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2014,2015 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 * @@ -26,7 +27,7 @@ * authorization. * ****************************************************************************/ -/* $Id: c_threaded_variables.h,v 1.3 2015/08/06 23:09:47 tom Exp $ */ +/* $Id: c_threaded_variables.h,v 1.4 2020/02/02 23:34:34 tom Exp $ */ #ifndef __C_THREADED_VARIABLES_H #define __C_THREADED_VARIABLES_H diff --git a/Ada95/src/c_varargs_to_ada.c b/Ada95/src/c_varargs_to_ada.c index f0b1bbef01ff..7561911adffc 100644 --- a/Ada95/src/c_varargs_to_ada.c +++ b/Ada95/src/c_varargs_to_ada.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2011,2014 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2011,2014 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 * @@ -32,7 +33,7 @@ /* Version Control - $Id: c_varargs_to_ada.c,v 1.6 2014/05/24 21:32:18 tom Exp $ + $Id: c_varargs_to_ada.c,v 1.7 2020/02/02 23:34:34 tom Exp $ --------------------------------------------------------------------------*/ /* */ diff --git a/Ada95/src/c_varargs_to_ada.h b/Ada95/src/c_varargs_to_ada.h index f2697058493e..8b78219258d8 100644 --- a/Ada95/src/c_varargs_to_ada.h +++ b/Ada95/src/c_varargs_to_ada.h @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2011,2015 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2011,2015 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 * @@ -26,7 +27,7 @@ * authorization. * ****************************************************************************/ -/* $Id: c_varargs_to_ada.h,v 1.4 2015/08/06 23:08:47 tom Exp $ */ +/* $Id: c_varargs_to_ada.h,v 1.5 2020/02/02 23:34:34 tom Exp $ */ #ifndef __C_VARARGS_TO_ADA_H #define __C_VARARGS_TO_ADA_H diff --git a/Ada95/src/library-cfg.sh b/Ada95/src/library-cfg.sh index 005979f44467..c41661705a87 100755 --- a/Ada95/src/library-cfg.sh +++ b/Ada95/src/library-cfg.sh @@ -1,6 +1,7 @@ #!/bin/sh ############################################################################## -# Copyright (c) 2016-2018,2019 Free Software Foundation, Inc. # +# Copyright 2018-2019,2020 Thomas E. Dickey # +# Copyright 2016,2018 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 "Software"), # @@ -27,7 +28,7 @@ # authorization. # ############################################################################## # -# $Id: library-cfg.sh,v 1.6 2019/09/07 20:27:26 tom Exp $ +# $Id: library-cfg.sh,v 1.7 2020/02/02 23:34:34 tom Exp $ # # Work around incompatible behavior introduced with gnat6, which causes # gnatmake to attempt to compile all of the C objects which might be part of diff --git a/Ada95/src/library.gpr.in b/Ada95/src/library.gpr.in index aeee4e2c8215..b0f0646d1065 100644 --- a/Ada95/src/library.gpr.in +++ b/Ada95/src/library.gpr.in @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------ --- Copyright (c) 2010-2018,2019 Free Software Foundation, Inc. -- +-- Copyright 2019,2020 Thomas E. Dickey -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ --- $Id: library.gpr.in,v 1.1 2019/09/07 20:29:02 tom Exp $ +-- $Id: library.gpr.in,v 1.2 2020/02/02 23:34:34 tom Exp $ -- http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Library-Projects.html -- http://www.adaworld.com/debian/debian-ada-policy.html project AdaCurses is diff --git a/Ada95/src/modules b/Ada95/src/modules index 9f5e03038eb6..29a0d8b08a01 100644 --- a/Ada95/src/modules +++ b/Ada95/src/modules @@ -1,6 +1,7 @@ -# $Id: modules,v 1.3 2010/06/26 23:33:14 tom Exp $ +# $Id: modules,v 1.4 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 2010 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 2010 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 "Software"), # diff --git a/Ada95/src/ncurses_compat.c b/Ada95/src/ncurses_compat.c index e44f3d0fe39b..f2de2228d12f 100644 --- a/Ada95/src/ncurses_compat.c +++ b/Ada95/src/ncurses_compat.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2011,2015 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2011,2015 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 * @@ -32,7 +33,7 @@ /* Version Control - $Id: ncurses_compat.c,v 1.3 2015/08/06 23:09:10 tom Exp $ + $Id: ncurses_compat.c,v 1.4 2020/02/02 23:34:34 tom Exp $ --------------------------------------------------------------------------*/ /* diff --git a/Ada95/src/terminal_interface-curses-aux.adb b/Ada95/src/terminal_interface-curses-aux.adb index 9c2f8cd38674..2f506aff0fab 100644 --- a/Ada95/src/terminal_interface-curses-aux.adb +++ b/Ada95/src/terminal_interface-curses-aux.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package body Terminal_Interface.Curses.Aux is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-alpha.adb b/Ada95/src/terminal_interface-curses-forms-field_types-alpha.adb index 9c614cacb800..23cf7b76e605 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-alpha.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-alpha.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.13 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.14 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-alpha.ads b/Ada95/src/terminal_interface-curses-forms-field_types-alpha.ads index 7878f73b2b52..3cfadb6c7708 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-alpha.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-alpha.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.Alpha is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.adb b/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.adb index 270906d40120..55db15c744ec 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.13 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.14 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.ads b/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.ads index c1009ac77adb..ef17c25705bf 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.AlphaNumeric is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.adb b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.adb index d38e062aa5eb..472aa23918c1 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2004,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2004,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ --- $Date: 2011/03/22 23:36:20 $ +-- $Revision: 1.12 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Characters.Handling; use Ada.Characters.Handling; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.ads b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.ads index 198071cf01c5..33bc343e6521 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.adb b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.adb index 8d4c9cee49b7..d45a9e90f474 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads index 52a35caa07b6..ca9ab523bd41 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2018,2020 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ +-- $Revision: 1.15 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C.Strings; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb b/Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb index 5ec330535994..59e9d1e20d24 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.13 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.14 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-intfield.ads b/Ada95/src/terminal_interface-curses-forms-field_types-intfield.ads index e90f0d06f174..1217824a886a 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-intfield.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-intfield.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.IntField is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.adb b/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.adb index 978a47a1f0c7..4b5d10b57116 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.13 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.14 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.ads b/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.ads index af367e7e5ab2..bf3b77d568e4 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.IPV4_Address is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-numeric.adb b/Ada95/src/terminal_interface-curses-forms-field_types-numeric.adb index 94e2aa702c41..7b1d93181808 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-numeric.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-numeric.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-numeric.ads b/Ada95/src/terminal_interface-curses-forms-field_types-numeric.ads index 7c6f9fa15cef..a7df7a47f701 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-numeric.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-numeric.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.Numeric is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-regexp.adb b/Ada95/src/terminal_interface-curses-forms-field_types-regexp.adb index f5ea0db2b11c..fbc42e94582f 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-regexp.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-regexp.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; use Interfaces.C; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-regexp.ads b/Ada95/src/terminal_interface-curses-forms-field_types-regexp.ads index 26841382dcb8..ee5146b7ba53 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-regexp.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-regexp.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.RegExp is diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.adb b/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.adb index 8414cd0385c7..913cec0553f4 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.20 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.21 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System.Address_To_Access_Conversions; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.ads b/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.ads index 5b132c9192b8..518c192984fe 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-user-choice.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2008,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2008,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ --- $Date: 2011/03/19 12:27:47 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-user.adb b/Ada95/src/terminal_interface-curses-forms-field_types-user.adb index 98bcd2442d43..3f90b9587778 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-user.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types-user.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.23 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.24 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with System.Address_To_Access_Conversions; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-user.ads b/Ada95/src/terminal_interface-curses-forms-field_types-user.ads index 7000fce23dec..c82a70cf2c6b 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-user.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-user.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2009,2011 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ --- $Date: 2011/03/19 12:27:21 $ +-- $Revision: 1.16 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types.adb b/Ada95/src/terminal_interface-curses-forms-field_types.adb index bda6e51b088f..19f4aee1141c 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_types.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.28 $ --- $Date: 2014/09/13 19:00:47 $ +-- $Revision: 1.29 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-forms-field_user_data.adb b/Ada95/src/terminal_interface-curses-forms-field_user_data.adb index fc710b694646..8b947d514037 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_user_data.adb +++ b/Ada95/src/terminal_interface-curses-forms-field_user_data.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2009,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.16 $ +-- $Revision: 1.17 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-forms-form_user_data.adb b/Ada95/src/terminal_interface-curses-forms-form_user_data.adb index 500ec130086f..5091c22d3e44 100644 --- a/Ada95/src/terminal_interface-curses-forms-form_user_data.adb +++ b/Ada95/src/terminal_interface-curses-forms-form_user_data.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2009,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.16 $ +-- $Revision: 1.17 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- | diff --git a/Ada95/src/terminal_interface-curses-forms.adb b/Ada95/src/terminal_interface-curses-forms.adb index 3ed053ae1b68..f50420e6fbbd 100644 --- a/Ada95/src/terminal_interface-curses-forms.adb +++ b/Ada95/src/terminal_interface-curses-forms.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.32 $ --- $Date: 2014/05/24 21:31:05 $ +-- $Revision: 1.33 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; diff --git a/Ada95/src/terminal_interface-curses-menus-item_user_data.adb b/Ada95/src/terminal_interface-curses-menus-item_user_data.adb index 5135c20d7fce..6374376b7e34 100644 --- a/Ada95/src/terminal_interface-curses-menus-item_user_data.adb +++ b/Ada95/src/terminal_interface-curses-menus-item_user_data.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2009,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.15 $ +-- $Revision: 1.16 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-menus-menu_user_data.adb b/Ada95/src/terminal_interface-curses-menus-menu_user_data.adb index e8e297ee915b..7c3ccfa47372 100644 --- a/Ada95/src/terminal_interface-curses-menus-menu_user_data.adb +++ b/Ada95/src/terminal_interface-curses-menus-menu_user_data.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2009,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.16 $ +-- $Revision: 1.17 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-menus.adb b/Ada95/src/terminal_interface-curses-menus.adb index fc840e2a978f..76f3e36ea5d9 100644 --- a/Ada95/src/terminal_interface-curses-menus.adb +++ b/Ada95/src/terminal_interface-curses-menus.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.33 $ --- $Date: 2018/07/07 23:36:44 $ +-- $Revision: 1.34 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Unchecked_Deallocation; diff --git a/Ada95/src/terminal_interface-curses-mouse.adb b/Ada95/src/terminal_interface-curses-mouse.adb index 49a440e64909..ed66249c06f9 100644 --- a/Ada95/src/terminal_interface-curses-mouse.adb +++ b/Ada95/src/terminal_interface-curses-mouse.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2014,2018 Free Software Foundation, Inc. -- +-- Copyright 2018,2020 Thomas E. Dickey -- +-- Copyright 1999-2009,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.26 $ --- $Date: 2018/07/07 23:35:05 $ +-- $Revision: 1.27 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-panels-user_data.adb b/Ada95/src/terminal_interface-curses-panels-user_data.adb index d855f5423c72..504b07d4faf9 100644 --- a/Ada95/src/terminal_interface-curses-panels-user_data.adb +++ b/Ada95/src/terminal_interface-curses-panels-user_data.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; diff --git a/Ada95/src/terminal_interface-curses-panels.adb b/Ada95/src/terminal_interface-curses-panels.adb index 84e29e519c2d..8602f32be99d 100644 --- a/Ada95/src/terminal_interface-curses-panels.adb +++ b/Ada95/src/terminal_interface-curses-panels.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2004,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2004,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; diff --git a/Ada95/src/terminal_interface-curses-putwin.adb b/Ada95/src/terminal_interface-curses-putwin.adb index c5724d118705..cbaeaf2b2c95 100644 --- a/Ada95/src/terminal_interface-curses-putwin.adb +++ b/Ada95/src/terminal_interface-curses-putwin.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.4 $ +-- $Revision: 1.5 $ -- Binding Version 01.00 with Ada.Streams.Stream_IO.C_Streams; diff --git a/Ada95/src/terminal_interface-curses-putwin.ads b/Ada95/src/terminal_interface-curses-putwin.ads index 24d05063e1cd..df7b0d1fe5eb 100644 --- a/Ada95/src/terminal_interface-curses-putwin.ads +++ b/Ada95/src/terminal_interface-curses-putwin.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.4 $ +-- $Revision: 1.5 $ -- Binding Version 01.00 with Ada.Streams.Stream_IO; diff --git a/Ada95/src/terminal_interface-curses-termcap.adb b/Ada95/src/terminal_interface-curses-termcap.adb index 643865781fd3..d09457ccfec4 100644 --- a/Ada95/src/terminal_interface-curses-termcap.adb +++ b/Ada95/src/terminal_interface-curses-termcap.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.13 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/src/terminal_interface-curses-termcap.ads b/Ada95/src/terminal_interface-curses-termcap.ads index e5f19f658e5d..1450cbaa7994 100644 --- a/Ada95/src/terminal_interface-curses-termcap.ads +++ b/Ada95/src/terminal_interface-curses-termcap.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.4 $ +-- $Revision: 1.5 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/src/terminal_interface-curses-terminfo.adb b/Ada95/src/terminal_interface-curses-terminfo.adb index 9b3c9d56b330..c15fa3d0704d 100644 --- a/Ada95/src/terminal_interface-curses-terminfo.adb +++ b/Ada95/src/terminal_interface-curses-terminfo.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.6 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.7 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/src/terminal_interface-curses-terminfo.ads b/Ada95/src/terminal_interface-curses-terminfo.ads index 67f951d08f55..efde24171000 100644 --- a/Ada95/src/terminal_interface-curses-terminfo.ads +++ b/Ada95/src/terminal_interface-curses-terminfo.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000,2003 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2000-2002,2003 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.4 $ +-- $Revision: 1.5 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ diff --git a/Ada95/src/terminal_interface-curses-text_io-aux.adb b/Ada95/src/terminal_interface-curses-text_io-aux.adb index 50a4e4461baa..91307b7f02ce 100644 --- a/Ada95/src/terminal_interface-curses-text_io-aux.adb +++ b/Ada95/src/terminal_interface-curses-text_io-aux.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.13 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.14 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package body Terminal_Interface.Curses.Text_IO.Aux is diff --git a/Ada95/src/terminal_interface-curses-text_io-aux.ads b/Ada95/src/terminal_interface-curses-text_io-aux.ads index 6b50b3395063..946e41549403 100644 --- a/Ada95/src/terminal_interface-curses-text_io-aux.ads +++ b/Ada95/src/terminal_interface-curses-text_io-aux.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2006,2009 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ --- $Date: 2009/12/26 17:38:58 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ private package Terminal_Interface.Curses.Text_IO.Aux is diff --git a/Ada95/src/terminal_interface-curses-text_io-complex_io.adb b/Ada95/src/terminal_interface-curses-text_io-complex_io.adb index 6c2e144eb37c..e05571dbf1d7 100644 --- a/Ada95/src/terminal_interface-curses-text_io-complex_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-complex_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses.Text_IO.Float_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-complex_io.ads b/Ada95/src/terminal_interface-curses-text_io-complex_io.ads index e61345895d1e..f70cd81c0845 100644 --- a/Ada95/src/terminal_interface-curses-text_io-complex_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-complex_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Numerics.Generic_Complex_Types; diff --git a/Ada95/src/terminal_interface-curses-text_io-decimal_io.adb b/Ada95/src/terminal_interface-curses-text_io-decimal_io.adb index 1b1ad8cbf2e8..a8bea13f1af8 100644 --- a/Ada95/src/terminal_interface-curses-text_io-decimal_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-decimal_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-decimal_io.ads b/Ada95/src/terminal_interface-curses-text_io-decimal_io.ads index 1590127451ea..7678ee098142 100644 --- a/Ada95/src/terminal_interface-curses-text_io-decimal_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-decimal_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-text_io-enumeration_io.adb b/Ada95/src/terminal_interface-curses-text_io-enumeration_io.adb index 53f3e55ec837..b1d53b1e278e 100644 --- a/Ada95/src/terminal_interface-curses-text_io-enumeration_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-enumeration_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-enumeration_io.ads b/Ada95/src/terminal_interface-curses-text_io-enumeration_io.ads index a981f0ebc579..11aa198ef0dd 100644 --- a/Ada95/src/terminal_interface-curses-text_io-enumeration_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-enumeration_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-text_io-fixed_io.adb b/Ada95/src/terminal_interface-curses-text_io-fixed_io.adb index 13a34202389e..79474d25e56d 100644 --- a/Ada95/src/terminal_interface-curses-text_io-fixed_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-fixed_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-fixed_io.ads b/Ada95/src/terminal_interface-curses-text_io-fixed_io.ads index 3c22a01479ca..8205581594b5 100644 --- a/Ada95/src/terminal_interface-curses-text_io-fixed_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-fixed_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-text_io-float_io.adb b/Ada95/src/terminal_interface-curses-text_io-float_io.adb index af667b4cd175..a9aa156c7406 100644 --- a/Ada95/src/terminal_interface-curses-text_io-float_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-float_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-float_io.ads b/Ada95/src/terminal_interface-curses-text_io-float_io.ads index b0a68d029eb4..9797bcff947c 100644 --- a/Ada95/src/terminal_interface-curses-text_io-float_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-float_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-text_io-integer_io.adb b/Ada95/src/terminal_interface-curses-text_io-integer_io.adb index 4d19c42e883f..01611514faa7 100644 --- a/Ada95/src/terminal_interface-curses-text_io-integer_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-integer_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-integer_io.ads b/Ada95/src/terminal_interface-curses-text_io-integer_io.ads index 9ffe1e018164..4ef79d84f3a7 100644 --- a/Ada95/src/terminal_interface-curses-text_io-integer_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-integer_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-text_io-modular_io.adb b/Ada95/src/terminal_interface-curses-text_io-modular_io.adb index fe8a6d0b1556..85c6db4a6d02 100644 --- a/Ada95/src/terminal_interface-curses-text_io-modular_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io-modular_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-text_io-modular_io.ads b/Ada95/src/terminal_interface-curses-text_io-modular_io.ads index 68e70e556bf0..d876447db609 100644 --- a/Ada95/src/terminal_interface-curses-text_io-modular_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io-modular_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.12 $ +-- $Revision: 1.13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ generic diff --git a/Ada95/src/terminal_interface-curses-text_io.adb b/Ada95/src/terminal_interface-curses-text_io.adb index 85a4f44b637a..c7238e26e5d9 100644 --- a/Ada95/src/terminal_interface-curses-text_io.adb +++ b/Ada95/src/terminal_interface-curses-text_io.adb @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2011,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2011,2014 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.22 $ --- $Date: 2014/05/24 21:32:18 $ +-- $Revision: 1.23 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package body Terminal_Interface.Curses.Text_IO is diff --git a/Ada95/src/terminal_interface-curses-text_io.ads b/Ada95/src/terminal_interface-curses-text_io.ads index 9c40329ff4bd..33c194237a83 100644 --- a/Ada95/src/terminal_interface-curses-text_io.ads +++ b/Ada95/src/terminal_interface-curses-text_io.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2009 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ +-- $Revision: 1.15 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Text_IO; diff --git a/Ada95/src/terminal_interface-curses-trace.adb_p b/Ada95/src/terminal_interface-curses-trace.adb_p index 0dead37675ff..11acf3d4af23 100644 --- a/Ada95/src/terminal_interface-curses-trace.adb_p +++ b/Ada95/src/terminal_interface-curses-trace.adb_p @@ -7,7 +7,8 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2009,2014 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2001-2011,2014 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 -- @@ -35,7 +36,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.11 $ +-- $Revision: 1.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ #if ADA_TRACE then diff --git a/Ada95/src/terminal_interface.ads b/Ada95/src/terminal_interface.ads index fdaaf9fe7270..a78f145c2e06 100644 --- a/Ada95/src/terminal_interface.ads +++ b/Ada95/src/terminal_interface.ads @@ -7,7 +7,8 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998,2006 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1999-2003,2006 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 -- @@ -35,8 +36,8 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.14 $ --- $Date: 2006/06/25 14:30:22 $ +-- $Revision: 1.15 $ +-- $Date: 2020/02/02 23:34:34 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface is diff --git a/COPYING b/COPYING index 8778d7ee71fc..87658988b18b 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,5 @@ -Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. +Copyright 2018-2019,2020 Thomas E. Dickey +Copyright 1998-2017,2018 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 @@ -25,4 +26,4 @@ sale, use or other dealings in this Software without prior written authorization. -- vile:txtmode fc=72 --- $Id: COPYING,v 1.8 2020/01/04 14:49:29 tom Exp $ +-- $Id: COPYING,v 1.9 2020/02/08 13:34:12 tom Exp $ diff --git a/INSTALL b/INSTALL index 98849355695e..f3e710d8fa67 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. -- +-- Copyright 2018-2019,2020 Thomas E. Dickey -- +-- Copyright 1998-2017,2018 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: INSTALL,v 1.215 2020/01/18 17:02:13 tom Exp $ +-- $Id: INSTALL,v 1.217 2020/02/15 13:39:30 tom Exp $ --------------------------------------------------------------------- How to install Ncurses/Terminfo on your system --------------------------------------------------------------------- @@ -1342,6 +1343,43 @@ COMPATIBILITY WITH OLDER VERSIONS OF NCURSES: you may encounter when building a system with different versions of ncurses: + 6.2 (Feb 12, 2020) + Interface changes: + + + the terminal database must be compiled with ncurses 6.2 tic; + older versions of tic/infocmp will not work. Aside from that, + the compiled database will work with older applications. + + + "*.pc" and "ncurses*-config" files give the same information. + + + vwprintw and vwscanw are deprecated. + + Added extensions: + + + These make it simpler to substitute a debug-configuration of the + library for non-debug: + curses_trace + exit_curses + exit_terminfo + + Added internal functions (other than "_sp" variants): + + + These provide fast-lookup of common user-defined capabilities: + _nc_find_user_entry + _nc_get_userdefs_table + _nc_get_hash_user + + + This is added to work around compiler-warnings: + _nc_fmt_funcptr + + Removed internal functions: + + + _nc_import_termtype + + Modified internal functions: + + + _nc_reserve_pairs no longer returns a value + 6.1 (Jan 27, 2018) Interface changes: diff --git a/MANIFEST b/MANIFEST index f423892453d1..aa8603a70095 100644 --- a/MANIFEST +++ b/MANIFEST @@ -123,6 +123,7 @@ ./Ada95/samples/sample-text_io_demo.ads ./Ada95/samples/sample.adb ./Ada95/samples/sample.ads +./Ada95/samples/split-path.awk ./Ada95/samples/status.adb ./Ada95/samples/status.ads ./Ada95/samples/tour.adb @@ -894,6 +895,7 @@ ./ncurses/llib-ltinfow ./ncurses/modules ./ncurses/new_pair.h +./ncurses/report_hashing.c ./ncurses/report_offsets.c ./ncurses/tinfo/MKcaptab.awk ./ncurses/tinfo/MKcaptab.sh diff --git a/Makefile.in b/Makefile.in index 4a943c4c3af9..7be6e7677637 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,7 @@ -# $Id: Makefile.in,v 1.42 2019/01/06 00:35:11 tom Exp $ +# $Id: Makefile.in,v 1.43 2020/02/02 23:34:34 tom Exp $ ############################################################################## -# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. # +# Copyright 2018-2019,2020 Thomas E. Dickey # +# Copyright 1998-2014,2015 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 "Software"), # diff --git a/Makefile.os2 b/Makefile.os2 index 1244455dfb9c..960c2bdb8bad 100644 --- a/Makefile.os2 +++ b/Makefile.os2 @@ -1,5 +1,6 @@ ############################################################################## -# Copyright (c) 1998-2000,2006 Free Software Foundation, Inc. # +# Copyright 2020 Thomas E. Dickey # +# Copyright 1998-2000,2006 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 "Software"), # @@ -25,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ################################################################################ -# $Id: Makefile.os2,v 1.11 2006/04/22 21:46:17 tom Exp $ +# $Id: Makefile.os2,v 1.12 2020/02/02 23:34:34 tom Exp $ # # Wrapper Makefile for ncurses library under OS/2. # Author: Juan Jose Garcia Ripoll . diff --git a/NEWS b/NEWS index 6dab01c43996..c4f6fe360bb9 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. -- +-- Copyright 2018-2019,2020 Thomas E. Dickey -- +-- Copyright 1998-2017,2018 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3431 2020/01/19 02:02:44 tom Exp $ +-- $Id: NEWS,v 1.3450 2020/02/15 18:56:00 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +46,39 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20200215 + + improve manual page for panel library, extending the portability + section as well as documenting error-returns. + + show tic's version when installing terminal database in run_tic.sh + + correct check for gcc vs other compilers used in ncurses 6.0, from + FreeBSD patch by Kyle Evans (cf: 20150725). + + add notes for 6.2 to INSTALL. + +20200212 6.2 release for upload to ftp.gnu.org + + update release notes + + minor build-fixes, mostly to test-package scripts + +20200208 + + modify check for sizeof(wchar_t) to ensure it gives useful result + when cross-compiling. + + drop assumption in configure script that Cygwin's linker is broken. + + define NCURSES_BROKEN_LINKER if the broken-linker feature is used, + to simplify configure-checks for ncurses-examples. + +20200202 + + reassert copyright on ncurses, per discussion in ncurses FAQ: + https://invisible-island.net/ncurses/ncurses.faq.html#relicensed + +20200201 + + modify comparison in make_hash.c to correct a special case in + collision handling for Caps-hpux11 + + add testing utility report_hashing to check hash-tables used for + terminfo and termcap names. + + fix a missing prototype for _nc_free_and_exit(). + + update a few comments about tack 1.07 + + use an awk script to split too-long pathnames used in Ada95 sample + programs for explain.txt + 20200118 + expanded description of XM in user_caps.5 + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD diff --git a/README b/README index 136c6001fdc9..a48e3f6155d9 100644 --- a/README +++ b/README @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2012,2018 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2012,2018 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: README,v 1.27 2018/01/01 15:09:04 tom Exp $ +-- $Id: README,v 1.28 2020/02/02 23:34:34 tom Exp $ ------------------------------------------------------------------------------- README file for the ncurses package diff --git a/README.MinGW b/README.MinGW index f7d789777a1d..56a2bca21e34 100644 --- a/README.MinGW +++ b/README.MinGW @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 2008-2011,2012 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 2008-2011,2012 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: README.MinGW,v 1.9 2012/09/22 17:46:04 tom Exp $ +-- $Id: README.MinGW,v 1.10 2020/02/02 23:34:34 tom Exp $ -- Author: Juergen Pfeifer ------------------------------------------------------------------------------- diff --git a/README.emx b/README.emx index ff7dc320074a..c48b312c1979 100644 --- a/README.emx +++ b/README.emx @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2006,2018 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2006,2018 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: README.emx,v 1.10 2018/01/01 15:09:55 tom Exp $ +-- $Id: README.emx,v 1.11 2020/02/02 23:34:34 tom Exp $ -- Author: Thomas Dickey ------------------------------------------------------------------------------- diff --git a/TO-DO b/TO-DO index 5df7f47e722e..f021a1b5f14d 100644 --- a/TO-DO +++ b/TO-DO @@ -1,5 +1,6 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. -- +-- Copyright 2020 Thomas E. Dickey -- +-- Copyright 1998-2010,2011 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 -- @@ -25,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: TO-DO,v 1.57 2011/03/28 00:23:02 tom Exp $ +-- $Id: TO-DO,v 1.58 2020/02/02 23:34:34 tom Exp $ ------------------------------------------------------------------------------- SHORT-TERM TO-DO ITEMS: diff --git a/VERSION b/VERSION index 006d9c087577..73ac659d490e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5:0:10 6.1 20200118 +5:0:10 6.2 20200215 diff --git a/aclocal.m4 b/aclocal.m4 index 338a35ec9f21..c27cc3685dc9 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,5 +1,6 @@ dnl*************************************************************************** -dnl Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. * +dnl Copyright 2018-2019,2020 Thomas E. Dickey * +dnl Copyright 1998-2017,2018 Free Software Foundation, Inc. * dnl * dnl Permission is hereby granted, free of charge, to any person obtaining a * dnl copy of this software and associated documentation files (the * @@ -28,7 +29,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: aclocal.m4,v 1.893 2020/01/18 17:30:44 tom Exp $ +dnl $Id: aclocal.m4,v 1.896 2020/02/08 21:01:07 tom Exp $ dnl Macros used in NCURSES auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -1818,6 +1819,28 @@ if test "$cf_disable_rpath_hack" = no ; then fi ]) dnl --------------------------------------------------------------------------- +dnl CF_ENABLE_BROKEN_LINKER version: 1 updated: 2020/02/08 15:59:30 +dnl ----------------------- +dnl Some linkers cannot reference a data-only object. Cygwin used to be one. +dnl This usually follows CF_LINK_DATAONLY, but is not required in case we need +dnl an unconditional feature. +AC_DEFUN([CF_ENABLE_BROKEN_LINKER],[ + +AC_MSG_CHECKING(if you want broken-linker support code) +AC_ARG_ENABLE(broken_linker, + [ --enable-broken_linker compile with broken-linker support code], + [with_broken_linker=$enableval], + [with_broken_linker=no]) +AC_MSG_RESULT($with_broken_linker) + +: ${BROKEN_LINKER:=0} +if test "x$with_broken_linker" = xyes ; then + AC_DEFINE(BROKEN_LINKER,1,[Define to 1 to work around linkers which cannot link data-only modules]) + BROKEN_LINKER=1 +fi +AC_SUBST(BROKEN_LINKER) +])dnl +dnl --------------------------------------------------------------------------- dnl CF_ENABLE_PC_FILES version: 13 updated: 2015/11/01 05:27:39 dnl ------------------ dnl This is the "--enable-pc-files" option, which is available if there is a @@ -4695,7 +4718,7 @@ AC_DEFUN([CF_LIB_TYPE], test -n "$LIB_SUFFIX" && $2="${LIB_SUFFIX}[$]{$2}" ])dnl dnl --------------------------------------------------------------------------- -dnl CF_LINK_DATAONLY version: 12 updated: 2017/07/23 17:46:07 +dnl CF_LINK_DATAONLY version: 13 updated: 2020/02/08 15:59:30 dnl ---------------- dnl Some systems have a non-ANSI linker that doesn't pull in modules that have dnl only data (i.e., no functions), for example NeXT. On those systems we'll @@ -4755,6 +4778,7 @@ if test "$cf_cv_link_dataonly" = no ; then AC_DEFINE(BROKEN_LINKER,1,[if data-only library module does not link]) BROKEN_LINKER=1 fi +AC_SUBST(BROKEN_LINKER) ])dnl dnl --------------------------------------------------------------------------- diff --git a/announce.html.in b/announce.html.in index 378f6f80b012..2ac7d7d73363 100644 --- a/announce.html.in +++ b/announce.html.in @@ -1,7 +1,7 @@ @@ -125,7 +126,7 @@

SEE ALSO

        curses(3x)
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 
diff --git a/doc/html/man/captoinfo.1m.html b/doc/html/man/captoinfo.1m.html
index 7228f73ff20b..fbea4ddde266 100644
--- a/doc/html/man/captoinfo.1m.html
+++ b/doc/html/man/captoinfo.1m.html
@@ -1,7 +1,8 @@
 
 
 
@@ -198,7 +199,7 @@
 

SEE ALSO

        infocmp(1m), curses(3x), terminfo(5)
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 

AUTHOR

diff --git a/doc/html/man/clear.1.html b/doc/html/man/clear.1.html
index 1130989ccfca..853f05c32050 100644
--- a/doc/html/man/clear.1.html
+++ b/doc/html/man/clear.1.html
@@ -1,6 +1,7 @@
 
@@ -148,7 +149,7 @@
 

SEE ALSO

        tput(1), terminfo(5)
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 
diff --git a/doc/html/man/curs_add_wch.3x.html b/doc/html/man/curs_add_wch.3x.html
index f7f0c2432e05..3891f83ccf57 100644
--- a/doc/html/man/curs_add_wch.3x.html
+++ b/doc/html/man/curs_add_wch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_add_wchstr.3x.html b/doc/html/man/curs_add_wchstr.3x.html
index 8b4fe83d8b2f..60b5b7c84452 100644
--- a/doc/html/man/curs_add_wchstr.3x.html
+++ b/doc/html/man/curs_add_wchstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_addch.3x.html b/doc/html/man/curs_addch.3x.html
index 779d5ad51194..fa2f94df2b37 100644
--- a/doc/html/man/curs_addch.3x.html
+++ b/doc/html/man/curs_addch.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/curs_addchstr.3x.html b/doc/html/man/curs_addchstr.3x.html
index 82dd5daf2a16..787129277565 100644
--- a/doc/html/man/curs_addchstr.3x.html
+++ b/doc/html/man/curs_addchstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_addstr.3x.html b/doc/html/man/curs_addstr.3x.html
index 1506a391513d..243afe46bd6f 100644
--- a/doc/html/man/curs_addstr.3x.html
+++ b/doc/html/man/curs_addstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_addwstr.3x.html b/doc/html/man/curs_addwstr.3x.html
index 2cd1aa2dd92e..6fea2aea3096 100644
--- a/doc/html/man/curs_addwstr.3x.html
+++ b/doc/html/man/curs_addwstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_attr.3x.html b/doc/html/man/curs_attr.3x.html
index ec259a1cdf7f..4e9cccc17ee1 100644
--- a/doc/html/man/curs_attr.3x.html
+++ b/doc/html/man/curs_attr.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/curs_bkgd.3x.html b/doc/html/man/curs_bkgd.3x.html
index 4c772ccd1412..0e3dca8de4e3 100644
--- a/doc/html/man/curs_bkgd.3x.html
+++ b/doc/html/man/curs_bkgd.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_bkgrnd.3x.html b/doc/html/man/curs_bkgrnd.3x.html
index bf914925bcb4..a1ab9247d9b9 100644
--- a/doc/html/man/curs_bkgrnd.3x.html
+++ b/doc/html/man/curs_bkgrnd.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_border.3x.html b/doc/html/man/curs_border.3x.html
index 2b259de43c04..f148f20a5140 100644
--- a/doc/html/man/curs_border.3x.html
+++ b/doc/html/man/curs_border.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_border_set.3x.html b/doc/html/man/curs_border_set.3x.html
index 5b3dba90480f..9c1f8459146b 100644
--- a/doc/html/man/curs_border_set.3x.html
+++ b/doc/html/man/curs_border_set.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_clear.3x.html b/doc/html/man/curs_clear.3x.html
index c760c1f03875..d48eeb2dcff5 100644
--- a/doc/html/man/curs_clear.3x.html
+++ b/doc/html/man/curs_clear.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_color.3x.html b/doc/html/man/curs_color.3x.html
index ecf9dde89f57..591ed4081fbc 100644
--- a/doc/html/man/curs_color.3x.html
+++ b/doc/html/man/curs_color.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_delch.3x.html b/doc/html/man/curs_delch.3x.html
index 019ce2766f7f..341efbfb6557 100644
--- a/doc/html/man/curs_delch.3x.html
+++ b/doc/html/man/curs_delch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_deleteln.3x.html b/doc/html/man/curs_deleteln.3x.html
index 2c2d6277389f..83add2b064b2 100644
--- a/doc/html/man/curs_deleteln.3x.html
+++ b/doc/html/man/curs_deleteln.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_extend.3x.html b/doc/html/man/curs_extend.3x.html
index 751a881d35d5..b37889aae2e3 100644
--- a/doc/html/man/curs_extend.3x.html
+++ b/doc/html/man/curs_extend.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_get_wch.3x.html b/doc/html/man/curs_get_wch.3x.html
index ab833d422cad..665620556c7c 100644
--- a/doc/html/man/curs_get_wch.3x.html
+++ b/doc/html/man/curs_get_wch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_get_wstr.3x.html b/doc/html/man/curs_get_wstr.3x.html
index 07081e981818..4169df236c61 100644
--- a/doc/html/man/curs_get_wstr.3x.html
+++ b/doc/html/man/curs_get_wstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_getcchar.3x.html b/doc/html/man/curs_getcchar.3x.html
index 504f54a733bb..adee87eb8777 100644
--- a/doc/html/man/curs_getcchar.3x.html
+++ b/doc/html/man/curs_getcchar.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_getch.3x.html b/doc/html/man/curs_getch.3x.html
index e8ccf097241a..63817d527640 100644
--- a/doc/html/man/curs_getch.3x.html
+++ b/doc/html/man/curs_getch.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/curs_getstr.3x.html b/doc/html/man/curs_getstr.3x.html
index 8c4c7bca864f..ca39dbf3beec 100644
--- a/doc/html/man/curs_getstr.3x.html
+++ b/doc/html/man/curs_getstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_in_wch.3x.html b/doc/html/man/curs_in_wch.3x.html
index fd531b921b9e..ed9dd6a63ccd 100644
--- a/doc/html/man/curs_in_wch.3x.html
+++ b/doc/html/man/curs_in_wch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_in_wchstr.3x.html b/doc/html/man/curs_in_wchstr.3x.html
index 3ca1a4e7c013..089801bb4898 100644
--- a/doc/html/man/curs_in_wchstr.3x.html
+++ b/doc/html/man/curs_in_wchstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_inch.3x.html b/doc/html/man/curs_inch.3x.html
index f54519414bad..8de0774aaf7d 100644
--- a/doc/html/man/curs_inch.3x.html
+++ b/doc/html/man/curs_inch.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/curs_inchstr.3x.html b/doc/html/man/curs_inchstr.3x.html
index e61595c42f10..f0f9a707380c 100644
--- a/doc/html/man/curs_inchstr.3x.html
+++ b/doc/html/man/curs_inchstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_initscr.3x.html b/doc/html/man/curs_initscr.3x.html
index baf2951d841c..395a786435b8 100644
--- a/doc/html/man/curs_initscr.3x.html
+++ b/doc/html/man/curs_initscr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_inopts.3x.html b/doc/html/man/curs_inopts.3x.html
index 94beb0341865..24f2ef964eae 100644
--- a/doc/html/man/curs_inopts.3x.html
+++ b/doc/html/man/curs_inopts.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_ins_wch.3x.html b/doc/html/man/curs_ins_wch.3x.html
index 05b43675996d..2a3734845904 100644
--- a/doc/html/man/curs_ins_wch.3x.html
+++ b/doc/html/man/curs_ins_wch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_ins_wstr.3x.html b/doc/html/man/curs_ins_wstr.3x.html
index f04aa36a816e..d30ad4fdce36 100644
--- a/doc/html/man/curs_ins_wstr.3x.html
+++ b/doc/html/man/curs_ins_wstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_insch.3x.html b/doc/html/man/curs_insch.3x.html
index 086ff7481bfd..1bda98e412b9 100644
--- a/doc/html/man/curs_insch.3x.html
+++ b/doc/html/man/curs_insch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_insstr.3x.html b/doc/html/man/curs_insstr.3x.html
index e8b0d9eadb6b..7c9efa725aef 100644
--- a/doc/html/man/curs_insstr.3x.html
+++ b/doc/html/man/curs_insstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_instr.3x.html b/doc/html/man/curs_instr.3x.html
index 99d5965777f9..f5aecfcbead5 100644
--- a/doc/html/man/curs_instr.3x.html
+++ b/doc/html/man/curs_instr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_inwstr.3x.html b/doc/html/man/curs_inwstr.3x.html
index bbc9775d2315..f70cc7874da4 100644
--- a/doc/html/man/curs_inwstr.3x.html
+++ b/doc/html/man/curs_inwstr.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_kernel.3x.html b/doc/html/man/curs_kernel.3x.html
index 4238ed8cb38a..f90c1a66b141 100644
--- a/doc/html/man/curs_kernel.3x.html
+++ b/doc/html/man/curs_kernel.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_legacy.3x.html b/doc/html/man/curs_legacy.3x.html
index 1fea49098c60..24071db7fb76 100644
--- a/doc/html/man/curs_legacy.3x.html
+++ b/doc/html/man/curs_legacy.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_memleaks.3x.html b/doc/html/man/curs_memleaks.3x.html
index 252a9807a6fc..18b38c9604a9 100644
--- a/doc/html/man/curs_memleaks.3x.html
+++ b/doc/html/man/curs_memleaks.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_mouse.3x.html b/doc/html/man/curs_mouse.3x.html
index 1d2a45de3f13..81fe57a23d4a 100644
--- a/doc/html/man/curs_mouse.3x.html
+++ b/doc/html/man/curs_mouse.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/curs_move.3x.html b/doc/html/man/curs_move.3x.html
index c938a627a934..fcdbd402f566 100644
--- a/doc/html/man/curs_move.3x.html
+++ b/doc/html/man/curs_move.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_opaque.3x.html b/doc/html/man/curs_opaque.3x.html
index f036c825d676..cc6909e325f5 100644
--- a/doc/html/man/curs_opaque.3x.html
+++ b/doc/html/man/curs_opaque.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_outopts.3x.html b/doc/html/man/curs_outopts.3x.html
index 5fe4fa1eea52..75175d194bb0 100644
--- a/doc/html/man/curs_outopts.3x.html
+++ b/doc/html/man/curs_outopts.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_overlay.3x.html b/doc/html/man/curs_overlay.3x.html
index 130796744a31..f858adaef65b 100644
--- a/doc/html/man/curs_overlay.3x.html
+++ b/doc/html/man/curs_overlay.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_pad.3x.html b/doc/html/man/curs_pad.3x.html
index 70378c52dc64..b065000bfd5d 100644
--- a/doc/html/man/curs_pad.3x.html
+++ b/doc/html/man/curs_pad.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_print.3x.html b/doc/html/man/curs_print.3x.html
index 07d38e435b00..76d7886b0061 100644
--- a/doc/html/man/curs_print.3x.html
+++ b/doc/html/man/curs_print.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_printw.3x.html b/doc/html/man/curs_printw.3x.html
index 994a1b5d6bca..c38fc4e3e651 100644
--- a/doc/html/man/curs_printw.3x.html
+++ b/doc/html/man/curs_printw.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_refresh.3x.html b/doc/html/man/curs_refresh.3x.html
index 04ca3d0da9e2..c239ed89090c 100644
--- a/doc/html/man/curs_refresh.3x.html
+++ b/doc/html/man/curs_refresh.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_scanw.3x.html b/doc/html/man/curs_scanw.3x.html
index 48d0d2dcbfcd..a7576669aded 100644
--- a/doc/html/man/curs_scanw.3x.html
+++ b/doc/html/man/curs_scanw.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_scr_dump.3x.html b/doc/html/man/curs_scr_dump.3x.html
index 0b1e50ba6142..f07d40aef21f 100644
--- a/doc/html/man/curs_scr_dump.3x.html
+++ b/doc/html/man/curs_scr_dump.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_scroll.3x.html b/doc/html/man/curs_scroll.3x.html
index 4d885e512b16..0b0e8927c81b 100644
--- a/doc/html/man/curs_scroll.3x.html
+++ b/doc/html/man/curs_scroll.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_slk.3x.html b/doc/html/man/curs_slk.3x.html
index c1dad6e59d1a..bfa1a94579c3 100644
--- a/doc/html/man/curs_slk.3x.html
+++ b/doc/html/man/curs_slk.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_sp_funcs.3x.html b/doc/html/man/curs_sp_funcs.3x.html
index 4b5358d3091e..a83cece723b7 100644
--- a/doc/html/man/curs_sp_funcs.3x.html
+++ b/doc/html/man/curs_sp_funcs.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_termcap.3x.html b/doc/html/man/curs_termcap.3x.html
index f701f8a1322f..e947f713731a 100644
--- a/doc/html/man/curs_termcap.3x.html
+++ b/doc/html/man/curs_termcap.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_terminfo.3x.html b/doc/html/man/curs_terminfo.3x.html
index 0e33754b1aae..4c4246b7ba77 100644
--- a/doc/html/man/curs_terminfo.3x.html
+++ b/doc/html/man/curs_terminfo.3x.html
@@ -1,6 +1,7 @@
 
diff --git a/doc/html/man/curs_touch.3x.html b/doc/html/man/curs_touch.3x.html
index a60b3690e2a2..acbbb6a03e5d 100644
--- a/doc/html/man/curs_touch.3x.html
+++ b/doc/html/man/curs_touch.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_trace.3x.html b/doc/html/man/curs_trace.3x.html
index 77ecbccec61f..a60ae970276d 100644
--- a/doc/html/man/curs_trace.3x.html
+++ b/doc/html/man/curs_trace.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_util.3x.html b/doc/html/man/curs_util.3x.html
index 1c175a774ab9..b8e05be66e61 100644
--- a/doc/html/man/curs_util.3x.html
+++ b/doc/html/man/curs_util.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/curs_variables.3x.html b/doc/html/man/curs_variables.3x.html
index afeca3b21e89..7f8e1f3aac9c 100644
--- a/doc/html/man/curs_variables.3x.html
+++ b/doc/html/man/curs_variables.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/curs_window.3x.html b/doc/html/man/curs_window.3x.html
index 5c1edc65b488..786ca4f93fe9 100644
--- a/doc/html/man/curs_window.3x.html
+++ b/doc/html/man/curs_window.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/default_colors.3x.html b/doc/html/man/default_colors.3x.html
index c91d0119598b..df63f3a0420a 100644
--- a/doc/html/man/default_colors.3x.html
+++ b/doc/html/man/default_colors.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/define_key.3x.html b/doc/html/man/define_key.3x.html
index 0bd1b710c537..47aa7ac3a3aa 100644
--- a/doc/html/man/define_key.3x.html
+++ b/doc/html/man/define_key.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/form.3x.html b/doc/html/man/form.3x.html
index 63bee133e77b..2dbd8ba15768 100644
--- a/doc/html/man/form.3x.html
+++ b/doc/html/man/form.3x.html
@@ -1,7 +1,8 @@
 
 
 
@@ -246,7 +247,7 @@
        curses(3x)  and  related  pages  whose names begin "form_" for detailed
        descriptions of the entry points.
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 
diff --git a/doc/html/man/form_cursor.3x.html b/doc/html/man/form_cursor.3x.html
index 9dcc6eee8886..5430124b2312 100644
--- a/doc/html/man/form_cursor.3x.html
+++ b/doc/html/man/form_cursor.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_data.3x.html b/doc/html/man/form_data.3x.html
index 71839fabdc10..d3d94d4842a6 100644
--- a/doc/html/man/form_data.3x.html
+++ b/doc/html/man/form_data.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_driver.3x.html b/doc/html/man/form_driver.3x.html
index f815be827f58..b5bebe1e570f 100644
--- a/doc/html/man/form_driver.3x.html
+++ b/doc/html/man/form_driver.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/form_field.3x.html b/doc/html/man/form_field.3x.html
index 6e6a096fabdc..1c6060bb5d94 100644
--- a/doc/html/man/form_field.3x.html
+++ b/doc/html/man/form_field.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_attributes.3x.html b/doc/html/man/form_field_attributes.3x.html
index 42e82b5ac28c..e1b4b97d5f78 100644
--- a/doc/html/man/form_field_attributes.3x.html
+++ b/doc/html/man/form_field_attributes.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_buffer.3x.html b/doc/html/man/form_field_buffer.3x.html
index 71484d3aade1..b4fc8d0d4389 100644
--- a/doc/html/man/form_field_buffer.3x.html
+++ b/doc/html/man/form_field_buffer.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_info.3x.html b/doc/html/man/form_field_info.3x.html
index c3199ebb55a8..38c2bec19ab3 100644
--- a/doc/html/man/form_field_info.3x.html
+++ b/doc/html/man/form_field_info.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_just.3x.html b/doc/html/man/form_field_just.3x.html
index 8f7ab13ef17a..2b501e545e4f 100644
--- a/doc/html/man/form_field_just.3x.html
+++ b/doc/html/man/form_field_just.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_new.3x.html b/doc/html/man/form_field_new.3x.html
index 94132de7b982..aa680053bf65 100644
--- a/doc/html/man/form_field_new.3x.html
+++ b/doc/html/man/form_field_new.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_opts.3x.html b/doc/html/man/form_field_opts.3x.html
index 04a1cafcca7c..d370db135ac4 100644
--- a/doc/html/man/form_field_opts.3x.html
+++ b/doc/html/man/form_field_opts.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_userptr.3x.html b/doc/html/man/form_field_userptr.3x.html
index 3adc70edb472..3545f5a1aa19 100644
--- a/doc/html/man/form_field_userptr.3x.html
+++ b/doc/html/man/form_field_userptr.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_field_validation.3x.html b/doc/html/man/form_field_validation.3x.html
index a65e0b4ad4d5..4975302332f7 100644
--- a/doc/html/man/form_field_validation.3x.html
+++ b/doc/html/man/form_field_validation.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/form_fieldtype.3x.html b/doc/html/man/form_fieldtype.3x.html
index 468c9dbedae8..4b350132985c 100644
--- a/doc/html/man/form_fieldtype.3x.html
+++ b/doc/html/man/form_fieldtype.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_hook.3x.html b/doc/html/man/form_hook.3x.html
index b2b02708ab7d..bac8d438b4b1 100644
--- a/doc/html/man/form_hook.3x.html
+++ b/doc/html/man/form_hook.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_new.3x.html b/doc/html/man/form_new.3x.html
index 83f6e2da2fe0..fc2710363a09 100644
--- a/doc/html/man/form_new.3x.html
+++ b/doc/html/man/form_new.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_new_page.3x.html b/doc/html/man/form_new_page.3x.html
index 7eceabe639cc..c14bb9da9645 100644
--- a/doc/html/man/form_new_page.3x.html
+++ b/doc/html/man/form_new_page.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_opts.3x.html b/doc/html/man/form_opts.3x.html
index 472fefdf212d..cf680afff375 100644
--- a/doc/html/man/form_opts.3x.html
+++ b/doc/html/man/form_opts.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_page.3x.html b/doc/html/man/form_page.3x.html
index 999089962fea..e06fffde5c10 100644
--- a/doc/html/man/form_page.3x.html
+++ b/doc/html/man/form_page.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_post.3x.html b/doc/html/man/form_post.3x.html
index 0cb52febfe56..9a18331db9ac 100644
--- a/doc/html/man/form_post.3x.html
+++ b/doc/html/man/form_post.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_requestname.3x.html b/doc/html/man/form_requestname.3x.html
index 9156cc24aee0..9245e4b68817 100644
--- a/doc/html/man/form_requestname.3x.html
+++ b/doc/html/man/form_requestname.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_userptr.3x.html b/doc/html/man/form_userptr.3x.html
index b3edafb5331a..4675f5438d8e 100644
--- a/doc/html/man/form_userptr.3x.html
+++ b/doc/html/man/form_userptr.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/form_variables.3x.html b/doc/html/man/form_variables.3x.html
index 844f0ae5d724..f78a53e73e51 100644
--- a/doc/html/man/form_variables.3x.html
+++ b/doc/html/man/form_variables.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/form_win.3x.html b/doc/html/man/form_win.3x.html
index f477f34d0cf6..5295fca2f42e 100644
--- a/doc/html/man/form_win.3x.html
+++ b/doc/html/man/form_win.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/index.html b/doc/html/man/index.html
index aa8f274f0598..07d986b6b166 100644
--- a/doc/html/man/index.html
+++ b/doc/html/man/index.html
@@ -1,7 +1,8 @@
 
 
 
@@ -512,7 +513,7 @@
 
        https://invisible-island.net/ncurses/tctest.html
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 

AUTHOR

diff --git a/doc/html/man/infotocap.1m.html b/doc/html/man/infotocap.1m.html
index 882703fa9ff2..02a383c29497 100644
--- a/doc/html/man/infotocap.1m.html
+++ b/doc/html/man/infotocap.1m.html
@@ -1,7 +1,8 @@
 
 
 
@@ -90,7 +91,7 @@
 

SEE ALSO

        curses(3x), tic(1m), infocmp(1m), terminfo(5)
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 

AUTHOR

diff --git a/doc/html/man/key_defined.3x.html b/doc/html/man/key_defined.3x.html
index 7de895abe73c..073b78176e1f 100644
--- a/doc/html/man/key_defined.3x.html
+++ b/doc/html/man/key_defined.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/keybound.3x.html b/doc/html/man/keybound.3x.html
index bebbadd4405e..605fd4322ab5 100644
--- a/doc/html/man/keybound.3x.html
+++ b/doc/html/man/keybound.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/keyok.3x.html b/doc/html/man/keyok.3x.html
index afa6514f3289..40281f94c3eb 100644
--- a/doc/html/man/keyok.3x.html
+++ b/doc/html/man/keyok.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/legacy_coding.3x.html b/doc/html/man/legacy_coding.3x.html
index bf64f79526c3..c5745fdee401 100644
--- a/doc/html/man/legacy_coding.3x.html
+++ b/doc/html/man/legacy_coding.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/menu.3x.html b/doc/html/man/menu.3x.html
index 7770423bfd0d..9f50200de7ad 100644
--- a/doc/html/man/menu.3x.html
+++ b/doc/html/man/menu.3x.html
@@ -1,7 +1,8 @@
 
 
 
@@ -221,7 +222,7 @@
        curses(3x)  and  related  pages  whose names begin "menu_" for detailed
        descriptions of the entry points.
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 
diff --git a/doc/html/man/menu_attributes.3x.html b/doc/html/man/menu_attributes.3x.html
index b1efafb2f65b..0d1f876136e1 100644
--- a/doc/html/man/menu_attributes.3x.html
+++ b/doc/html/man/menu_attributes.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_cursor.3x.html b/doc/html/man/menu_cursor.3x.html
index 77d17a183716..86aff55fb661 100644
--- a/doc/html/man/menu_cursor.3x.html
+++ b/doc/html/man/menu_cursor.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_driver.3x.html b/doc/html/man/menu_driver.3x.html
index 5a35438e006a..bf5da3e832ca 100644
--- a/doc/html/man/menu_driver.3x.html
+++ b/doc/html/man/menu_driver.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/menu_format.3x.html b/doc/html/man/menu_format.3x.html
index 329ecd4a82b1..44e2125d043e 100644
--- a/doc/html/man/menu_format.3x.html
+++ b/doc/html/man/menu_format.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_hook.3x.html b/doc/html/man/menu_hook.3x.html
index e25ee824a7d8..17b298f67f5f 100644
--- a/doc/html/man/menu_hook.3x.html
+++ b/doc/html/man/menu_hook.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_items.3x.html b/doc/html/man/menu_items.3x.html
index 5b6512b62bdf..e5cdf9cf5ee5 100644
--- a/doc/html/man/menu_items.3x.html
+++ b/doc/html/man/menu_items.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_mark.3x.html b/doc/html/man/menu_mark.3x.html
index 7e280f72201a..d023db27d357 100644
--- a/doc/html/man/menu_mark.3x.html
+++ b/doc/html/man/menu_mark.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_new.3x.html b/doc/html/man/menu_new.3x.html
index 9fce52b77ea8..5838d7f0c39c 100644
--- a/doc/html/man/menu_new.3x.html
+++ b/doc/html/man/menu_new.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_opts.3x.html b/doc/html/man/menu_opts.3x.html
index b777b2655071..5b9ee06a75bc 100644
--- a/doc/html/man/menu_opts.3x.html
+++ b/doc/html/man/menu_opts.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_pattern.3x.html b/doc/html/man/menu_pattern.3x.html
index 8fea22ab80e0..1be9d1bf5dba 100644
--- a/doc/html/man/menu_pattern.3x.html
+++ b/doc/html/man/menu_pattern.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/menu_post.3x.html b/doc/html/man/menu_post.3x.html
index 92b57e904794..a2fc2bc59a92 100644
--- a/doc/html/man/menu_post.3x.html
+++ b/doc/html/man/menu_post.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_requestname.3x.html b/doc/html/man/menu_requestname.3x.html
index a6cff4cccaa6..7b7674b6d7f0 100644
--- a/doc/html/man/menu_requestname.3x.html
+++ b/doc/html/man/menu_requestname.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_spacing.3x.html b/doc/html/man/menu_spacing.3x.html
index 13e64d8a1df2..f7a812eac907 100644
--- a/doc/html/man/menu_spacing.3x.html
+++ b/doc/html/man/menu_spacing.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_userptr.3x.html b/doc/html/man/menu_userptr.3x.html
index d50ad455b97e..9ced80934940 100644
--- a/doc/html/man/menu_userptr.3x.html
+++ b/doc/html/man/menu_userptr.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/menu_win.3x.html b/doc/html/man/menu_win.3x.html
index 70778b9dd8e7..020064a1d061 100644
--- a/doc/html/man/menu_win.3x.html
+++ b/doc/html/man/menu_win.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/mitem_current.3x.html b/doc/html/man/mitem_current.3x.html
index 3f62802197ec..77f261683857 100644
--- a/doc/html/man/mitem_current.3x.html
+++ b/doc/html/man/mitem_current.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/mitem_name.3x.html b/doc/html/man/mitem_name.3x.html
index 66699db46bb4..a22e0c94de76 100644
--- a/doc/html/man/mitem_name.3x.html
+++ b/doc/html/man/mitem_name.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/mitem_new.3x.html b/doc/html/man/mitem_new.3x.html
index 63d28a77604d..f9db946af1af 100644
--- a/doc/html/man/mitem_new.3x.html
+++ b/doc/html/man/mitem_new.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/mitem_opts.3x.html b/doc/html/man/mitem_opts.3x.html
index ba565d277d5f..3665188f2dd3 100644
--- a/doc/html/man/mitem_opts.3x.html
+++ b/doc/html/man/mitem_opts.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/mitem_userptr.3x.html b/doc/html/man/mitem_userptr.3x.html
index 905f559311ec..00d0a4baa452 100644
--- a/doc/html/man/mitem_userptr.3x.html
+++ b/doc/html/man/mitem_userptr.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/mitem_value.3x.html b/doc/html/man/mitem_value.3x.html
index 256404b42158..2b55d6e833f7 100644
--- a/doc/html/man/mitem_value.3x.html
+++ b/doc/html/man/mitem_value.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/mitem_visible.3x.html b/doc/html/man/mitem_visible.3x.html
index 425e06a46558..98e0a7559cb8 100644
--- a/doc/html/man/mitem_visible.3x.html
+++ b/doc/html/man/mitem_visible.3x.html
@@ -1,7 +1,8 @@
 
 
 
diff --git a/doc/html/man/ncurses.3x.html b/doc/html/man/ncurses.3x.html
index 2a36e050e22e..ddf5d2a05e5f 100644
--- a/doc/html/man/ncurses.3x.html
+++ b/doc/html/man/ncurses.3x.html
@@ -1,7 +1,8 @@
 
 
 
@@ -59,7 +60,7 @@
        method of updating  character  screens  with  reasonable  optimization.
        This  implementation  is  "new  curses"  (ncurses)  and is the approved
        replacement for 4.4BSD classic curses,  which  has  been  discontinued.
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
        The  ncurses  library emulates the curses library of System V Release 4
        UNIX, and XPG4 (X/Open Portability Guide) curses  (also  known  as  XSI
diff --git a/doc/html/man/ncurses6-config.1.html b/doc/html/man/ncurses6-config.1.html
index d0417c0d2486..0f8c15e564a3 100644
--- a/doc/html/man/ncurses6-config.1.html
+++ b/doc/html/man/ncurses6-config.1.html
@@ -1,6 +1,7 @@
 
 
 
@@ -112,7 +113,7 @@
 

SEE ALSO

        curses(3x)
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 
diff --git a/doc/html/man/new_pair.3x.html b/doc/html/man/new_pair.3x.html
index 30740285cb7b..dec3de15c7b1 100644
--- a/doc/html/man/new_pair.3x.html
+++ b/doc/html/man/new_pair.3x.html
@@ -1,6 +1,7 @@
 
 
 
diff --git a/doc/html/man/panel.3x.html b/doc/html/man/panel.3x.html
index 3304dff61223..a9522c7d94a9 100644
--- a/doc/html/man/panel.3x.html
+++ b/doc/html/man/panel.3x.html
@@ -1,6 +1,7 @@
 
 
 
@@ -54,21 +72,30 @@
 
        cc [flags] sourcefiles -lpanel -lncurses
 
-       PANEL *new_panel(WINDOW *win);
-       int bottom_panel(PANEL *pan);
-       int top_panel(PANEL *pan);
-       int show_panel(PANEL *pan);
+       PANEL *new_panel(WINDOW *win);
+
+       int bottom_panel(PANEL *pan);
+       int top_panel(PANEL *pan);
+       int show_panel(PANEL *pan);
        void update_panels(void);
-       int hide_panel(PANEL *pan);
-       WINDOW *panel_window(const PANEL *pan);
-       int replace_panel(PANEL *pan, WINDOW *window);
-       int move_panel(PANEL *pan, int starty, int startx);
-       int panel_hidden(const PANEL *pan);
-       PANEL *panel_above(const PANEL *pan);
-       PANEL *panel_below(const PANEL *pan);
-       int set_panel_userptr(PANEL *pan, const void *ptr);
-       const void *panel_userptr(const PANEL *pan);
-       int del_panel(PANEL *pan);
+       int hide_panel(PANEL *pan);
+
+       WINDOW *panel_window(const PANEL *pan);
+       int replace_panel(PANEL *pan, WINDOW *window);
+       int move_panel(PANEL *pan, int starty, int startx);
+       int panel_hidden(const PANEL *pan);
+
+       PANEL *panel_above(const PANEL *pan);
+       PANEL *panel_below(const PANEL *pan);
+
+       int set_panel_userptr(PANEL *pan, const void *ptr);
+       const void *panel_userptr(const PANEL *pan);
+
+       int del_panel(PANEL *pan);
+
+       /* ncurses-extensions */
+       PANEL *ground_panel(SCREEN *sp);
+       PANEL *ceiling_panel(SCREEN *sp);
 
 
 

DESCRIPTION

@@ -88,73 +115,100 @@
 
 
 

FUNCTIONS

-       new_panel(win)
-              allocates   a   PANEL  structure, associates it with win, places
-              the panel on the top of the stack  (causes  it to  be  displayed
-              above any other panel) and returns a pointer to the new panel.
 
-       update_panels
-              refreshes  the  virtual  screen to reflect the relations between
-              the panels in the stack, but does not call doupdate  to  refresh
-              the  physical  screen.   Use  this  function and not wrefresh or
-              wnoutrefresh.  update_panels may be called more than once before
-              a call to doupdate, but doupdate is the function responsible for
-              updating the physical screen.
+

bottom_panel

+       bottom_panel(pan) puts panel pan at the bottom of all panels.
 
-       del_panel(pan)
-              removes the given panel from  the   stack  and  deallocates  the
-              PANEL structure (but not its associated window).
 
-       hide_panel(pan)
-              removes  the  given panel from the panel stack and thus hides it
-              from view.  The PANEL structure is not lost, merely removed from
-              the stack.
+

ceiling_panel

+       ceiling_panel(sp) acts like panel_below(NULL), for the given SCREEN sp.
 
-       panel_hidden(pan)
-              returns  TRUE if the panel is in the panel stack, FALSE if it is
-              not.  If the panel is a null pointer, return ERR.
 
-       show_panel(pan)
-              makes a hidden panel visible by placing it on top of the  panels
-              in the panel stack.  See COMPATIBILITY below.
+

del_panel

+       del_panel(pan)  removes the given panel pan from the  stack and deallo-
+       cates the PANEL structure (but not its associated window).
 
-       top_panel(pan)
-              puts  the given visible panel on top of all panels in the stack.
-              See COMPATIBILITY below.
 
-       bottom_panel(pan)
-              puts panel at the bottom of all panels.
+

ground_panel

+       ground_panel(sp) acts like panel_above(NULL), for the given SCREEN sp.
 
-       move_panel(pan,starty,startx)
-              moves the given panel window so that its upper-left corner is at
-              starty, startx.  It does not change the position of the panel in
-              the stack.  Be sure to use this function, not mvwin, to  move  a
-              panel window.
 
-       replace_panel(pan,window)
-              replaces  the  current  window of panel with window (useful, for
-              example if you want to resize a panel; if you're using  ncurses,
-              you  can  call  replace_panel on the output of wresize(3x)).  It
-              does not change the position of the panel in the stack.
+

hide_panel

+       hide_panel(pan) removes the given panel pan from the  panel  stack  and
+       thus  hides  it  from  view.   The  PANEL structure is not lost, merely
+       removed from the stack.
 
-       panel_above(pan)
-              returns a pointer to the panel above pan.  If the panel argument
-              is  (PANEL  *)0, it returns a pointer to the bottom panel in the
-              stack.
 
-       panel_below(pan)
-              returns a pointer to the panel just below  pan.   If  the  panel
-              argument is (PANEL *)0, it returns a pointer to the top panel in
-              the stack.
+

move_panel

+       move_panel(pan,starty,startx) moves the given  panel  pan's  window  so
+       that  its  upper-left  corner is at starty, startx.  It does not change
+       the position of the panel in the stack.  Be sure to use this  function,
+       not mvwin(3x), to move a panel window.
 
-       set_panel_userptr(pan,ptr)
-              sets the panel's user pointer.
 
-       panel_userptr(pan)
-              returns the user pointer for a given panel.
+

new_panel

+       new_panel(win)  allocates   a  PANEL structure, associates it with win,
+       places the panel on the top of the stack (causes  it to  be   displayed
+       above any other panel) and returns a pointer to the new panel.
 
-       panel_window(pan)
-              returns a pointer to the window of the given panel.
+
+

panel_above

+       panel_above(pan)  returns  a  pointer  to  the panel above pan.  If the
+       panel argument is (PANEL *)0, it returns a pointer to the bottom  panel
+       in the stack.
+
+
+

panel_below

+       panel_below(pan) returns a pointer to the panel just below pan.  If the
+       panel argument is (PANEL *)0, it returns a pointer to the top panel  in
+       the stack.
+
+
+

panel_hidden

+       panel_hidden(pan)  returns TRUE if the panel pan is in the panel stack,
+       FALSE if it is not.  If the panel is a null pointer, return ERR.
+
+
+

panel_userptr

+       panel_userptr(pan) returns the user pointer for a given panel pan.
+
+
+

panel_window

+       panel_window(pan) returns a pointer to the window of  the  given  panel
+       pan.
+
+
+

replace_panel

+       replace_panel(pan,window) replaces the current window of panel pan with
+       window This is useful, for example if you want to resize a  panel.   In
+       ncurses,  you  can  call replace_panel to resize a panel using a window
+       resized with wresize(3x).  It does not change the position of the panel
+       in the stack.
+
+
+

set_panel_userptr

+       set_panel_userptr(pan,ptr) sets the panel's user pointer.
+
+
+

show_panel

+       show_panel(pan)  makes  a  hidden panel visible by placing it on top of
+       the panels in the panel stack.  See COMPATIBILITY below.
+
+
+

top_panel

+       top_panel(pan) puts the given visible panel pan on top of all panels in
+       the stack.  See COMPATIBILITY below.
+
+
+

update_panels

+       update_panels()  refreshes  the virtual screen to reflect the relations
+       between the panels in the stack, but  does  not  call  doupdate(3x)  to
+       refresh the physical screen.  Use this function and not wrefresh(3x) or
+       wnoutrefresh(3x).
+
+       update_panels may be called more than once before a call  to  doupdate,
+       but  doupdate  is  the  function  responsible for updating the physical
+       screen.
 
 
 

DIAGNOSTICS

@@ -162,6 +216,12 @@
        Each  routine  that returns an int value returns OK if it executes suc-
        cessfully and ERR if not.
 
+       Except as noted, the pan and window parameters must  be  non-null.   If
+       those are null, an error is returned.
+
+       The  move_panel  function  uses  mvwin(3x), and will return an error if
+       mvwin returns an error.
+
 
 

COMPATIBILITY

        Reasonable care has been taken  to   ensure   compatibility  with   the
@@ -191,8 +251,25 @@
 
        It is not part of X/Open Curses.
 
-       Aside  from  ncurses,  only  systems  based  on SVr4 source code, e.g.,
-       Solaris provide this library.
+       A few implementations exist:
+
+       o   Systems  based  on  SVr4  source  code, e.g., Solaris, provide this
+           library.
+
+       o   ncurses (since version 0.6 in 1993) and PDCurses (since version 2.2
+           in 1995) provide a panel library whose common ancestor was a public
+           domain implementation by Warren Tucker published  in  u386mon  2.20
+           (1990).
+
+           According  to  Tucker, the SystemV panel library was first released
+           in SVr3.2 (1988), and his implementation  helped  with  a  port  to
+           SVr3.1 (1987).
+
+           Several  developers have improved each of these; they are no longer
+           the same as Tucker's implementation.
+
+       o   NetBSD 8 (2018) has a panel library  begun  by  Valery  Ushakov  in
+           2015.  This is based on the AT&T documentation.
 
 
 

FILES

@@ -204,13 +281,17 @@
 

SEE ALSO

        curses(3x), curs_variables(3x),
 
-       This describes ncurses version 6.1 (patch 20200118).
+       This describes ncurses version 6.2 (patch 20200215).
 
 
 

AUTHOR

-       Originally written by Warren Tucker <wht@n4hgf.mt-park.ga.us>,  primar-
-       ily  to  assist  in  porting u386mon to systems without a native panels
-       library.  Repackaged for ncurses by Zeyd ben-Halim.
+       Originally  written by Warren Tucker <wht@n4hgf.mt-park.ga.us>, primar-
+       ily to assist in porting u386mon to systems  without  a  native  panels
+       library.
+
+       Repackaged for ncurses by Zeyd ben-Halim.
+
+       Juergen Pfeifer and Thomas E. Dickey revised/improved the library.
 
 
 
@@ -221,7 +302,27 @@
 
  • NAME
  • SYNOPSIS
  • DESCRIPTION
  • -
  • FUNCTIONS
  • +
  • FUNCTIONS + +
  • DIAGNOSTICS
  • COMPATIBILITY
  • NOTE
  • diff --git a/doc/html/man/resizeterm.3x.html b/doc/html/man/resizeterm.3x.html index a1e20f90ab52..3705e3c78d47 100644 --- a/doc/html/man/resizeterm.3x.html +++ b/doc/html/man/resizeterm.3x.html @@ -1,6 +1,7 @@ diff --git a/doc/html/man/scr_dump.5.html b/doc/html/man/scr_dump.5.html index 55b0e85349e1..e73ebc08f05e 100644 --- a/doc/html/man/scr_dump.5.html +++ b/doc/html/man/scr_dump.5.html @@ -1,6 +1,7 @@ diff --git a/doc/html/man/tabs.1.html b/doc/html/man/tabs.1.html index 14b555ee4d81..df6290d38ffe 100644 --- a/doc/html/man/tabs.1.html +++ b/doc/html/man/tabs.1.html @@ -1,6 +1,7 @@ @@ -205,7 +206,7 @@

    SEE ALSO

            tset(1), infocmp(1m), curses(3x), terminfo(5).
     
    -       This describes ncurses version 6.1 (patch 20200118).
    +       This describes ncurses version 6.2 (patch 20200215).
     
     
     
    diff --git a/doc/html/man/term.5.html b/doc/html/man/term.5.html
    index 5fab776ded8c..bc60a21058b7 100644
    --- a/doc/html/man/term.5.html
    +++ b/doc/html/man/term.5.html
    @@ -1,6 +1,7 @@
     
     
     
    diff --git a/doc/html/man/term.7.html b/doc/html/man/term.7.html
    index 2cadcafa32cf..a967141629cb 100644
    --- a/doc/html/man/term.7.html
    +++ b/doc/html/man/term.7.html
    @@ -1,6 +1,7 @@
     
     
     
    diff --git a/doc/html/man/term_variables.3x.html b/doc/html/man/term_variables.3x.html
    index d5a83afcd8a9..8db839940a52 100644
    --- a/doc/html/man/term_variables.3x.html
    +++ b/doc/html/man/term_variables.3x.html
    @@ -1,6 +1,7 @@
     
     
     
    diff --git a/doc/html/man/terminfo.5.html b/doc/html/man/terminfo.5.html
    index 2a2bdf32f850..0bfba033e7e7 100644
    --- a/doc/html/man/terminfo.5.html
    +++ b/doc/html/man/terminfo.5.html
    @@ -5,7 +5,8 @@
       * Note: this must be run through tbl before nroff.
       * The magic cookie on the first line triggers this under some man programs.
       ****************************************************************************
    -  * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
    +  * Copyright 2018-2019,2020 Thomas E. Dickey                                *
    +  * Copyright 1998-2016,2017 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            *
    @@ -31,10 +32,11 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: terminfo.head,v 1.38 2019/07/27 11:51:04 tom Exp @
    +  * @Id: terminfo.head,v 1.39 2020/02/02 23:34:34 tom Exp @
       * Head of terminfo man page ends here
       ****************************************************************************
    -  * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
    +  * Copyright 2018-2019,2020 Thomas E. Dickey                                *
    +  * Copyright 1998-2016,2017 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            *
    @@ -60,7 +62,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: terminfo.tail,v 1.98 2019/11/30 20:54:32 tom Exp @
    +  * @Id: terminfo.tail,v 1.99 2020/02/02 23:34:34 tom Exp @
       *.in -2
       *.in +2
       *.in -2
    @@ -103,7 +105,7 @@
            have, by specifying how to perform screen operations, and by specifying
            padding requirements and initialization sequences.
     
    -       This manual describes ncurses version 6.1 (patch 20200118).
    +       This manual describes ncurses version 6.2 (patch 20200215).
     
     
     

    Terminfo Entry Syntax

    diff --git a/doc/html/man/tic.1m.html b/doc/html/man/tic.1m.html
    index e4a646e2c356..184f4350b4bf 100644
    --- a/doc/html/man/tic.1m.html
    +++ b/doc/html/man/tic.1m.html
    @@ -1,6 +1,7 @@
     
     
     
    @@ -460,7 +461,7 @@
            infocmp(1m),   captoinfo(1m),   infotocap(1m),   toe(1m),   curses(3x),
            term(5).  terminfo(5).  user_caps(5).
     
    -       This describes ncurses version 6.1 (patch 20200118).
    +       This describes ncurses version 6.2 (patch 20200215).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/toe.1m.html b/doc/html/man/toe.1m.html
    index 13ddb2762929..c792d46e8f96 100644
    --- a/doc/html/man/toe.1m.html
    +++ b/doc/html/man/toe.1m.html
    @@ -1,6 +1,7 @@
     
     
     
    @@ -170,7 +171,7 @@
            tic(1m), infocmp(1m), captoinfo(1m),  infotocap(1m),  curses(3x),  ter-
            minfo(5).
     
    -       This describes ncurses version 6.1 (patch 20200118).
    +       This describes ncurses version 6.2 (patch 20200215).
     
     
     
    diff --git a/doc/html/man/tput.1.html b/doc/html/man/tput.1.html
    index 88b3f13ae943..5de32deab291 100644
    --- a/doc/html/man/tput.1.html
    +++ b/doc/html/man/tput.1.html
    @@ -1,7 +1,8 @@
     
     
     
    @@ -522,7 +523,7 @@
     

    SEE ALSO

            clear(1), stty(1), tabs(1), tset(1), terminfo(5), curs_termcap(3x).
     
    -       This describes ncurses version 6.1 (patch 20200118).
    +       This describes ncurses version 6.2 (patch 20200215).
     
     
     
    diff --git a/doc/html/man/tset.1.html b/doc/html/man/tset.1.html
    index e7ea47d485de..84876f19fec4 100644
    --- a/doc/html/man/tset.1.html
    +++ b/doc/html/man/tset.1.html
    @@ -1,6 +1,7 @@
     
     
     
    @@ -389,7 +390,7 @@
            csh(1),  sh(1),  stty(1),   curs_terminfo(3x),   tty(4),   terminfo(5),
            ttys(5), environ(7)
     
    -       This describes ncurses version 6.1 (patch 20200118).
    +       This describes ncurses version 6.2 (patch 20200215).
     
     
     
    diff --git a/doc/html/man/user_caps.5.html b/doc/html/man/user_caps.5.html
    index 3c3a90243221..95bb74d17ba1 100644
    --- a/doc/html/man/user_caps.5.html
    +++ b/doc/html/man/user_caps.5.html
    @@ -1,6 +1,7 @@
     
     
     
    diff --git a/doc/html/man/wresize.3x.html b/doc/html/man/wresize.3x.html
    index ffd941f09386..01b9d77b9a0a 100644
    --- a/doc/html/man/wresize.3x.html
    +++ b/doc/html/man/wresize.3x.html
    @@ -1,6 +1,7 @@
     
     
     
    diff --git a/doc/html/ncurses-intro.html b/doc/html/ncurses-intro.html
    index cc1a041eeeaf..ebf2e2e03dda 100644
    --- a/doc/html/ncurses-intro.html
    +++ b/doc/html/ncurses-intro.html
    @@ -1,7 +1,8 @@