<!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.6.5 Background Character</TITLE> <META NAME="description" CONTENT="8.6.5 Background Character"> <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="tex2html1688" HREF="node106.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="/icons//next_motif.gif"></A> <A NAME="tex2html1686" HREF="node100.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="/icons//up_motif.gif"></A> <A NAME="tex2html1682" HREF="node104.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="/icons//previous_motif.gif"></A> <A NAME="tex2html1690" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="/icons//contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1689" HREF="node106.html">8.7 Input</A> <B>Up:</B> <A NAME="tex2html1687" HREF="node100.html">8.6 Output</A> <B> Previous:</B> <A NAME="tex2html1683" HREF="node104.html">8.6.4 Boxes and Lines</A> <BR> <P> <H2><A NAME="SECTION00965000000000000000">8.6.5 Background Character</A></H2> <P> <UL><LI> <TT>void bkgdset(ch)</TT> <A NAME="fun_bkgdset"> </A><BR> <TT>void wbkgdset(win, ch)</TT> <A NAME="fun_wbkgdset"> </A><BR> Set the background character and attribute for the screen or a window. The attribute in <TT>ch</TT> will be ORed with every non blank character in the window. The background is then part of the window and will not be changed with scrolling and in- or output.<LI> <TT>int bkgd(ch)</TT> <A NAME="fun_bkgd"> </A><BR> <TT>int wbkgd(win, ch)</TT> <A NAME="fun_wbkgd"> </A><BR> Will change the background character and attribute to <TT>ch</TT>. </UL><BR> <HR> <P><ADDRESS> <I>Converted on: <BR> Fri Mar 29 14:43:04 EST 1996</I> </ADDRESS> </BODY> </HTML>