Interface Libraries libtecla(3LIB)
NAME
libtecla - interactive command line input library
SYNOPSIS
cc [ flag... ] file... -ltecla [ library... ]
#include
DESCRIPTION
This library provides programs with interactive command line
editing facilities, similar to those of the UNIX tcsh shell.
In addition to simple command-line editing, it supports
recall of previously entered command lines, TAB completion
of file names or other tokens, and in-line wildcard expan-
sion of filenames. The internal functions that perform
file-name completion and wild-card expansion are also avail-
able externally for optional use by the calling program.
Thread Safety
The terminfo functions setupterm(3CURSES),
tigetstr(3CURSES), tigetnum(3CURSES), and tputs(3CURSES) are
not reentrant. This condition, however, should not prevent
use of this library in threaded applications, since few
applications will want to interact with multiple terminals.
INTERFACES
The shared object libtecla.so.1 provides the public inter-
faces defined below. See Intro(3) for additional information
on shared object interfaces.
cfcfilestart cfcliteralescapes
cfcsetcheckfn cpladdcompletion
cplcheckexe cplcompleteword
cplfilecompletions cpllasterror
cpllistcompletions cplrecallmatches
cplrecorderror delCplFileConf
delExpandFile delGetLine
delPathCache delPcaPathConf
delWordCompletion efexpandfile
eflasterror eflistexpansions
glabandonline glappendhistory
glautomatichistory glbindkeyseq
glcatchblocked glchangeterminal
glclearhistory glcompletionaction
glconfiguregetline glcustomizecompletion
gldisplaytext glechomode
gleraseterminal glerrormessage
glgetline glgrouphistory
glhandlesignal glignoresignal
glinactivitytimeout gliomode
SunOS 5.11 Last change: 1 Jun 2004 1
Interface Libraries libtecla(3LIB)
gllastsignal gllimithistory
gllistsignals glloadhistory
gllookuphistory glnormalio
glpendingio glpromptstyle
glquerychar glrangeofhistory
glrawio glreadchar
glregisteraction glreplaceprompt
glresizehistory glreturnstatus
glsavehistory glsettermsize
glshowhistory glsizeofhistory
glstateofhistory glterminalsize
gltogglehistory gltrapsignal
glttysignals glwatchfd
libteclaversion newCplFileConf
newExpandFile newGetLine
newPathCache newPcaPathConf
newWordCompletion pcalasterror
pcalookupfile pcapathcompletions
pcascanpath pcasetcheckfn
ppcfilestart ppcliteralescapes
FILES
/usr/lib/libtecla.so.1 shared object
/usr/lib/64/libtecla.so.1 64-bit shared object
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsl
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
enhance(1), Intro(3), cplcompleteword(3TECLA),
efexpandfile(3TECLA), glgetline(3TECLA),
gliomode(3TECLA), pcalookupfile(3TECLA), attributes(5),
tecla(5)
SunOS 5.11 Last change: 1 Jun 2004 2
|