From owner-freebsd-questions Thu Feb 4 08:09:22 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07247 for freebsd-questions-outgoing; Thu, 4 Feb 1999 08:09:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from righi.ml.org (RIGHI.DF.UNIBO.IT [137.204.49.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07229 for ; Thu, 4 Feb 1999 08:09:13 -0800 (PST) (envelope-from riccardo@righi.ml.org) Received: from localhost (riccardo@localhost) by righi.ml.org (8.9.1/8.9.1) with ESMTP id RAA14879; Thu, 4 Feb 1999 17:10:10 +0100 (CET) (envelope-from riccardo@righi.ml.org) Date: Thu, 4 Feb 1999 17:10:09 +0100 (CET) From: Riccardo Veraldi To: "Crist J. Clark" cc: FreeBSD Questions Subject: Re: Configuring xdm In-Reply-To: <199902041550.KAA07797@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why don;t u try to use a program called xbanner?? it is not on te ports but if you search it and get it and compile under freebsd it works perfect. Rick On Thu, 4 Feb 1999, Crist J. Clark wrote: > This is more of an XFree86 or straight X question, but since a lot of > you may have configured this for FreeBSD yada-yada.... > > 1) I am having trouble configuring the xlogin screen that xdm starts the > way I want. I have been able to change fonts and colors, but there is > one problem I have been having with the text. I cannot seem to be able > to sneak in a newline. What annoys me, is that what works on the SGIs > does not work on the FreeBSD machines. The SGIs have, > > xlogin*greeting: Welcome to %H\n\ > IRIX %R > > In the Xresources file for xdm. This makes a nice, > > Welcome to indy > IRIX 5.3 > > Where 'indy' is the hostname -s, and 5.3 is the IRIX version, both > subsituted in by %-escapes. > > Well, on FreeBSD, the %-escapes do not work, which I can live with. I > can use 'CLIENTHOST' to get the hostname (but how do I get the short > hostname?). But I cannot seem to get a newline in there. I have tried > using, > > xlogin*greeting: Welcome to CLIENTHOST\n\FreeBSD 2.2.8 > > xlogin*greeting: Welcome to CLIENTHOST\n\ > FreeBSD 2.2.8 > > xlogin*greeting: Welcome to CLIENTHOST\012\FreeBSD 2.2.8 > > xlogin*greeting: Welcome to CLIENTHOST\012\ > FreeBSD 2.2.8 > > All of which just give me, > > Welcome to freebsd.mydomain.org FreeBSD 2.2.8 > > How do I get that \n in there? > > 2) On this same screen, I have been unsuccessful in modifying the > geometry of the xconsole. I can change the foreground and background > colors of the xconsole just fine, so I know the Xresources are being > used. But no matter what values I might use for XConsole.geometry > I cannot change the size or the position of the xconsole. I would like > to have a small xconsole in the upper-left corner rather than the > lower-right default, > > XConsole.geometry: 430x90+0+0 > > But after adding this and restarting xdm, no change. > > Anyone been able to do these things? Thanks in advance. > -- > Crist J. Clark cjclark@home.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message