From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <969120f4722fd9bdd363136c895b96e8@plan9.ucalgary.ca> To: 9fans@cse.psu.edu Subject: Re: [9fans] p9 mice From: andrey mirtchovski In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 23 Apr 2004 11:20:45 -0600 Topicbox-Message-UUID: 6bb22898-eacd-11e9-9e20-41e7f4b1d025 > What do you mean by an XWindows resource? > Is this different from a command-line option? > (Sorry, I know very little about X even now.) basically X resources allow you to circumvent having to supply an argument for each little thing you want to execute. for example, to let xterm understand utf8 you can either exec xterm -u8 every time or set: xterm*utf8: 1 in .Xresource... here's mine (! is a comment) mirtchov@localrob$ cat .Xresource !big scrollback xterm*SaveLines: 5000 !unicode xterm*utf8: 1 !a reasonably reasonable font xterm*font: *-lucidatypewriter-medium-*-12-*-75-* 9term*font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 !close a session when connected from somewhere else vnc*shareOption: false mirtchov@localrob$ of course you need to merge .Xresource with the rest on startup: mirtchov@localrob$ cat .xinitrc xrdb -m ~/.Xresource plumber exec /usr/local/plan9/bin/rio ...