GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WINTEXT (1)

NAME

wintext, ", "" - access text in current window

CONTENTS

Synopsis
Description
Examples
See Also
Source
Bugs

SYNOPSIS

wintext
\C’’ [ prefix ]
\C’ ’\C’ ’ [ prefix ]

DESCRIPTION

Wintext prints the text of the current win (see acme(1)) or 9term(1) window to standard output.

\C’’ searches the window text for commands typed with a particular prefix and prints them, indented, to standard output. Prefix is a regular expression that is matched against the beginning of the command-line. If prefix is omitted, \C’’ prints the last command executed. \C’ ’\C’ ’ prints the last command that \C’’ would print and then executes it by piping it into rc(1).

Both \C’’ and \C’ ’\C’ ’ identify commands in the window text by looking for lines beginning with a shell prompt. Prompts are assumed to be an unindented sequence of non-whitespace characters followed by one of the characters %, ;, $, or #.

EXAMPLES

Print the ls(1) and lc commands executed in this window:
% \C’’ ’l[sc]’
    % ls -l /tmp/qq*
    # ls -lrt /etc
    % lc r* %
Execute the most recent lc command again:
% \C’ ’\C’ ’ lc
    % lc r* ramfs rc read rio rm %

SEE ALSO

9term(1), acme(1)

SOURCE

/usr/local/plan9/bin

BUGS

\C’’ and \C’ ’\C’ ’ are hard to type in shells other than rc(1).
Search for    or go to Top of page |  Section 1 |  Main Index


WINTEXT (1) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.