Tcl Library Source Code

Documentation
Login


[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

NAME

term::ansi::ctrl::unix - Control operations and queries

Table Of Contents

SYNOPSIS

package require Tcl 8.5 9
package require term::ansi::ctrl::unix ?0.1.2?

::term::ansi::ctrl::unix::import ?ns? ?arg...?
::term::ansi::ctrl::unix::raw
::term::ansi::ctrl::unix::cooked
::term::ansi::ctrl::unix::columns
::term::ansi::ctrl::unix::rows

DESCRIPTION

WARNING: This package is unix-specific and depends on the availability of two unix system commands for terminal control, i.e. stty and tput, both of which have to be found in the $PATH. If any of these two commands is missing the loading of the package will fail.

The package provides commands to switch the standard input of the current process between raw and cooked input modes, and to query the size of terminals, i.e. the available number of columns and lines.

API

Introspection

Operations

Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category term of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.

KEYWORDS

ansi, columns, control, cooked, input mode, lines, raw, rows, terminal

CATEGORY

Terminal control

COPYRIGHT

Copyright © 2006-2011 Andreas Kupries