%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Mon Apr 10 21:27:16 2000 %%Pages: (atend) %%DocumentFonts: (atend) /X{exch}def /r{rmoveto}def /m{moveto}def /l{lineto}def /rl{rlineto}def /lc{yc X xc X l st}def /mc{yc X xc X m}def /el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}def /ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}def /sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}def /st{stroke}def /gs{gsave}def /gr{grestore}def /cp{currentpoint}def /np{newpath}def /ct{curveto}def /m0{0 0 moveto}def /BP{/devps-save save def m0}def /EP{ clear devps-save restore showpage}def /res 10.000000 def /V{res neg div 792 add currentpoint pop X m}def /H{res div currentpoint X pop moveto}def /h{res div 0 r}def /v{res neg div 0 X r}def /xc{res div}def /yc{res neg div 792 add}def /S{X H show}def /psize 10 def /height 1 def /slant 0 def /FF{findfont X dup 12 div setlinewidth /psize X def [psize 0 psize height mul slant sin slant cos div mul psize height mul 0 0] makefont setfont}def /shade{gs /dy X def /dx X def np m setgray 0 dy rl dx 0 rl 0 dy neg rl dx neg 0 rl closepath fill gr}def 1 setlinecap /R{/Times-Roman FF}def /B{/Times-Bold FF}def /I{/Times-Italic FF}def %% Troff special characters not on Symbol font %% Copyright (C) 1986 by Pipeline Associates, Inc. %% Version 1.1 /altRTD 20 dict def altRTD begin /s{setcachedevice}def /C{1000 1000 scale}def /m{moveto}def /c{curveto}def /S{stroke}def /l{lineto}def /a{arcto}def /p{pop}def /sl{setlinewidth}def end /F_Troff 17 dict def F_Troff begin systemdict /currentpacking known {/SavePacking currentpacking def true setpacking}if /PaintType 0 def /FontType 3 def /StrokeWidth 0 def /UniqueID 8277003 def /FontMatrix [.001000 0 0 .001000 0 0] def /FontBBox [-12 -105 942 855 ] def /Encoding 256 array def /CD 256 1 add dict def /FontInfo 3 dict def FontInfo begin /UnderlinePosition -133 def /UnderlineThickness 20 def end /FontName (Troff) def 0 1 256 1 sub{Encoding exch /.notdef put}for CD /.notdef{500 0 setcharwidth{}}put Encoding (1) 0 get /br put %% bold vertical rule used by tbl CD /br{ C 0 0 -.5 -.5 1 1 s np .05 sl 0 -.1 m 0 .9 l {S} }put Encoding (2) 0 get /ul put %% underline used by tbl CD /ul{ C .5 0 -.5 -.5 1 1 s np .05 sl 0 -.1 m .5 -.1 l {S} }put Encoding (3) 0 get /ru put %% baseline rule CD /ru{ C .5 0 -.5 -.5 1 1 s np .05 sl m0 .5 0 l {S} }put Encoding (4) 0 get /vr put %% vertical rule CD /vr{ C 0 0 -.5 -.5 1 1 s np .05 sl m0 0 1 l {S} }put Encoding (5) 0 get /sq put %% square CD /sq{ C .5 0 -.5 -.5 1 1 s np .05 sl 0 .25 m 0 .5 rl .5 0 rl 0 -.5 rl -.5 0 rl closepath {S} }put Encoding (6) 0 get /bx put %% solid box CD /bx{ C .5 0 -.5 -.5 1 1 s np 0 .25 m 0 .5 rl .5 0 rl 0 -.5 rl -.5 0 rl closepath {fill} }put Encoding (7) 0 get /rn put %% radical extender CD /rn{ C .5 0 -.5 -.5 1 1 s np .03 sl -.03 .9 m .5 0 rl {S} }put Encoding (8) 0 get /GR put %% gray mask CD /GR{ C .5 0 setcharwidth .5 setgray np 0 -.1 m 0 1 rl .5 0 rl 0 -1 rl -.5 0 rl closepath {fill} }put Encoding 97 /a put CD /a{1000 0 0 66 942 421 s 430 415 m 578 406 678 349 662 319 c 655 306 614 287 583 296 c 570 300 466 340 438 332 c 365 309 335 213 270 209 c 0 310 m 108 310 l 108 114 l 0 114 l 0 310 l 42 161 m 42 134 l 66 134 l 66 161 l 42 161 l 47 155 m 47 140 l 62 140 l 62 155 l 47 155 l 110 133 m 226 113 300 66 410 80 c 497 91 550 69 634 76 c 645 76 663 92 669 107 c 677 125 673 141 668 160 c 725 334 m 758 332 734 253 701 250 c 501 325 m 475 316 476 309 473 302 c 465 282 482 263 499 257 c 552 236 615 253 689 253 c 701 253 713 236 713 218 c 712 194 702 168 678 161 c 671 159 663 160 655 160 c 591 158 516 156 479 168 c 461 173 453 191 453 210 c 453 224 456 235 466 244 c 476 253 490 252 503 255 c 459 84 m 447 96 435 106 435 123 c 435 136 440 145 447 155 c 453 163 462 168 469 173 c 110 293 m 173 318 300 421 435 415 c 609 407 852 416 885 411 c 898 409 924 411 930 380 c 942 316 828 339 742 334 c 731 334 730 335 725 335 c 701 336 685 336 660 336 c{S}}put Encoding 98 /b put CD /b{1000 0 -12 66 930 421 s 500 415 m 352 406 252 349 268 319 c 275 306 316 287 347 296 c 360 300 464 340 492 332 c 565 309 595 213 660 209 c 930 310 m 822 310 l 822 114 l 930 114 l 930 310 l 888 161 m 888 134 l 864 134 l 864 161 l 888 161 l 883 155 m 883 140 l 868 140 l 868 155 l 883 155 l 820 133 m 704 113 630 66 520 80 c 433 91 380 69 296 76 c 285 76 267 92 261 107 c 253 125 257 141 262 160 c 205 334 m 172 332 196 253 229 250 c 429 325 m 455 316 454 309 457 302 c 465 282 448 263 431 257 c 378 236 315 253 241 253 c 229 253 217 236 217 218 c 218 194 228 168 252 161 c 259 159 267 160 275 160 c 339 158 414 156 451 168 c 469 173 477 191 477 210 c 477 224 474 235 464 244 c 454 253 440 252 427 255 c 471 84 m 483 96 495 106 495 123 c 495 136 490 145 483 155 c 477 163 468 168 461 173 c 820 293 m 757 318 630 421 495 415 c 321 407 78 416 45 411 c 32 409 6 411 0 380 c -12 316 102 339 188 334 c 199 334 200 335 205 335 c 229 336 245 336 270 336 c{S}}put Encoding 99 /c put CD /c{1000 0 184 0 827 627 s 185 315 m 186 488 332 627 505 625 c 682 623 827 467 815 290 c 804 124 666 0 500 0 c 327 0 184 142 185 315 c{S}}put Encoding 100 /d put CD /d{590 0 134 158 477 500 s 300 160 m 208 162 134 238 135 330 c 136 423 212 500 305 500 c 397 500 473 427 475 335 c 477 239 396 158 300 160 c{fill}}put Encoding 101 /e put % Bell Symbol CD /e{1010 0 -100 -210 1010 1010 s 100 sl 0 setlinecap 420 300 450 0 360 arc 420 650 m 420 575 l S newpath 120 125 m 720 125 l 75 sl S 420 125 m 420 25 l S 220 400 m 220 175 120 175 100 a p p p p 220 400 m 220 550 420 550 80 a p p p p 620 400 m 620 175 720 175 100 a p p p p 620 400 m 620 550 420 550 80 a p p p p 295 550 m 545 550 l{S}}put /BuildChar{altRTD /BuildChar get exec}def end altRTD begin /BuildChar{altRTD begin /char exch def /fontdict exch def save /charname fontdict /Encoding get char get def fontdict /StrokeWidth get sl fontdict /CD get dup charname known {charname}{/.notdef}ifelse get newpath exec fontdict /PaintType get 0 eq{exec}{p S}ifelse restore end}def end systemdict /currentpacking known{F_Troff /SavePacking get setpacking}if /Troff F_Troff definefont pop /Y1{/Troff FF}def /Y{/Symbol FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 1.000000 def 10 R 10 R 120 V 1260(#)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(1)S 7920 V EP %%Page: 1 2 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 9 B 900(NAME)S 1080 V 10 R 1260(xgterm)S 1573(\261)S 1653(terminal)S 2016(emulator)S 2401(for)S 2547(X)S 2649(with)S 2857(graphics)S 3225(and)S 3399(imaging)S 3757(capability)S 1248 V 9 B 900(SYNOPSIS)S 1368 V 10 B 1260(xgterm)S 10 R 1594([\261)S 10 I 1677(toolkitoption)S 10 R 2219(...])S 2357([\261)S 10 I 2440(option)S 10 R 2726(...])S 1536 V 9 B 900(DESCRIPTION)S 1656 V 10 R 1260(The)S 10 I 1449(xgterm)S 10 R 1760(program)S 2132(is)S 2233(a)S 2311(terminal)S 2678(emulator)S 3067(for)S 3217(the)S 3373(X)S 3480(Window)S 3859(System)S 4189(based)S 4451(largely)S 4763(on)S 10 I 4898(xterm)S 10 R 5160(but)S 5323(with)S 5536(a)S 1776 V 1260(completely)S 1745(new)S 1952(graphics)S 2331(and)S 2516(imaging)S 2885(widget.)S 3223(It)S 3325(provides)S 3710(DEC)S 3951(VT102)S 4275(and)S 4460(Tektronix)S 4895(4014)S 5136(compatible)S 1896 V 1260(terminals)S 1665(for)S 1814(programs)S 2224(that)S 2407(can't)S 2639(use)S 2806(the)S 2962(window)S 3318(system)S 3630(directly.)S 10 I 4024(XGterm)S 10 R 4374(also)S 4569(serves)S 4852(as)S 4969(a)S 5047(prototype)S 5464(for)S 2016 V 1260(the)S 10 I 1417(Widget)S 1735(Server)S 10 R 2030(being)S 2287(developed)S 2732(by)S 2867(the)S 3024(IRAF)S 3287(Project)S 3605(at)S 3712(NOAO.)S 4089(The)S 10 I 4278(Object)S 4578(Manager)S 4978(Library)S 10 R 5318(it)S 5408(uses)S 2136 V 1260(implements)S 1777(a)S 1872(window)S 2245(system)S 2574(toolkit)S 2887(as)S 3021(an)S 3166(interpreted)S 3649(window-object)S 4299(language,)S 4735(allowing)S 5136(application)S 2256 V 1260(GUIs)S 1514(to)S 1630(be)S 1762(de\256ned)S 2094(and)S 2276(executed)S 2668(at)S 2778(runtime)S 3126(without)S 3469(compiling)S 3912(any)S 4093(code,)S 4343(and)S 4524(with)S 4739(minimal)S 5110(dependence)S 2376 V 1260(upon)S 1496(the)S 1654(underlying)S 2123(window)S 2481(system)S 2795(toolkit)S 3093(library.)S 3450(We)S 3624(will)S 3816(concentrate)S 4311(here,)S 4543(however,)S 4947(on)S 5083(it's)S 5247(use)S 5416(as)S 5536(a)S 2496 V 1260(terminal)S 1623(emulator)S 2008(and)S 2182(a)S 2256(description)S 2730(of)S 2843(the)S 2995(new)S 10 I 3191(Gterm)S 10 R 3476(widget.)S 2664 V 1260(The)S 1460(Gterm)S 1760(graphics)S 2143(window)S 2510(operates)S 2887(almost)S 3199(identically)S 3666(to)S 3790(the)S 10 I 3958(xterm)S 10 R 4231(Tek)S 4432(window,)S 4825(however)S 5214(there)S 5459(are)S 2784 V 1260(extensions)S 1729(for)S 1892(implementing)S 2495(full-screen)S 2968(cursors,)S 3328(imaging,)S 3728(area)S 3940(\256lls,)S 4163(colors,)S 4479(graphics)S 4863(erasure,)S 5221(a)S 5311("status)S 2904 V 1260(line")S 1482(and)S 1657(so)S 1778(on.)S 1965(Any)S 2169(graphics)S 2539(application)S 3015(capable)S 3351(of)S 3466(running)S 3809(under)S 4068(an)S 10 I 4194(xterm)S 10 R 4453(Tek)S 4640(window)S 4994(should)S 5293(also)S 5486(be)S 3024 V 1260(able)S 1458(to)S 1568(use)S 10 I 1733(xgterm)S 10 R 2042(as)S 2157(well.)S 2416(Client)S 2693(programs)S 3102(wishing)S 3451(to)S 3561(make)S 3809(use)S 3973(of)S 4087(the)S 4240(extended)S 4631(features,)S 5002(or)S 5116(those)S 5358(wish-)S 3144 V 1260(ing)S 1418(to)S 1526(implement)S 1984(a)S 2058(GUI,)S 2291(are)S 2443(advised)S 2779(to)S 2888(use)S 3052(the)S 3205(OBM)S 3464(\()S 10 I 3497(Object)S 3794(Manager)S 10 R 4160(\))S 4224(library)S 4521(supplied)S 4891(with)S 5100(the)S 5253(XGterm)S 3264 V 1260(source)S 1552(as)S 1667(part)S 1854(of)S 1968(the)S 2121(X11IRAF)S 2552(package.)S 2964(This)S 3173(provides)S 3548(a)S 3623(much)S 3876(better)S 4134(programmatic)S 4725(interface)S 5104(to)S 5213(all)S 5344(of)S 5458(the)S 3384 V 1260(features)S 1615(available;)S 2043(however,)S 2451(as)S 2574(of)S 2697(this)S 2882(writing)S 3211(it)S 3307(is)S 3414(not)S 3582(yet)S 3744(fully)S 3973(documented.)S 4556(Users)S 4823(are)S 4984(referred)S 5339(to)S 5458(the)S 3504 V 10 I 1260(XImtool)S 10 R 1616(task)S 1810(as)S 1926(an)S 2053(example)S 2424(of)S 2540(a)S 2617(more)S 2855(complex)S 3232(application)S 3709(using)S 3959(the)S 10 I 4114(OBM)S 4363(Library)S 10 R 4702(and)S 10 I 4879(Gterm)S 10 R 5167(widget,)S 5497(as)S 3624 V 1260(well)S 1466(as)S 1583(demo)S 1839(tasks)S 2073(in)S 2185(the)S 10 I 2341(guidemo)S 10 R 2719(directory)S 3114(of)S 3232(the)S 3389(X11IRAF)S 3824(sources.)S 4213(Questions)S 4648(or)S 4766(comments)S 5212(may)S 5419(also)S 3744 V 1260(be)S 1384(sent)S 1575(to)S 10 I 1683(iraf@noao.edu)S 10 R 2289(.)S 3912 V 1260(The)S 1473(VT102)S 1814(text)S 2022(window)S 2402(is)S 2527(unchanged)S 3017(from)S 3269(the)S 3449(original)S 10 I 3819(xterm)S 10 R 4105(application.)S 4663(All)S 4850(of)S 4992(it's)S 5179(resources,)S 4032 V 1260(command-line)S 1872(options)S 2202(and)S 2381(operation)S 2793(are)S 2949(identical)S 3328(to)S 3441(that)S 3626(used)S 3844(by)S 10 I 3979(xterm)S 10 R 4206(.)S 4296(The)S 10 I 4486(termcap\(5\))S 10 R 4964(entry)S 5203(for)S 10 I 5353(xterm)S 4152 V 10 R 1260(may)S 1462(be)S 1586(used)S 1799(for)S 10 I 1945(xgterm)S 10 R 2252(as)S 2365(well.)S 2622(See)S 2796(the)S 10 I 2948(xterm\(1\))S 10 R 3321(man)S 3523(page)S 3741(for)S 3887(details.)S 4320 V 9 B 900(OPTIONS)S 4440 V 10 R 1260(All)S 10 I 1418(xterm\(1\))S 10 R 1791(and)S 1965(X)S 2067(Toolkit)S 2392(command)S 2816(line)S 2996(options)S 3321(are)S 3472(supported,)S 3921(there)S 4150(are)S 4301(no)S 4431(additional)S 4861(options.)S 4608 V 9 B 900(RESOURCES)S 4728 V 10 R 1260(The)S 1447(program)S 1817(understands)S 2326(all)S 2458(of)S 2573(the)S 2727(core)S 2930(X)S 3035(Toolkit)S 3363(resource)S 3733(names)S 4021(and)S 4198(classes,)S 4533(all)S 4666(text)S 4849(window)S 5204(resources)S 4848 V 1260(known)S 1578(to)S 10 I 1701(xterm\(1\))S 10 R 2044(,)S 2114(as)S 2242(well)S 2459(as)S 2587(the)S 10 I 2754(Gterm)S 10 R 3054(\(graphics)S 3470(and)S 3659(imaging)S 4032(widget\))S 4382(resources.)S 4858(The)S 5058(proper)S 5363(Class)S 4968 V 1260(name)S 1513(for)S 1666(all)S 1803(resources)S 2216(described)S 2635(here)S 2843(is)S 10 I 2947(Gterm)S 10 R 3202(.)S 3294(A)S 3403(table)S 3635(of)S 3756(available)S 10 I 4154(Gterm)S 10 R 4447(resources)S 4861(and)S 5043(their)S 5264(defaults)S 5088 V 1260(may)S 1462(be)S 1586(found)S 1849(below,)S 2148(some)S 2389(of)S 2502(the)S 2654(more)S 2889(interesting)S 3341(resources)S 3747(are)S 3898(described)S 4310(here)S 4511(in)S 4619(detail:)S 5256 V 10 I 1260(basePixel)S 5376 V 10 R 1510(Base)S 1743(cell)S 1926(of)S 2049(the)S 2211(custom)S 2540(colormap.)S 3012(This)S 3230(essentially)S 3692(allows)S 3993(you)S 4183(to)S 4301(reserve)S 10 I 4628(basePixel)S 10 R 5056(colors)S 5340(in)S 5458(the)S 5496 V 1510(global)S 1793(colormap)S 2203(for)S 2352(other)S 2590(applications.)S 3161(The)S 3349(default)S 3659(is)S 3758(38,)S 3915(if)S 4008(changed)S 4372(you'll)S 4643(need)S 4863(to)S 4973(also)S 5166(enable)S 5458(the)S 5616 V 10 I 1510(cmapInitialize)S 10 R 2116(resource)S 2487(to)S 2599(force)S 2838(the)S 2995(Gterm)S 3285(widget)S 3592(to)S 3705(update)S 4006(it's)S 4169(global)S 4454(colormap)S 4866(resource)S 5238(in)S 5351(the)S 5508(X)S 5736 V 1510(server.)S 5904 V 10 I 1260(cmapInitialize)S 6024 V 10 R 1510(Initialize)S 1901(the)S 2059(ximtool)S 2407(colormap)S 2820(at)S 2928(startup.)S 3291(When)S 3565(resetting)S 3945(the)S 10 I 4103(basePixel)S 10 R 4527(resource)S 4901(or)S 5021(colormap)S 5435(this)S 6144 V 1510(is)S 1621(required)S 1997(in)S 2119(order)S 2373(to)S 2495(force)S 2743(the)S 2909(Gterm)S 3208(widget)S 3524(to)S 3646(update)S 3956(it's)S 4128(global)S 4422(colormap)S 4842(resource)S 5222(in)S 5343(the)S 5508(X)S 6264 V 1510(server.)S 1838(The)S 2023(default)S 2330(is)S 2427(False.)S 6432 V 10 I 1260(cmapInterpolate)S 6552 V 10 R 1510(Interpolate)S 1972(the)S 2124(colormap)S 2531(to)S 2639(the)S 2791(number)S 3126(of)S 3239(display)S 3558(colors.)S 3887(The)S 4072(default)S 4379(is)S 4476(True.)S 6720 V 10 I 1260(cmapName)S 6840 V 10 R 1510(Name)S 1784(used)S 2003(for)S 2156(private)S 2470(colormap.)S 2939(The)S 3131(default)S 3445(for)S 3598(all)S 3735(IRAF)S 4000(imaging)S 4365(applications)S 4885(is)S 10 I 4989(image)S 10 R 5233(.)S 5325(Gterm)S 6960 V 1510(widget)S 1822(based)S 2089(imaging)S 2457(applications)S 2980(which)S 3264(have)S 3492(the)S 3654(same)S 3899(value)S 4155(of)S 4277(cmapName)S 4770(will)S 4965(share)S 5214(the)S 5375(same)S 7080 V 1510(colormap,)S 1950(minimizing)S 2450(colormap)S 2865(\257ashing)S 3220(and)S 3402(allowing)S 3790(multiple)S 4162(applications)S 4683(to)S 4799(be)S 4931(run)S 5103(at)S 5214(the)S 5375(same)S 7200 V 1510(time.)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(1)S 7920 V EP %%Page: 2 3 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 10 I 1260(color0)S 1080 V 10 R 1510(The)S 1695(widget)S 1997(background)S 2498(color.)S 2788(The)S 2973(default)S 3280(is)S 3377(black.)S 1248 V 10 I 1260(color1)S 1368 V 10 R 1510(The)S 1695(widget)S 1997(foreground)S 2470(color.)S 2760(The)S 2945(default)S 3252(is)S 3349(white.)S 1536 V 10 I 1260(color2)S 10 R 1581(thru)S 10 I 1802(color9)S 1656 V 10 R 1510(Optional)S 1892(drawing)S 2251(colors.)S 2582(The)S 2769(line)S 2951(color)S 3189(used)S 3405(for)S 3554(graphics)S 3925(is)S 4025(set)S 4169(using)S 4419(an)S 4546(escape)S 4844(sequence)S 5242(to)S 5353(select)S 1776 V 1510(the)S 1662(current)S 1974(color)S 2209(index.)S 2516(See)S 10 I 2690(Gterm)S 2975(I/O)S 3138(Escape)S 3456(Sequences)S 10 R 3901(below)S 4175(for)S 4321(more)S 4556(details.)S 1944 V 10 I 1260(crosshairCursorColor)S 2064 V 10 R 1510(Color)S 1768(of)S 1881(the)S 2033(full)S 2202(screen)S 2486(crosshair)S 2876(cursor.)S 2232 V 10 I 1260(defaultMarker)S 2352 V 10 R 1510(Default)S 1867(marker)S 2208(type.)S 2494(Options)S 2870(include)S 10 I 3223(text)S 10 R 3367(,)S 10 I 3451(line)S 10 R 3601(,)S 10 I 3685(polyline)S 10 R 4007(,)S 10 I 4091(rectangle)S 10 R 4468(,)S 10 I 4552(box)S 10 R 4696(,)S 10 I 4780(circle)S 10 R 5007(,)S 10 I 5091(ellipse)S 10 R 5352(,)S 5436(and)S 2472 V 10 I 1510(polygon)S 10 R 1832(.)S 1917(The)S 2102(default)S 2409(is)S 10 I 2506(rectangle)S 10 R 2883(.)S 2640 V 10 I 1260(deiconifyWindow)S 2760 V 10 R 1510(De-iconify)S 1972(the)S 2124(Gterm)S 2409(graphics)S 2777(window)S 3129(when)S 3375(activated.)S 3820(The)S 4005(default)S 4312(is)S 4409(False.)S 2928 V 10 I 1260(dialogBgColor)S 3048 V 10 R 1510(Dialog)S 1817(box)S 2002(\(i.e.)S 2192(the)S 2349(status)S 2612(line\))S 2830(background)S 3336(color.)S 3631(Dialog)S 3938(text)S 4123(is)S 4225(text)S 4410(which)S 4689(is)S 4791(drawn)S 5075(into)S 5267(the)S 5425(dia-)S 3168 V 1510(log)S 1670(area)S 1867(at)S 1971(the)S 2124(bottom)S 2439(of)S 2553(the)S 2706(gterm)S 2970(window,)S 3348(it)S 3435(is)S 3533(transient)S 3908(and)S 4083(is)S 4181(not)S 4340(a)S 4415(permanent)S 4867(part)S 5053(of)S 5167(the)S 5320(graph-)S 3288 V 1510(ics)S 1654(being)S 1909(drawn.)S 2246(Dialog)S 2551(text)S 2734(is)S 2834(normally)S 3228(used)S 3444(to)S 3555(interact)S 3887(with)S 4098(the)S 4253(user)S 4452(or)S 4568(to)S 4680(display)S 5003(messages)S 5414(dur-)S 3408 V 1510(ing)S 1668(program)S 2036(operation,)S 2468(without)S 2804(a)S 2848 H (f)show 10 -.5 mul h (f)show 10 R 2909(ecting)S 3183(the)S 3335(graphics)S 3703(being)S 3955(drawn.)S 3576 V 10 I 1260(dialogFgColor)S 3696 V 10 R 1510(Dialog)S 1812(box)S 1992(\(i.e.)S 2177(status)S 2435(line\))S 2648(foreground)S 3121(color.)S 3864 V 10 I 1260(ginmodeBlinkInterval)S 3984 V 10 R 1510(Graphics)S 1900(cursor)S 2179(blink)S 2415(interval,)S 2775(time)S 2983(is)S 3080(speci\256ed)S 3465(in)S 3573(milliseconds.)S 4164(The)S 4349(default)S 4656(is)S 4753(0.)S 4152 V 10 I 1260(ginmodeCursor)S 4272 V 10 R 1510(Graphics)S 1900(mode)S 2152(cursor)S 2431(type.)S 2688(The)S 2873(default)S 3180(is)S 3277(a)S 3351(full)S 3520(screen)S 3804(cursor)S 4083(custom)S 4402(to)S 4510(the)S 4662(widget.)S 4440 V 10 I 1260(height)S 4560 V 10 R 1510(Height)S 1812(of)S 1925(the)S 2077(Gterm)S 2362(window.)S 2769(The)S 2954(default)S 3261(is)S 3358(480.)S 4728 V 10 I 1260(idleCursor)S 4848 V 10 R 1510(Cursor)S 1812(to)S 1920(use)S 2083(when)S 2329(not)S 2487(in)S 2595(graphics)S 2963(mode.)S 3270(The)S 3455(default)S 3762(is)S 3859(a)S 3933(plus)S 4130(sign.)S 5016 V 10 I 1260(markerHighlightColor)S 5136 V 10 R 1510(Highlight)S 1926(color)S 2163(for)S 2311(the)S 2465(active)S 2735(marker.)S 3104(When)S 3374(the)S 3528(pointer)S 3843(moves)S 4136(into)S 4324(a)S 4400(marker)S 4714(is)S 4814(it)S 4903(marked)S 5235("active",)S 5256 V 1510(the)S 1662(highlight)S 2054(color)S 2289(and)S 2463(width)S 2721(change)S 3033(to)S 3141(which)S 3415(marker)S 3727(is)S 3824(active.)S 4147(The)S 4332(default)S 4639(is)S 4736(green.)S 5424 V 10 I 1260(markerHighlightWidth)S 5544 V 10 R 1510(Highlight)S 1924(width)S 2182(for)S 2328(the)S 2480(active)S 2748(marker.)S 3085(The)S 3270(default)S 3577(is)S 3674(2.)S 5712 V 10 I 1260(maxColors)S 5832 V 10 R 1510(The)S 1702(maximum)S 2145(number)S 2487(of)S 2607(colors)S 2888(to)S 3003(use)S 3173(in)S 3288(the)S 3447(private)S 3761(global)S 4048(colormap,)S 4487(the)S 4646(default)S 4961(is)S 5066(216.)S 5309(Out)S 5497(of)S 5952 V 1510(this)S 1686(number)S 2022(10)S 2153(colors)S 2427(\(the)S 10 I 2612(color0)S 10 R 2903(thru)S 10 I 3094(color9)S 10 R 3385(values\))S 3703(are)S 3854(reserved)S 4221(by)S 4351(the)S 4503(widget)S 4805(as)S 4918(static)S 5159(colors,)S 5458(the)S 6072 V 1510(remainder)S 1944(may)S 2146(be)S 2270(allocated)S 2660(for)S 2806(images.)S 6240 V 10 I 1260(raiseWindow)S 6360 V 10 R 1510(Raise)S 1762(the)S 1914(window)S 2266(when)S 2512(active.)S 2835(The)S 3020(default)S 3327(is)S 3424(False.)S 6528 V 10 I 1260(warpCursor)S 6648 V 10 R 1510(Warp)S 1761(the)S 1913(cursor)S 2192(to)S 2300(the)S 2452(window)S 2804(when)S 3050(active.)S 3373(The)S 3558(default)S 3865(is)S 3962(False.)S 6816 V 10 I 1260(width)S 6936 V 10 R 1510(Width)S 1790(of)S 1903(the)S 2055(Gterm)S 2340(window.)S 2747(The)S 2932(default)S 3239(is)S 3336(640.)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(2)S 7920 V EP %%Page: 3 4 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 9 B 900(GTERM)S 1267(WIDGET)S 1674(RESOURCES)S 1080 V 1080(Class)S 1312(Hierarchy)S 1200 V 10 B 1260(Core)S 1500(->)S 1620(Gterm)S 1368 V 9 B 1080(Resources)S 1488 V 10 R 1260(When)S 1533(creating)S 1889(a)S 1969(Gterm)S 2260(widget)S 2568(instance,)S 2956(the)S 3114(following)S 3539(resources)S 3951(are)S 4108(retrieved)S 4498(from)S 4728(the)S 4886(arguments)S 5338(list)S 5497(or)S 1608 V 1260(from)S 1484(the)S 1636(resource)S 2003(database:)S 1848 V 10 B 1219(Name)S 2357(Class)S 2615(Type)S 3002(Default)S 3701(Description)S 1858 V 10 Y1 1219(2)S 1221(2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222)S 1878 V 1219(2)S 1221(2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222)S 1988 V 10 R 1219(alphaFont1)S 2357(XFontStruct)S 3002(nil2)S 3701(Graphics)S 4091(fonts)S 2108 V 1219(alphaFont2)S 2357(XFontStruct)S 3002(5x8)S 3881(")S 2228 V 1219(alphaFont3)S 2357(XFontStruct)S 3002(6x10)S 3881(")S 2348 V 1219(alphaFont4)S 2357(XFontStruct)S 3002(7x13)S 3881(")S 2468 V 1219(alphaFont5)S 2357(XFontStruct)S 3002(8x13)S 3881(")S 2588 V 1219(alphaFont6)S 2357(XFontStruct)S 3002(9x15)S 3881(")S 2708 V 1219(alphaFont7)S 2357(XFontStruct)S 3002(9x15)S 3881(")S 2828 V 1219(alphaFont8)S 2357(XFontStruct)S 3002(9x15)S 3881(")S 2948 V 1219(basePixel)S 2357(Int)S 3002(38)S 3701(Base)S 3925(of)S 4038(private)S 4345(global)S 4625(colormap)S 3068 V 1219(busyCursor)S 2357(String)S 3002(watch)S 3701(Cursor)S 4003(to)S 4111(use)S 4274(when)S 4520(application)S 4994(is)S 5091(busy)S 3188 V 1219(busyCursorBgColor)S 2357(Foreground)S 3002(white)S 3701(Busy)S 3937(cursor)S 4216(background)S 4717(color)S 3308 V 1219(busyCursorFgColor)S 2357(Foreground)S 3002(black)S 3701(Busy)S 3937(cursor)S 4216(foreground)S 4689(color)S 3428 V 1219(cacheRasters)S 2357(String)S 3002(whenNeeded)S 3701(Save)S 3925(rasters)S 4215(as)S 4328(server)S 4601(pixmaps)S 4970(for)S 5116(faster)S 5367(access)S 3548 V 1219(cmapInitialize)S 2357(Boolean)S 3002(False)S 3701(Initialize)S 4086(colormap)S 4493(at)S 4595(startup)S 3668 V 1219(cmapInterpolate)S 2357(Boolean)S 3002(True)S 3701(Interpolate)S 4163(colormap)S 3788 V 1219(cmapName)S 2357(String)S 3002(default)S 3701(Custom)S 4043(colormap)S 4450(name)S 3908 V 1219(cmapShadow)S 2357(Int)S 3002(10)S 3701(Colormap)S 4131(shadow)S 4466(interval)S 4028 V 1219(cmapUpdate)S 2357(Int)S 3002(60)S 3701(Colormap)S 4131(update)S 4427(interval)S 4148 V 1219(color0)S 2357(Background)S 3002(black)S 3701(Default)S 4030(graphics)S 4398(background)S 4899(color)S 4268 V 1219(color1)S 2357(Foreground)S 3002(white)S 3701(Default)S 4030(graphics)S 4398(foreground)S 4871(color)S 4388 V 1219(color2)S 2357(Foreground)S 3002(red)S 3701(Optional)S 4081(drawing)S 4438(color)S 4508 V 1219(color3)S 2357(Foreground)S 3002(green)S 3881(")S 4628 V 1219(color4)S 2357(Foreground)S 3002(blue)S 3881(")S 4748 V 1219(color5)S 2357(Foreground)S 3002(cyan)S 3881(")S 4868 V 1219(color6)S 2357(Foreground)S 3002(yellow)S 3881(")S 4988 V 1219(color7)S 2357(Foreground)S 3002(magenta)S 3881(")S 5108 V 1219(color8)S 2357(Foreground)S 3002(purple)S 3881(")S 5228 V 1219(color9)S 2357(Foreground)S 3002(darkslategray)S 3881(")S 5348 V 1219(copyOnResize)S 2357(Boolean)S 3002(True)S 3701(Copy)S 3948(raster)S 4199(when)S 4445(resized)S 5468 V 1219(crosshairCursorColor)S 2357(Foreground)S 3002(red)S 3701(Full-screen)S 4180(cursor)S 4459(color)S 5588 V 1219(defaultMarker)S 2357(String)S 3002(rectangle)S 3701(Default)S 4030(marker)S 4342(type)S 5708 V 1219(deiconifyWindow)S 2357(Boolean)S 3002(False)S 3701(Deiconify)S 4130(window)S 4482(when)S 4728(active)S 5828 V 1219(dialogBgColor)S 2357(Foreground)S 3002(yellow)S 3701(Status)S 3976(line)S 4156(background)S 4657(color)S 5948 V 1219(dialogFgColor)S 2357(Foreground)S 3002(black)S 3701(Status)S 3976(line)S 4156(foreground)S 4629(color)S 6068 V 1219(dialogFont1)S 2357(XFontStruct)S 3002(nil2)S 3701(Status)S 3976(line)S 4156(fonts)S 6188 V 1219(dialogFont2)S 2357(XFontStruct)S 3002(5x8)S 3881(")S 6308 V 1219(dialogFont3)S 2357(XFontStruct)S 3002(6x10)S 3881(")S 6428 V 1219(dialogFont4)S 2357(XFontStruct)S 3002(7x13)S 3881(")S 6548 V 1219(dialogFont5)S 2357(XFontStruct)S 3002(8x13)S 3881(")S 6668 V 1219(dialogFont6)S 2357(XFontStruct)S 3002(9x15)S 3881(")S 6788 V 1219(dialogFont7)S 2357(XFontStruct)S 3002(9x15)S 3881(")S 6908 V 1219(dialogFont8)S 2357(XFontStruct)S 3002(9x15)S 3881(")S 7028 V 1219(ginmodeBlinkInterval)S 2357(Int)S 3002(0)S 3701(Graphics)S 4091(cursor)S 4370(blink)S 4606(interval)S 7148 V 1219(ginmodeCursor)S 2357(String)S 3002(full_crosshair)S 3701(Graphics)S 4091(cursor)S 4370(type)S 7268 V 1219(ginmodeCursorBgColor)S 2357(Foreground)S 3002(black)S 3701(Graphics)S 4091(cursor)S 4370(background)S 4871(color)S 7748 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(3)S 7920 V EP %%Page: 4 5 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 1219(ginmodeCursorFgColor)S 2357(Foreground)S 3002(white)S 3701(Graphics)S 4091(cursor)S 4370(foreground)S 4843(color)S 1080 V 1219(height)S 2357(Dimension)S 3002(480)S 3701(Height)S 4003(of)S 4116(graphics)S 4484(window)S 1200 V 1219(idleCursor)S 2357(String)S 3002(Plus)S 3701(Idle)S 3886(cursor)S 4165(type)S 1320 V 1219(idleCursorBgColor)S 2357(Foreground)S 3002(white)S 3701(Idle)S 3886(cursor)S 4165(background)S 4666(color)S 1440 V 1219(idleCursorFgColor)S 2357(Foreground)S 3002(black)S 3701(Idle)S 3886(cursor)S 4165(foreground)S 4638(color)S 1560 V 1219(markerBoxKnotColor)S 2357(Foreground)S 3002(blue)S 3701(Vertex)S 4002(knot)S 4210(color)S 1680 V 1219(markerBoxKnotSize)S 2357(Int)S 3002(0)S 3701(Vertex)S 4002(knot)S 4210(size)S 1800 V 1219(markerBoxLineColor)S 2357(Foreground)S 3002(green)S 3701(Marker)S 4024(border)S 4314(color)S 1920 V 1219(markerCircleKnotColor)S 2357(Foreground)S 3002(blue)S 3701(Vertex)S 4002(knot)S 4210(color)S 2040 V 1219(markerCircleKnotSize)S 2357(Int)S 3002(0)S 3701(Vertex)S 4002(knot)S 4210(size)S 2160 V 1219(markerCircleLineColor)S 2357(Foreground)S 3002(green)S 3701(Marker)S 4024(border)S 4314(color)S 2280 V 1219(markerCursorBgColor)S 2357(Foreground)S 3002(black)S 3701(Cursor)S 4003(background)S 4504(when)S 4750(in)S 4858(marker)S 2400 V 1219(markerCursorFgColor)S 2357(Foreground)S 3002(yellow)S 3701(Cursor)S 4003(foreground)S 4476(when)S 4722(in)S 4830(marker)S 2520 V 1219(markerEllipseKnotColor)S 2357(Foreground)S 3002(blue)S 3701(Vertex)S 4002(knot)S 4210(color)S 2640 V 1219(markerEllipseKnotSize)S 2357(Int)S 3002(0)S 3701(Vertex)S 4002(knot)S 4210(size)S 2760 V 1219(markerEllipseLineColor)S 2357(Foreground)S 3002(green)S 3701(Marker)S 4024(border)S 4314(color)S 2880 V 1219(markerFill)S 2357(Boolean)S 3002(False)S 3701(Flood)S 3965(\256ll)S 4107(marker)S 4419(area)S 4614(with)S 10 I 4822(markerFillColor)S 3000 V 10 R 1219(markerFillBgColor)S 2357(Foreground)S 3002(black)S 3701(Fill)S 3871(area)S 4066(background)S 4567(color)S 3120 V 1219(markerFillColor)S 2357(Foreground)S 3002(slategray)S 3701(Flood)S 3965(\256ll)S 4107(color)S 3240 V 1219(markerFillStyle)S 2357(Int)S 3002(FillSolid)S 3701(Fill)S 3871(area)S 4066(style)S 3360 V 1219(markerHighlightColor)S 2357(Foreground)S 3002(green)S 3701(Marker)S 4024(highlight)S 4416(color)S 3480 V 1219(markerHighlightWidth)S 2357(Int)S 3002(2)S 3701(Marker)S 4024(highlight)S 4416(line)S 4596(width)S 3600 V 1219(markerLineKnotColor)S 2357(Foreground)S 3002(blue)S 3701(Vertex)S 4002(knot)S 4210(color)S 3720 V 1219(markerLineKnotSize)S 2357(Int)S 3002(5)S 3701(Vertex)S 4002(knot)S 4210(size)S 3840 V 1219(markerLineLineColor)S 2357(Foreground)S 3002(green)S 3701(Line)S 3914(marker)S 4226(color)S 3960 V 1219(markerLineStyle)S 2357(Int)S 3002(LineSolid)S 3701(Line)S 3914(marker)S 4226(line)S 4406(style)S 4080 V 1219(markerLineWidth)S 2357(Int)S 3002(1)S 3701(Line)S 3914(marker)S 4226(width)S 4200 V 1219(markerPgonKnotColor)S 2357(Foreground)S 3002(blue)S 3701(Vertex)S 4002(knot)S 4210(color)S 4320 V 1219(markerPgonKnotSize)S 2357(Int)S 3002(5)S 3701(Vertex)S 4002(knot)S 4210(size)S 4440 V 1219(markerPgonLineColor)S 2357(Foreground)S 3002(green)S 3701(Marker)S 4024(border)S 4314(color)S 4560 V 1219(markerRectKnotColor)S 2357(Foreground)S 3002(blue)S 3701(Vertex)S 4002(knot)S 4210(color)S 4680 V 1219(markerRectKnotSize)S 2357(Int)S 3002(0)S 3701(Vertex)S 4002(knot)S 4210(size)S 4800 V 1219(markerRectLineColor)S 2357(Foreground)S 3002(green)S 3701(Marker)S 4024(border)S 4314(color)S 4920 V 1219(markerTextBgColor)S 2357(Foreground)S 3002(slategray)S 3701(Text)S 3914(marker)S 4226(background)S 4727(color)S 5040 V 1219(markerTextBorder)S 2357(Int)S 3002(2)S 3701(Text)S 3914(marker)S 4226(border)S 4516(width)S 5160 V 1219(markerTextColor)S 2357(Foreground)S 3002(yellow)S 3701(Text)S 3914(marker)S 4226(text)S 4406(color)S 5280 V 1219(markerTextFont)S 2357(XFontStruct)S 3002(6x13)S 3701(Text)S 3914(marker)S 4226(font)S 5400 V 1219(markerTextLineColor)S 2357(Foreground)S 3002(green)S 3701(Text)S 3914(marker)S 4226(line)S 4406(color)S 5520 V 1219(markerTextString)S 2357(String)S 3002(NULL)S 3701(Text)S 3914(string)S 5640 V 1219(markerTranslations)S 2357(String)S 3002(default)S 3701(Marker)S 4024(event-to-actions)S 4697(translations)S 5760 V 1219(maxColors)S 2357(Int)S 3002(216)S 3701(Max)S 3914(colors)S 4188(in)S 4296(custom)S 4615(colormap)S 5880 V 1219(maxMappings)S 2357(Int)S 3002(32)S 3701(Max)S 3914(image)S 4188(mappings)S 6000 V 1219(maxRasters)S 2357(Int)S 3002(512)S 3701(Max)S 3914(image)S 4188(rasters)S 6120 V 1219(nearEdge)S 2357(Int)S 3002(1)S 3701(Distance,)S 4164(in)S 4331(pixels,)S 4684(between)S 5105(pointer)S 5477(and)S 6240 V 3701(marker)S 4014(edge)S 4232(required)S 4594(for)S 4740(translation)S 5192(actions)S 5505(for)S 6360 V 3701(be)S 3825(in)S 3933(e)S 3977 H (f)show 10 -.5 mul h (f)show 10 R 4038(ect.)S 6480 V 1219(nearVertex)S 2357(Int)S 3002(4)S 3701(Distance,)S 4106(in)S 4215(pixels)S 4485(between)S 4848(pointer)S 5163(and)S 5339(marker)S 6600 V 3701(vertex)S 4039(\(i.e.)S 10 I 4282(knot)S 10 R 4454(\))S 4575(required)S 4995(for)S 5199(translation)S 6720 V 3701(actions)S 4014(for)S 4160(be)S 4284(in)S 4392(e)S 4436 H (f)show 10 -.5 mul h (f)show 10 R 4497(ect.)S 6840 V 1219(raiseWindow)S 2357(Boolean)S 3002(False)S 3701(Raise)S 3953(window)S 4305(when)S 4551(active)S 6960 V 1219(translations)S 2357(String)S 3002(default)S 3701(Event-to-actions)S 4391(translations)S 7080 V 1219(useTimers)S 2357(Boolean)S 3002(True)S 3701(Ok)S 3853(to)S 3961(use)S 4124(timers)S 7200 V 1219(warpCursor)S 2357(Boolean)S 3002(False)S 3701(Enable)S 4008(warp)S 4237(cursor)S 4516(when)S 4762(active)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(4)S 7920 V EP %%Page: 5 6 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 1219(width)S 2357(Dimension)S 3002(640)S 3701(Height)S 4003(of)S 4116(graphics)S 4484(window)S 1080 V 1219(xorFill)S 2357(Boolean)S 3002(False)S 3701(Fill)S 3871(with)S 4079(GXxor)S 1200 V 1219(xorFillBgColor)S 2357(Int)S 3002(255)S 3701(Xor-\256ll)S 4031(background)S 4532(color)S 1320 V 1219(xorFillColor)S 2357(Int)S 3002(2)S 3701(Xor-\256ll)S 4031(color)S 1608 V 9 B 900(GTERM)S 1267(WIDGET)S 1674(TRANSLATIONS)S 2411(AND)S 2633(ACTIONS)S 1728 V 10 R 1260(The)S 1445(default)S 1752(translations)S 2243(for)S 2389(a)S 2463(Gterm)S 2748(window)S 3100(are:)S 1848 V 2808(:)S 3537(m_create\(\))S 1968 V 2808(:)S 3537(crosshair\(on\))S 2088 V 2757(:)S 3537(crosshair\(on\))S 2208 V 2930(:)S 3537(crosshair\(o)S 3980 H (f)show 10 -.5 mul h (f)show 10 R 4041(\))S 2328 V 2687(:)S 3537(enter-window\(\))S 2448 V 2660(:)S 3537(leave-window\(\))S 2568 V 2870(:)S 3537(graphics-input\(\))S 2688 V 2952(:)S 3537(track-cursor\(\))S 2856 V 1260(The)S 1445(available)S 1835(action)S 2109(procedures)S 2576(for)S 2722(a)S 2796(Gterm)S 3081(window)S 3433(are:)S 3024 V 10 I 1620(ignore\(\))S 10 R 2620(Ignore)S 2910(an)S 3034(event.)S 3192 V 10 I 1620(graphics-input\(\))S 10 R 2620(Handle)S 2938(a)S 3012(graphics)S 3380(input)S 3616(request.)S 3360 V 10 I 1620(crosshair\(on|o)S 2209 H (f)show 10 -.5 mul h (f)show 10 I 2260(\))S 10 R 2620(Display)S 2961(a)S 3035(crosshair)S 3425(cursor.)S 3528 V 10 I 1620(track-cursor\(\))S 10 R 2620(Track)S 2882(crosshair)S 3272(cursor)S 3551(position.)S 3696 V 10 I 1620(enter-window\(\))S 10 R 2620(Handle)S 2938(an)S 3062(EnterWindow)S 3652(event.)S 3864 V 10 I 1620(leave-window\(\))S 10 R 2620(Handle)S 2938(an)S 3062(LeaveWindow)S 3679(event.)S 4032 V 10 I 1620(reset\(\))S 10 R 2620(Do)S 2772(a)S 2846(soft)S 3026(reset)S 3244(of)S 3357(the)S 3509(Gterm)S 3794(widget.)S 4200 V 10 I 1620(m_create\(\))S 10 R 2620(Create)S 2910(a)S 2984(new)S 3180(marker.)S 3547(Valid)S 3799(types)S 4040(include)S 4320 V 10 I 3343(text)S 3643(line)S 4014(polyline)S 4492(rectangle)S 4440 V 3343(box)S 3643(circle)S 4014(ellipse)S 4492(polygon)S 4560 V 10 R 2620(The)S 2806(default)S 3114(is)S 10 I 3212(rectangle)S 10 R 3589(,)S 3645(if)S 3737(no)S 3869(type)S 4073(is)S 4172(given)S 4426(the)S 4580(default)S 4889(type)S 5093(speci\256ed)S 5480(by)S 4680 V 2620(the)S 10 I 2772(markerType)S 10 R 3284(resource)S 3651(will)S 3837(be)S 3961(used.)S 4968 V 9 B 900(GTERM)S 1267(MARKER)S 1704(TRANSLATIONS)S 2441(AND)S 2663(ACTIONS)S 5088 V 10 R 1260(The)S 1445(default)S 1752(translations)S 2243(for)S 2389(a)S 2463(marker)S 2775(are:)S 5328 V 2318(!Shift)S 2576(:)S 3356(m_rotateResize\(\))S 5448 V 2576(:)S 3356(m_moveResize\(\))S 5568 V 2369(!Shift)S 2627(:)S 3356(m_raise\(\))S 3798(m_markpos\(\))S 5688 V 2627(:)S 3356(m_raise\(\))S 3798(m_markposAdd\(\))S 5808 V 2749(:)S 3356(m_redraw\(\))S 3856(m_destroyNull\(\))S 5928 V 2627(:)S 3356(m_lower\(\))S 6048 V 2457(BackSpace:)S 3356(m_deleteDestroy\(\))S 6168 V 2640(Delete:)S 3356(m_deleteDestroy\(\))S 6288 V 2689(:)S 3356(m_input\(\))S 6408 V 2771(:)S 3356(track-cursor\(\))S 6648 V 1260(Translations)S 1802(a)S 1846 H (f)show 10 -.5 mul h (f)show 10 R 1907(ect)S 2071(only)S 2297(the)S 2467(currently)S 2875(active)S 3162(marker,)S 3518(the)S 3689(cursor)S 3987(must)S 4231(be)S 4374(within)S 10 I 4679(nearEdge)S 10 R 5116(pixels)S 5404(of)S 5536(a)S 6768 V 1260(marker)S 1572(edge,)S 1815(or)S 10 I 1928(nearVertex)S 10 R 2401(pixels)S 2670(of)S 2783(a)S 2857(marker)S 3169(vertex)S 3448(to)S 3556(take)S 3752(e)S 3796 H (f)show 10 -.5 mul h (f)show 10 R 3857(ect.)S 7008 V 1260(The)S 1445(available)S 1835(action)S 2109(procedures)S 2576(for)S 2722(a)S 2796(marker)S 3108(are)S 7176 V 10 I 1620(m_create\(type\))S 10 R 2520(Create)S 2810(a)S 2884(new)S 3080(marker.)S 3447(Valid)S 3699(types)S 3940(include)S 7296 V 10 I 3293(text)S 3593(line)S 3964(polyline)S 4442(rectangle)S 7776 V 10 R 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(5)S 7920 V EP %%Page: 6 7 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 10 I 3293(box)S 3593(circle)S 3964(ellipse)S 4442(polygon)S 1080 V 10 R 2520(The)S 2714(default)S 3030(is)S 10 I 3136(rectangle)S 10 R 3513(,)S 3577(if)S 3677(no)S 3816(type)S 4027(is)S 4133(given)S 4394(the)S 4556(default)S 4873(type)S 5085(speci\256ed)S 5480(by)S 1200 V 2520(the)S 10 I 2672(markerType)S 10 R 3184(resource)S 3551(will)S 3737(be)S 3861(used.)S 1368 V 10 I 1620(m_destroy\(\))S 10 R 2520(Destroy)S 2866(the)S 3018(active)S 3286(marker.)S 1536 V 10 I 1620(m_destroyNull\(\))S 10 R 2520(Destroy)S 2866(the)S 3018(active)S 3286(marker)S 3598(if)S 3689(it)S 3775(is)S 3872(null)S 4058(sized.)S 1704 V 10 I 1620(m_set\(attribute,)S 2286(value,)S 2557(....\))S 1824 V 10 R 2520(Set)S 2678(a)S 2752(marker)S 3064(attribute.)S 3482(Valid)S 3734(attributes)S 4136(include)S 2064 V 10 I 2862(activated)S 3390(autoRedraw)S 4130(\256ll)S 4775(\256llBgColor)S 2184 V 2862(\256llColor)S 3390(\256llPattern)S 4130(\256llStyle)S 4775(font)S 2304 V 2862(height)S 3390(highlightColor)S 4130(imageText)S 4775(knotColor)S 2424 V 2862(knotSize)S 3390(lineColor)S 4130(lineStyle)S 4775(lineWidth)S 2544 V 2862(rotangle)S 3390(sensitive)S 4130(textBgColor)S 4775(textBorder)S 2664 V 2862(textColor)S 3390(translations)S 4130(type)S 4775(visible)S 2784 V 2862(width)S 3390(x)S 4130(y)S 2952 V 1620(m_raise\(\))S 10 R 2520(Raise)S 2772(the)S 2924(active)S 3192(marker)S 3504(to)S 3612(the)S 3764(top)S 3922(of)S 4035(the)S 4187(display)S 4506(list.)S 3120 V 10 I 1620(m_lower\(\))S 10 R 2520(Lower)S 2810(the)S 2962(active)S 3230(marker)S 3542(to)S 3650(the)S 3802(bottom)S 4116(of)S 4229(the)S 4381(display)S 4700(list.)S 3288 V 10 I 1620(m_notify\(event,)S 2268(event,)S 2533(....\))S 3408 V 10 R 2520(Notify)S 2821(any)S 3005(clients)S 3306(that)S 3496(have)S 3724(registered)S 4157(callbacks)S 4568(for)S 4725(the)S 4888(speci\256ed)S 5284(type)S 5497(of)S 3528 V 2520(events.)S 2860(Recognized)S 3361(events)S 3646(include)S 3648 V 10 I 3317(notify)S 3761(moveResize)S 4376(modify)S 3768 V 3317(redraw)S 3761(destroy)S 4376(input)S 3888 V 3317(focusIn)S 3761(focusOut)S 4376(constraint)S 4056 V 1620(m_input\(\))S 10 R 2520(Notify)S 2819(any)S 3001(clients)S 3300(that)S 3489(have)S 3716(registered)S 4148(a)S 4231(input)S 4476(callback)S 4847(that)S 5036(a)S 5119(input)S 5364(event)S 4176 V 2520(has)S 2683(occurred.)S 4344 V 10 I 1620(m_markpos\(\))S 10 R 2520(Mark)S 2766(the)S 2918(current)S 3230(position)S 3583(of)S 3696(the)S 3848(marker,)S 4185(e.g.,)S 4384(so)S 4503(that)S 4683(it)S 4769(can)S 4937(later)S 5144(be)S 5268(erased.)S 4512 V 10 I 1620(m_markposAdd\(\))S 10 R 2520(Execute)S 2871(either)S 3128(the)S 3280(markpos)S 3654(or)S 3767(add)S 3941(action,)S 4240(depending)S 4686(upon)S 4916(the)S 5068(pointer)S 5381(loca-)S 4632 V 2520(tion.)S 2772(If)S 2879(the)S 3042(pointer)S 3366(is)S 3474(over)S 3692(an)S 3827(active)S 4106(marker)S 4429(at)S 4542(a)S 4627(location)S 4990(where)S 5274(the)S 5436(add)S 4752 V 2520(action)S 2802(can)S 2978(be)S 3110(executed)S 3502(this)S 3685(is)S 3791(done,)S 4049(otherwise)S 4476(the)S 4637(markpos)S 5020(action)S 5303(is)S 5409(exe-)S 4872 V 2520(cuted.)S 5040 V 10 I 1620(m_redraw\(\))S 10 R 2520(Redraw)S 2860(the)S 3012(active)S 3280(marker.)S 5208 V 10 I 1620(m_addPt\(\))S 10 R 2520(Add)S 2722(a)S 2796(point)S 3032(\(i.e.)S 3217(vertex)S 3496(knot\).)S 10 I 3762(Polyline)S 10 R 4125(and)S 10 I 4299(polygon)S 10 R 4651(markers)S 5002(only.)S 5376 V 10 I 1620(m_deletePt\(\))S 10 R 2520(Delete)S 2810(a)S 2884(point)S 3120(\(i.e.)S 3305(vertex)S 3584(knot\).)S 5544 V 10 I 1620(m_movePt\(\))S 10 R 2520(Move)S 2783(a)S 2857(point)S 3093(\(i.e.)S 3278(vertex)S 3557(knot\).)S 10 I 3823(Polyline)S 10 R 4186(and)S 10 I 4360(polygon)S 10 R 4712(markers)S 5063(only.)S 5712 V 10 I 1620(m_deleteDestroy\(\))S 10 R 2520(Delete)S 2810(a)S 2884(point)S 3120(or)S 3233(destroy)S 3557(a)S 3631(marker,)S 3968(depending)S 4414(upon)S 4644(the)S 4796(pointer)S 5109(position.)S 5880 V 10 I 1620(m_move\(\))S 10 R 2520(Move)S 2783(a)S 2857(marker.)S 6048 V 10 I 1620(m_resize\(\))S 10 R 2520(Resize)S 2816(a)S 2890(marker.)S 6216 V 10 I 1620(m_moveResize\(\))S 10 R 2520(Move)S 2794(a)S 2879(point)S 3126(or)S 3250(marker,)S 3599(or)S 3724(resize)S 3998(a)S 4084(marker,)S 4433(depending)S 4891(upon)S 5133(the)S 5297(pointer)S 6336 V 2520(position.)S 6504 V 10 I 1620(m_rotate\(\))S 10 R 2520(Rotate)S 2811(a)S 2885(marker.)S 6672 V 10 I 1620(m_rotateResize\(\))S 10 R 2520(Rotate)S 2820(or)S 2942(resize)S 3213(a)S 3296(marker.)S 3672(A)S 3783(marker)S 4104(is)S 4210(rotated)S 4526(if)S 4626(near)S 4837(a)S 4921(vertex)S 5210(know,)S 5497(or)S 6792 V 2520(resized)S 2832(if)S 2923(near)S 3124(an)S 3248(edge.)S 7080 V 9 B 900(GTERM)S 1267(I/O)S 1424(ESCAPE)S 1806(SEQUENCES)S 7200 V 10 R 1260(XGterm)S 1638(uses)S 1861(escape)S 2177(sequences)S 2632(to)S 2761(provide)S 3117(graphics)S 3506(emulation.)S 4012(This)S 4241(protocol)S 4625(is)S 4743(an)S 4888(extension)S 5323(of)S 5458(the)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(6)S 7920 V EP %%Page: 7 8 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 1260(Tektronix)S 1703(4012)S 1952(graphics)S 2339(protocol.)S 2775(The)S 2978(basic)S 3231(extensions)S 3701(are)S 3870(patterned)S 4289(after)S 4519(the)S 4689(Retrographics)S 5297(VT640)S 1080 V 1260(graphics)S 1634(terminal,)S 2028(using)S 2282(GS)S 2447(\(octal)S 2711(\\035,)S 2951(aka)S 3126(Ctrl-]\))S 3418(and)S 3599(CAN)S 3847(\(octal)S 4111(\\030,)S 4351(aka)S 4526(Ctrl-x\))S 4835(to)S 4950(switch)S 5248(between)S 1200 V 1260(vt100)S 1522(and)S 1700(graphics)S 2071(modes.)S 2420(Additional)S 2881(extensions)S 3336(are)S 3490(de\256ned)S 3817(to)S 3928(support)S 4261(advanced)S 4670(features)S 5018(such)S 5234(as)S 5350(color,)S 1320 V 1260(area)S 1466(\256lls,)S 1683(graphics)S 2062(erasure,)S 2415(setting)S 2723(the)S 2886(cursor)S 3176(location)S 3540(under)S 3809(program)S 4189(control,)S 4539(interactive)S 5002(dialog)S 5294(via)S 5458(the)S 1440 V 1260("status)S 1559(line",)S 1805(and)S 1979(so)S 2098(on.)S 1680 V 1260(While)S 1543(these)S 1787(escape)S 2092(sequences)S 2536(can)S 2714(be)S 2848(used)S 3071(directly,)S 3441(the)S 3603(best)S 3804(programmatic)S 4404(interface)S 4792(is)S 4899(to)S 5017(use)S 5190(the)S 5352(OBM)S 1800 V 1260(\()S 10 I 1293(Object)S 1612(Manager)S 10 R 1978(\))S 2064(library)S 2383(supplied)S 2775(with)S 3006(the)S 3181(XGterm)S 3560(source)S 3872(as)S 4007(part)S 4214(of)S 4349(the)S 4523(X11IRAF)S 4975(package.)S 5408(Any)S 1920 V 1260(Tektronix-compatible)S 2191(graphics)S 2590(library)S 2917(will)S 3134(su)S 3223 H (f)show 10 -.5 mul h (\256)show 10 R 3307(ce)S 3456(for)S 3633(producing)S 4099(vector)S 4409(graphics,)S 4833(the)S 5016(added)S 5315(escape)S 2040 V 1260(sequences)S 1694(used)S 1907(by)S 2037(the)S 2189(Gterm)S 2474(widget)S 2776(are)S 2927(required)S 3289(to)S 3397(make)S 3643(use)S 3806(of)S 3919(imaging,)S 4302(area)S 4497(\256lls,)S 4703(the)S 4855(status)S 5113(line,)S 5318(etc.)S 2280 V 1260(All)S 1439(escape)S 1755(sequences)S 2210(begin)S 2483(with)S 2712(an)S 10 B 2857(ESC)S 10 R 3103(character)S 3518(\(octal)S 3797(\\033\),)S 4085(followed)S 4492(by)S 4644(up)S 4796(to)S 4926(three)S 5177(characters)S 2400 V 1260(de\256ning)S 1619(the)S 1772(action)S 2047(to)S 2156(be)S 2281(taken.)S 2583(All)S 2742(strings)S 3040(in)S 3149(capital)S 3446(letters)S 3721(refer)S 3939(to)S 4048(the)S 4201(ASCII)S 4493(code)S 4712(\(e.g.)S 10 I 4920(LF)S 10 R 5068(is)S 5166(the)S 5319(ASCII)S 2520 V 1260(linefeed)S 1612(code\),)S 1889(a)S 1965(three)S 2196(digit)S 2412(number)S 2749(preceeded)S 3184(by)S 3316(a)S 3392('\302)S 3490(refers)S 3748(to)S 3858(an)S 3984(octal)S 4210(code)S 4430(\(e.g.)S 4669(")S 4760(12")S 4933(is)S 5032(octal)S 5258(12\))S 5423(,)S 5480(all)S 2640 V 1260(others)S 1534(are)S 1685(characters)S 2118(in)S 2226(the)S 2378(escape)S 2673(code)S 2891(\(e.g.)S 3128("/bc")S 3362(are)S 3513(the)S 3665(three)S 3894(characters)S 4327('/',)S 4476('b',)S 4647(and)S 4821('c'\).)S 2928 V 9 B 1080(ESCAPE)S 1462(SEQUENCES)S 3048 V 10 B 1620(US)S 3156 V 1620(CR)S 10 R 2370(Switch)S 2690(to)S 2810(alpha)S 3068(mode.)S 3387(Characters)S 3855(are)S 4019(drawn)S 4311(in)S 4432(the)S 4597(graphics)S 4978(window)S 5343(at)S 5458(the)S 3276 V 2370("current")S 2766(position)S 3121(\(normally)S 3547(set)S 3690(beforehand)S 4170(with)S 4380(a)S 4456(GS/US)S 4772(vector)S 5052(move\),)S 5363(using)S 3396 V 2370(the)S 2537(alpha)S 2798(mode)S 3065(font.)S 3296(Receipt)S 3646(of)S 3774(any)S 3963(control)S 4292(code)S 4526(causes)S 4832(alpha)S 5094(mode)S 5362(to)S 5486(be)S 3516 V 2370(exited.)S 3804 V 10 B 1620(GS)S 10 R 2370(Switch)S 2678(to)S 2786(vector)S 3065(polyline)S 3423(mode.)S 3912 V 10 B 1620(FS)S 10 R 2370(Switch)S 2678(to)S 2786(vector)S 3065(polypoint)S 3479(mode.)S 4020 V 10 B 1620(RS)S 10 R 2370(Switch)S 2678(to)S 2786(vector)S 3065(mode,)S 3342(vertices)S 3682(are)S 3833(joined)S 4113(as)S 4226(a)S 4300(polygon.)S 4260 V 2370(With)S 2622(all)S 2774(three)S 3025(codes,)S 3329(vertices)S 3691(and)S 3888(points)S 4186(are)S 4360(accumulated)S 4917(in)S 5048(a)S 5145(bu)S 5245 H (f)show 10 -.5 mul h (f)show 10 R 5306(er)S 5436(and)S 4380 V 2370(displayed)S 2792(when)S 3047(the)S 3208(bu)S 3308 H (f)show 10 -.5 mul h (f)show 10 R 3369(er)S 3485(\256lls)S 3675(or)S 3797(when)S 4052(vector)S 4340(mode)S 4601(is)S 4706(terminated)S 5171(by)S 5309(receipt)S 4500 V 2370(of)S 2483(any)S 2658(control)S 2972(code.)S 3246(A)S 3349(workstation)S 3852(open)S 4077(will)S 4264(be)S 4389(done)S 4614(if)S 4706(it)S 4793(hasn't)S 5068(already)S 5392(been)S 4620 V 2370(opened,)S 2736(no-op)S 3022(sequences)S 3479(GS-CAN)S 3904(are)S 4078(\256ltered)S 4414(out,)S 4619(since)S 4876(they)S 5100(would)S 5402(only)S 4740 V 2370(cause)S 2622(a)S 2698(pointless)S 3086(switch)S 3379(to)S 3489(the)S 3643(graphics)S 4013(frame)S 4277(and)S 4453(back)S 4673(without)S 5011(drawing.)S 5425(The)S 4860 V 2370(open)S 2610(workstation)S 3128(sequence)S 3539(is)S 3652(GS,US,)S 4003(or)S 4131(by)S 4276(the)S 10 I 4443(xterm)S 10 R 4715(graphics)S 5098(start)S 5315(escape)S 4980 V 2370(sequence)S 2765("[?38h".)S 5268 V 10 B 1620(EM)S 10 R 2370(Enter)S 2623(message)S 2998(mode.)S 3312(In)S 3432(message)S 3807(mode)S 4066(input)S 4309(text)S 4497(is)S 4602(accumulated)S 5144(in)S 5260(a)S 5342(bu)S 5442 H (f)show 10 -.5 mul h (f)show 10 R 5503(er)S 5388 V 2370(and)S 2558(eventually)S 3017(passed)S 3326(to)S 3447(the)S 3612(object)S 3899(manager,)S 4310(which)S 4597(delivers)S 4956(the)S 5121(message)S 5502(to)S 5508 V 2370(the)S 2525(referenced)S 2977(object.)S 3309(Messages)S 3730(are)S 3884(used)S 4100(to)S 4211(download)S 4638(the)S 4793(user)S 4992(interface)S 5374(to)S 5486(be)S 5628 V 2370(executed)S 2763(by)S 2902(the)S 3063(object)S 3346(manager.)S 3783(During)S 4105(execution,)S 4557(messages)S 4973(are)S 5132(used)S 5353(to)S 5469(set)S 5748 V 2370(the)S 2524(values)S 2811(of)S 2926(user)S 3124(interface)S 3504(parameters)S 3973(to)S 4083(allow)S 4337(the)S 4491(UI)S 4628(to)S 4739(track)S 4971(the)S 5126(state)S 5342(of)S 5458(the)S 5868 V 2370(client)S 2622(application.)S 6156 V 10 B 1620(CAN)S 10 R 2370(Close)S 2628(workstation)S 3130(and)S 3304(enter)S 3533(command)S 3957(mode.)S 6324 V 10 B 1620(BEL)S 10 R 2370(Ring)S 2595(the)S 2747(screen)S 3031(bell.)S 6612 V 10 B 1620(ENQ)S 10 R 2370(Return)S 2676(terminal)S 3043(status.)S 3360(Returned)S 3760(values)S 4049(include)S 4378(the)S 4535(terminal)S 4903(mode,)S 5185(and)S 5364(alpha)S 6732 V 2370(cursor)S 2649(x)S 2729(and)S 2903(y)S 2983(position.)S 6900 V 10 B 1620(SUB)S 10 R 2370(Initiate)S 2683(a)S 2757(cursor)S 3036(read,)S 3262(values)S 3547(are)S 3698(returned)S 4060(in)S 4168(window)S 4520(coordinates.)S 7068 V 10 B 1620(/SUB)S 10 R 2370(Return)S 2672(window)S 3024(cursor)S 3303(position)S 3656(in)S 3764(raster)S 4015(coordinates.)S 7236 V 10 B 1620(FF)S 10 R 2370(Clear)S 2616(the)S 2768(screen.)S 7716 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(7)S 7920 V EP %%Page: 8 9 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 10 B 1620(/f)S 10 R 2370(Set)S 2528(current)S 2840(cursor)S 3119(position.)S 1128 V 10 B 1620(0)S 10 R 2370(Set)S 2528(character)S 2922(size)S 3107(0.)S 3212(\(Currently)S 3658(ignored\).)S 1236 V 10 B 1620(1)S 10 R 2370(Set)S 2528(character)S 2922(size)S 3107(1.)S 3212(\(Currently)S 3658(ignored\).)S 1344 V 10 B 1620(2)S 10 R 2370(Set)S 2528(character)S 2922(size)S 3107(2.)S 3212(\(Currently)S 3658(ignored\).)S 1452 V 10 B 1620(3)S 10 R 2370(Set)S 2528(character)S 2922(size)S 3107(3.)S 3212(\(Currently)S 3658(ignored\).)S 1620 V 10 B 1620(/0d)S 10 R 2370(Set)S 2528(color)S 2763(index.)S 1728 V 10 B 1620(/1d)S 10 R 2370(Clear)S 2616(graphics)S 2984(screen.)S 1836 V 10 B 1620(/2d)S 10 R 2370(Invert)S 2638(graphics)S 3006(screen)S 2004 V 10 B 1620(`)S 10 R 2370(Select)S 2644(line)S 2824(style)S 3043(0.)S 3148(\(Solid\))S 2112 V 10 B 1620(a)S 10 R 2370(Select)S 2644(line)S 2824(style)S 3043(1.)S 3148(\(Dashed\))S 2220 V 10 B 1620(b)S 10 R 2370(Select)S 2644(line)S 2824(style)S 3043(2.)S 3148(\(Dotted\))S 2328 V 10 B 1620(c)S 10 R 2370(Select)S 2644(line)S 2824(style)S 3043(3.)S 3148(\(DashDot\))S 2436 V 10 B 1620(d)S 10 R 2370(Select)S 2644(line)S 2824(style)S 3043(4.)S 3148(\(Dash3Dot\))S 2604 V 10 B 1620(/0w)S 10 R 2370(Select)S 2644(line)S 2824(width)S 3082(0.)S 2712 V 10 B 1620(/1w)S 10 R 2370(Select)S 2644(line)S 2824(width)S 3082(1.)S 2820 V 10 B 1620(/2w)S 10 R 2370(Select)S 2644(line)S 2824(width)S 3082(2.)S 2928 V 10 B 1620(/nw)S 10 R 2370(Select)S 2644(line)S 2824(width)S 3082(3.)S 3096 V 10 B 1620(/0c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(0.)S 3204 V 10 B 1620(/1c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(1.)S 3312 V 10 B 1620(/2c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(2.)S 3420 V 10 B 1620(/3c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(3.)S 3528 V 10 B 1620(/4c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(4.)S 3636 V 10 B 1620(/5c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(5.)S 3744 V 10 B 1620(/6c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(6.)S 3852 V 10 B 1620(/7c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(7.)S 3960 V 10 B 1620(/8c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(8.)S 4068 V 10 B 1620(/9c)S 10 R 2370(Select)S 2644(line)S 2824(color)S 3059(9.)S 4356 V 9 B 1080(IMAGING)S 1532(ESCAPE)S 1914(SEQUENCES)S 4476 V 10 R 1260(These)S 1528(are)S 1679(encoded)S 2041(as)S 2154(follows:)S 4716 V 10 B 2169(ESC)S 10 R 2394()S 2724([)S 10 I 2787(P)S 2878(;)S 2941(P)S 10 R 3032(;)S 3090(...)S 3195(])S 3258(<)S 10 I 3314(parameters)S 10 R 3769(>)S 4956 V 1260(where)S 10 I 1533(code)S 10 R 1751(is)S 1848(a)S 1922(character)S 2316(sequence)S 2711(and)S 10 I 2885(P)S 10 R 2976(is)S 3073(an)S 3197(ASCII)S 3488(encoded)S 3850(parameter)S 4278(described)S 4690(below.)S 5124 V 10 B 1620(/nc)S 10 R 2370(Select)S 2644(line)S 2824(color.)S 3114(Parameter)S 3548(is)S 3645(the)S 3797(color)S 4032(number)S 4367(in)S 4475(the)S 4627(range)S 4878(0-9.)S 5292 V 10 B 1620(sre)S 10 I 2370(Reset)S 10 R 2586(.)S 2671(Parameters)S 3144(are)S 3295("reset-str".)S 5460 V 10 B 1620(ssz)S 10 I 2370(Resize)S 10 R 2625(.)S 2680(Parameters)S 3153(are)S 3304("resize-str".)S 5628 V 10 B 1620(rir)S 10 I 2370(Initialize)S 2756(raster)S 10 R 2995(.)S 5796 V 10 B 1620(rcr)S 10 I 2370(Create)S 2675(a)S 2758(raster)S 10 R 2997(.)S 3085(Parameters)S 3561(are)S 3715(raster)S 3969(number,)S 4332(type,)S 4562(width,)S 4848(height,)S 5156(and)S 5333(depth.)S 5916 V 2370(Type)S 2613(is)S 2718(1)S 2806(for)S 2960(a)S 3041(normal)S 3361(\(client\))S 3686(raster,)S 3969(2)S 4056(for)S 4209(cached)S 4522(in)S 4637(server)S 4917(memory,)S 5312(or)S 5432(0)S 5519(if)S 6036 V 2370(you)S 2550(don't)S 2791(care.)S 3041(Depth)S 3315(may)S 3517(be)S 3641(1,)S 3746(8,)S 3851(16,)S 4006(or)S 4119(32.)S 6204 V 10 B 1620(rde)S 10 I 2370(Destroy)S 2716(a)S 2796(raster)S 10 R 3035(.)S 3120(Parameter)S 3554(is)S 3651(raster)S 3902(number.)S 6372 V 10 B 1620(rqr)S 10 I 2370(Query)S 2666(a)S 2763(raster)S 10 R 3002(.)S 3104(Parameter)S 3555(is)S 3670(raster)S 3939(number.)S 4347(Output)S 4673(parameters)S 5158(are)S 5327(status,)S 6492 V 2370(type,)S 2737(width,)S 3160(height,)S 3605(and)S 3919(depth)S 4311(encoded)S 4813(in)S 5061(the)S 5352(string)S 6612 V 2370(""\\033[5;%d;%d;%d;%d;%d]".)S 6780 V 10 B 1620(rsr)S 10 I 2370(Select)S 2638(a)S 2718(raster)S 10 R 2957(.)S 3042(Parameter)S 3476(is)S 3573(raster)S 3824(number.)S 6948 V 10 B 1620(rwr)S 10 I 2370(Write)S 2654(pixels)S 2949(to)S 3089(a)S 3201(rectangular)S 3735(region)S 4058(of)S 4199(a)S 4312(raster)S 10 R 4551(.)S 4669(Parameters)S 5175(are)S 5359(raster)S 7068 V 2370(number,)S 2752(encoding)S 3170(type)S 3394(\(not)S 3607(used\),)S 3900(x1,)S 4077(y1,)S 4254(nx,)S 4430(ny,)S 4606(and)S 4801(depth)S 5074(followed)S 5480(by)S 7188 V 2370(\(nx)S 10 Y 2503(*)S 10 R 2553(ny\))S 2716(data)S 2912(pixels.)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(8)S 7920 V EP %%Page: 9 10 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 10 B 1620(rrd)S 10 I 2370(Read)S 2620(from)S 2854(a)S 2949(rectangular)S 3466(region)S 3772(of)S 3895(a)S 3990(raster)S 10 R 4229(.)S 4329(Parameters)S 4817(are)S 4983(raster)S 5250(number,)S 1080 V 2370(encoding)S 2772(type)S 2980(\(not)S 3177(used\),)S 3454(x1,)S 3615(y1,)S 3776(nx,)S 3937(ny,)S 4098(and)S 4278(depth)S 4536(followed)S 4927(by)S 5063(\(nx)S 10 Y 5196(*)S 10 R 5246(ny\))S 5414(data)S 1200 V 2370(pixels.)S 1368 V 10 B 1620(rrp)S 10 I 2370(Refresh)S 2722(raster)S 3008(pixels)S 10 R 3241(.)S 3343(Parameters)S 3833(are)S 4001(raster)S 4269(number,)S 4646(coordinate)S 5114(type)S 5333(\(0)S 5464(for)S 1488 V 2370(pixel,)S 2625(1)S 2705(for)S 2851(NDC\),)S 3150(x1,)S 3305(y1,)S 3460(nx,)S 3615(ny.)S 1656 V 10 B 1620(rsp)S 10 I 2370(Set)S 2533(all)S 2680(the)S 2843(raster)S 3123(pixels)S 3397(in)S 3516(a)S 3607(region)S 3910(to)S 4030(a)S 4122(single)S 4403(color)S 10 R 4614(.)S 4711(Parameters)S 5196(are)S 5359(raster)S 1776 V 2370(number,)S 2740(coordinate)S 3201(type)S 3413(\(0)S 3536(for)S 3692(pixel,)S 3957(1)S 4047(for)S 4203(NDC\),)S 4511(x1,)S 4675(y1,)S 4839(nx,)S 5003(ny,)S 5167(color,)S 5436(and)S 1896 V 2370(raster)S 2631(operand.)S 3047(If)S 3153(nx=ny=0)S 3555(the)S 3717(entire)S 3984(raster)S 4245(will)S 4441(be)S 4575(written.)S 4924(Raster)S 5220(operands)S 2016 V 2370(include)S 2714(transient)S 3108(\(octal)S 3385(020\),)S 3643(refresh_all)S 4119(\(octal)S 4395(040\),)S 4652(or)S 4784(refresh_none)S 5353(\(octal)S 2136 V 2370(100\).)S 2304 V 10 B 1620(rco)S 10 I 2370(Copy)S 2633(a)S 2735(region)S 3048(of)S 3178(the)S 3353(source)S 3672(raster)S 3964(to)S 4095(a)S 4198(region)S 4512(of)S 4643(the)S 4818(destination)S 5316(raster)S 10 R 5555(.)S 2424 V 2370(Parameters)S 2864(are)S 3035(raster)S 3306(operand,)S 3702(source)S 4012(raster)S 4283(number,)S 4663(source)S 4973(type,)S 5220(source)S 5530(x)S 2544 V 2370(coord,)S 2657(source)S 2952(y)S 3038(coord,)S 3326(source)S 3622(width,)S 3911(source)S 4207(height,)S 4518(destination)S 4993(raster)S 5250(number,)S 2664 V 2370(destination)S 2854(type,)S 3096(destination)S 3580(x)S 3675(coord,)S 3971(destination)S 4454(y)S 4548(coord,)S 4844(destination)S 5327(width,)S 2784 V 2370(destination)S 2851(height,)S 3168(If)S 3276(the)S 3440(input)S 3689(and)S 3876(output)S 4175(regions)S 4512(are)S 4676(not)S 4847(the)S 5012(same)S 5260(size)S 5458(the)S 2904 V 2370(subimage)S 2793(is)S 2899(automatically)S 3482(scaled)S 3770(to)S 3887(\256t)S 4010(the)S 4171(destination)S 4649(region.)S 4998(If)S 5103(the)S 5264(destina-)S 3024 V 2370(tion)S 2565(extent)S 2848(DNX)S 3103(or)S 3225(DNY)S 3480(is)S 3587(negative,)S 3990(the)S 4152(image)S 4436(is)S 4543(\257ipped)S 4861(in)S 4979(that)S 5169(axis.)S 5425(The)S 3144 V 2370(type)S 2589(of)S 2719(spatial)S 3026(scaling)S 3355(performed)S 3816(is)S 3929(determined)S 4424(by)S 4570(the)S 4738(scale)S 4983(factors)S 5300(\(zoom,)S 3264 V 2370(dezoom,)S 2742(or)S 2856(no)S 2987(scaling\).)S 3389(The)S 3575(rasterop)S 3927(argument)S 4335(is)S 4433(used)S 4647(to)S 4757(exercise)S 5115(\256ne)S 5297(control)S 3384 V 2370(over)S 2582(how)S 2789(the)S 2946(mapping)S 3331(is)S 3433(performed,)S 3908(e.g.)S 4087(to)S 4200(force)S 4439(a)S 4517(refresh,)S 4852(implement)S 5314(a)S 5392(tran-)S 3504 V 2370(sient)S 2596(mapping,)S 3008(or)S 3128(in)S 3243(the)S 3402(case)S 3610(of)S 3730(a)S 3812(dezoom)S 4166(\(many-to-one\))S 4780(mapping,)S 5193(select)S 5458(the)S 3624 V 2370(antialiasing)S 2861(technique)S 3279(to)S 3387(be)S 3511(used.)S 3792 V 10 B 1620(rwc)S 10 I 2370(Write)S 2652(a)S 2762(colormap)S 10 R 3145(.)S 3260(Parameters)S 3763(are)S 3944(colormap)S 4381(number,)S 4771(\256rst)S 4987(color)S 5253(and)S 5458(the)S 3912 V 2370(number)S 2705(of)S 2818(colors)S 3092(followed)S 3477(by)S 3607(NC)S 3776(colors)S 4050(triples)S 4330(in)S 4438(the)S 4590(data.)S 4080 V 10 B 1620(rrc)S 10 I 2370(Return)S 2673(the)S 2826(color)S 3068(assignments)S 3588(for)S 3736(a)S 3817(region)S 4109(of)S 4218(the)S 4371(named)S 4668(colormap)S 10 R 5051(.)S 5137(Parameters)S 4200 V 2370(are)S 2536(colormap)S 2957(number,)S 3331(\256rst)S 3531(color)S 3780(and)S 3968(the)S 4134(number)S 4483(of)S 4610(colors)S 4898(followed)S 5297(by)S 5441(NC)S 4320 V 2370(colors)S 2644(triples)S 2924(in)S 3032(the)S 3184(data.)S 4488 V 10 B 1620(rlc)S 10 I 2370(Load)S 2609(a)S 2692(colormap)S 3108(into)S 3297(the)S 3452(display)S 10 R 3741(,)S 3799(optionally)S 4238(scaling)S 4554(the)S 4709(colormap)S 5119(via)S 5275(a)S 5353(linear)S 4608 V 2370(transformation)S 2992(in)S 3103(the)S 3258(process.)S 3645(Parameters)S 4121(are)S 4275(the)S 4430(colormap)S 4840(number,)S 5203(the)S 5358(o)S 5408 H (f)show 10 -.5 mul h (f)show 10 R 5469(set)S 4728 V 2370(value,)S 2656(and)S 2845(the)S 3012(cursor)S 3306(x)S 3401(and)S 3590(Y)S 3707(coordinates)S 4212(in)S 4336(NDC)S 4593(units.)S 4889(The)S 5090(colormap)S 5513(is)S 4848 V 2370(una)S 2514 H (f)show 10 -.5 mul h (f)show 10 R 2575(ected)S 2836(if)S 2948(o)S 2998 H (f)show 10 -.5 mul h (f)show 10 R 3059(set=0.5,)S 3427(scale=1.0.)S 3912(A)S 4034(negative)S 4422(scale)S 4671(inverts)S 4993(the)S 5165(image.)S 5514(If)S 4968 V 2370(map=0)S 2678(the)S 2830(linear)S 3087(transformation)S 3705(is)S 3802(applied)S 4126(directly)S 4461(to)S 4569(the)S 4721(display)S 5040(colormap.)S 5136 V 10 B 1620(rfc)S 10 I 2370(Free)S 2588(a)S 2668(colormap)S 10 R 3051(.)S 3136(Parameter)S 3570(is)S 3667(the)S 3819(colormap)S 4226(number.)S 5304 V 10 B 1620(rwo)S 10 I 2370(Write)S 2626(the)S 2782(IOmap)S 10 R 3059(.)S 3118(Parameters)S 3595(are)S 3750(the)S 3907(\256rst)S 4098(color)S 4338(and)S 4517(the)S 4674(number)S 5014(of)S 5132(colors,)S 5436(fol-)S 5424 V 2370(lowed)S 2651(by)S 2788(NC)S 2964(color)S 3206(triples)S 3493(in)S 3608(the)S 3767(data.)S 4025(An)S 4184(iomap)S 4471(is)S 4575(an)S 4706(optional)S 5071(lookup)S 5386(table)S 5544 V 2370(used)S 2600(to)S 2725(isolate)S 3033(the)S 3202(client)S 3471(application)S 3962(from)S 4203(the)S 4372(color)S 4625(model)S 4923(used)S 5154(within)S 5458(the)S 5664 V 2370(Gterm)S 2656(widget.)S 3014(To)S 3156(simplify)S 3521(color)S 3757(allocation)S 4182(the)S 4334(Gterm)S 4619(widget)S 4921(de\256nes)S 5234(a)S 5308(logical)S 5784 V 2370(color)S 2612(space)S 2870(where)S 3150(color)S 3392(0)S 3479(is)S 3583(the)S 3742(background,)S 4275(1)S 4362(the)S 4522(foreground,)S 5028(2-N)S 5221(are)S 5380(stati-)S 5904 V 2370(cally)S 2613(allocated)S 3022(standard)S 3409(colors,)S 3727(and)S 3920(colors)S 4213(N+1)S 4439(and)S 4631(above)S 4917(are)S 5086(dynamically)S 6024 V 2370(allocated)S 2772(by)S 2914(the)S 3078(graphics)S 3458(application.)S 3999(Less-demanding)S 4701(applications)S 5226(use)S 5402(only)S 6144 V 2370(the)S 2529(statically)S 2927(allocated,)S 3349(shared)S 3646(colors.)S 3982(The)S 4174(widget)S 4483(internally)S 4903(maps)S 5150(these)S 5391(logi-)S 6264 V 2370(cal)S 2538(colors)S 2834(to)S 2964(whatever)S 3381(the)S 3555(window)S 3929(system)S 4259(requires,)S 4657(but)S 4837(providing)S 5278(a)S 5375(well-)S 6384 V 2370(de\256ned)S 2701(logical)S 3010(color)S 3252(space)S 3510(isolates)S 3847(the)S 4006(client)S 4264(from)S 4494(the)S 4652(details)S 4949(of)S 5068(color)S 5309(alloca-)S 6504 V 2370(tion)S 2556(in)S 2664(the)S 2816(underlying)S 3279(window)S 3631(system.)S 6744 V 2370(An)S 2534(iomap)S 2826(can)S 3006(be)S 3142(used)S 3367(to)S 3487(de\256ne)S 3773(a)S 3859(mapping)S 4251(between)S 4626(the)S 4791(color)S 5039(model)S 5332(of)S 5458(the)S 6864 V 2370(client)S 2629(application)S 3110(and)S 3291(the)S 3450(Gterm)S 3742(color)S 3984(model)S 4271(\(when)S 4557(we)S 4710(say)S 4880(color)S 5122(model)S 5409(here)S 6984 V 2370(we)S 2538(mean)S 2806(color)S 3063(allocation)S 3509(schemes)S 3899(for)S 4067(8)S 4170(bit)S 4329(pseudocolor\).)S 4958(By)S 5128(default)S 5458(the)S 7104 V 2370(iomap)S 2667(is)S 2781(one-to-one.)S 3315(The)S 3517(use)S 3697(of)S 3827(an)S 3968(iomap)S 4265(frees)S 4505(the)S 4674(client)S 4943(from)S 5184(having)S 5502(to)S 7224 V 2370(worry)S 2646(about)S 2907(color)S 3151(index)S 3412(translations,)S 3937(and)S 4120(allows)S 4420(color)S 4664(tables)S 4936(to)S 5053(be)S 5186(combined)S 7704 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5530(9)S 7920 V EP %%Page: 10 11 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 2370(in)S 2481(the)S 2635(widget)S 2939(for)S 3087(greater)S 3395(e)S 3439 H (f)show 10 -.5 mul h (\256)show 10 R 3523(ciency)S 3815(when)S 4063(color)S 4300(tables)S 4565(are)S 4718(serially)S 5044(applied.)S 5425(The)S 1080 V 2370(iomap)S 2670(applies)S 3003(to)S 3131(all)S 3281(color)S 3536(indices)S 3870(or)S 4004(pixel)S 4255(values)S 4561(passed)S 4878(in)S 5007(i/o)S 5164(operations)S 1200 V 2370(between)S 2732(the)S 2884(client)S 3136(and)S 3310(the)S 3462(Gterm)S 3747(widget.)S 1368 V 10 B 1620(rro)S 10 I 2370(Read)S 2613(the)S 2773(IOmap)S 10 R 3050(.)S 3143(Return)S 3453(values)S 3746(are)S 3905(the)S 4065(\256rst)S 4259(color)S 4502(and)S 4684(the)S 4845(number)S 5189(of)S 5311(colors,)S 1488 V 2370(followed)S 2755(by)S 2885(NC)S 3054(color)S 3289(triples)S 3569(in)S 3677(the)S 3829(data.)S 1656 V 10 B 1620(rim)S 10 I 2370(Delete)S 2660(all)S 2796(mappings)S 10 R 3215(and)S 3389(initialize)S 3769(the)S 3921(mapping)S 4301(subsystem.)S 1824 V 10 B 1620(rsm)S 10 I 2370(De\256ne)S 2669(a)S 2758(new)S 2958(mapping)S 3347(function)S 10 R 3675(,)S 3739(or)S 3861(modify)S 4189(an)S 4322(old)S 4489(one.)S 4727(If)S 4833(a)S 4917(new)S 5123(mapping)S 5513(is)S 1944 V 2370(de\256ned)S 2701(it)S 2794(is)S 2898(merely)S 3212(enabled,)S 3584(and)S 3765(no)S 3902(refreshing)S 4342(of)S 4461(the)S 4619(screen)S 4909(takes)S 5150(place)S 5396(until)S 2064 V 2370(either)S 2635(some)S 2885(mapped)S 3240(data)S 3445(is)S 3551(written)S 3873(to)S 3990(or)S 4112(the)S 4273(mapping)S 4662(is)S 4768(explicitly)S 5185(refreshed.)S 2184 V 2370(If)S 2478(an)S 2614(existing)S 2973(mapping)S 3365(is)S 3474(modi\256ed)S 3872(the)S 4036(old)S 4206(and)S 4392(new)S 4600(mappings)S 5030(are)S 5192(examined)S 2304 V 2370(and)S 2546(only)S 2756(those)S 2999(portions)S 3359(of)S 3475(the)S 3630(destination)S 4102(rect)S 4284(for)S 4433(which)S 4710(the)S 4865(mapping)S 5248(changed)S 2424 V 2370(are)S 2526(updated.)S 2932(This)S 3144(permits)S 3478(minor)S 3751(changes)S 4106(to)S 4218(a)S 4296(mapping)S 4680(\(e.g.)S 4891(moving)S 5231(an)S 5359(edge\))S 2544 V 2370(without)S 2713(having)S 3022(to)S 3137(redraw)S 3451(the)S 3611(entire)S 3876(region.)S 4224(Regions)S 4590(of)S 4711(the)S 4871(destination)S 5348(draw-)S 2664 V 2370(able)S 2573(which)S 2854(were)S 3084(previously)S 3543(covered)S 3895(by)S 4032(the)S 4191(mapping)S 4578(but)S 4743(which)S 5024(were)S 5253(exposed)S 2784 V 2370(by)S 2500(modifying)S 2947(the)S 3099(mapping)S 3479(are)S 3630(redrawn.)S 2952 V 10 B 1620(rgm)S 10 I 2370(Return)S 2697(the)S 2874(external)S 3257(parameters)S 3768(of)S 3902(a)S 4008(mapping)S 10 R 4358(.)S 4469(Parameter)S 4929(is)S 5052(the)S 5230(mapping)S 3072 V 2370(number,)S 2739(values)S 3033(returned)S 3404(\(in)S 3554(the)S 3714(string)S 3980("\\033[6;%d;%d)S 4642(%d;%d;%d;%d;%d;%d)S 3192 V 2370(%d;%d;%d;%d;%d;%d]"\))S 3452(are)S 3610(the)S 3769(mapping)S 4156(number,)S 4523(rasterop,)S 4907(source)S 5205(mapping,)S 3312 V 2370(type,)S 2622(x,)S 2752(y,)S 2882(width,)S 3190(height,)S 3520(and)S 3719(destination)S 4213(mapping,)S 4643(type,)S 4895(x,)S 5025(y,)S 5154(width)S 5436(and)S 3432 V 2370(height.)S 3600 V 10 B 1620(rem)S 10 I 2370(Enable)S 2698(a)S 2793(mapping)S 10 R 3143(.)S 3213(Parameters)S 3701(are)S 3867(the)S 4034(mapping)S 4429(number)S 4779(and)S 4968(an)S 5107(integer)S 5430(\257ag)S 3720 V 2370(indicating)S 2800(whether)S 3151(to)S 3259(refresh)S 3565(the)S 3717(mapping.)S 3888 V 10 B 1620(rdm)S 10 I 2370(Disable)S 2749(a)S 2867(mapping)S 10 R 3217(.)S 3310(Disabling)S 3768(a)S 3881(mapping)S 4300(does)S 4552(not)S 4749(a)S 4793 H (f)show 10 -.5 mul h (f)show 10 R 4854(ect)S 5039(the)S 5230(mapping)S 4008 V 2370(de\256nition,)S 2822(hence)S 3097(a)S 3184(disabled)S 3559(mapping)S 3951(may)S 4165(later)S 4384(be)S 4520(reenabled.)S 4974(Parameters)S 5459(are)S 4128 V 2370(the)S 2528(mapping)S 2914(number)S 3255(and)S 3435(an)S 3565(integer)S 3878(\257ag)S 4065(indicating)S 4502(whether)S 4860(to)S 4975(erase)S 5216(the)S 5375(map-)S 4248 V 2370(ping.)S 4416 V 10 B 1620(rrm)S 10 I 2370(Refresh)S 2705(a)S 2785(mapping)S 10 R 3135(.)S 3190(Parameter)S 3624(is)S 3721(the)S 3873(mapping)S 4253(number.)S 4584 V 10 B 1620(rfm)S 10 I 2370(Free)S 2588(a)S 2668(mapping)S 10 R 3018(.)S 3073(Parameter)S 3507(is)S 3604(the)S 3756(mapping)S 4136(number.)S 4872 V 9 B 900(MORE)S 1207(ON)S 1369(IMAGING)S 4992 V 10 R 1260(The)S 1457(imaging)S 1827(model)S 2119(of)S 2244(the)S 2408(Gterm)S 2705(widget)S 3019(de\256nes)S 3344(the)S 3508(following)S 3939(key)S 4125(object)S 4412(or)S 4538(data)S 4747(types:)S 10 I 5029(rasters)S 10 R 5307(,)S 10 I 5375(map-)S 5112 V 1260(pings)S 10 R 1477(,)S 1532(and)S 10 I 1706(colors)S 10 R 1956(.)S 5280 V 10 B 1260(raster)S 10 R 1760(A)S 1867(raster)S 2123(is)S 2225(a)S 2304(MxN)S 2550(array)S 2789(of)S 2907(pixels.)S 3236(At)S 3371(present)S 3694(pixels)S 3968(are)S 4124(8)S 4209(bits)S 4389(deep)S 4612(but)S 4775(hooks)S 5049(are)S 5205(built)S 5424(into)S 5400 V 1760(the)S 1915(widget)S 2220(to)S 2331(expand)S 2652(this)S 2830(in)S 2941(the)S 3096(future.)S 3422(Pixel)S 3661(values)S 3949(are)S 4103(indices)S 4419(into)S 4608(the)S 4762(Gterm)S 5049(virtual)S 5342(color-)S 5520 V 1760(map,)S 2004(with)S 2230(values)S 2533(starting)S 2881(at)S 3001(zero.)S 3275(A)S 3395(raster)S 3664(may)S 3884(be)S 4026(any)S 4218(size.)S 4476(A)S 4596(raster)S 4865(is)S 4980(merely)S 5305(a)S 5397(two-)S 5640 V 1760(dimensional)S 2284(array)S 2523(in)S 2636(the)S 2793(graphics)S 3166(server;)S 3472(it)S 3563(is)S 3665(not)S 3828(displayed)S 4246(unless)S 4530(mapped.)S 4935(An)S 5091(exception)S 5513(is)S 5760 V 1760(raster)S 2019(zero,)S 2253(which)S 2535(is)S 2640(the)S 2800(graphics)S 3176(window.)S 3592(Rasters)S 3925(are)S 4085(referred)S 4438(to)S 4555(by)S 4694(number,)S 5063(starting)S 5402(with)S 5880 V 1760(zero.)S 2029(Initially)S 2389(only)S 2610(raster)S 2874(zero)S 3088(exists;)S 3387(new)S 3595(rasters)S 3897(are)S 4060(created)S 4389(with)S 4609(the)S 4773(create)S 5052(raster)S 5315(escape)S 6000 V 1760(code)S 10 B 1980(rcr)S 10 R 2112(.)S 2199(Space)S 2469(for)S 2617(rasters)S 2909(may)S 3113(be)S 3239(allocated)S 3631(either)S 3890(in)S 4000(the)S 4154(graphics)S 4524(server,)S 4825(or)S 4941(in)S 5052(the)S 5207(X)S 5312(server.)S 6120 V 1760(This)S 1978(has)S 2151(implications)S 2686(on)S 2826(performance)S 3369(but)S 3537(is)S 3644(otherwise)S 4071(transparent)S 4553(to)S 4670(the)S 4831(client.)S 5147(By)S 5303(default)S 6240 V 1760(rasters)S 2050(are)S 2201(allocated)S 2591(in)S 2699(the)S 2851(graphics)S 3219(server,)S 3517(i.e.,)S 3694(in)S 3802(the)S 3954(X)S 4056(client.)S 6408 V 10 B 1260(mapping)S 10 R 1760(A)S 1863(mapping)S 2244(de\256nes)S 2558(a)S 2633(projection)S 3069(of)S 3183(a)S 3258(rectangle)S 3654(of)S 3768(the)S 3921(source)S 4212(raster)S 4464(onto)S 4673(a)S 4748(rectangle)S 5145(of)S 5260(the)S 5414(des-)S 6528 V 1760(tination)S 2110(raster.)S 2430(Mappings)S 2873(may)S 3088(be)S 3225(either)S 3495(enabled)S 3848(\(active\))S 4195(or)S 4321(disabled.)S 4752(When)S 5033(a)S 5120(mapping)S 5513(is)S 6648 V 1760(enabled,)S 2133(any)S 2315(change)S 2635(to)S 2751(a)S 2833(pixel)S 3072(in)S 3189(the)S 3350(source)S 3649(rect)S 3837(will)S 4032(cause)S 4292(the)S 4453(corresponding)S 5063(pixels)S 5341(in)S 5458(the)S 6768 V 1760(destination)S 2239(rect)S 2428(to)S 2546(be)S 2680(updated.)S 3090(Mappings)S 3529(are)S 3689(referred)S 4042(to)S 4159(by)S 4298(number)S 4642(starting)S 4981(with)S 5198(one.)S 5436(Ini-)S 6888 V 1760(tially)S 2005(no)S 2144(mappings)S 2572(are)S 2732(de\256ned.)S 3120(If)S 3225(the)S 3386(size)S 3580(of)S 3702(the)S 3863(input)S 4108(and)S 4291(output)S 4587(rect)S 4776(is)S 4883(not)S 5051(the)S 5213(same)S 5458(the)S 7008 V 1760(input)S 2010(rect)S 2203(will)S 2402(be)S 2539(scaled)S 2831(by)S 2974(pixel)S 3217(replication)S 3687(or)S 3813(subsampling)S 4362(to)S 4483(\256ll)S 4638(the)S 4803(output)S 5102(rect.)S 5349(If)S 5458(the)S 7128 V 1760(argument)S 2174(DW)S 2377(\(destination)S 2886(width\))S 3184(or)S 3304(DH)S 3485(\(destination)S 3994(height\))S 4314(of)S 4434(the)S 4593(destination)S 5069(rect)S 5255(is)S 5359(nega-)S 7248 V 1760(tive,)S 1969(the)S 2125(image)S 2403(will)S 2593(be)S 2721(\257ipped)S 3033(around)S 3344(the)S 3500(corresponding)S 4105(axis)S 4299(when)S 4548(copied)S 4847(to)S 4958(the)S 5113(destination;)S 7728 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5480(10)S 7920 V EP %%Page: 11 12 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 1760(the)S 1919(region)S 2211(of)S 2331(the)S 2490(destination)S 2966(drawn)S 3252(into)S 3445(is)S 3550(the)S 3710(same)S 3953(in)S 4069(either)S 4334(case.)S 4598(Multiple)S 4981(mappings)S 5408(may)S 1080 V 1760(reference)S 2162(the)S 2317(same)S 2555(source)S 2848(or)S 2964(destination)S 3436(raster.)S 3745(Mappings)S 4178(are)S 4332(refreshed)S 4735(in)S 4846(order)S 5089(by)S 5221(the)S 5375(map-)S 1200 V 1760(ping)S 1972(number.)S 2366(Modifying)S 2828(a)S 2907(mapping)S 3292(causes)S 3587(the)S 3744(changed)S 4111(regions)S 4440(of)S 4558(the)S 4715(destination)S 5189(rect)S 5373(to)S 5486(be)S 1320 V 1760(refreshed.)S 1488 V 10 B 1260(color)S 10 R 1760(The)S 10 I 1964(Gterm)S 10 R 2268(widget)S 2590(provides)S 2984(a)S 3078(\256xed)S 3328(number)S 3683(of)S 3816(preassigned)S 4337(colors)S 4631(corresponding)S 5252(to)S 5380(pixel)S 1608 V 1760(values)S 2058(0)S 2151(through)S 2505(9.)S 2623(Zero)S 2854(is)S 2964(the)S 3129(background)S 3643(color,)S 3916(one)S 4103(is)S 4213(the)S 4378(foreground)S 4864(color,)S 5136(and)S 5322(2-9)S 5497(\(8)S 1728 V 1760(colors\))S 2075(are)S 2234(arbitrary)S 2615(colors)S 2897(de\256ned)S 3230(by)S 3369(Gterm)S 3663(widget)S 3974(resources.)S 4444(These)S 4721(static)S 4971(colors)S 5254(are)S 5414(nor-)S 1848 V 1760(mally)S 2021(used)S 2237(to)S 2348(draw)S 2580(the)S 2735(background,)S 3264(frame,)S 3554(axes,)S 3789(titles,)S 4042(etc.)S 4216(of)S 4332(a)S 4409(plot,)S 4623(or)S 4739(to)S 4850(draw)S 5082(color)S 5320(graph-)S 1968 V 1760(ics)S 1904(within)S 2193(the)S 2348(drawing)S 2708(area.)S 2961(The)S 3149(advantage)S 3586(of)S 3702(static)S 3946(colors)S 4223(is)S 4324(that)S 4508(they)S 4714(are)S 4869(shared)S 5163(with)S 5375(other)S 2088 V 1760(X)S 1867(clients,)S 2188(and)S 2367(the)S 2524(values)S 2814(of)S 2932(these)S 3172(colors)S 3451(may)S 3658(be)S 3787(assigned)S 4166(by)S 4301(the)S 4458(user)S 4658(to)S 4770(personalize)S 5258(the)S 5414(way)S 2208 V 1760(plots)S 1985(look.)S 2448 V 1760(The)S 10 I 1956(Gterm)S 10 R 2252(widget)S 2565(also)S 2767(allows)S 3069(any)S 3254(number)S 3600(\(up)S 3774(to)S 3893(about)S 4157(200)S 4349(or)S 4474(so\))S 4638(additional)S 5080(colors)S 5366(to)S 5486(be)S 2568 V 1760(de\256ned)S 2086(at)S 2190(runtime)S 2532(by)S 2663(the)S 2816(client)S 3069(application.)S 3599(These)S 3868(color)S 4104(values)S 4390(start)S 4593(at)S 4696(pixel)S 4927(value)S 5174(10)S 5305(and)S 5480(go)S 2688 V 1760(up)S 1891(to)S 2000(the)S 2153(maximum)S 2590(pixel)S 2821(value)S 3068(assigned)S 3443(by)S 3575(the)S 3729(client.)S 4038(The)S 4225(client)S 4479(application)S 4955(allocates)S 5336(colors)S 2808 V 1760(with)S 1985(the)S 2154(write)S 2406(colormap)S 2830(escape)S 3142(code)S 10 B 3377(rwc)S 10 R 3537(.)S 3638(Attempts)S 4051(to)S 4175(overwrite)S 4603(the)S 4771(values)S 5072(of)S 5201(the)S 5369(static)S 2928 V 1760(colors)S 2045(are)S 2207(ignored.)S 2608(The)S 2804(values)S 3100(of)S 3225(already)S 3560(allocated)S 3962(colors)S 4248(may)S 4462(be)S 4598(changed)S 4972(dynamically)S 5508(at)S 3048 V 1760(runtime)S 2101(using)S 2348(write)S 2583(colormap)S 2990(code)S 3208(to)S 3316(write)S 3551(the)S 3703(desired)S 4021(range)S 4272(of)S 4385(color)S 4620(values.)S 3288 V 1760(Applications)S 2320(should)S 2636(not)S 2813(assume)S 3157(that)S 3357(there)S 3606(are)S 3777(10)S 3927(static)S 4188(colors)S 4482(and)S 4676(200)S 4876(or)S 5009(so)S 5148(allocatable)S 3408 V 1760(colors.)S 2106(The)S 2308(IRAF)S 2583(graphcap)S 2994(entry)S 3245(for)S 3407(the)S 3575(logical)S 3893(device)S 4199(in)S 4323(use,)S 4527(and)S 4717(resources)S 5139(set)S 5296(for)S 5458(the)S 3528 V 1760(widget,)S 2095(de\256nes)S 2416(these)S 2659(parameters)S 3134(for)S 3288(the)S 3449(device.)S 3803(Alternatively,)S 4394(the)S 4555(read)S 4765(colormap)S 5181(code)S 5408(may)S 3648 V 1760(be)S 1901(used)S 2131(to)S 2256(dynamically)S 2797(determine)S 3243(how)S 3462(many)S 3731(colors)S 4022(the)S 4191(server)S 4481(has)S 4661(preallocated)S 5195(when)S 5458(the)S 3768 V 1760(application)S 2234(starts)S 2475(up.)S 4008 V 1760(An)S 1913(image)S 2188(may)S 2391(use)S 2555(either)S 2813(static)S 3055(and)S 3230(dynamic)S 3605(pixel)S 3836(values)S 4122(or)S 4236(both)S 4445(types)S 4688(of)S 4803(values,)S 5115(but)S 5275(in)S 5385(most)S 4128 V 1760(cases)S 2006(imaging)S 2370(applications)S 2889(involve)S 3225(smoothly)S 3634(shaded)S 3947(surfaces)S 4309(hence)S 4577(will)S 4769(require)S 5086(dynamically)S 4248 V 1760(assigned)S 2134(private)S 2441(colors.)S 4488 V 1760(If)S 1878(for)S 2046(some)S 2309(reason)S 2621(the)S 2795(client)S 3069(application)S 3565(cannot)S 3883(use)S 4068(the)S 10 I 4242(Gterm)S 10 R 4549(widget)S 4873(color)S 5130(model,)S 5458(the)S 4608 V 1760(IOMAP)S 2116(feature)S 2426(can)S 2598(be)S 2726(used)S 2943(to)S 3055(make)S 3305(the)S 3461(widget)S 3767(appear)S 4065(to)S 4176(have)S 4397(some)S 4641(externally)S 5073(de\256ned)S 5400(\(i.e.,)S 4728 V 1760(client)S 2012(de\256ned\))S 2369(color)S 2604(model.)S 4896 V 1260(The)S 1459(maximum)S 1910(number)S 2260(of)S 2388(rasters)S 2693(and)S 2882(maximum)S 3333(number)S 3683(of)S 3811(mappings)S 4245(is)S 4357(de\256ned)S 4696(by)S 4841(the)S 5008(Gterm)S 5308(widget)S 5016 V 1260(resources)S 10 I 1671(maxRaster)S 10 R 2133(and)S 10 I 2311(maxMappings)S 10 R 2911(\(or)S 3061(in)S 3173(the)S 3329(GUI)S 3540(\256le\))S 3735(when)S 3985(the)S 4141(graphics)S 4513(application)S 4991(starts)S 5236(up.)S 5425(The)S 5136 V 1260(maximum)S 1698(values)S 1985(should)S 2284(be)S 2410(much)S 2664(larger)S 2928(than)S 3132(most)S 3359(applications)S 3874(require.)S 4244(Applications)S 4788(should)S 5088(allocate)S 5431(ras-)S 5256 V 1260(ter)S 1396(or)S 1510(mapping)S 1891(numbers)S 2266(sequentially)S 2780(starting)S 3111(at)S 3214(1)S 3295(\(more)S 3564(or)S 3678(less\))S 3892(to)S 4001(avoid)S 4254(running)S 4595(out)S 4753(of)S 4866(raster)S 5117(or)S 5230(mapping)S 5376 V 1260(descriptors.)S 5616 V 1260(The)S 1448({read|write}pixels)S 2212(escape)S 2510(codes)S 2770(operate)S 3096(directly)S 3434(on)S 3567(raster)S 3821(pixels.)S 4148(The)S 4336(mapping)S 4720(escape)S 5019(codes)S 5280(support)S 5736 V 1260(two)S 1449(alternative)S 1909(coordinate)S 2369(systems,)S 2750(raster)S 3010(pixels)S 3288(and)S 3470(NDC)S 3719(\(normalized)S 4239(device)S 4537(coordinates\),)S 5093(as)S 5214(indicated)S 5856 V 1260(by)S 1391(the)S 1544(ST)S 1692(or)S 1806(DT)S 1971(argument)S 2380(\(source)S 2705(or)S 2820(destination)S 3291(coordinate)S 3744(type\).)S 4036(Note)S 4262(that)S 4444(the)S 4598(origin)S 4869(of)S 4984(the)S 5138(pixel)S 5370(coor-)S 5976 V 1260(dinate)S 1548(system)S 1870(is)S 1981(the)S 2147(upper)S 2418(left)S 2595(corner)S 2893(of)S 3020(the)S 3186(display)S 3519(window)S 3885(\(consistent)S 4362(with)S 4584(most)S 4823(graphics)S 5205(systems\),)S 6096 V 1260(whereas)S 1616(the)S 1768(origin)S 2037(of)S 2150(the)S 2302(NDC)S 2543(coordinate)S 2994(system)S 3302(is)S 3399(the)S 3551(lower)S 3808(left)S 3971(corner)S 4255(\(consistent)S 4718(with)S 4926(IRAF\).)S 6336 V 1260(Pixel)S 1503(coordinates)S 2000(allow)S 2259(precise)S 2578(control)S 2898(of)S 3018(imaging)S 3383(but)S 3548(require)S 3867(the)S 4026(application)S 4507(to)S 4622(know)S 4881(the)S 5040(window)S 5400(size,)S 6456 V 1260(and)S 1443(may)S 1654(result)S 1915(in)S 2032(complications)S 2632(e.g.)S 2815(if)S 2915(the)S 3075(window)S 3435(is)S 3540(resized.)S 3915(NDC)S 4164(coordinates)S 4662(pretty)S 4933(much)S 5193(guarantee)S 6576 V 1260(that)S 1450(a)S 1535(mapping)S 1926(will)S 2123(involve)S 2464(sampling,)S 2897(hence)S 3170(are)S 3332(not)S 3501(the)S 3664(most)S 3900(e)S 3944 H (f)show 10 -.5 mul h (\256)show 10 R 4028(cient,)S 4288(but)S 4457(the)S 4620(graphics)S 4999(will)S 5196(be)S 5331(drawn)S 6696 V 1260(correctly)S 1656(no)S 1798(matter)S 2095(how)S 2308(the)S 2471(window)S 2834(is)S 2942(resized)S 3265(and)S 3450(for)S 3607(most)S 3843(applications)S 4367(the)S 4530(performance)S 5074(di)S 5152 H (f)show 10 -.5 mul h (f)show 10 R 5213(erence)S 5513(is)S 6816 V 1260(negligible.)S 1754(Most)S 1999(applications)S 2521(should)S 2827(use)S 2999(NDC)S 3249(coordinates)S 3748(for)S 3903(raster)S 4163(0)S 4252(\(the)S 4447(display)S 4776(window\),)S 5196(and)S 5380(pixel)S 6936 V 1260(coordinates)S 1750(for)S 1896(rasters)S 2186(1-N.)S 7176 V 1260(Although)S 1672(the)S 1828(size)S 2017(of)S 2134(rasters)S 2428(1)S 2512(and)S 2690(higher)S 2979(are)S 3134(de\256ned)S 3462(by)S 3596(the)S 3752(client)S 4008(application,)S 4511(the)S 4667(size)S 4856(of)S 4973(raster)S 5228(zero,)S 5458(the)S 7296 V 1260(actual)S 1533(gterm)S 1801(display)S 2125(window,)S 2507(is)S 2609(subject)S 2927(to)S 3040(the)S 3197(constraints)S 3665(of)S 3783(the)S 3940(window)S 4296(system.)S 4663(The)S 4852(client)S 5108(can)S 5280(attempt)S 7776 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5480(11)S 7920 V EP %%Page: 12 13 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 1260(to)S 1369(reset)S 1588(the)S 1741(size)S 1927(of)S 2041(the)S 2194(gterm)S 2458(window)S 2811(using)S 3059(create)S 3327(raster)S 3579(escape)S 3875(with)S 4084(raster=0,)S 4467(however)S 4842(the)S 4996(Gterm)S 5283(widget,)S 1080 V 1260(UI)S 1398(containing)S 1853(the)S 10 I 2008(Gterm)S 10 R 2296(widget,)S 2626(and)S 2803(the)S 2958(window)S 3313(manager)S 3689(are)S 3843(all)S 3976(free)S 4163(to)S 4274(deny)S 4500(such)S 4715(a)S 4791(request.)S 5166(The)S 5353(query)S 1200 V 1260(raster)S 1511(escape)S 1806(should)S 2103(be)S 2227(called)S 2495(to)S 2603(determine)S 3032(the)S 3184(actual)S 3452(size)S 3637(of)S 3750(the)S 3902(window)S 4254(one)S 4428(will)S 4614(be)S 4738(drawing)S 5095(into.)S 1488 V 9 B 1080(AN)S 1252(EXAMPLE)S 1744(IMAGING)S 2211(APPLICATION)S 1608 V 10 R 1260(An)S 1413(example)S 1782(of)S 1896(a)S 1972(simple)S 2271(imaging)S 2631(application)S 3107(might)S 3373(be)S 3499(one)S 3675(that)S 3857(downloads)S 4322(an)S 4448(image)S 4724(and)S 4900(displays)S 5260(it)S 5348(in)S 5458(the)S 1728 V 1260(gterm)S 1530(window,)S 1914(\256lling)S 2191(the)S 2350(window.)S 2764(This)S 2979(could)S 3238(be)S 3368(done)S 3598(as)S 3717(follows)S 4053(\(following)S 4511(a)S 4591(graphics)S 4965(open)S 5195(and)S 5375(other)S 1848 V 1260(escape)S 1555(codes)S 1812(to)S 1920(prepare)S 2248(the)S 2400(drawing)S 2757(surface\).)S 2136 V 10 I 1260(create)S 1539(raster)S 10 R 2010(Create)S 2301(raster)S 2554(1)S 2636(the)S 2790(size)S 2977(of)S 3092(the)S 3246(pixel)S 3478(array)S 3714(to)S 3824(be)S 3950(displayed.)S 4390(This)S 4600(need)S 4820(not)S 4980(be)S 5106(the)S 5260(same)S 5497(as)S 2256 V 2010(the)S 2162(size)S 2347(of)S 2460(the)S 2612(gterm)S 2875(display)S 3194(window.)S 2424 V 10 I 1260(set)S 1401(mapping)S 10 R 2010(De\256ne)S 2309(a)S 2386(mapping)S 2769(between)S 3134(raster)S 3388(1)S 3472(and)S 3650(raster)S 3905(0,)S 4014(the)S 4170(display)S 4493(window,)S 4874(using)S 5125(NDC)S 5370(coor-)S 2544 V 2010(dinates)S 2324(to)S 2433(de\256ne)S 2708(the)S 2861(region)S 3147(of)S 3261(the)S 3414(display)S 3734(window)S 4087(to)S 4196(be)S 4321(\256lled.)S 4613(The)S 4798(mapping)S 5178(number)S 5513(is)S 2664 V 2010(arbitrary)S 2394(but)S 2564(mappings)S 2995(should)S 3304(normally)S 3707(be)S 3843(allocated)S 4245(starting)S 4587(with)S 4807(1.)S 4924(The)S 5121(mapping)S 5513(is)S 2784 V 2010(automatically)S 2584(enabled)S 2924(when)S 3170(\256rst)S 3356(de\256ned.)S 2952 V 10 I 1260(write)S 1496(colormap)S 10 R 2010(\(Optional\).)S 2511(De\256ne)S 2807(the)S 2959(pixel)S 3189(value)S 3435(to)S 3543(RGB)S 3779(color)S 4014(assignments)S 4533(for)S 4679(the)S 4831(image)S 5105(pixels.)S 3120 V 10 I 1260(write)S 1496(pixels)S 10 R 2010(This)S 2221(escape)S 2519(is)S 2619(called)S 2890(one)S 3067(or)S 3183(more)S 3421(times)S 3672(to)S 3784(write)S 4023(pixels)S 4296(into)S 4486(raster)S 4741(1.)S 4850(At)S 4984(most)S 5213(32K)S 5419(pix-)S 3240 V 2010(els)S 2152(can)S 2321(be)S 2446(written)S 2760(in)S 2869(each)S 3082(call.)S 3312(As)S 3454(each)S 3666(write)S 3901(is)S 3998(made)S 4244(the)S 4396(a)S 4440 H (f)show 10 -.5 mul h (f)show 10 R 4501(ected)S 4741(region)S 5026(of)S 5139(the)S 5291(display)S 3360 V 2010(window)S 2362(will)S 2548(be)S 2672(updated.)S 3528 V 1260(Alternatively,)S 1855(one)S 2042(could)S 2307(write)S 2555(the)S 2720(pixels)S 3002(and)S 3189(then)S 3404(de\256ne)S 3692(the)S 3858(mapping)S 4252(to)S 4374(cause)S 4639(the)S 4805(entire)S 5076(image)S 5364(to)S 5486(be)S 3648 V 1260(displayed)S 1673(at)S 1775(once.)S 3888 V 1260(Note)S 1487(that)S 1670(the)S 1825(imaging)S 2186(escape)S 2484(can)S 2655(be)S 2782(combined)S 3209(with)S 3420(normal)S 3736(graphics)S 4107(to)S 4219(draw)S 4452(text)S 4636(and)S 4814(graphics)S 5186(around)S 5497(or)S 4008 V 1260(on)S 1407(top)S 1581(of)S 1710(an)S 1850(image)S 2140(region.)S 2496(The)S 2697(order)S 2953(in)S 3077(which)S 3367(drawing)S 3740(operations)S 4202(occur)S 4469(is)S 4582(important,)S 5042(e.g.,)S 5257(to)S 5381(draw)S 4128 V 1260(graphics)S 1628(or)S 1741(text)S 1921(on)S 2051(top)S 2209(of)S 2322(an)S 2446(image)S 2720(the)S 2872(image)S 3146(should)S 3443(be)S 3567(drawn)S 3846(\256rst.)S 4416 V 9 B 900(MARKERS)S 4536 V 10 R 1260(Markers)S 1625(are)S 1780(a)S 1858(general)S 2185(feature)S 2495(of)S 2612(the)S 10 I 2768(Gterm)S 10 R 3057(widget)S 3363(and)S 3541(are)S 3696(used)S 3913(more)S 4152(extensively)S 4641(in)S 4753(other)S 4992(programs)S 5403(\(e.g.)S 4656 V 1260(the)S 1413(prototype)S 1827(IRAF)S 2086(science)S 2410(GUI)S 2618(applications\),)S 3190(but)S 3349(they)S 3552(have)S 3771(no)S 3902(real)S 4082(use)S 4246(in)S 10 I 4354(xgterm)S 10 R 4661(when)S 4907(used)S 5120(as)S 5233(simply)S 5536(a)S 4776 V 1260(graphics)S 1634(terminal.)S 2028(All)S 2192(markers)S 2549(share)S 2795(some)S 3043(of)S 3163(the)S 3322(same)S 3564(characteristics,)S 4196(so)S 4322(it)S 4415(is)S 4519(worthwhile)S 5011(learning)S 5375(basic)S 4896 V 1260(marker)S 1593(manipulation)S 2172(keystrokes)S 2650(\(as)S 2817(de\256ned)S 3162(using)S 3430(the)S 3603(default)S 3930(marker)S 4262(translations\),)S 4831(especially)S 5280(how)S 5502(to)S 5016 V 1260(delete)S 1528(an)S 1652(accidentally)S 2164(created)S 2481(marker:)S 5184 V 10 B 1620(o)S 10 I 1770(Delete)S 10 R 2060(or)S 10 I 2173(Backspace)S 10 R 2629(in)S 2737(a)S 2811(marker)S 3123(deletes)S 3430(it.)S 5352 V 10 B 1620(o)S 10 R 1770(MB1)S 2006(anywhere)S 2423(inside)S 2692(a)S 2766(marker)S 3078(may)S 3280(be)S 3404(used)S 3617(to)S 3725(drag)S 3932(the)S 4084(marker.)S 5520 V 10 B 1620(o)S 10 R 1770(MB1)S 2006(near)S 2207(a)S 2281(marker)S 2593(corner)S 2877(or)S 2990(edge,)S 3233(depending)S 3679(on)S 3809(the)S 3961(type)S 4163(of)S 4276(marker,)S 4613(resizes)S 4914(the)S 5066(marker.)S 5688 V 10 B 1620(o)S 10 R 1770(Shift-MB1)S 2234(on)S 2364(the)S 2516(corner)S 2800(of)S 2913(most)S 3138(markers)S 3489(will)S 3675(rotate)S 3932(the)S 4084(marker.)S 5856 V 10 B 1620(o)S 10 R 1770(Markers)S 2138(stack,)S 2404(if)S 2501(you)S 2687(have)S 2911(several)S 3230(markers)S 3588(and)S 3769(you)S 3956(put)S 4121(one)S 4302(on)S 4439(top)S 4604(of)S 4724(the)S 4883(other.)S 5150(The)S 5342(active)S 5976 V 1770(marker)S 2086(is)S 2187(highlighted)S 2677(to)S 2788(tell)S 2949(you)S 3132(which)S 3409(of)S 3525(the)S 3680(stacked)S 4012(markers)S 4366(is)S 4466(active.)S 4762(If)S 4861(the)S 5016(markers)S 5370(over-)S 6096 V 1770(lap,)S 1947(this)S 2122(will)S 2308(be)S 2432(marker)S 2744("on)S 2915(top")S 3114(in)S 3222(the)S 3374(stacking)S 3737(order.)S 6264 V 10 B 1620(o)S 10 R 1770(MB2)S 2006(in)S 2115(the)S 2268(body)S 2499(of)S 2613(a)S 2688(marker)S 3001("lowers")S 3380(the)S 3533(marker,)S 3871(i.e.)S 4024(moves)S 4316(it)S 4403(to)S 4512(the)S 4665(bottom)S 4980(of)S 5094(the)S 5247(stacking)S 6384 V 1770(order.)S 6672 V 9 B 900(ENVIRONMENT)S 6792 V 10 I 1260(XGterm)S 10 R 1614(sets)S 1802(the)S 1963(environment)S 2507(variables)S 2906(``TERM'')S 3355(and)S 3538(``TERMCAP'')S 4182(properly)S 4559(for)S 4714(the)S 4875(size)S 5069(window)S 5430(you)S 6912 V 1260(have)S 1496(created.)S 1886(It)S 1995(also)S 2204(uses)S 2424(and)S 2616(sets)S 2814(the)S 2983(environment)S 3535(variable)S 3903(``DISPLAY'')S 4504(to)S 4629(specify)S 4964(which)S 5255(bit)S 5408(map)S 7032 V 1260(display)S 1582(terminal)S 1948(to)S 2059(use.)S 2280(The)S 2468(environment)S 3007(variable)S 3362(``WINDOWID'')S 4070(is)S 4171(set)S 4316(to)S 4428(the)S 4584(X)S 4690(window)S 5046(id)S 5158(number)S 5497(of)S 7152 V 1260(the)S 10 I 1412(xgterm)S 10 R 1719(window.)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5480(12)S 7920 V EP %%Page: 13 14 BP /slant 0 def /height 1.000000 def 10 R 10 R 480 V 900(XGTERM)S 1338(\()S 1387(1)S 1453(\))S 2787(USER COMMANDS )S 4994(XGTERM)S 5432(\()S 5481(1)S 5547(\))S 960 V 9 B 900(SEE)S 1097(ALSO)S 1080 V 10 R 1260(xterm\(1\),)S 1664(resize\(1\),)S 2067(X\(1\),)S 2310(pty\(4\),)S 2609(tty\(4\))S 1200 V 10 I 1260(Xterm)S 1534(Control)S 1876(Sequences)S 10 R 2321(\(in)S 2462(the)S 10 I 2614(xterm)S 10 R 2871(source)S 3161(directory\))S 1488 V 9 B 900(BUGS)S 1608 V 10 R 1260(Many)S 1523(of)S 1636(the)S 1788(same)S 2023(bugs)S 2242(a)S 2286 H (f)show 10 -.5 mul h (f)show 10 R 2347(ecting)S 10 I 2621(xterm)S 10 R 2878(also)S 3069(apply)S 3321(here.)S 1848 V 10 I 1260(Xgterm)S 10 R 1592(is)S 1698(not)S 1865(normally)S 2265(installed)S 2643(with)S 2860(setuid)S 3138(permissions.)S 3710(On)S 3871(some)S 4121(Linux)S 4399(systems,)S 4780(for)S 4935(example,)S 5337(where)S 1968 V 1260(the)S 1415(/dev/tty)S 1754(and)S 1930(/dev/pty)S 2290(devices)S 2621(have)S 2841(root)S 3034(ownership)S 3482(and)S 3658(permission)S 4129(600)S 4311(this)S 4488(can)S 4658(cause)S 4911(problems.)S 5370(Wor-)S 2088 V 1260(karounds)S 1659(are)S 1813(to)S 1924(either)S 2184(install)S 10 I 2462(XGterm)S 10 R 2811(with)S 3022(setuid)S 3294(permissions)S 3805(or)S 3922(modify)S 4245(the)S 4401(/dev/tty)S 4741(and)S 4919(/dev/pty)S 5281(devices)S 2208 V 1260(to)S 1368(have)S 1586(permission)S 2055(666.)S 2496 V 9 B 900(COPYRIGHT)S 2616 V 10 R 1260(Copyright\(c\))S 1806(1986)S 2036(Association)S 2538(of)S 2651(Universities)S 3164(for)S 3310(Research)S 3705(in)S 3813(Astronomy)S 4293(Inc.)S 7680 V 900(X11IRAF Project)S 2709(Last change: 16 Dec 1996)S 5480(13)S 7920 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic Symbol Troff %%Pages: 14