readme - = sw - Scrolling Window program. = Copyright (C)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
=============================== sw -- Scrolling Window program. =============================== Copyright (C) 2000 Lucent Technologies All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of Lucent or any of its entities not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Updated 2002 and 2005 by AMPL Optimization LLC, which also disclaims all warranties with regard to this software. ======== sw usage ======== Sw provides a Scrolling Window to "console" programs -- those that run in a Command Prompt window; sw lets you manipulate its text with "copy", "cut", "paste", which exchange selected text with the Clipboard, and with "clear", which removes text without disturbing the Clipboard. You can send text to the standard input of a program that is running under sw either by typing at the bottom of the scrolling window, or by selecting text earlier in the window and choosing "send". You can invoke sw from a Command Prompt window, from another sw window, or from Run|Start. It is best to keep sw.exe in one of the directories on your search path. Otherwise, unless sw.exe is in the current directory, you will have to give a full path to sw.exe. If the invocation is of the form sw progname [arg [arg. ..]] then sw attempts to start progname with the specified arguments. Otherwise sw waits for you to type the name of a program and any arguments, and it again tries to start the program. If the program is a GUI (graphical) program, rather than a console program, then sw detaches itself from the program and is ready to start another program. Otherwise the program is a console program, and sw provides standard input, standard output, and standard error to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
the program. Sw looks for progname first in the current directory, then in the directories specified by the environment variables PATH and Path (if set). You can determine sw's state by looking at its title bar. If you invoke sw without arguments, then the title bar initially just says "sw". Once you have given the name of a program to sw, either on sw's command line or by typing in sw's window, the title bar changes to a line of the form sw: program_state program_name where program_state is one of the following:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

readme - = sw - Scrolling Window program. = Copyright (C)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online