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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=LF3SIiK4L1yPMBxf/3RWRjGcyDVphdWte81XYfidPXM6yqjtmOfxn zlpZRQ0F377YZDqrWs2pjXEuRVPGMXcI/oxLXp1PaCUAmto3XQSKSo6ooZyF7u4N JpzD8K2sc44LPoo2IIYLapFWMeQYsVEEMWO0+PXURbTqXIMeLxeQ8U= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=zrVcFQsZjvaP/EIjDG51mKl5Qlw=; b=blO4E8HnvV+aApIh52MsD7UdF/QJ Y/ftL2JtMMjHEFA4xPy8KMiaRk2jyBO2pHS3jpFmJKRRlgeTvdOSLLTs9d3WIqkW vmVd3ybKabUDOKPtUuTX4Mq9PgdhbABelPMLYA2KxBNI/VEAuPwcbUwJl1p02yQF jYEgythD0pYuvvo= 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=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Mark Geisert Subject: Re: Adding font path to X server Date: Tue, 31 Mar 2015 04:21:21 +0000 (UTC) Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes 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