open look gui frequently asked questions frequently asked questions about the open look graphical user interface if your question isn t here please try at least man openwin man xnews man xview and looking in the appropriate manuals listed in the bibliography below before posting to the comp windows open look comp windows x or alt toolkits xview newsgroups and or their corresponding mailing lists special notes i have not updated this faq for the recently announced openwindows due to ship later this year yes sun is moving to motif along with all of cose but the motif to which they move will be a new motif with some of the open look ui features added yes openwindows will use dps instead of news news is dead this means tnt is dead too xview and olit will be supported but probably not enhanced after the next release i don t know if there will be a source release of xview or not the cose environment will include at least some of sun s deskset ported to motif look for calendar manager and mailtool at least yes the new mailtool will be mime compliant frequently asked questions for x are posted to comp windows x monthly this is version revision last posted version contents in rn and trn you can use control g to go to the next topic subject terminology open look openwindows x xview mo olit motif subject window managers olwm olvwm subject openwindows terminals and other displays subject configuration files getting started with openwindows subject key bindings cut and paste subject applications finding out subject deskset calendar manager etc subject trouble shooting strange error messages subject trouble shooting it won t let me type subject trouble shooting not authorized to use display subject trouble shooting other common problems subject trouble shooting xview problems subject fonts subject environment variables subject where can i get it ftp implementations etc subject bibliography books manuals journals papers beer mats subject getting this file revision history recent changes subject terminology open look openwindows x xview olit moolit motif what is open look open look is a specification of a graphical user interface gui a gui determines the look and feel of a system the shape of windows buttons and scroll bars how you resize things how you edit files etc the open look gui is specified developed and maintained jointly by sun microsystems and at t or usl see also bibliography what is openwindows openwindows is a windowing environment that conforms to the open look graphical user interface specifications it s compatible with the x window system from mit as well as currently sun s news and sunview so you can intermix programs written for any of those systems it comes from sun and also with system v release from certain vendors openwindows is sometimes also called openwin or xnews after the program used to start it and the main executable itself respectively it should not be called windows or open look or openlook as these terms are either wrong or apply to something else a commerical openwindows source licence costs about for the server plus about for deskset and another for tooltalk the current versions of openwindows for various platforms are sunos on sun solaris x sunos x on sparc solaris sunos on sparc see also mixing x and openwindows where can i get it what are olit xview and tnt these are all toolkits for programmers to use in developing programs that conform to the open look specifications see the bibliography for documentation on the individual toolkits here s a brief summary olit was at t s open look intrinsics toolkit for the x window system it used a widget set and was probably the easiest for people who were already x xt programmers to learn you could buy the source from at t although you didn t get the same version tht sun ship sun includes the olit library in openwindows q v it is also often included in system v release it was written in c the release of olit in openwindows was olit olit support passed to usl then a division of at t now owned by novell who replaced it with moolit q v note that because of the nature of xt subclassing you will probably want or need olit source in order to develop a large application or anything else that uses subclasses see the proceedings of the x technical conference xview is sun s toolkit for x written in c xview is similar in programmer interface to sunview there s even a shell script to help migrate source code from sunview to xview xview is often said to be the easiest toolkit to learn if you are not familiar with x windows the xview toolkit is included in openwindows and full source is available by anonymous ftp from export lcs mit edu and elsewhere the current version of xview from sun is despite rumours to the contrary some even from within sun the xview toolkit is not about to be dropped by sun xview will be included in the next release of openwindows unlike news on the other hand the xview toolkit is not likely to receive as much attention from sun in the future as olit the news toolkit tnt was an object oriented programming system based on the postscript language and news tnt implements many of the open look interface components required to build the user interface of an application it s currently included in openwindows the current version of tnt from sun is release contains some incompatibilities with tnt and tnt but sun are committed to supporting the api at least until they stop news support some time later this year and replace it with display postscript wail you might ask what is committed to means in this context the answer seems to be that it means absolutely nothing sun currently asserts that it is committed to olit however the c user interface toolkit uit consists of an object oriented c class library layered on top of xview and a tool to generate code from devguide gil files the uit also includes features that simplify event management and the use of postscript and color it is said to be compatible with openwindows v and v and presumably v since the release mentions that it works on solaris uit is not an official sun supported product but an ongoing project of various people within sun it can be found on export lcs mit edu in the mit contrib directory as uitv tar z use binary mode where does motif fit in it doesn t motif is an alternative graphical user interface that is being developed by osf it has a look and feel reminiscent of microsoft windows and the os presentation manager there are no non commercial motif toolkits available although the motif source is sold reasonably cheaply by osf although motif is currently available on more platforms than openwindows the open look gui is almost certainly used on many more machines simply because sun and sysvr have such a large installed base sun s cd ware volume contains a roadmap for improving motif applications by converting them to olit there are also notes in the periodic table olit demo openwinhome demo olittable what is moolit moolit is a version of olit from at t usl that lets users choose between a motif and an open look ui feel at run time it will be part of system v release contact joanne newbauer jo usl com what about that display postscript thing sun and adobe have agreed that sun will include the dps extension to x in the next release of openwindows dps is essentially a badly designed hack on top of a slow level postscript interpreter intended to give a very small subset of the functionality of news whilst simultaneously being harder to use as i understand it the only real advantage it has over news is that the manual is much smaller being generally less complete dps is also available on more kinds of machine performance on our rs is not suitable for interactive work what it will be like on the sparcstation remains to be seen note that whereas x news fonts are shared by both subsystems the dps extension to x does not make type postscript fonts available to ordinary x programs it is not like atm on a pc in this regard there is at least one third party version which does make fonts available however subject window managers olwm olvwm what are olwm and olvwm they are window managers a window manager is the part of the x window system e g x that is responsible for deciding how to lay out windows on the screen and for managing the user s interaction with the windows olwm is the standard open look window manager it s included with all of the openwindows q v implementations and you can also get the source by ftp since sun donated it olvwm is a version of olwm that manages a virtual desktop hence the v in its name it shows a little map on the screen with the currently displayed area represented by a little rectangle you can move around by dragging the rectangle or with the arrow keys this lets you run several clients applications and move the display around from one to the other olvwm was derived from the openwindows olwm by scott oaks you need to have xview to compile it get olvwm from an ftp site such as export lcs mit edu in the contrib directory there are three patches can i use my favorite window manager with openwindows instead of olwm yes if you use twm for example or mwm you won t be able to use the pin and unpin feature of olwm and you probably won t see the footers some windows use to display certain messages if you use twm you ll want to use the f delete function to unpin menus and get rid of programs that don t have a quit button when not run under olwm for twm put this in your home twmrc lefttitlebutton target f delete where target is a x icon from usr include x bitmaps alternatively try add a menu to each window managed by twm or tvtwm lefttitlebutton menu f menu ol menu menu ol menu quit f delete for mwm you can double click on the menu icon on the left of the title bar to dismiss a pop up window i am told see the manual page for your window manager twm etc subject openwindows terminals and other displays can i use olwm and olvwm without openwindows or on an x terminal the openwindows xnews server combines sunview news postscript and x this means that it can run programs compiled for any of those systems unfortunately it means that some openwindows programs need either news or sunview support and thus won t run on an x terminal this includes pageview in particular you can use olwm or olvwm see above on an x terminal or a non open windows display and most open look clients e g olit or xview ones will work perfectly well you may find that you get complaints about fonts not being found if so see the fonts section below if you are running the window manager built in to an ncd terminal you may have problems with input focus setting input true in the terminal s xdefault file in usr lib x xdm may or may not help subject configuration files getting started with openwindows what configuration files do i need to know about xinitrc and xsessionrc the first time you run openwindows a xinitrc file will be created in your login directory home if it already exists you might have to edit it somewhat it s simplest to move it and any other old x files you have to another directory and then merge the old and new files if your site uses xdm you should use xsession instead of xinitrc since xdm doesn t look at your xinitrc file openwin init openwin menu and openwin sys these are optional files you can create in your home directory depending on which version of olwm or olvwm you use look in openwinhome lib normally usr openwin lib for these files without the leading and copy any you want to change you may need to edit your xinitrc to get them recognized if you are not on an x terminal you will want to run a console window such as cmdtool c shelltool c xterm c or chuck musciano s contool program so that system output will be directed there instead of writing over your screen note that openwin sys is not executed unless you edit xinitrc xdefaults you can put x windows resource specifications in here in particular it is a good idea to include at least openwindows focuslenience true input true these allow non icccm compliant programs to receive input even if they forget to ask for it props the program that runs when you select properties from the default root menu under olwm or olvwm writes your choices into xdefaults don t put comments in xdefaults since props deletes them startup ps this is the news user profile file read by openwindows actually xnews on startup this is documented in the news programming manual near the back the most useful thing to put here is postscript code to change the keyboard repeat rate although you must be very careful since a syntax error in the postscript means that xnews will either not start up at all or will get broken in strange ways the news manual gives code that is both incorrect and insufficient warning things in this file rarely work on both openwindows and note that the mouse speed is best set in your xinitrc with xset m see the man page for xset man xset and xset help for more information here s what home startup ps should look like if you want a delay of about a third of a second microseconds and a repeat rate of twenty or so keys per second microseconds between repeats for openwindows you ll have to experiment a bit because the repeattime is the delay between keys sent and thus doesn t include the time to process each key which is probably higher on my than on your supersparc gti injection again this is for openwindows don t want the demos see p xxxii of news toolkit reference manual includedemos false def userprofile begin keyrepeatthresh timeval storetimeval def keyrepeattime timeval storetimeval def note and differ greatly end you must also have a user ps file in the same directory like this news findpackage beginpackage tntcore findpackage beginpackage tnt findpackage beginpackage classrepeatkeys pop force repeat ps to autoload endpackage endpackage endpackage if you change these parameters you can test them without restarting the openwindows server like this psh i startup ps welcome to x news version psh i welcome to x news version classinit classrepeatkeys send now press control d you can also either of these two files startup ps and user ps to make the root window be retained so that a postscript drawing on the background won t be erased when you move windows frambuffer retained true put will do this note that this may increase the amount of memory used by the news server xnews dramatically see also trouble shooting it won t let me type trouble shooting is there an easy way to edit xdefaults environment variables how can i configure open look for a left handed mouse and keyboard you can use xmodmap to change the mouse buttons but be prepared for one or two occasional surprises see also man xview for a list of keybindings you can change at least for xview programs with openwindows you can use defaultsedit to set the mouse mappings and then let sunview handle them the status returned by svenv should tell you whether your server is running under sunview or not put this in your xinitrc if eval svenv env then xmodmap e pointer input from defaults else xmodmap e pointer fi how can i get the screen to go blank when the system is idle run screenblank from etc rc local if you can it s a boring but effective screen saver see man screenblank under solaris you ll need to copy screenblank from an older system as it s not supplied then add a new file in etc rc d to make the system run screenblank automatically subject key bindings cut and paste how do i cut and paste between xterm and openwindows programs to go from xterm to textedit say select the text you want to copy by dragging the select mouse button in xterm press copy in the xterm this key is l or meta c the o reilly xview manual gets this wrong move to the textedit window and press paste l or meta v if this doesn t work see trouble shooting cut and paste to go the other way from textedit to xterm select the text in textedit no need to use copy move to the xterm window and press adjust the middle mouse button you can also use the copy cut and paste buttons copy paste is boring what short cuts are available quick copy within textedit mailtool etc click select to get a text caret where you want the copied text to go press and hold down the paste or cut button select the text you want to copy move you ll see that it s underlined or crossed out as appropriate in the jed demo it goes grey let go of the paste or cut button the text you underlined or crossed out appears at the insert caret drag and drop to move a selection select the text you want to copy or move by dragging or multiple clicking the select or adjust mouse button put the mouse pointer anywhere within the selection press and hold down down the select mouse button and move the mouse pointer a little to the right you ll see the cursor changes to be the first letters of the text or some other icon still holding select down move the mouse over the point where you want to drop the text you may see the mouse pointer change to a rifle sight or target to show that it s ok to drop things here let go of select and the text is moved this works in text fields of dialogue boxes as well as in text subwindows drag and drop to copy a selection this is the same as using drag and drop to move a selection except that you must hold the control key down as well as the select mouse button what are the default key bindings in textedit and elsewhere see the man page for textedit for some of them in general the editing moving commands go in the opposite direction when shifted e g ctrl w deletes a word and ctrl w deletes the word to the right of the insert point meta i include file meta f find selection forward backward ctrl a start of line ctrl back word ctrl e end of line ctrl forward word ctrl w delete word ctrl u delete to start end of line ctrl return move to end start of document see the o reilly xview reference manual for a list of some of the default keys see also the olwm or olvwm manual page what can i put in my ttysrc where is it documented see the manual page for shelltool subject applications finding out contact sunsoft or sun and ask for the catalyst open look guide which lists over pages of applications and also the huge catalyst listing of products for suns updated six monthly sun s free cdware cd roms each contain demo versions of several popular open look applications often you can simply contact the vendor concerned to have the license upgraded from demo and receive the full product documentation sunpics produces a cd rom for newsprint users printer s pallate which contains newsprint drivers for a variety of printers and plotters as well as scaleable fonts that you can license there is a separate faq posting in comp windows open look that lists a number of free and commercial aplications mail lee sq com for a copy including open look ui application list in the subject for a faster reply subject deskset mailtool calendar manager etc is there a tty based interface to cm calendar manager yes cm delete cm insert and cm lookup these all have manual pages if man cm delete doesn t work or gives strange messages see under trouble shooting strange error messages below how can i arrange to have my signature included in my outgoing mail the best way is cd cp usr lib textswrc chmod w textswrc edit textswrc use vi textedit or whatever you prefer add the follwing key right filter cat signature you might need to change to home now pressing r will insert your signature file subject fonts does openwindows support type postscript fonts yes under either solaris or i m not sure which or not yet in other words if you have framemaker there is a utility to import them i m told the fonts supplied with openwindows are fully hinted though and comparing them to the microsoft windows and apple truetype fonts is interesting the f font format is described in a publication from the sun openfonts group listed in the bibliography below documentation on the unbundled version of typescaler is also available from sun openfonts you can buy f fonts from sunpics monotype linotype urw and probably other major foundries sunpics newsprint software supports type fonts improving font rendering time although the sun type renderer typescaler is pretty fast it s not as fast as loading a bitmap you can pre generate bitmap fonts for sizes that you use a lot and you can also alter and access the font cache parameters if you have a lot of memory you might want to increase the font cache size psh i welcome to x news version psh will say this at you currentfontmem type this line and here s whai my server was using kbytes setfontmem just to check currentfontmem see pp ff of the news programmer s guide you need to say psh i so that the postscript packages are loaded see the psh man page making bitmap fonts for faster startup mkdir home myfonts cd home myfonts makeafb m openwinhome lib fonts bembo f b creating bembo afb convertfont b bembo afb bembo afb bembo fb chars parameter greater than number of characters supplied ls bembo afb bembo fb synonyms list bldfamily bembo bembo ff encoding latin cat compat list no such file or directory xset fp pwd xset fp rehash if you want the server to see your new font directory every time add this directory to your fontpath environment variable in one of your start up files e g login or profile converting between font formats convertfont etc you can also use folio fonts with an x server by converting them to a bitmap x bdf format first your licence forbids you from using the fonts on another machine and unless you have newsprint you shouldn t use them for printing having said all that you can use makeafb and convertfont to generate bdf files that you can compile with bdftosnf or bdftopcf use mftobdf from the seetex distribution to convert tex pk fonts to x bdf format which you can then use with either x or oenwindows you can also use der mouse s getbdf to get bdf fonts from a running x display server ftp larry mcrcim mcgill edu x getbdf xview olit fonts at dpi there aren t any more precisely the various text fonts such as lucida typewriter sans are available at dpi and in fact are scalable under openwindows the glyph fonts are bitmaps and don t scale very well subject trouble shooting strange error messages no manual entry for cm lookup if man doesn t seem to find openwindows commands even though you are running openwindows try setting the manpath environment variable manpath openwinhome share man usr man export manpath or setenv manpath openwinhome share man usr man for csh users openwinhome should be usr openwin on most systems window window creation failed to get new fd window base frame not passed parent window in environment cannot create base frame process aborted these messages all come from sunview programs sunview was an earlier windowing system for suns and was not networked some of the sunview programs are still around in usr bin and have names that are the same as their openwindows counterparts you almost certainly want to run the programs in openwinhome instead set your path so that openwinhome bin and openwin bin xview for openwindows come before bin or usr bin they re the same or you ll get the sunview versions of mailtool cmdtool shelltool etc memory fault core dumped if you get this from the binder or if binder vanishes suddenly get the following patches binder cetables tooltalk trouble compiling xt xmu or olit programs get wmshellwidgetclass if you are using openwindows x r based xt contact your local sun office and request the following patches x openwindows libxt jumbo patch x openwindows undefined symbols when using shared libxmu if you can t install the patch a workaround is to add u get wmshellwidgetclass u get applicationshellwidgetclass on the link ld or cc o line an alternative is to add assert nodefinitions to cflags in your makefile or even in imake tmpl subject trouble shooting it won t let me type when i try to type into some programs i just get beeps or nothing happens it is a good idea to include at least openwindows focuslenience true input true in your xdefaults file as these allow non icccm compliant programs to receive input even if they forget to ask for it see the next item for editing xdefaults subject trouble shooting cut and paste not working i can t paste from xterm to xview including sun deskset programs under openwindows you need to add the following either to your home xdefaults file or to openwinhome lib app defaults xterm instead xterm vt translations override key l select set clipboard n key l insert selection clipboard you must not move the mouse between ending the selection and pressing l the paste key under openwindows this is already in the app defaults file so if it isn t working check that xfilesearchpath is set to usr openwin lib t n s and if it isn t either set it or copy merge the above lines from openwinhome lib app defaults xterm into usr lib x app defaults xterm see also environment variables this version automatically puts each xterm selection onto the clipboard xterm vt translations override n ctrl meta btn up insert selection primary cut buffer n ctrl meta btnup select end primary cut buffer clipboard n keypress l insert selection clipboard note be sure that the n is at the very end of the line there must be no following spaces and any or signs showing that this faq file was altered must also be removed if you are using x r you may find that adding the lines key l start extend select end primary clipboard cut buffer n keyrelease l kill selection n before the keypress l line will make l cut work as a cut key if you alter home xdefaults instead you must use what x calls a more specific resource name xterm vt translations will do i can t paste from xview including sun deskset programs to xterm if you don t have the sun l keys on the left of your keyboard you can use meta x meta c and meta v for cut coy and paste respectively you can change the keys by adding the following two lines to your xdefaults file edited as you wish the values shown here are the defaults openwindows keyboardcommand copy c meta l openwindows keyboardcommand paste v meta l lists of resources are in the manual page for xview and also in the thinnish blue book companion to volume xview reference manual from o reilly and also in the olwm and olvwm manual pages i always get the same piece of text when i press paste l meta v remove the file tmp textsw shelf and see if that helps see also the next item cut copy and paste don t work at all openwindows only oh dear use ps xuaww grep xv to check that sv xv sel svc is running and that either you or root started it depending on whether you started openwindows with openwin or by logging in through xdm if not start it if it dies check that there is no tmp sv xv sel svc before restarting it you may need to be root to remove it or you can reboot your workstation check that there is space in tmp use df tmp and also see if there are a lot of files there with names like tmp tty txt a if there are several hundred of them cut and paste may take so long that it times out quit any deskset tools such as mailtool filemgr and cm calendar start a terminal emulator and remove and tmp tty txt and tmp text files that are still there it s simplest to quit openwin and start it again after doing that if cut and paste was broken but if it starts working again you can just carry on note that files in tmp not owned by you might be in use by another worker comrade so don t remove those without checking first subject trouble shooting not authorized to use display if you get error messages that look like xlib connection to refused by server xlib internal error during connection authorization check error can t open display try on the machine running openwindows or x xhost machine where machine is the computer on which you ran the command that failed if you want to let other users run programs on the same machine as you using your display you will have to type the bizarre looking xhost hostname or xhost happyboy if happyboy is the name of your workstation this lets any user on happyboy access your display with openwindows you can also use xauth and the programmer s guide describes how to do this in chapter p this is more secure also check the man page for fbtab to stop other users accessing the framebuffer directly also note that there is a sun patch for openwindows under sunos to fix a serious security problem it is available through your local sun answer center as well as through anonymous ftp from ftp uu net system in sun dist fix patchid filename checksum loadmodule tar z on an x terminal there may be a setup menu that lets you change or disable the list of hosts that can access the display if you start getting this message after you ve been logged in overnight there might be a cron job that s removing the unix sockets in tmp that are used to communicate with the server when display doesn t have a hostname before the or is empty have the system administrator change the cron script to skip sockets subject trouble shooting other common problems i get console error messages on my screen and they don t go away sun or if refresh makes the messages vanish but new ones come along later you need to run xterm c from your xinitrc or start one up in the background and then choose save workspace from the workspace utilities menu better still pick up contool and run that get it from export lcs mit edu in the contrib directory it will monitor the console and open flash its icon or beep when a message appears it s very easy to configure if refresh from the workspace utilities menu doesn t make the messages go away a sun with a cg frame buffer has two screens you can move the mouse off the right hand by default edge of the screen and onto a whole new but monochrome display called see the man page for openwin i have a shell script that checks for this and if there s a dev cgfour does openwin dev dev cgfour dev dev bwtwo if you are running x or openwindows you might need to add this to your xinitrc or other startup file eval svenv display unix env olvwm display unix later releases of olwm and olvwm do this automatically you can also run switcher e to get rid of the messages also see the note about contool above is there an easy way of editing xdefaults use props which appears in the default root menu as properties this starts props a property editor which will re write your xdefaults after removing comments it then applies any changes keep comments by using comment instead of for example comment font palatino italic how do i get the file manager to use emacs instead of textedit set the default editor to sh c exec emacs font lucidasanstypewriter file you can change the font if you prefer a smaller one how do i run openwindows in inverse video this tends not to work under openwindows with opwnwindows there are various ways including using bg and fg options if you re using openwindows on a sun probably the best you can do short of upgrading the workstation to a sparc is to use xterm instead of cmdtool why don t flat check boxes work a known bug may make guide s output dump core if you use these a workaround is to edit the guide output as it s only guide s output that s broken not the actual check box code this applies only to versions of devguide before devguide if you re still using an ancient devguide you should upgrade as soon as possible the new one is fantastic when i leave openwindows my screen goes blank or my mouse cursor stays on the screen try running clear colormap if this helps put it as the last line in the shell script you use to start openwindows e g openwin when i use snapshot the system crashes or the server hangs or something this was a bug related to some systems only the only work round was to use some other screen dump program such as xwd xv or xgrabsc why have some of my function keys stopped working keys f and f changed from sunf and sunf to sunxk f and sunxk f respectively in openwindows applications must be recompiled or you might be able to use xmodmap or the public domain xkeycaps program to change your keyboard layout back again when i type shelltool or cmdtool or textedit i get the sunview version see under trouble shooting strange error messages below see also next item mixing x and openwindows see also next item note that openwindows includes the x r core distribution to patch level but not the contrib directory these notes apply to openwindows although you could also the do same sort of thing with openwindows and x r install the x libraries in usr lib x you can intermix openwindows and x r or x r they re all compatible in this respect put the x binaries in for example usr bin x put usr bin x last in your path so that you get openwindows versions of programs instead of x ones where appropriate although this is a matter of preference in any event put the openwindows bin directory first see the preceding item for more details on that if you have bin or usr bin they re the same directory on sunos earlier in your path than openwinhome bin xview you ll get sunview programs instead of openwindows ones set ld library path so that usr openwin lib is last after the x library directory this doesn t matter with openwindows but with older versions you ll get error messages from x programs if you don t do this the messages are generally harmless see next item although xdm core dumps if this isn t right set openwinhome to the directory containing openwindows if it isn t usr openwin see also environment variables especially xfilesearchpath i get error messages on my screen about ld so libx so not found set ld library path to be usr openwin if you also use x use usr lib usr lib usr openwin lib if you put this in a shell script or your profile use openwinhome usr openwin lib instead of usr openwin this is for bin sh for csh it is different i launch my filemgr and i get ld so map heap error at dev zero your system needs to be patched look in openwinhome lib ospatches and install the patch why doesn t answerbook run for me you must be running openwindows to use answerbook it won t run under x on an x terminal or on anything else because it uses news to draw the postscript text and pictures if you are using openwindows you need to use the openwindows compatible navigator it s called navigator ow on the answerbook cd rom if all answerbook users are using openwindows you can replace navigator wih navigator ow altogether rename the old one first to satisfy your sense of paranoia the navigator ow binary is also on cd ware vol note that the data files are in postscript so you can look at them with a postsript viewer q v why aren t there any fish in realxfishdb a fixed version of realxfishdb is available by ftp from ftp eng auburn edu as pub realxfishdb z why is the properties choice disabled in the window menu it isn t implemented yet many programs do respond to the properties key l though or have a pop up menu with properties on it file completion in the c shell is broken in cmdtool sadly true but use shelltool or xterm instead and it s fine it also works if you run command tool on a remote machine fixed in openwindows shipped with solaris when i run olit programs some of the widgets are red release of olit added mouseless operation action widgets can be selected via the keyboard the currently selected item is highlighted in red the red stain to show that it has the input focus to disable it in most places add this to your home xdefaults file traversalon off textedit traversalon on textfield traversalon on you can change the color using for example inputfocuscolor grey input focuscolor green list inputfocuscolor your background color see the man page resources w at the start of the olit widget set reference manual included in the openwindows programmer documentation meanwhile contact your distributor and ask for patch id the olit cte jumbo patch when i run several programs the colors on the screen all change when i move into a different window colormap flashing this is becasue most hardware can only display a few colors at a time however you can minimise the effect with the following procedure start all the applications with colors that you wish to reserve run cmap compact save to create the owcolors file put the line cmap compact init near the start of your start up file xinitrc exit and then restart the window system cmap compact init will push those colors owcolors to the end of the colormap and reserves them also note that control l locks the colors of the current window and control l unlocks them this is described in the olwm manual page pageiew uses the wrong colors or makes the colormap flash see above this problem was reported by people for some reason running the motif window manager mwm with openwindows try running pageview like this openwinhome bin reservecolors svmono openwinhome bin pageview openwinhome bin reservecolors discard xdm breaks things command tool doesn t like being run without a unix controlling terminal use etc setsid to start your command tools and all will be well sunview applications may need to be run with svenv as in svenv exec usr bin traffic because xdm won t set the necessary environment variables note that the mit xdm starts up the x server as root which is a security hole for openwindows use the openwindows xdm or be aware that your users can access files and start unix processes ass root function keys and stopped working in openwindows the x names keysyms for these keys was changed to sunxk f and sunxk f code which uses them should be recompiled or you might be able to get away with xmodmap e keysym sunxk f sunf subject trouble shooting xview problems this section is here only until an xview faq appears which has been promised but hasn t reached here note that there is also a usenet newsgroup alt toolkits xview although it doesn t sem to have very wide distribution and has triffic of the order of one or two articles per month you should also look at the faq in comp windows x how do i set the font of individual scrolling list items panel list font takes an int row number and an xv opaque font handle panel list fonts take a null terminated list of xv opaque font handles there is no easy way to make an entire list fixed width font you have to make sure that you always specify panel list font when you insert a new row into that list or write a convenience function insert row list row string that hides the nasty bits how do i keep an xview pop up window displayed after a button is pressed in the button callback do xv set button panel notify status xv error null this will keep the window visible you might also need to investigate the menu notify status attribute how do i make an xview button look pressed call panel begin preview and panel cancel preview these are documented in er the xview source openwindows imake doesn t work properly here is greg earle s patch to be applied in openwinhome note that you should edit lib config sun cf afterwards to get osname and osminorversion right minorversion is in sunos for example i have edited the patch a little so any bugs are mine lee sq com bin xmkmf orig wed sep bin xmkmf tue aug elif n openwinhome then args duseinstalled openwinhome lib config else elif n openwinhome then args i openwinhome lib config duseinstalled dxcomm else lib config site def orig wed sep lib config site def tue aug define bindir openwinhome bin define libdir openwinhome lib define incroot openwinhome share include define installnonexecfile file dest install file install c instdatflags file dest define nullparameter note the patch is new but i have not marked each line with a liam subject environment variables environment variables and plausible values to use this list doesn t take into account any local changes that you might have made of course this list is for openwindows differences for openwindows are marked and i ve added some comments for users of x r and x r too display the name of the x windows display to use on the local machine the one actually running x or xnews on some machines for a second monochrome screen machine running unix on other machines you may need to do xhost other machine to let programs on other machines use your display see also under trouble shooting and see the section on xauth in the openwindows version programmer s guide pp ff see also console messages under trouble shooting fontpath where xnews searches for fonts usr openwin lib fonts you can also use xset fp dir to add a directory to the font path but you may have to do xset fp rehash afterwards this is fine under openwindows but many x servers have font problems helppath where xview looks when you press the help key or f usr openwin lib locale usr openwin lib help on sunos or with openwindows omit the first entry which is for sites using a local other than c or usa ld library path where to look to find shared c libraries usr lib usr lib usr openwin lib usr cc arch the usr cc arch lib entry is only needed if you use c programs openwinhome where openwindows lives usr openwin keyboard mouse serial devices to use instead of the console don t set these for normal use dev kbd and dev mouse path where the shell searches for programs to run openwinhome bin openwinhome bin xview usr local bin home bin arch usr ucb usr bin usr bin x usr hosts you will certainly want to change this example there is no openwinhome bin xview in openwindows xfilesearchpath where programs look for app defaults files usr openwin lib t n s this is set automatically by openwin in openwindows you might want to use usr lib x t n s or perhaps both separated with a for example for sh users xfilesearchpath openwinhome lib t n s usr lib x t n s export xfilesearchpath if you use x r you might instead want usr lib x l t n c s usr lib x l t n c s usr lib x t n c s usr lib x l t n s usr lib x l t n s usr lib x t n s openwinhome lib t n s put all this on one line though with no spaces together with the following in lib xinitrc xrdb merge end xrdb customization end xrdb xrdb merge end xrdb ifdef color customization color endif end xrdb you automatically get a color oclock editres bitmap xcalc and xlogo since they use the customization resource appearing as c in the xfilesearchpath see oclock n according to rainer sinkwitz sinkwitz ifi unizh ch subject where can i get it ftp implementations etc xview is available by anonymous ftp from export lcs mit edu and elsewhere moolit can be bought from at t in source form openwindows can be obtained from sun or you can get the source from interactive systems inc it is also included in some vendors system v release implementations although that s not always the latest version the current release of openwindows from sun for supported architectures is for the sun series it is frozen at openwindows note that sun includes openwindows with sunos and it is also included as the windowing system for solaris there are said by sun to be over ports of openwindows either available now or in progress unfortunately none of them seem to be available from anywhere contact anthony ovi com for more information subject bibliography books manuals journals papers beer mats the open look tm graphical interface is documented in two books sun microsystems inc open look graphical user interface application style guidelines addison wesley and sun microsystems inc open look graphical user interface functional specification addison wesley the main documentation for the x window system comes from o reilly associates in about nine or ten volumes the most useful for open look users are volume xlib programming manual volume xlib reference manual volume x window system user s guide an open look edition of volume should appear later this year volume xview programmer s manual dan heller make sure you get the rd edition for xview companion to volume xview reference manual ed thomas van raalte the companion to volume is an expanded version of the attribute summary from the previous edition of the xview programming manual together with other reference information so that in practice you have to buy both books o reilly also have a thinnish orange book on the differences between x r and rx olit programmers will also want the xt books volumes and there is a new big fat green vol updated for x r a journal the x resource may also be of interest o reilly associates morris street suita a sebastopol ca or in the usa and canada only fax email nuts ora com or uunet ora nuts for other distributors mail fax or call some of the o reilly examples are available fro ftp from export lcs mit edu in the contrib oreilly directory the system v release documentation from prentice hall may also include a section on openwindows david miller describes programming with olit in his an open look at unix m t press nabajyoti brkakati gives an excellent introduction to x and to olit programming as well as setting up and using x and openwindows in unix r desktop guide to open look sams isbn you can get the examples from this book as export lcs mit edu contrib naba olguide examples tar z also about using olit and xt in particular the x window system programming and applications with xt open look edition doug young and john pew prentice hall isbn x there are also hp widgets and motif ugh versions of this book the example source code in this book can be obtained by ftp from export lcs mit edu file contrib young pew olit z there is an introduction to xview in writing applications for sun systems vol a guide for macintosh r programmers sun microsystems pub addison wesley to learn more about the news and postscript languages see the news book springer verlag sadly a little out of date postscript language reference manual second edition adobe systems inc addison wesley the red book note that openwindows is a level postscript implementation with certain level features such as composite fonts to some degree postscript language tutorial and cookbook adobe systems inc addison wesley the blue book there s at least one book on using solaris i e sunos sun also supplies a large amount of documentation with openwindows although you may have to order it separately here s what i have they are each a little over cm square wider than a paper and vary from about cm to about cm thick they say user s guide or programmer s guide on the front the user manuals have a red stripe on the bottom and the programmer ones have a green stripe openwindows version release manual openwindows version installation and start up guide openwindows version deskset reference guide openwindows version user s guide desktop integration guide also available in bookstores programmer s guide openwindows version reference manual the man pages the news toolkit reference manual news programming guide olit widget set reference manual xview reference manual converting sunview applications f font format specification order separately there are also some other sets of documentation including the typescaler documentation from the openfonts group for example there doesn t seem to be a complete list anywhere tooltalk setup and administration guide sunsoft tooltalk programmer s guide sunsoft there might be documentation about the link manager somewhere too at t includes several large thorny bushes worth of paper with olit sun s answerbook cd rom contains a lot of the above documentation including some of the o reilly books not the xview volume though volume of the o reilly series is about x administration and mentions openwindows although it is primarily aimed at x r several other books are in the works subject getting this file revision history recent changes mail lee sq com to ask for it douglas n arnold dna math psu edu keeps an up to date copy on ftp math psu edu currently in the file ftp pub faq open look the net answers archives and servers may or may not know about this file since they ve just changed hands and this file was previously in one archive but not the other id open look faq v lee exp acknowledgements andrei arkhipov andr elvis sovusa com feb binder patch douglas n arnold dna math psu edu feb various changes ian darwin ian sq com christopher davis ckd eff org paul eggert eggert bi twinsun com feb screenblank on solaris r stewart ellis elliss frith egr msu edu feb assert nodefinitions jeff fleck jefff meaddata com feb the colormap stuff rick heli rick heli eng sun co feb including signature nicholas hounsome nh cbnewsg cb att com feb xt olit cc workaround larry matthias matthias artos larc nasa gov feb news colormap flashing john b melby melby yk fujitsu co jp fai com feb south paws christian sebeke sebeke frodo lfi uni hannover de feb xt jumbo patch kevin w thomas kwthomas nsslsun nssl uoknor edu mar olvwm patches larry w virden lvirden cas org mar various comments and many others you get deleted from this list after a while liam quin manager of contracting softquad inc lee sq com open look ui faq metafont list hexsweeper news game lq text text retrieval
