Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/systat Create subwins that end one line from the bot...
details: https://anonhg.NetBSD.org/src/rev/21e0db109cc5
branches: trunk
changeset: 543395:21e0db109cc5
user: dsl <dsl%NetBSD.org@localhost>
date: Mon Feb 24 10:10:00 2003 +0000
description:
Create subwins that end one line from the bottom of the screen even
after the window is resized.
diffstat:
usr.bin/systat/bufcache.c | 6 +++---
usr.bin/systat/icmp.c | 6 +++---
usr.bin/systat/iostat.c | 6 +++---
usr.bin/systat/ip.c | 6 +++---
usr.bin/systat/ip6.c | 6 +++---
usr.bin/systat/ipsec.c | 6 +++---
usr.bin/systat/mbufs.c | 6 +++---
usr.bin/systat/netstat.c | 6 +++---
usr.bin/systat/pigs.c | 6 +++---
usr.bin/systat/swap.c | 6 +++---
usr.bin/systat/tcp.c | 6 +++---
11 files changed, 33 insertions(+), 33 deletions(-)
diffs (297 lines):
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/bufcache.c
--- a/usr.bin/systat/bufcache.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/bufcache.c Mon Feb 24 10:10:00 2003 +0000
@@ -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 @@
openbufcache(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/icmp.c
--- a/usr.bin/systat/icmp.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/icmp.c Mon Feb 24 10:10:00 2003 +0000
@@ -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@localhost>
@@ -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 @@
openicmp(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/iostat.c
--- a/usr.bin/systat/iostat.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/iostat.c Mon Feb 24 10:10:00 2003 +0000
@@ -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 @@
openiostat(void)
{
- return (subwin(stdscr, LINES-1-5, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/ip.c
--- a/usr.bin/systat/ip.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/ip.c Mon Feb 24 10:10:00 2003 +0000
@@ -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@localhost>
@@ -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 @@
openip(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/ip6.c
--- a/usr.bin/systat/ip6.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/ip6.c Mon Feb 24 10:10:00 2003 +0000
@@ -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@localhost>
@@ -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 @@
openip6(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/ipsec.c
--- a/usr.bin/systat/ipsec.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/ipsec.c Mon Feb 24 10:10:00 2003 +0000
@@ -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@localhost>
@@ -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 @@
openipsec(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/mbufs.c
--- a/usr.bin/systat/mbufs.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/mbufs.c Mon Feb 24 10:10:00 2003 +0000
@@ -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 @@
openmbufs(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/netstat.c
--- a/usr.bin/systat/netstat.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/netstat.c Mon Feb 24 10:10:00 2003 +0000
@@ -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 @@
sethostent(1);
setnetent(1);
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/pigs.c
--- a/usr.bin/systat/pigs.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/pigs.c Mon Feb 24 10:10:00 2003 +0000
@@ -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 @@
openpigs(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/swap.c
--- a/usr.bin/systat/swap.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/swap.c Mon Feb 24 10:10:00 2003 +0000
@@ -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 @@
openswap(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
diff -r 352c57b624e3 -r 21e0db109cc5 usr.bin/systat/tcp.c
--- a/usr.bin/systat/tcp.c Mon Feb 24 10:01:02 2003 +0000
+++ b/usr.bin/systat/tcp.c Mon Feb 24 10:10:00 2003 +0000
@@ -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@localhost>
@@ -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 @@
opentcp(void)
{
- return (subwin(stdscr, LINES-5-1, 0, 5, 0));
+ return (subwin(stdscr, -1, 0, 5, 0));
}
void
Home |
Main Index |
Thread Index |
Old Index