delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/31/20:58:57

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:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=o07cQnWJ5cMWdkJs+5l5TVIUimdyy
vQjOX6Q9FCrAyh5DHONp4XUWv86hl2jFKtf16ia4WaovouZ9ToVY5ki/t0WA9Qls
MJkVhtjWaXB4VoxnnmE1tI5V0hEqhIkVfGnJFL2HP24fI+EsFPE2pD5ezeqDrm/s
H/xzEiJJCDzOSU=
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:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=6YsJP9CjTsogDcDbWBVscr6df4c=; b=pjn
5pmR3KBQOM0r8DenuSPfzLqPZ8EDcOGrvrrwthYEG0cOc2B98o3ASzmiZdn8eQit
YjdSXbpnicTlabCbUPqcdIVgQ7pHaYcbiAmhB3+igkluAKtfYHfgmDo79LHzWD3w
xFl57LIjeKQfdRE/xAEeiHVB+lqPZG9IQBLC29c0=
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.4 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: esa1.ucsf.iphmx.com
X-ASG-Debug-ID: 1427849908-06c7437017580d00001-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: Mark Geisert <mark AT maxrnd DOT com>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Adding font path to X server
X-ASG-Orig-Subj: RE: Adding font path to X server
Date: Wed, 1 Apr 2015 00:58:24 +0000
Message-ID: <F1F13E14A610474196571953929C020969D4C3@ex08.net.ucsf.edu>
References: <F1F13E14A610474196571953929C020969C91F AT ex08 DOT net DOT ucsf DOT edu>,<loom DOT 20150331T061617-559 AT post DOT gmane DOT org>
In-Reply-To: <loom.20150331T061617-559@post.gmane.org>
MIME-Version: 1.0
X-Barracuda-Connect: mx.ucsf.edu[64.54.247.193]
X-Barracuda-Start-Time: 1427849908
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.34
X-Barracuda-Spam-Status: No, SCORE=0.34 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=4.5 KILL_LEVEL=5.0 tests=CN_BODY_332, SH_BIG5_05413_BODY_104
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.17410 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.12 CN_BODY_332 BODY: CN_BODY_332 0.21 SH_BIG5_05413_BODY_104 BODY: Body: contain "UNSUBSCRIBE"
X-CFilter-Loop: Reflected
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t310wq7c030805

I did see your answer, and it worked!  Thanks very much.

I now have a very simple .startxwinrc.  I noticed the default one does a lot of stuff.  Should I try to include it or copy from it?  Is it getting sourced automatically anyway?  It looked as if the system startxwinrc sources the user .startxwinrc, hence my thought that it might be running anyway.

Ross
________________________________________
From: cygwin-owner AT cygwin DOT com [cygwin-owner AT cygwin DOT com] on behalf of Mark Geisert [mark AT maxrnd DOT com]
Sent: Monday, March 30, 2015 9:21 PM
To: cygwin AT cygwin DOT com
Subject: Re: Adding font path to X server

Boylan, Ross writes:
> 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.

Sorry, no can do with the gmane ML gateway I'm using.  Hope you see this on
the mailing list.

> $ startxwin
> Welcome to the XWin X Server
[...]
> 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.

You appear to have at least one CR character in your .startxwinrc file.  Use
d2u on the file to get rid of it/them.  If that alone doesn't fix your
issue, you may need to add 'xset fp rehash' after the existing 'xset'
command.  Be sure not to add more CR chars if you edit the file again :-) .

..mark



--
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


--
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