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:message-id:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=q35YZG6am3i7jsZpViRr86aCZdqtqRgvmxdvZde2j7RVvnUHqxQ4b u4deRC6BIB86T8hOfL7lOwTLIDkX3rpuZ9C0WnQRjM4ZjMRK1V03RMzd9FmzHKRN HN5E1E0WuIFqqgr4I+Ew94+b4Wi9wFf726qMLai/n2eWzhFAOc+HU8= 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:message-id:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; s=default; bh=nT2aKLFwyVtlT2nBfotrHEK8v6o=; b=sOX7Q1lhQmgZU5g2rpnwqTAEbuNn PeaiptV0qaxpBOjC1Yj+GFj8QC69v3FSM7dW/a242bEAut/TPq3Juw1n1RhlT2gG NpgaqPdqT5TzIb0USIYMfg9vh12nDceLa9yhcOyou691BWKplgPPhxHOCFBO3bUB 2R6AW4+nu0CraMU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=BAYES_50,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx-rz-2.rrze.uni-erlangen.de X-RRZE-Submit-IP: 131.188.11.38 Message-ID: <11957acee62d3639cf7d9044765d25bf.squirrel@faumail.uni-erlangen.de> Date: Thu, 22 Oct 2015 18:20:55 +0200 Subject: Re: loading VT100 Font in stand alone program From: reinhard DOT neder AT fau DOT de To: cygwin AT cygwin DOT com Reply-To: reinhard DOT neder AT fau DOT de User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Dear Ken, thank you very much for your help and the bug fix. I do have the links in /etc/X11/fontpath.d xorg-x11-fonts-75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi and they work fine within cygwin. I tried to create corresponding links within windows by mklink "xorg-x11-fonts-75dpi:unscaled:pri=20" ..\..\..\usr\share\X11\fonts\75dpi but I the a message the the file name syntax is illeagal. A quick search told me that a colon is a really forbidden file name component in WINDOWS and the mask with " " did not help. Interstingly a single colon works fine !?! So why are there colon in the name of the symbolic link, which program reads these links and is there a way for me to change my system to use a different link name ? Best Reinhard From: Ken Brown To: cygwin at cygwin dot com Date: Tue, 13 Oct 2015 11:31:51 -0400 Subject: Re: loading VT100 Font in stand alone program Authentication-results: sourceware.org; auth=none References: 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 References: https://www.cygwin.com/ml/cygwin/2015-10/msg00148.html loading VT100 Font in stand alone program From: reinhard . neder -- Prof. Dr. Reinhard Neder Kristallographie und Strukturphysik Universitaet Erlangen Staudtststr. 3; 91058 Erlangen tel. +49-9131-8525191 fax +49-9131-8525182 -- 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