From owner-freebsd-questions Sun Sep 15 8:14:52 2002 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 7039637B400 for ; Sun, 15 Sep 2002 08:14:51 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id E74D443E4A for ; Sun, 15 Sep 2002 08:14:49 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 16788 invoked from network); 15 Sep 2002 15:14:48 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 15 Sep 2002 15:14:48 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 8EB3CD6; Sun, 15 Sep 2002 17:14:50 +0200 (CEST) Date: Sun, 15 Sep 2002 17:14:50 +0200 From: Roman Neuhauser To: Frank Heitmann Cc: freebsd-questions@freebsd.org Subject: Re: Starting programs in X Message-ID: <20020915151450.GD56092@freepuppy.bellavista.cz> Mail-Followup-To: Frank Heitmann , freebsd-questions@freebsd.org References: <20020915161638.A866@host1.myhost.mydomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020915161638.A866@host1.myhost.mydomain> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # fh31415@gmx.net / 2002-09-15 16:16:38 +0200: > Hello everybody! > > When I start 'emacs' in an xterm window it automatically > opens a new window. I would like this behaviour also for > other programs (slrn and mutt for example). i don't use emacs (vim person), but i believe it behaves differently depending on whether it detects an X environment or not. slrn and mutt are ncurses/slang applications, and as such just don't have the capability you're looking for. (i might be wrong with slrn, i don't read newsgroups) > At this time I do: "xterm -geometry 100x50 -e slrn &", > but I would like to enter just slrn (like I have just to > enter emacs) and I would also like to read the geometry > setting from .Xresources (like emacs does). > > I could create a small script with just the above line in > it to start slrn, but I believe there is another way to do > this - one I do not know yet :) i don't see another possibility besides a shell alias; i don't cosider that a valid option as it's shell dependant by nature. plus, a shell script *could* use your .Xresources file, but you'd prolly have to write a parser. it would be pretty easy, though. -- begin 666 nonexistent.vbs FreeBSD 4.6-STABLE 5:02PM up 25 days, 22:55, 16 users, load averages: 0.00, 0.00, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message