%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:06:37 1996 %%Pages: (atend) %%DocumentFonts: (atend) /devps 180 dict def devps begin /res 10.000000 def /y_offset 843 def /X{exch}bind def /mm {transform round X round X itransform} bind def /r{rmoveto}bind def /m{moveto}bind def /l{lineto}bind def /rl{rlineto}bind def /st{stroke}bind def /gs{gsave}bind def /gr{grestore}bind def /cp{currentpoint}bind def /np{newpath}bind def /ct{curveto}bind def systemdict /setpacking known { /savepacking currentpacking def true setpacking } if /m0{0 0 moveto}bind def /xc{//res div}bind def /yc{//res neg div //y_offset add}bind def /lc{yc X xc X l st}bind def /mc{yc X xc X m}bind def /el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def /ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def /sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def /V{//res neg div //y_offset add currentpoint pop X m}bind def /H{//res div 0 transform X round X itransform pop currentpoint X pop moveto}bind def /h{//res div 0 r}bind def /v{//res neg div 0 X r}bind def /S{X H show}bind def /A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def /psize 10 def /height 0 def /cheight { height 0 ne { height } { psize } ifelse } bind def /slant 0 def /FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def [psize 0 cheight slant sin slant cos div mul cheight 0 0] makefont setfont}bind def /shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fill gr}bind def 1 setlinecap /resolution res 72 mul def /startFig { /SavedState save def userdict maxlength dict begin currentpoint transform DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix itransform moveto /ury exch def /urx exch def /lly exch def /llx exch def /y exch 72 mul resolution div def /x exch 72 mul resolution div def currentpoint /cy exch def /cx exch def /sx x urx llx sub div def /sy y ury lly sub div def sx sy scale cx sx div llx sub cy sy div ury sub translate /DefFigCTM matrix currentmatrix def /initmatrix { DefFigCTM setmatrix } def /defaultmatrix { DefFigCTM exch copy } def /initgraphics { DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix DefFigCTM setmatrix } def /showpage { initgraphics } def }bind def /clipFig { currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll exch lineto exch lineto exch lineto closepath clip newpath moveto }bind def /doclip { llx lly urx ury clipFig } def /endFig { end SavedState restore }bind def /globalstart { fontnum psize slant height resolution currentpoint pagesave restore gsave }bind def /globalend { grestore moveto /resolution exch def /height exch def /slant exch def /psize exch def /fontnum exch def F /pagesave save def }bind def /fontnum 1 def systemdict /setpacking known { savepacking setpacking} if end /BP{ save mark devps begin m0 /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap currentlinejoin currentdash currentgray currentmiterlimit ] cvx def }bind def /EP{ end cleartomark restore showpage}def /Encoding-1 256 array def 0 1 255 {Encoding-1 exch /.notdef put} for Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi Encoding-1 dup 8#41 /copyright put dup 8#42 /registered put dup 8#43 /trademark put dup 8#44 /logicalnot put dup 8#45 /Eth put dup 8#46 /eth put dup 8#47 /Thorn put dup 8#50 /thorn put dup 8#51 /brokenbar put dup 8#52 /degree put dup 8#53 /divide put dup 8#54 /multiply put dup 8#55 /minus put dup 8#56 /onehalf put dup 8#57 /onequarter put dup 8#60 /threequarters put dup 8#101 /Aacute put dup 8#102 /Acircumflex put dup 8#103 /Adieresis put dup 8#104 /Agrave put dup 8#105 /Aring put dup 8#106 /Atilde put dup 8#107 /Ccedilla put dup 8#110 /Eacute put dup 8#111 /Ecircumflex put dup 8#112 /Edieresis put dup 8#113 /Egrave put dup 8#114 /Iacute put dup 8#115 /Icircumflex put dup 8#116 /Idieresis put dup 8#117 /Igrave put dup 8#120 /Ntilde put dup 8#121 /Oacute put dup 8#122 /Ocircumflex put dup 8#123 /Odieresis put dup 8#124 /Ograve put dup 8#125 /Otilde put dup 8#126 /Scaron put dup 8#127 /Uacute put dup 8#130 /Ucircumflex put dup 8#131 /Udieresis put dup 8#132 /Ugrave put dup 8#133 /Ydieresis put dup 8#134 /Zcaron put dup 8#135 /aacute put dup 8#136 /acircumflex put dup 8#137 /adieresis put dup 8#140 /agrave put dup 8#141 /aring put dup 8#142 /atilde put dup 8#143 /ccedilla put dup 8#144 /eacute put dup 8#145 /ecircumflex put dup 8#146 /edieresis put dup 8#147 /egrave put dup 8#150 /iacute put dup 8#151 /icircumflex put dup 8#152 /idieresis put dup 8#153 /igrave put dup 8#154 /ntilde put dup 8#155 /oacute put dup 8#156 /ocircumflex put dup 8#157 /odieresis put dup 8#160 /ograve put dup 8#161 /otilde put dup 8#162 /scaron put dup 8#163 /uacute put dup 8#164 /ucircumflex put dup 8#165 /udieresis put dup 8#166 /ugrave put dup 8#167 /ydieresis put dup 8#170 /zcaron put pop /Enc-dict 30 dict def Enc-dict /tmpstr1 50 string put Enc-dict /tmpstr2 50 string put Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put /AEnc-def { % arguments: the original font's name, encoding nr Enc-dict begin tmpstr2 cvs /Enc-no exch def % Remember the number in a string dup /OrigName exch def % remember the name findfont dup maxlength dict /newdict exch def % get dictionary for new font { exch dup /FID ne { exch newdict 3 1 roll put } { pop pop } % Ignore FID ifelse } forall newdict begin /Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encoding currentdict /UniqueID known { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID end % newdict /FNlength OrigName tmpstr1 cvs length def % convert name, remember length FNlength 1 add Enc-no length add string dup 0 OrigName tmpstr1 cvs putinterval dup FNlength (-) putinterval dup FNlength 1 add Enc-no putinterval dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name cvn dup newdict /FontName 3 2 roll put newdict definefont end % Enc-dict } def /Times-Roman 1 AEnc-def pop /R-1{/Times-Roman-1 FF}def /R{/Times-Roman FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(CURSES)S 1109(\()S 1151(3)S 1209(\))S 2696(Eighth)S (Edition)296 2989 A 4738(CURSES)S 5127(\()S 5169(3)S 5227(\))S 960 V 9 R 720(N)S 722(NA)S 790(AM)S 858(ME)S 940(E)S 1080 V 10 R 1080(curses)S 10 R-1 1357(-)S 10 R (screen/window)610 1439 A 2074(management)S 2613(library)S 1248 V 9 R 720(S)S 722(SY)S 774(YN)S 842(NO)S 910(OP)S 978(PS)S 1030(SI)S 1082(IS)S 1115(S)S 1368 V 10 R 1080(cc)S 1208(demo.c)S 1539(-lcurses)S 1536 V 9 R 720(D)S 722(DE)S 790(ES)S 848(SC)S 900(CR)S 962(RI)S 1024(IP)S 1057(PT)S 1109(TI)S 1167(IO)S 1200(ON)S 1268(N)S 1656 V 10 R 1080(Curses)S 1387(is)S 1487(a)S 1565(library)S 1867(of)S 1984(screen)S 2275(and)S (window)324 2454 A 2812(management)S 3360(routines.)S 3768(It)S 3864(is)S 3965(modeled)S 4345(after)S 4565(the)S 4722(UNIX)S 5009(curses)S 1776 V 1080(and)S 1253(ncurses)S 1583(libraries.)S 1967(Normally,)S 2405(programs)S (written)286 2812 A 3125(for)S 3270(curses)S (should)267 3549 A 3843(be)S 3965(easily)S 4227(ported)S 4511(to)S 4616(UNIX,)S 4921(and)S 5093(vice)S 1896 V 1080(versa.)S 2064 V 1080(To)S 1219(use)S 1380(the)S 1530(routines,)S 1906(the)S 2056(function)S (initscr\(\))320 2418 A 2765(must)S 2987(\256rst)S 3172(be)S 3295(called.)S 3614(This)S 3821(creates)S 4130(two)S ('windows')431 4309 A 4768(for)S 4914(the)S 5065(user:)S 2184 V 1080(stdscr)S 1343(and)S 1516(curscr.)S 1841(Stdscr)S 2121(is)S 2216(the)S 2367(default)S (window)324 2675 A 3027(for)S 3173(the)S 3324(user)S 3520(to)S 3625(make)S 3870(changes)S 4221(on,)S 4373(and)S 4545(curscr)S 4819(re\257ects)S 5138(the)S 2304 V 1080(current)S 1391(contents)S 1751(of)S 1860(the)S (physical)335 2008 A 2369(display)S 2685(screen.)S 3019(The)S 3202(user)S 3396(writes)S 3669(or)S 3779(edits)S 3995(the)S 4144(stdscr)S (window)324 4405 A 4755(to)S 4859(his)S 5002(liking,)S 2424 V 1080(then)S 1281(calls)S 1494(the)S 1645(refresh\(\))S 2022(function)S 2385(to)S 2491(make)S 2737(curscr)S 3012(and)S 3184(the)S (physical)335 3334 A 3696(screen)S (look)178 3981 A 4186(like)S 4364(stdscr.)S 4676(When)S 4943(the)S 5093(user)S 2544 V 1080(program)S 1446(terminates,)S 1916(it)S (should)267 1997 A 2289(call)S 2460(the)S 2608(endwin\(\))S 2997(function)S 3357(to)S 3460(restore)S 3760(things)S 4030(to)S 4133(normal.)S 2712 V 1080(There)S 1351(are)S 1510(all)S 1646(sorts)S 1871(of)S (window)324 1990 A 2349(manipulation)S 2914(routines)S 3273(available)S 3672(to)S 3785(the)S 3943(programmer:)S (auxiliary)358 4504 A (windows)363 4898 A 2832 V 1080(may)S 1285(be)S 1412(created,)S 1761(edited,)S 2064(moved)S 2369(and)S 2545(deleted.)S 2917(The)S 3105(terminal)S 3472(may)S 3676(be)S 3802(set)S 3945(in)S 4054(many)S 4308(different)S 4687(modes,)S 5005(output)S 2952 V 1080(text)S 1267(may)S 1476(be)S 1608(attributed)S 2031(with)S 2247(blink,)S 2515(blank,)S 2800(bold)S 3015(and)S 3197(reverse)S 3526(attributes.)S 3988(Screen)S 4300(colors)S 4583(may)S 4793(also)S 4992(be)S 5124(set,)S 3072 V (foreground)447 1080 A 1568(and)S (background.)499 1754 A 2319(There)S 2596(are)S (window-speci\256c)666 2761 A 3468(printf-)S 3767(and)S 3952(scanf-like)S 4390(routines,)S 4779(routines)S 5143(for)S 3192 V (scrolling,)377 1080 A (box-drawing,)539 1482 A (window)324 2046 A 2395(overlaying,)S 2875(clearing)S 3225(routines)S 3574(etc.)S 3360 V 1080(For)S 1246(more)S 1479(and)S 1650(detailed)S 1995(information,)S 2521(see)S 2676(the)S 2825(library)S 3120(source)S 3409(codes.)S 3714(All)S 3869(curses)S 4147(functions)S 4547(are)S (preceded)364 4698 A 5089(by)S 5216(a)S 3480 V 1080(complete)S 1474(description.)S 3648 V 9 R 720(F)S 722(FU)S 774(UN)S 842(NC)S 910(CT)S 972(TI)S 1030(IO)S 1063(ON)S 1131(NS)S 1199(S)S 3768 V 10 R 1080(Below)S 1374(is)S 1472(a)S 1548(list)S 1702(over)S 1912(the)S 2066(available)S 2461(functions,)S 2891(together)S 3252(with)S 3462(a)S 3538(brief)S 3760(description)S 4238(of)S 4353(what)S 4580(they)S 4784(do.)S 4966(In)S 5082(gen-)S 3888 V 1080(eral,)S 1286(functions)S 1689(whose)S 1975(names)S 2261(start)S 2464(with)S 2672('w')S 2841(differ)S 3094(from)S 3318(the)S 3469(one)S (without)307 3642 A 3977('w')S 4146(\(like)S 4359(wmove)S 4683(vs.)S 4825(move\))S 5110(sig-)S 4008 V 1080(nify)S 1268(that)S 1446(a)S 1518(speci\256c)S (window)324 1853 A 2204(is)S 2298(used.)S (Without)329 2534 A 2890(a)S 2962('w',)S 3155(sdtscr)S 3417(is)S 3511(implied.)S 3895(The)S 4079(functions)S 4480(that)S 4658(start)S 4859(with)S 5065('mv')S 4128 V 1080(before)S 1380(the)S 1545('genereic')S 1997(function)S 2374(name)S 2634(signify)S 2955(that)S 3148(a)S 3235(cursor)S 3529(motion)S (should)267 3854 A 4162(be)S 4298(made)S 4557(before)S 4856(the)S 5020(actual)S 4248 V 1080(work.)S 1362('mv')S 1583(and)S 1753('w')S 1919(combine)S 2290(as)S 2399(expected.)S 4416 V 1080(Most)S 1313(routines)S 1664(that)S 1842(return)S 2110(an)S 2232(int)S (will)157 2365 A 2549(return)S 2817(the)S 2967(manifest)S 3341(constant)S 3703(ERR)S 3926(if)S 4015(there)S 4244(is)S 4338(a)S 4410(failure)S 4702(during)S 4992(execu-)S 4536 V 1080(tion.)S 1314(Routines)S 1699(that)S 1878(return)S 2147(a)S 2220(char)S 2422(actually)S 2769(return)S 3038(an)S 3161(int,)S 3320(so)S 3437(that)S 3616(ERR)S 3839(does)S 4050(not)S 4205(con\257ict)S 4534(with)S 4740(the)S 4890(character)S 4656 V 1080(code)S 1295(0xff.)S 1538(All)S 1692(characters)S 2127(from)S 2348(0)S 2423(to)S 2526(0xff)S 2719(are)S 2868(allowed)S 3212(for)S 3355(usage)S 3609(with)S 3813(curses.)S 4824 V 1080(Some)S 1340(routines,)S 1720(like)S 1902({mv}{w})S 2326(printw\(\))S 2688(and)S 2864({mv}{w}scanw\(\))S 3608(return)S 3880(a)S 3956(meaningful)S (positive)318 4445 A 4794(value)S 5044(if)S 5138(the)S 4944 V 1080(operation)S 1485(is)S (successful.)439 1577 A 5112 V 1080(The)S 1263(curses)S 1541(package)S 1897(uses)S 2096(some)S 2334(prede\256ned)S 2785(types,)S 3048(variables)S 3438(and)S 3609(manifest)S 3982(constants)S 4382(that)S 4559(are)S 4709(also)S 4897(available)S 5232 V 1080(to)S 1184(the)S 1333(programmer.)S 1907(There)S 2169(are)S 2318(also)S 2505(a)S 2575(few)S 2752(globally)S (accessible)409 3106 A 3540(variables)S 3929(that)S (should)267 4105 A 4397(not)S 4550(be)S 4670(touched)S 5013(by)S 5138(the)S 5352 V 1080(application)S 1554(program.)S 1972(Those)S 2245(untouchable)S 2763(variables)S 3154(have)S 3371(names)S 3656(starting)S 3986(with)S 4193(an)S (underscore)442 4316 A 4786(\(_\))S 4932(to)S 5038(avoid)S 5472 V 1080(con\257icts.)S 1500(The)S (user-accessible)611 1686 A 2326(types,)S 2592(variables)S 2985(and)S 3159(constants)S 3562(are)S 3715(\(there)S 3980(are)S 4132(a)S 4205(number)S 4540(of)S 4652(other)S 4887(constants)S 5592 V 1080(de\256ning)S 1434(character)S 1830(attribute)S 2191(names)S 2473(and)S 2643(function)S 3003(key)S 3173(names)S 3455(-)S 3514(consult)S 3829()S 4295(for)S 4438(details\):)S 5832 V 1080(\(manifest)S 1486(constants\))S 5952 V 1440(TRUE)S (boolean)318 3600 A 3943(true)S 6072 V 1440(FALSE)S (boolean)318 3600 A 3943(false)S 6192 V 1440(ERR)S (unsuccessfull)542 3600 A 4167(operation)S 6312 V 1440(OK)S (successfull)442 3600 A 4067(operation)S 6552 V 1080(\(types\))S 6672 V (WINDOW)443 1440 A 3600(a)S (window)324 3670 A 4019(structure)S 4397(type)S 6792 V (bool)178 1440 A (boolean)318 3600 A 3943(\257ag)S 4119(type)S 7032 V 1080(\(variables\))S 7152 V (WINDOW)443 1440 A 1908(curscr)S (physical)335 3600 A 3960(display)S 4275(image)S 7272 V (WINDOW)443 1440 A 1908(stdscr)S 3600(default)S 3905(user)S 4098(drawing)S 4453(board)S 7392 V 1440(int)S 1571(LINES)S 3600(terminal)S 3961(height)S 7512 V 1440(int)S 1571(COLS)S 3600(terminal)S 3961(width)S 7903 V 720(Page)S 941(1)S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 2 2 BP /slant 0 def /height 0 def 480 V 10 R 720(CURSES)S 1109(\()S 1151(3)S 1209(\))S 2696(Eighth)S (Edition)296 2989 A 4738(CURSES)S 5127(\()S 5169(3)S 5227(\))S 960 V 1440(int)S (NONL)281 1571 A 3600(\\n)S 3703(causes)S 3991(CR)S 4150(and)S 4320(LF)S 4463(when)S 4706(TRUE)S 1200 V 1080(The)S 1264(following)S 1682(is)S 1776(an)S 1898(alphabetical)S 2412(list)S 2562(of)S 2673(the)S 2823(curses)S 3102(functions,)S 3529(together)S 3887(with)S 4094(their)S 4307(types,)S 4572(parameters)S 5043(and)S 5216(a)S 1320 V 1080(short)S 1308(comment)S 1709(for)S (each)185 1854 A 2066(\(win)S 2278(is)S 2372(a)S (window,)349 2444 A 2820(ch,)S 2967(vc,)S 3114(hc)S 3236(are)S 3387(characters,)S 3849(buf)S 4010(is)S 4104(a)S 4176(character)S 4574(buffer,)S 4873(attrs)S 5073(is)S 5166(an)S 1440 V 1080(attribute)S 1441(bit)S 1572(map,)S 1795(bf)S 1904(is)S 1996(a)S (boolean)318 2066 A 2409(\257ag.)S 2635(Note)S 2856(that)S 3032(`characters')S 3535(in)S 3638(this)S 3808(context)S 4129(usually)S 4444(can)S 4609(have)S 4824(16)S 4949(bits\):)S 1680 V 1080(int)S 1211(waddch\(win,ch\))S 3240(put)S 3393(char)S 3592(in)S 3695(stdscr)S 1800 V 1080(int)S 1211(addch\(ch\))S 1920 V 1080(int)S 1211(mvaddch\(y,x,ch\))S 2040 V 1080(int)S 1211(mvwaddch\(win,y,x,ch\))S 2280 V 1080(int)S 1211(waddstr\(win,str\))S 3240(put)S 3393(string)S 3647(in)S 3750(stdscr)S 2400 V 1080(int)S 1211(addstr\(str\))S 2520 V 1080(int)S 1211(mvaddstr\(y,x,str\))S 2640 V 1080(int)S 1211(mvwaddstr\(win,y,x,str\))S 2880 V 1080(void)S (wattroff\(win,attrs\))744 1283 A 3240(clear)S 3462(attribute\(s\))S 3930(in)S (window)324 4033 A 3000 V 1080(void)S (attroff\(attrs\))495 1283 A 3240 V 1080(void)S 1283(wattron\(win,attrs\))S 3240(add)S 3410(attribute\(s\))S 3878(in)S (window)324 3981 A 3360 V 1080(void)S 1283(attron\(attrs\))S 3600 V 1080(void)S 1283(wattrset\(win,attrs\))S 3240(set)S (window)324 3377 A 3726(char)S 3925(attributes)S 3720 V 1080(void)S 1283(attrset\(attrs\))S 3960 V 1080(int)S 1211(baudrate\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 4200 V 1080(void)S 1283(beep\(\))S 3240(ring)S 3427(the)S 3575(bell)S 3751(or)S 3860(visible)S 4153(bell)S 4329(if)S 4416(no)S 4541(bell)S 4717(available)S 4440 V 1080(void)S 1283(\257ash\(\))S 3240(\257ash)S 3455(terminal)S 3816(screen)S 4099(or)S 4208(rings)S 4434(bell)S 4610(if)S 4697(no)S 4822(visible)S 5115(bell)S 5291(available)S 4680 V 1080(void)S (wbox\(win,miny,minx,maxy,maxx,vc,hc\))1640 1283 A (box)150 3240 A 3415(in)S 3518(a)S (window,)349 3588 A 3962(with)S 4166(given)S 4414(characters)S 4800 V 1080(void)S (box\(win,vc,hc\))609 1283 A 5040 V 1080(void)S 1283(cbreak\(\))S 3240(set)S 3377(terminal)S 3738(cbreak)S 4032(mode)S 5280 V 1080(void)S 1283(wclear\(win\))S 3240(clear)S 3462(stdscr)S 5400 V 1080(void)S (clear\(\))265 1283 A 5640 V 1080(void)S 1283(clearok\(win,bf\))S 3240(marks)S (window)324 3511 A 3860(for)S 4003(screen)S 4286(clear)S 5880 V 1080(int)S (wclrtobot\(win\))605 1211 A 3240(clear)S 3462(from)S 3683(cursor)S 3960(to)S 4063(end)S 4233(of)S 4342(line)S 4518(and)S 4688(all)S 4814(lines)S 5029(down)S 5277(this)S 5447(line)S 6000 V 1080(int)S (clrtobot\(\))381 1211 A 6120 V 1080(int)S 1211(mvclrtoeol\(y,x\))S 6240 V 1080(int)S (mvwclrtobot\(win,y,x\))883 1211 A 6480 V 1080(int)S 1211(wclrtoeol\(win\))S 3240(clear)S 3462(from)S 3683(cursor)S 3960(to)S 4063(end)S 4233(of)S 4342(line)S 6600 V 1080(int)S 1211(clrtoeol\(\))S 6720 V 1080(int)S 1211(mvclrtoeol\(y,x\))S 6840 V 1080(int)S 1211(mvwclrtoeol\(win,y,x\))S 7080 V 1080(int)S 1211(wdelch\(win\))S 3240(delete)S 3506(a)S 3576(char)S 3775(in)S 3878(a)S (window)324 3948 A 7200 V 1080(int)S 1211(delch\(\))S 7320 V 1080(int)S 1211(mvdelch\(y,x\))S 7440 V 1080(int)S 1211(mvwdelch\(win,y,x\))S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 4990(Page)S 5211(2)S 8143 V EP %%Page: 3 3 BP /slant 0 def /height 0 def 480 V 10 R 720(CURSES)S 1109(\()S 1151(3)S 1209(\))S 2696(Eighth)S (Edition)296 2989 A 4738(CURSES)S 5127(\()S 5169(3)S 5227(\))S 960 V 1080(int)S 1211(wdeleteln\(win\))S 3240(delete)S 3506(a)S 3576(line)S 3752(in)S 3855(a)S (window)324 3925 A 1080 V 1080(int)S 1211(deleteln\(\))S 1200 V 1080(int)S 1211(mvdeleteln\(y,x\))S 1320 V 1080(int)S 1211(mvwdeleteln\(win,y,x\))S 1560 V 1080(void)S 1283(delwin\(win\))S 3240(delete)S 3506(a)S (window)324 3576 A 3925(or)S 4034(a)S (subwindow)463 4104 A 1680 V 1080(void)S (doupdate\(\))436 1283 A (update)268 3240 A (physical)335 3533 A 3893(screen)S 1800 V 1080(void)S 1283(echo\(\))S 3240(set)S 3377(terminal)S 3738(echo)S 3953(mode)S 1920 V 1080(int)S 1211(endwin\(\))S (cleanup)313 3240 A 3578(and)S 3748(curses)S (\256nitialization)537 4025 A 2160 V 1080(void)S 1283(werase\(win\))S 3240(erase)S 3473(a)S (window)324 3543 A 2280 V 1080(void)S 1283(erase\(\))S 2520 V 1080(int)S (erasechar\(\))450 1211 A 3240(return)S 3506(char)S 3705(delete)S 3971(character)S 2640 V 1080(int)S 1211(\256xterm\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 2760 V 1080(void)S 1283(\257ushinp\(\))S (kill)134 3240 A 3399(pending)S (keyboard)374 3747 A (input)206 4146 A 3000 V 1080(int)S 1211(wgetch\(win\))S 3240(get)S 3388(char)S 3587(via)S 3735(a)S (window)324 3805 A 3120 V 1080(int)S 1211(getch\(\))S 3240 V 1080(int)S 1211(mvgetch\(y,x\))S 3360 V 1080(int)S 1211(mvwgetch\(win,y,x\))S 3600 V 1080(int)S 1211(wgetstr\(win,str\))S 3240(get)S 3388(string)S 3642(via)S (window)324 3790 A 4139(to)S 4242(a)S 4312(buffer)S 3720 V 1080(int)S 1211(getstr\(str\))S 3840 V 1080(int)S 1211(mvgetstr\(y,x,str\))S 3960 V 1080(int)S 1211(mvwgetstr\(win,y,x,str\))S 4200 V 1080(void)S 1283(getyx\(win,y,x\))S 3240(get)S 3388(a)S (window's)397 3458 A 3880(cursor)S (position)323 4157 A 4440 V 1080(int)S 1211(gettmode\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 4560 V 1080(void)S 1283(idlok\(win,bf\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 4680 V (WINDOW)443 1080 A (*initscr\(\))370 1548 A 3240(curses)S (initialization)509 3517 A 4051(\(ret)S 4217(stdscr)S 4477(or)S 4586(NULL\))S 4920 V 1080(int)S 1211(winch\(win\))S 3240(get)S 3388(char)S 3587(at)S (window)324 3685 A 4034(cursor)S 5040 V 1080(int)S 1211(inch\(\))S 5160 V 1080(int)S 1211(mvinch\(y,x\))S 5280 V 1080(int)S 1211(mvwinch\(win,y,x\))S 5520 V 1080(int)S 1211(winsch\(win,ch\))S 3240(insert)S 3489(character)S 3885(in)S 3988(a)S (window)324 4058 A 5640 V 1080(int)S 1211(insch\(ch\))S 5760 V 1080(int)S 1211(mvinsch\(y,x,ch\))S 5880 V 1080(int)S 1211(mvwinsch\(win,y,x,ch\))S 6120 V 1080(int)S 1211(winsertln\(win\))S 3240(insert)S 3489(new)S 3682(line)S 3858(in)S 3961(a)S (window)324 4031 A 6240 V 1080(int)S 1211(insertln\(\))S 6360 V 1080(int)S 1211(mvinsertln\(y,x\))S 6480 V 1080(int)S 1211(mvwinsertln\(win,y,x\))S 6720 V 1080(void)S 1283(keypad\(win,bf\))S 3240(marks)S 3511(a)S (window)324 3581 A 3930(for)S 4073(keypad)S 4388(usage)S 6840 V 1080(int)S (killchar\(\))376 1211 A 3240(return)S 3506(line)S 3682(delete)S 3948(character)S 6960 V 1080(char)S (*longname\(\))514 1279 A 3240(returns)S 3545(terminal)S 3906(description)S 4378(string)S 7080 V 1080(void)S 1283(leaveok\(win,bf\))S 3240(marks)S (window)324 3511 A 3860(for)S 4003(cursor)S ('update)302 4280 A 4607(leave')S 7200 V 1080(void)S 1283(meta\(win,bf\))S 3240(marks)S (window)324 3511 A 3860(for)S 4003(meta)S 7320 V 1080(int)S 1211(move\(y,x\))S 3240(move)S 3488(cursor)S 3765(in)S 3868(stdscr)S 7440 V 1080(int)S 1211(mvcur\(oldy,oldx,y,x\))S 3240(move)S 3488(terminal)S 3849(cursor)S 4126(to)S 4229()S 7903 V 720(Page)S 941(3)S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 4 4 BP /slant 0 def /height 0 def 480 V 10 R 720(CURSES)S 1109(\()S 1151(3)S 1209(\))S 2696(Eighth)S (Edition)296 2989 A 4738(CURSES)S 5127(\()S 5169(3)S 5227(\))S 960 V 1080(int)S 1211(mvprintw\(y,x,fmt,args\))S 3240(move)S 3488(&)S 3591(print)S 3806(string)S 4060(in)S 4163(stdscr)S 1200 V 1080(int)S 1211(mvscanw\(y,x,fmt,args\))S 3240(move)S 3488(&)S 3591(get)S 3739(values)S 4021(via)S 4169(stdscr)S 1320 V 1080(int)S 1211(mvwin\(win,y,x\))S 3240(move)S (window)324 3488 A 3837(on)S (physical)335 3962 A 4322(screen)S 1440 V 1080(int)S 1211(mvwprintw\(win,x,y,fmt,args\))S 3240(move)S 3488(&)S 3591(print)S 3806(string)S 4060(in)S 4163(a)S (window)324 4233 A 1560 V 1080(int)S 1211(mvwscanw\(win,y,x,fmt,args\))S 3240(move)S 3488(&)S 3591(get)S 3739(values)S 4021(via)S 4169(a)S (window)324 4239 A 1680 V (WINDOW)443 1080 A 1548(*newwin\(lines,cols,begy,begx\))S 3240(create)S 3507(a)S 3577(new)S (window)324 3770 A 1800 V 1080(void)S 1283(nl\(\))S 3240(set)S 3377(terminal)S 3738(cr-crlf)S 4017(mapping)S 4393(mode)S 1920 V 1080(void)S 1283(nocbreak\(\))S 3240(unset)S 3477(terminal)S 3838(cbreak)S 4132(mod)S 2040 V 1080(void)S (nodelay\(win,bf\))646 1283 A 3240(marks)S (window)324 3511 A 3860(for)S 4003(no)S (input)206 4128 A 4359(wait)S 2160 V 1080(void)S 1283(noecho\(\))S 3240(unset)S 3477(terminal)S 3838(echo)S 4053(mode)S 2280 V 1080(void)S (nonl\(\))246 1283 A 3240(unset)S 3477(terminal)S 3838(cr-crlf)S 4117(mapping)S 4493(mode)S 2400 V 1080(void)S 1283(noraw\(\))S 3240(unset)S 3477(raw)S 3654(terminal)S 4015(mode)S 2520 V 1080(void)S 1283(overlay\(win1,win2\))S 3240(overlay)S 3567(one)S (window)324 3737 A 4086(on)S 4211(another)S 2640 V 1080(void)S 1283(overwrite\(win1,win2\))S 3240(overwrite)S 3652(one)S (window)324 3822 A 4171(on)S 4296(another)S 2760 V 1080(int)S 1211(printw\(fmt,args\))S 3240(print)S 3455(string)S 3709(in)S 3812(stdscr)S 2880 V 1080(void)S 1283(raw\(\))S 3240(set)S 3377(raw)S 3554(terminal)S 3915(mode)S 3000 V 1080(void)S 1283(refrbrk\(bf\))S 3240(set)S 3377(screen)S (update)268 3660 A 3953(break)S 4202(mode)S 3120 V 1080(void)S 1283(refresh\(\))S 3240(refresh)S 3546(stdscr)S 3240 V 1080(int)S 1211(resetterm\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 3360 V 1080(int)S 1211(resetty\(\))S 3240(restore)S 3540(terminal)S 3901(I/O)S 4061(modes)S 3480 V 1080(int)S 1211(saveoldterm\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 3600 V 1080(int)S 1211(saveterm\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 3720 V 1080(int)S 1211(savetty\(\))S 3240(save)S 3444(terminal)S 3805(I/O)S 3965(modes)S 3840 V 1080(int)S 1211(scanw\(fmt,args\))S 3240(get)S 3388(values)S 3670(via)S 3818(stdscr)S 3960 V 1080(void)S 1283(scroll\(win\))S 3240(scroll)S (scrolling)352 3489 A 3866(region)S 4148(of)S 4257(a)S (window)324 4327 A 4080 V 1080(void)S 1283(scrollok\(win,bf\))S 3240(marks)S 3511(a)S (window)324 3581 A 3930(to)S 4033(allow)S 4282(scroll)S 4200 V 1080(void)S 1283(setcolors\(A_COLOR\(for,back\)\))S 3240(sets)S 3416(the)S (forground)402 3564 A 3991(and)S (background)474 4161 A 4320 V 3240(colors)S 3511(of)S 3620(stdscr)S 4440 V 1080(void)S (set_curs\(visibility\))755 1283 A 3240(0)S 3315(for)S 3458(invisible,)S 3854(1)S 3929(for)S 4072(visible,)S 4390(2)S 4465(for)S (good)200 4608 A 4560 V 3240(visible)S 4680 V 1080(int)S 1211(setsrcreg\(miny,maxy\))S 3240(de\256ne)S 3511(stdscr's)S 3844(scroll)S 4093(region)S 4800 V 1080(int)S 1211(setterm\(\))S 3240(dummy)S 3571(for)S (compatibility)536 3714 A 4920 V 1080(int)S (setupterm\(term,fd,errret\))1004 1211 A 3240(set)S 3377(up)S 3502(terminal)S 5040 V 1080(void)S 1283(standend\(\))S 3240(start)S 3439(normal)S 3749(chars)S 3987(in)S 4090(stdscr)S 5160 V 1080(void)S (standout\(\))408 1283 A 3240(start)S (standout)340 3439 A 3804(chars)S 4042(in)S 4145(stdscr)S 5280 V (WINDOW)443 1080 A 1548(*subwin\(win,lines,cols,begy,begx\))S 5400 V 3240(create)S 3507(a)S (sub-window)497 3577 A 4099(in)S (window)324 4202 A 4551(win)S 5520 V 1080(int)S 1211(tabsize\(ts\))S 3240(set/get)S 3528(tabsize)S 3833(of)S 3942(stdscr)S 5640 V 1080(void)S 1283(touchwin\(win\))S 3240(mark)S 3472(a)S (window)324 3542 A 3891(as)S 4000(totally)S 4282(modi\256ed)S 5760 V 1080(char)S (*unctrl\(ch\))448 1279 A 3240(char-to-string)S (converter)381 3814 A 5880 V 1080(int)S 1211(wmove\(win,y,x\))S 3240(move)S 3488(cursor)S 3765(in)S 3868(a)S (window)324 3938 A 6000 V 1080(void)S (wnoutrefresh\(win\))751 1283 A 3240(create)S 3507(internal)S 3840(screen)S 4123(image)S 6120 V 1080(int)S 1211(wprintw\(win,fmt,args\))S 3240(print)S 3455(string)S 3709(in)S 3812(a)S (window)324 3882 A 6240 V 1080(void)S 1283(wrefresh\(win\))S 3240(refresh)S (window)324 3546 A 6360 V 1080(int)S 1211(wscanw\(win,fmt,args\))S 3240(get)S 3388(values)S 3670(via)S 3818(a)S (window)324 3888 A 6480 V 1080(void)S 1283(wsetcolors\(win,A_COLOR\(for,back\)\))S 3240(sets)S 3416(the)S (forground)402 3564 A 3991(and)S 6600 V (background)474 3240 A 3739(colors)S 4010(of)S 4119(the)S 4267(speci\256ed)S (window)324 4650 A 6720 V 1080(int)S 1211(wsetsrcreg\(win,miny,maxy\))S 3240(de\256ne)S 3511(a)S (window's)397 3581 A (scrolling)352 4003 A 4380(region)S 6840 V 1080(void)S 1283(wstandend\(win\))S 3240(start)S 3439(normal)S 3749(chars)S 3987(in)S (window)324 4090 A 6960 V 1080(void)S (wstandout\(win\))632 1283 A 3240(start)S (standout)340 3439 A 3804(chars)S 4042(in)S (window)324 4145 A 7080 V 1080(int)S 1211(wtabsize\(win,ts\))S 3240(set/get)S 3528(tabsize)S 3833(of)S 3942(a)S (window)324 4012 A 7248 V 9 R 720(B)S 722(BU)S 784(UG)S 852(GS)S 920(S)S 7368 V 10 R 1080(Function)S 1462(keys)S 1671(are)S 1820(not)S 1973(available)S (under)229 2362 A 2616(the)S 2764(MINIX)S 3092(version.)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 4990(Page)S 5211(4)S 8143 V EP %%Trailer %%DocumentFonts: Times-Roman %%Pages: 4