From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 18:45:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB7BC16A407 for ; Wed, 3 Jan 2007 18:45:26 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id A891613C46A for ; Wed, 3 Jan 2007 18:45:24 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 27976 invoked from network); 3 Jan 2007 18:45:24 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Jan 2007 18:45:24 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C2BA028430; Wed, 3 Jan 2007 13:45:23 -0500 (EST) To: "Steve Franks" References: <539c60b90701020731ie718a0r950b95572291ad0b@mail.gmail.com> From: Lowell Gilbert Date: Wed, 03 Jan 2007 13:45:23 -0500 In-Reply-To: <539c60b90701020731ie718a0r950b95572291ad0b@mail.gmail.com> (Steve Franks's message of "Tue, 2 Jan 2007 08:31:55 -0700") Message-ID: <44fyas6jb0.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Users Questions Subject: Re: termcaps: xdm vs. startx X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Users Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 18:45:26 -0000 "Steve Franks" writes: > So if I run xdm on startup, when I log in, my up arrow gives '[[A' instead > of command history, backspace, other keys have similar effects. If I log in > then do startx, everything works as expected. It's really not an issue for > me, I'm just curious. I tried changing the line in /etc/ttys from ..... on > xterm..... to .....on xterm-color.... with no apparent effects. I presume > there is some difference in terms of login scripts with xdm vs. startx? You presume correctly. The manual for each describe the full set of options, but users will typically have a .xsession file in their home directories for the former, and .xinitrc for the latter. /etc/ttys is not relevant. How the xterms get started within the X session is the key.