From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 14:34:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C6F9116A4DD for ; Sun, 3 Sep 2006 14:34:00 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A5EB43D45 for ; Sun, 3 Sep 2006 14:34:00 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail2.panix.com (Postfix) with ESMTP id C37F19D85B for ; Sun, 3 Sep 2006 10:33:59 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id DF02C1083BC5 for ; Sun, 3 Sep 2006 10:33:59 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GJt2t-0005om-00 for ; Sun, 03 Sep 2006 10:33:59 -0400 Date: Sun, 3 Sep 2006 10:33:59 -0400 From: stan To: Free BSD Questions list Message-ID: <20060903143359.GA22029@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 10:19:52 up 139 days, 11:25, 1 user, load average: 0.12, 0.03, 0.01 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Problesm with X application default X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 14:34:00 -0000 I'm building a replacement machine for a long serving workstation that finally died a hardware death. I've built a new machine updated to 6 CURRENT, and installed the KDE metaport. I have a customize XTerm application defaults file from a backup of the old machine. However, I can't seem to get xterm to honor it. I'm running xterm from teh menu bar in KDE with alauncher, and the -ls command line option. I use ksh, and I have my .profile set up to set the following environment variable: PPLRESDIR=/usr/X11R6/lib/X11/app-defaults/:/usr/lib/X11/app-defaults:/home/stan/.X11/app-defaults In /home/stan/.x11/app-defaults I have a file name XTerm that looks like this: XTerm*scrollBar: True XTerm*saveLines: 2048 XTerm*ttyModes: erase ^H intr ^C quit ^\ kill ^U start ^Q stop ^S swtch ^@ susp ^Z XTerm*SimpleMenu*BackingStore: NotUseful XTerm*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso*-* XTerm*SimpleMenu*menuLabel.vertSpace: 100 XTerm*SimpleMenu*HorizontalMargins: 16 XTerm*SimpleMenu*Sme.height: 16 XTerm*SimpleMenu*Cursor: left_ptr XTerm*SimpleMenu.background: gray75 XTerm*SimpleMenu.foreground: Black XTerm*mainMenu.Label: Main Options XTerm*mainMenu*Foreground: Black XTerm*mainMenu*Background: gray75 XTerm*mainMenu*securekbd*Label: Secure Keyboard XTerm*mainMenu*allowsends*Label: Allow SendEvents XTerm*mainMenu*logging*Label: Log to File XTerm*mainMenu*redraw*Label: Redraw Window XTerm*mainMenu*suspend*Label: Send STOP Signal XTerm*mainMenu*continue*Label: Send CONT Signal XTerm*mainMenu*interrupt*Label: Send INT Signal XTerm*mainMenu*hangup*Label: Send HUP Signal XTerm*mainMenu*terminate*Label: Send TERM Signal XTerm*mainMenu*kill*Label: Send KILL Signal XTerm*mainMenu*quit*Label: Quit XTerm*vtMenu.Label: VT Options XTerm*vtMenu*Foreground: Black XTerm*vtMenu*Background: gray75 XTerm*vtMenu*scrollbar*Label: Enable Scrollbar XTerm*vtMenu*jumpscroll*Label: Enable Jump Scroll XTerm*vtMenu*reversevideo*Label: Enable Reverse Video XTerm*vtMenu*autowrap*Label: Enable Auto Wraparound XTerm*vtMenu*reversewrap*Label: Enable Reverse Wraparound XTerm*vtMenu*autolinefeed*Label: Enable Auto Linefeed XTerm*vtMenu*appcursor*Label: Enable Application Cursor Keys XTerm*vtMenu*appkeypad*Label: Enable Application Keypad XTerm*vtMenu*scrollkey*Label: Scroll to Bottom on Key Press XTerm*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output XTerm*vtMenu*allow132*Label: Allow 80/132 Column Switching XTerm*vtMenu*cursesemul*Label: Enable Curses Emulation XTerm*vtMenu*visualbell*Label: Enable Visual Bell XTerm*vtMenu*marginbell*Label: Enable Margin Bell XTerm*vtMenu*altscreen*Label: Show Alternate Screen XTerm*vtMenu*softreset*Label: Do Soft Reset XTerm*vtMenu*hardreset*Label: Do Full Reset XTerm*vtMenu*tekshow*Label: Show Tek Window XTerm*vtMenu*tekmode*Label: Switch to Tek Mode XTerm*vtMenu*vthide*Label: Hide VT Window XTerm*fontMenu.Label: VT Fonts XTerm*fontMenu*Foreground: Black XTerm*fontMenu*Background: gray75 XTerm*fontMenu*fontdefault*Label: Default XTerm*fontMenu*font1*Label: Tiny XTerm*VT100*font1: nil2 XTerm*fontMenu*font2*Label: Small XTerm*VT100*font2: 6x10 XTerm*fontMenu*font3*Label: Medium XTerm*VT100*font3: 8x13 XTerm*fontMenu*font4*Label: Large XTerm*VT100*font4: 9x15 XTerm*fontMenu*fontescape*Label: Escape Sequence XTerm*fontMenu*fontsel*Label: Selection !fontescape and fontsel overridden by application XTerm*tekMenu.Label: Tek Options XTerm*tekMenu*tektextlarge*Label: Large Characters XTerm*tekMenu*tektext2*Label: #2 Size Characters XTerm*tekMenu*tektext3*Label: #3 Size Characters XTerm*tekMenu*tektextsmall*Label: Small Characters XTerm*tekMenu*tekpage*Label: PAGE XTerm*tekMenu*tekreset*Label: RESET XTerm*tekMenu*tekcopy*Label: COPY XTerm*tekMenu*vtshow*Label: Show VT Window XTerm*tekMenu*vtmode*Label: Switch to VT Mode XTerm*tekMenu*tekhide*Label: Hide Tek Window XTerm*tek4014*fontLarge: 9x15 XTerm*tek4014*font2: 8x13 XTerm*tek4014*font3: 6x13 XTerm*tek4014*fontSmall: 6x10 XTerm*VT100.Translations: #override Meta: insert-seven-bit() XTerm*background: Black XTerm*foreground: Yellow XTerm*cursorColor: White XTerm*pointerColor: Navy But despite that the Xterm comes up in white with black text. So, I put the same file in /usr/X11R6/lib/X11/app-defaults, but it still does not honor it Can anyone sugest what I am doing wrong? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)