Artifact Content
Not logged in

Artifact 83880f2c1088cfb01445b2cd93cb5a281ab45887:

[comment {-*- tcl -*- doctools manpage}]
[include parts/]
[vset VERSION 1]
[manpage_begin [vset LABEL_TTY] [vset MAN_SECTION] [vset VERSION]]
[include parts/]
[require Tclx]
[require cmdr::tty]
[titledesc [vset TITLE_TTY]]
[include parts/]

This package provides a single utility command testing if the
[const stdout] [term channel] is a tty or not, and reporting
the result.

[section API]
[list_begin definitions]
[comment {- - -- --- ----- -------- -------------}]
[call [cmd ::cmdr::tty] [method stdout]]

When invoked this command returns a boolean value indicating
if the [const stdout] [term channel] is a tty ([const true]),
or not ([const false]).

[include parts/]