42 lines
2.5 KiB
HTML
42 lines
2.5 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||
|
<!--Converted with LaTeX2HTML 96.1-c (Feb 29, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>8.8.2 Terminal Attributes</TITLE>
|
||
|
<META NAME="description" CONTENT="8.8.2 Terminal Attributes">
|
||
|
<META NAME="keywords" CONTENT="lpg">
|
||
|
<META NAME="resource-type" CONTENT="document">
|
||
|
<META NAME="distribution" CONTENT="global">
|
||
|
<LINK REL=STYLESHEET HREF="lpg.css">
|
||
|
</HEAD>
|
||
|
<BODY LANG="EN">
|
||
|
<A NAME="tex2html1755" HREF="node112.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME="tex2html1753" HREF="node108.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME="tex2html1747" HREF="node110.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME="tex2html1757" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <BR>
|
||
|
<B> Next:</B> <A NAME="tex2html1756" HREF="node112.html">8.8.3 Use Options</A>
|
||
|
<B>Up:</B> <A NAME="tex2html1754" HREF="node108.html">8.8 Options</A>
|
||
|
<B> Previous:</B> <A NAME="tex2html1748" HREF="node110.html">8.8.1 Input Options</A>
|
||
|
<BR> <P>
|
||
|
<H2><A NAME="SECTION00982000000000000000">8.8.2 Terminal Attributes</A></H2>
|
||
|
<P>
|
||
|
<UL><LI> <TT>int baudrate()</TT> <A NAME="fun_baudrate"> </A><BR>
|
||
|
Returns the terminal speed in bps.<LI> <TT>char erasechar()</TT> <A NAME="fun_erasechar"> </A><BR>
|
||
|
Returns the current erase character.<LI> <TT>char killchar()</TT> <A NAME="fun_killchar"> </A><BR>
|
||
|
Returns the current kill character.<LI> <TT>int has_ic()</TT> <A NAME="fun_has_ic"> </A><BR>
|
||
|
<TT>int has_il()</TT> <A NAME="fun_has_il"> </A><BR>
|
||
|
<B>has_ic()</B> returns TRUE if the terminal has insert/delete
|
||
|
character
|
||
|
capability, <B>has_il()</B> returns TRUE when the terminal has
|
||
|
insert/delete line capability. Otherwise the functions return ERR.
|
||
|
(<B>Note:</B> not implemented yet.)<LI> <TT>char *longname()</TT> <A NAME="fun_longname"> </A><BR>
|
||
|
The returned pointer gives access to the description of the current
|
||
|
terminal.<LI> <TT>chtype termattrs()</TT> <A NAME="fun_termattrs"> </A><BR>
|
||
|
(<B>Note:</B> not implemented yet.)<LI> <TT>char *termname()</TT> <A NAME="fun_termname"> </A><BR>
|
||
|
Returns the contents of TERM from the users environment.
|
||
|
(<B>Note:</B> not implemented yet.)
|
||
|
</UL><BR> <HR>
|
||
|
<P><ADDRESS>
|
||
|
<I>Converted on: <BR>
|
||
|
Fri Mar 29 14:43:04 EST 1996</I>
|
||
|
</ADDRESS>
|
||
|
</BODY>
|
||
|
</HTML>
|