Create subwins that end one line from the bottom of the screen even

after the window is resized.
This commit is contained in:
dsl 2003-02-24 10:10:00 +00:00
parent a7a5a493b5
commit 9f46bb077a
11 changed files with 33 additions and 33 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bufcache.c,v 1.12 2001/12/09 03:07:58 chs Exp $ */
/* $NetBSD: bufcache.c,v 1.13 2003/02/24 10:10:00 dsl Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: bufcache.c,v 1.12 2001/12/09 03:07:58 chs Exp $");
__RCSID("$NetBSD: bufcache.c,v 1.13 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -120,7 +120,7 @@ WINDOW *
openbufcache(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: icmp.c,v 1.6 2000/12/01 02:19:43 simonb Exp $ */
/* $NetBSD: icmp.c,v 1.7 2003/02/24 10:10:00 dsl Exp $ */
/*
* Copyright (c) 1999, 2000 Andrew Doran <ad@NetBSD.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: icmp.c,v 1.6 2000/12/01 02:19:43 simonb Exp $");
__RCSID("$NetBSD: icmp.c,v 1.7 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -74,7 +74,7 @@ WINDOW *
openicmp(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: iostat.c,v 1.26 2003/02/01 19:12:30 dsl Exp $ */
/* $NetBSD: iostat.c,v 1.27 2003/02/24 10:10:00 dsl Exp $ */
/*
* Copyright (c) 1980, 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: iostat.c,v 1.26 2003/02/01 19:12:30 dsl Exp $");
__RCSID("$NetBSD: iostat.c,v 1.27 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -66,7 +66,7 @@ WINDOW *
openiostat(void)
{
return (subwin(stdscr, LINES-1-5, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip.c,v 1.10 2001/06/12 15:17:29 wiz Exp $ */
/* $NetBSD: ip.c,v 1.11 2003/02/24 10:10:00 dsl Exp $ */
/*
* Copyright (c) 1999, 2000 Andrew Doran <ad@NetBSD.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: ip.c,v 1.10 2001/06/12 15:17:29 wiz Exp $");
__RCSID("$NetBSD: ip.c,v 1.11 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -79,7 +79,7 @@ WINDOW *
openip(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip6.c,v 1.9 2000/12/20 01:16:42 cgd Exp $ */
/* $NetBSD: ip6.c,v 1.10 2003/02/24 10:10:00 dsl Exp $ */
/*
* Copyright (c) 1999, 2000 Andrew Doran <ad@NetBSD.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: ip6.c,v 1.9 2000/12/20 01:16:42 cgd Exp $");
__RCSID("$NetBSD: ip6.c,v 1.10 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -71,7 +71,7 @@ WINDOW *
openip6(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipsec.c,v 1.6 2000/12/01 02:19:44 simonb Exp $ */
/* $NetBSD: ipsec.c,v 1.7 2003/02/24 10:10:00 dsl Exp $ */
/*
* Copyright (c) 1999, 2000 Andrew Doran <ad@NetBSD.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: ipsec.c,v 1.6 2000/12/01 02:19:44 simonb Exp $");
__RCSID("$NetBSD: ipsec.c,v 1.7 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -78,7 +78,7 @@ WINDOW *
openipsec(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: mbufs.c,v 1.10 2000/12/01 02:19:44 simonb Exp $ */
/* $NetBSD: mbufs.c,v 1.11 2003/02/24 10:10:00 dsl Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: mbufs.c,v 1.10 2000/12/01 02:19:44 simonb Exp $");
__RCSID("$NetBSD: mbufs.c,v 1.11 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -75,7 +75,7 @@ WINDOW *
openmbufs(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: netstat.c,v 1.20 2000/12/01 02:19:44 simonb Exp $ */
/* $NetBSD: netstat.c,v 1.21 2003/02/24 10:10:00 dsl Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: netstat.c,v 1.20 2000/12/01 02:19:44 simonb Exp $");
__RCSID("$NetBSD: netstat.c,v 1.21 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
/*
@ -133,7 +133,7 @@ opennetstat(void)
sethostent(1);
setnetent(1);
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: pigs.c,v 1.23 2003/01/18 10:54:11 thorpej Exp $ */
/* $NetBSD: pigs.c,v 1.24 2003/02/24 10:10:00 dsl Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93";
#endif
__RCSID("$NetBSD: pigs.c,v 1.23 2003/01/18 10:54:11 thorpej Exp $");
__RCSID("$NetBSD: pigs.c,v 1.24 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
/*
@ -77,7 +77,7 @@ WINDOW *
openpigs(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: swap.c,v 1.14 2000/12/01 02:19:44 simonb Exp $ */
/* $NetBSD: swap.c,v 1.15 2003/02/24 10:10:00 dsl Exp $ */
/*-
* Copyright (c) 1997 Matthew R. Green. All rights reserved.
@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95";
#endif
__RCSID("$NetBSD: swap.c,v 1.14 2000/12/01 02:19:44 simonb Exp $");
__RCSID("$NetBSD: swap.c,v 1.15 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -65,7 +65,7 @@ WINDOW *
openswap(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcp.c,v 1.9 2001/06/12 15:17:29 wiz Exp $ */
/* $NetBSD: tcp.c,v 1.10 2003/02/24 10:10:00 dsl Exp $ */
/*
* Copyright (c) 1999, 2000 Andrew Doran <ad@NetBSD.org>
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: tcp.c,v 1.9 2001/06/12 15:17:29 wiz Exp $");
__RCSID("$NetBSD: tcp.c,v 1.10 2003/02/24 10:10:00 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -74,7 +74,7 @@ WINDOW *
opentcp(void)
{
return (subwin(stdscr, LINES-5-1, 0, 5, 0));
return (subwin(stdscr, -1, 0, 5, 0));
}
void