INFORMATION NEEDED ON AIXWINDOWS IMPLEMENTATION

ITEM: RTA000029568



QUESTION:                                                                       
Where can I find information on AIX V1.2.3's X11R5 implementation of            
the font server?  Specifically what modules are needed, HOWTO set               
up a font server, how to USE the font server, where's the documentation         
on the font server, prereq/coreq's, etc. ??  This is for both RS/6K's           
and Xstations 130, 150.                                                         
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A: .s                                                                           
    (Q)  Where can I find information on AIX V1.2.3's X11R5                     
         implementation of the font server?  Specifically what                  
         modules are needed, HOWTO set up a font server, how to                 
         USE the font server, where's the documentation on the                  
         font server ...                                                        
                                                                               
    (A)  The latest version of InfoExplorer, the version released               
         with AIX V3.2.3 extended, contains a fair amount of                    
         information on the X11R5 font server.  Although, I would               
         also recommend reading through any of the X11R5 windows                
         publications.  I have a copy of the X Window System                    
         Administrator's Guide for X11R4/X11R5 (available at most               
         book stores) and this book has proved to be most useful.               
         The book is written for anybody who is administering X,                
         regardless of the platform.  This book devotes many pages              
         to describing the font server.                                         
                                                                                
         I will go ahead and supply you with the information I have             
         available to me concerning HOWTO's, usage, etc.                        
                                                                                
         In X11R5 the fs command is the executable you will be using           
         to supply fonts to Xwindow System display servers.  The                
         font server is usually run by the system administrator, and            
         started via boot files such as /etc/rc.tcpip.                          
                                                                                
         The font server's operation is controlled by a configuration           
         file, usually located in /usr/lib/X11/fs/config.  A sample             
         configuration file could look like this:                               
                                                                                
         #                                                                      
         # sample font server configuration file                                
         #                                                                      
                                                                                
         # allow a max of 10 clients to connect to this font server             
         client-limit = 10                                                      
                                                                               
         # when a font server reaches its limit, start up a new one             
         clone-self = on                                                        
                                                                                
         # alternate font servers for clients to use                            
         alternate-servers = akers:7001,akers:7002                              
                                                                                
         # where to look for fonts                                              
         # the first is a set of Speedo outlines, the second is a set           
         # of misc bitmaps and the last is a set of 100dpi bitmaps              
         #                                                                      
         catalogue = /usr/lib/fonts/speedo,/usr/lib/X11/ncd/fonts/misc,         
                     /usr/lib/X11/ncd/fonts/100dpi                              
                                                                                
         # in 12 points, decipoints                                             
         default-point-size = 120                                              
                                                                                
         # 100 x 100 and 75 x 75                                                
         default-resolution = 100,100,75,75                                     
                                                                                
         Although the configuration file supplied with X11R5 should             
         be good enough to start experimenting with, you may in the             
         future want to customize your configuration file.  There is            
         a standard configuration language that you must adhere to              
         when doing this.  Further information on the configuration             
         language as well as a list of the recognized keywords can              
         be perused in InfoExplorer.                                            
                                                                                
         As stated earlier, if you want to have the font server running         
         all the time (as you probably will), you can add it to a system        
         start up file.  However, you probably should not add it to any        
         system files until you are satisfied that it will work                 
         correctly.  You can test it "by hand" by starting it on the            
         command line:                                                          
                                                                                
         # fs -config ./test-config &                                           
                                                                                
         Starting the font server on an AIX machine (permanently)               
         could be done by adding the line:                                      
                                                                                
         start /usr/bin/X11/fs ""                                               
                                                                                
         to the system /etc/rc.tcpip file.                                      
                                                                                
         Any client wishing to use the font server must be supplied             
         with the name of the host where the font server is running,           
         as well as the port number the font server is using to                 
         communicate with the client.                                           
                                                                                
         transport/hostname:port                                                
                                                                                
         The font server name can be specified on the command line with         
         the -server option.  For example:                                      
                                                                                
         fsinfo -server tcp/akers:7000                                          
                                                                                
         The RISC System/6000's, being the Xmanagers to the Xstations,          
         will need to set the font paths for the Xstations via the              
         SMIT Xstation configuration menu.  This is the case for both           
         the Xstation 130 and the 150.                                          
                                                                               
         As some final information for you, I would like to supply you          
         with a sample Xsession that utilizes a font server.  The               
         situation is this:  (1) you want to run an application that            
         utilizes a special font, (2) the font is not present on your           
         host but it is present on a remote host (3)  since you run this        
         application from many different systems, you decide to make this       
         remote host a font server.  In this way the font does not need         
         to be taking up disk space on every machine in your network.           
                                                                                
         (1)  Make sure the font that you want to access is in PCF format       
              because X11R5 expects PCF fonts.  If it is not, you can           
              convert it using any of the tools available.                      
                                                                                
         (2)  On the remote machine, copy the font into a font area.            
              In this example the font will have it's own directory,           
              /u/john/xbook/fonts:                                              
                                                                                
              cp xbook.pcf /u/john/xbook/fonts                                  
                                                                                
         (3)  Create the fonts.dir file:                                        
                                                                                
              mkfontdir /u/john/xbook/fonts                                     
                                                                                
         (4)  Create a font server configuration file.  The easiest             
              way to do this is to copy the X11R5 supplied one and              
              edit it.                                                          
                                                                                
              cp /usr/lib/X11/fs/config /u/john/xbook/fs-config                 
                                                                                
         (5)  Start the font server:                                           
                                                                                
              fs -config /u/dog/xbook/fs-config &                               
                                                                                
         (6)  From your local host add the font server to the font              
              path:                                                             
                                                                                
              xset +fp tcp/host                                                 
                                                                                
         (7)  The font server has been implemented.                             
                                                                                
         There is much more information available on the font server            
         and functionality therein, in InfoExplorer as well as in the           
         publications already described.                                        
         Book alone:  ISBN 0-937175-83-8                                        
         Book with CD:ISBN 1-56592-052-x                                       
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
This item was created from library item Q621205      CBRTG                      
                                                                                
Additional search words:                                                        
AIXWINDOWS CBRTG ENVIRONMENT FONT FUNCTION IMPLEMENT IMPLEMENTATI               
INFO INFORMATION INSTALL IX MAR93 OZNEW RISCSYSTEM RISCXWIN SERVER              
SOFTWARE X11R5                                                                  
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000029568 ITEM: RTA000029568
Dated: 11/1996 Category: RISCXWIN
This HTML file was generated 99/06/24~12:43:11
Comments or suggestions? Contact us