From: SMTP%"langstoeger@VENUS.kapsch.co.at" 28-JUN-1993 09:46:16.26 To: EVERHART CC: Subj: Re: how to handle Xwindows font name/loc problems from unix->vms From: langstoeger@VENUS.kapsch.co.at ("peter langstoeger") X-Newsgroups: comp.os.vms Subject: Re: how to handle Xwindows font name/loc problems from unix->vms Date: 25 Jun 1993 20:58:54 GMT Organization: kapsch.co.at Lines: 54 Message-Id: <20foue$jtn@theben.kapsch.co.at> Reply-To: langstoeger@VENUS.kapsch.co.at Nntp-Posting-Host: venus.kapsch.co.at To: Info-VAX@kl.sri.com X-Gateway-Source-Info: USENET In article <1993Jun24.171116.21515@pslu1.psl.wisc.edu>, RAM@EPIDAT.EPI.WISC.EDU (Ram Bhamidipaty) writes: >Well, we just got some Xwindows stuff to work!!! I can pop up xcalc from my >sun to my vaxstation. Great! > >Now how do I handle all the font not found messages? Any suggestions? > >Thanks for any info. > >-Ram > I have two suggestions: 1) Get the BDF files for the sun fonts you need. Build the SNF files for the VMS X-server with $ FONT *.BDF Copy the DECW$FONT files to a separate directory in the SYSFONT tree (eg. SYS$COMMON:[SYSFONT.DECW.SUN]) Make the DECW$FONT_DIRECTORY.DAT (fonts.dir on UNIX) with $ MCR DECW$MKFONTDIR SYS$COMMON:[SYSFONT.DECW.SUN] Make an empty DECW$FONT_ALIAS.DAT (fonts.alias on UNIX) with $ COPY NL: SYS$COMMON:[SYSFONT.DECW.SUN]DECW$FONT_ALIAS.DAT Add the directory to the X-server fontpath by entering the line $ decw$devicefont == decw$devicefont + ",SYS$COMMON:[SYSFONT.DECW.SUN]" in the file SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM Restart the X-server by rebooting the system or with $ @SYS$MANAGER:DECW$STARTUP RESTART 2) Add the sun font names to an existing DECW$FONT_ALIAS.DAT with corresponding (and existing) DEC font names. You can also use a combination of the two solutions. Sometimes the real problem is to get the correct BDF (Bitmap Distribution Format =>pure ASCII text) files. Most systems has only the SNF (Server Natural Format =>binary) files which the X-server uses - and SNF to BDF conversion is hard to do. Don't forget, you need system privileges on the VAX. -Peter -------------------------------------------------------------------------------- Peter Michael LANGSTOEGER Tel. +43 1 81111-2382 Network and VMS system manager Fax. +43 1 81111-888 Technical Computer Center (ADV) E-mail Peter.Langstoeger@kapsch.co.at KAPSCH AG Wagenseilgasse 1 PSImail PSI%(0232)281001141::Peter.Langstoeger A-1121 VIENNA AUSTRIA "I'm not a pessimist, I am a realist"