delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/30/15:17:24

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=VPH
R34attTJjW2va3KrkMWTQIgYdrj9o62rv7LtGBZvaMAghaaFiP6GdHrNGWmXPh1+
0bpeV0kwxHJQwvxpN2BB8ig5nJ64HuFlXc4jl+PqmeEezppvtQNMvP3KQkxE42kv
nLyKbuucFP6lXSAZzFD0iAITJRBMTHUh3CuhfWd8=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=Q8kpu4W3I
1Sr5J40dv4unxQxQTo=; b=MRE5YPb7UejMaPiAjrR6eirnzGrw5DavIEfEniLQc
h7mzb3cFovBEcmsZNsCvacwCi6kRHuS3skKeKH8VdJrLmJX9z2QPBvZYnJKSQeVO
PkIRAu1RLWgDIyKlmUZFwb5sM2QZYkBSzaDGMW5oigfqHC+9Y2FAGfMwNXzeoOyN
qc=
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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: esa2.ucsf.iphmx.com
X-ASG-Debug-ID: 1427743019-06c7437017416b60001-w5GHUG
X-Barracuda-Envelope-From: Ross DOT Boylan AT ucsf DOT edu
X-Barracuda-Apparent-Source-IP: 64.54.247.193
From: "Boylan, Ross" <Ross DOT Boylan AT ucsf DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Adding font path to X server
X-ASG-Orig-Subj: Adding font path to X server
Date: Mon, 30 Mar 2015 19:16:58 +0000
Message-ID: <F1F13E14A610474196571953929C020969C91F@ex08.net.ucsf.edu>
MIME-Version: 1.0
X-Barracuda-Connect: mx.ucsf.edu[64.54.247.193]
X-Barracuda-Start-Time: 1427743019
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: https://bcuda1.ucsf.edu:443/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.36
X-Barracuda-Spam-Status: No, SCORE=0.36 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=4.5 KILL_LEVEL=5.0 tests=SH_GB_060809_SUBJ_3
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.17355 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.36 SH_GB_060809_SUBJ_3 Subject: AD Spam
X-CFilter-Loop: Reflected
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t2UJHKWU021136

I need the Cygwin X server to have access to fonts from dosemu; currently I have to add the path manually each time I start.  I thought I was following the manual by setting up .startxwinrc as
xset fp+ /usr/share/fonts/dosemu
xterm

but startxwin fails to start (details below).  How do I avoid having to set the path manually?

I'd appreciate cc's as my subscription to the list is currently in an odd state, and may not be working.

$ startxwin
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.17.1.0
OS: CYGWIN_NT-6.1 WIHS-1QS3PW1-DT 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)
Package: version 1.17.1-2 built 2015-02-23

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /home/rdboylan/.serverauth.5388
......
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
xset:  bad font path element (#6), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
/home/rdboylan/.startxwinrc: line 2: $'xterm\r': command not found
xinit: connection to X server lost

The commands in .startwinxrc work fine when typed into an xterm after X launches.
--
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