delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/13/11:31:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=KuRDjpDAwNaFHoxU
UjF1fSF94B9yYKrcs2ZahFbOi7uWml3OlJociCaourXhYZdtiIMkkJGu3coLKVDP
WjJj79XX+7q+3f/ueObHK//q77eqsBSECClG2SXoRdiaNu1V2ODBTKDSYJDiXjMN
SMtuFlfJUfpP860uic+lgMblhH4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Ais/kZBcSitSTwk9HbbFIO
3hh44=; b=bXWIcigXno2i5KBHPJ/6t/3H8p5vUwzs3c4Y/tAO9zSBGCQBum5LLX
CZ2UHPNvwzw3XQRvXS9UikNDlB6iZToBtiZfR83Vai2PuJiqAIhyo3skIyaSOiPr
/fcZXHK1xh747FyeF6tJsUqQz1wgFPjO8GD4NBjO7zhtzdnkS8YoQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_40,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: loading VT100 Font in stand alone program
To: cygwin AT cygwin DOT com
References: <c188ecfd2b967c0692a28eaf3c4e382e DOT squirrel AT faumail DOT uni-erlangen DOT de>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <561D23E7.2080303@cornell.edu>
Date: Tue, 13 Oct 2015 11:31:51 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <c188ecfd2b967c0692a28eaf3c4e382e.squirrel@faumail.uni-erlangen.de>
X-IsSubscribed: yes

On 10/13/2015 10:16 AM, reinhard DOT neder AT fau DOT de wrote:
> Hi Everybody,
>
> I have written a program "kuplot" that runs inside an X-window terminal through a script:
>
> #!/bin/sh
> if( /bin/ps | /bin/grep XWin ); then
>     export DISPLAY=':0';
>     /bin/xterm -rightbar -sb -pob -title "kuplot secondary window"  -e /bin/kuplot;
> else
>     /bin/rm -f /tmp/.X*-lock
>     /bin/xinit "/bin/xterm" -rightbar -sb -pob -title "kuplot primary window exit last"
> -e /bin/kuplot -- "/usr/bin/XWin" :0 -multiwindow -logfile /dev/null;
> fi
>
> If I start this script from within CYGWIN (both 64 and 32 bit) the VT menu appears at
> the top of my Xterm, and I can change the font size.
>
> If I start the program from the desktop  icon, I do get the VT100 menu, but an error
> message of:
>
> /bin/xterm: cannot load font
> 'misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
>
> and a similar message if I try to change the font size.
>
> The program was installed into a separate folder at C:\Program files (x86)
> and within this I have folders
> bin        ! quite a few of the /bin/*dll and /bin/*exe
> etc/X11    ! exact recursive copy of /etc/X11 in cygwin including fonts/* (only gzipped
> filesthough?)
>
> usr/share/terminfo ! exact recursive copy
> /usr/share/X11     ! exact recursive copy
>
> I seem to be missing the proper link to the VT100 fonts , where would I have to look for
> that?

You should have a directory /etc/X11/fontpath.d with some symlinks in it.  Due 
to a bug in setup, however, this directory may not have been created.  The bug 
was just fixed yesterday, so you should use the latest setup (2.872) and 
reinstall any xorg-x11-fonts-* packages that you have installed.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019