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 options and option descriptions, and syn...
details: https://anonhg.NetBSD.org/src/rev/580f781e96f6
branches: trunk
changeset: 768267:580f781e96f6
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Aug 13 14:11:16 2011 +0000
description:
Sort options and option descriptions, and sync usage.
diffstat:
usr.bin/window/main.c | 6 +++---
usr.bin/window/window.1 | 34 +++++++++++++++++-----------------
2 files changed, 20 insertions(+), 20 deletions(-)
diffs (101 lines):
diff -r 34b310ee32a8 -r 580f781e96f6 usr.bin/window/main.c
--- a/usr.bin/window/main.c Sat Aug 13 14:06:54 2011 +0000
+++ b/usr.bin/window/main.c Sat Aug 13 14:11:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.16 2011/08/13 14:02:48 jakllsch Exp $ */
+/* $NetBSD: main.c,v 1.17 2011/08/13 14:11:16 wiz 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.16 2011/08/13 14:02:48 jakllsch Exp $");
+__RCSID("$NetBSD: main.c,v 1.17 2011/08/13 14:11:16 wiz Exp $");
#endif
#endif /* not lint */
@@ -194,7 +194,7 @@
usage(void)
{
(void) fprintf(stderr,
- "usage: %s [-d] [-f] [-t] [-c command] [-e escape-char]\n",
+ "usage: %s [-dft] [-c command] [-e escape-char]\n",
getprogname());
exit(1);
}
diff -r 34b310ee32a8 -r 580f781e96f6 usr.bin/window/window.1
--- a/usr.bin/window/window.1 Sat Aug 13 14:06:54 2011 +0000
+++ b/usr.bin/window/window.1 Sat Aug 13 14:11:16 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: window.1,v 1.22 2011/08/13 14:02:48 jakllsch Exp $
+.\" $NetBSD: window.1,v 1.23 2011/08/13 14:11:16 wiz Exp $
.\"
.\" Copyright (c) 1985, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -40,9 +40,7 @@
.Nd window environment
.Sh SYNOPSIS
.Nm
-.Op Fl d
-.Op Fl f
-.Op Fl t
+.Op Fl dft
.Op Fl c Ar command
.Op Fl e Ar escape-char
.Sh DESCRIPTION
@@ -61,7 +59,9 @@
.Nm .
Use
.Xr tmux 1
-instead, or install the misc/window package from
+instead, or install the
+.Pa pkgsrc/misc/window
+package from
.Xr pkgsrc 7 .
.Pp
A window is a rectangular portion of the physical terminal
@@ -90,23 +90,16 @@
.Pp
The command-line options are:
.Bl -tag -width Fl
+.It Fl c Ar command
+Execute the string
+.Ar command
+as a long command (see below)
+before doing anything else.
.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 .
@@ -117,6 +110,13 @@
.Ar X
is any character, meaning
.No control\- Ns Ar X .
+.It Fl f
+Fast.
+Don't perform any startup action.
+.It Fl t
+Turn on terse mode (see
+.Ic terse
+command below).
.El
.Pp
Windows can overlap and are framed as necessary.
Home |
Main Index |
Thread Index |
Old Index