From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 18:50:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E91616A4CE for ; Thu, 24 Jun 2004 18:50:37 +0000 (GMT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C202E43D39 for ; Thu, 24 Jun 2004 18:50:36 +0000 (GMT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq62-165.dial.allstream.net [216.123.143.101]) by outbox.allstream.net (Allstream MTA) with SMTP id 8C9761EC790; Thu, 24 Jun 2004 14:50:28 -0400 (EDT) Date: Thu, 24 Jun 2004 14:50:11 -0400 From: epilogue@allstream.net To: Parv Message-Id: <20040624145011.71cbd047@localhost> In-Reply-To: <20040624180709.GA622@moo.holy.cow> References: <40DA34AA.20906@code-fu.com> <20040623221647.V88483@wonkity.com> <40DABF4C.3070901@code-fu.com> <20040624180709.GA622@moo.holy.cow> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: "Michael A. Smith" Subject: Re: setting xterm font from the command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 18:50:37 -0000 On Thu, 24 Jun 2004 14:07:09 -0400 Parv wrote: > in message <40DABF4C.3070901@code-fu.com>, > wrote Michael A. Smith thusly... > > > > Warren Block wrote: > > >Use xfontsel to choose the font and then specify the exact same thing > > >that it shows: > > > > > >xterm -fn '-bitstream-charter-*-r-normal-*-*-*-*-*-*-*-*-*' > > > > xfontsel works great and works fine for the sample string above > > (Bitstream Charter), but xterm barfs on font strings that have spaces, > > for example: > > > > "-bitstream-bitstream vera sans mono-*-r-normal-*-*-*-*-*-*-*-*-*" > > > > I've tried every combination of single quotes, double quotes and > > backslashes before the spaces without success. I get back an error like > > this: > > > > xterm: bad command line option "vera" > > Just a data point ... i tried w/ xterms included in 4.3.0 and > locally compiled version (patch 187) w/o any problems; the exact > command was... > > xterm -fn \ > '-bitstream-bitstream vera sans mono-*-r-normal-*-16-*-*-*-*-*-*-*' > i just tried it myself. in order for it to work, you *must* escape the fontname whitespace. xterm -fn -bitstream-bitstream\ vera\ sans\mono-*-yada,yada. also, if you're using the ' ' on either end of the fontname (as you've shown above), drop them. after doing this, are you getting any error messages? cheers, epi > > Is "bitstream vera sans mono" font listed in xfontsel(1)'s list or > xlsfonts(1)'s output? > > > - Parv > > -- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >