1term::ansi::code(n)            Terminal control            term::ansi::code(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       term::ansi::code - Helper for control sequences
9

SYNOPSIS

11       package require Tcl  8.4
12
13       package require term::ansi::code  ?0.1?
14
15       ::term::ansi::code::esc str
16
17       ::term::ansi::code::escb str
18
19       ::term::ansi::code::define name escape code
20
21       ::term::ansi::code::const name code
22
23_________________________________________________________________
24

DESCRIPTION

26       This  package  provides  commands  enabling  the  definition of control
27       sequences in an easy manner.
28
29       ::term::ansi::code::esc str
30              This command returns the argument string, prefixed with the ANSI
31              escape character, "\033."
32
33       ::term::ansi::code::escb str
34              This command returns the argument string, prefixed with a common
35              ANSI escape sequence, "\033[".
36
37       ::term::ansi::code::define name escape code
38              This command defines a procedure name which returns the  control
39              sequence  code,  beginning  with  the specified escape sequence,
40              either esc, or escb.
41
42       ::term::ansi::code::const name code
43              This command defines a procedure name which returns the  control
44              sequence code.
45

KEYWORDS

47       control, declare, define, terminal
48
50       Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
51
52
53
54
55term                                  0.1                  term::ansi::code(n)
Impressum