Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/window Sort (and synchronize) option list and `SYNOP...
details: https://anonhg.NetBSD.org/src/rev/374d48f20390
branches: trunk
changeset: 768265:374d48f20390
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Aug 13 14:02:48 2011 +0000
description:
Sort (and synchronize) option list and `SYNOPSIS' section in
manpage, as well as the program's `usage'-line; also some other
minor changes.
>From Snader_LB.
diffstat:
usr.bin/window/main.c | 6 +++---
usr.bin/window/window.1 | 40 +++++++++++++++++++---------------------
2 files changed, 22 insertions(+), 24 deletions(-)
diffs (117 lines):
diff -r 5042770203b9 -r 374d48f20390 usr.bin/window/main.c
--- a/usr.bin/window/main.c Sat Aug 13 12:37:30 2011 +0000
+++ b/usr.bin/window/main.c Sat Aug 13 14:02:48 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.15 2009/04/14 08:50:06 lukem Exp $ */
+/* $NetBSD: main.c,v 1.16 2011/08/13 14:02:48 jakllsch Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: main.c,v 1.15 2009/04/14 08:50:06 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.16 2011/08/13 14:02:48 jakllsch Exp $");
#endif
#endif /* not lint */
@@ -194,7 +194,7 @@
usage(void)
{
(void) fprintf(stderr,
- "usage: %s [-e escape-char] [-c command] [-t] [-f] [-d]\n",
+ "usage: %s [-d] [-f] [-t] [-c command] [-e escape-char]\n",
getprogname());
exit(1);
}
diff -r 5042770203b9 -r 374d48f20390 usr.bin/window/window.1
--- a/usr.bin/window/window.1 Sat Aug 13 12:37:30 2011 +0000
+++ b/usr.bin/window/window.1 Sat Aug 13 14:02:48 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: window.1,v 1.21 2011/03/10 13:23:41 jmmv Exp $
+.\" $NetBSD: window.1,v 1.22 2011/08/13 14:02:48 jakllsch Exp $
.\"
.\" Copyright (c) 1985, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)window.1 8.2 (Berkeley) 12/30/93
.\"
-.Dd March 10, 2011
+.Dd August 13, 2011
.Dt WINDOW 1
.Os
.Sh NAME
@@ -40,11 +40,11 @@
.Nd window environment
.Sh SYNOPSIS
.Nm
-.Op Fl t
+.Op Fl d
.Op Fl f
-.Op Fl d
+.Op Fl t
+.Op Fl c Ar command
.Op Fl e Ar escape-char
-.Op Fl c Ar command
.Sh DESCRIPTION
.Nm
implements a window environment on
@@ -61,9 +61,7 @@
.Nm .
Use
.Xr tmux 1
-instead or install the
-.Sq misc/window
-package from
+instead, or install the misc/window package from
.Xr pkgsrc 7 .
.Pp
A window is a rectangular portion of the physical terminal
@@ -90,20 +88,25 @@
If it does not exist, two equal sized windows spanning
the terminal screen are created by default.
.Pp
-The command line options are
+The command-line options are:
.Bl -tag -width Fl
-.It Fl t
-Turn on terse mode (see
-.Ic terse
-command below).
-.It Fl f
-Fast.
-Don't perform any startup action.
.It Fl d
Ignore
.Pa .windowrc
and create the two default
windows instead.
+.It Fl f
+Fast.
+Don't perform any startup action.
+.It Fl t
+Turn on terse mode (see
+.Ic terse
+command below).
+.It Fl c Ar command
+Execute the string
+.Ar command
+as a long command (see below)
+before doing anything else.
.It Fl e Ar escape-char
Set the escape character to
.Ar escape-char .
@@ -114,11 +117,6 @@
.Ar X
is any character, meaning
.No control\- Ns Ar X .
-.It Fl c Ar command
-Execute the string
-.Ar command
-as a long command (see below)
-before doing anything else.
.El
.Pp
Windows can overlap and are framed as necessary.
Home |
Main Index |
Thread Index |
Old Index