Page 1 of 1

When compiled with XAW, ToME uses too many terms by default

Posted: Fri Dec 04, 2009 7:21 pm
by Lord Estraven
Some Linux distros need ToME to be compiled with XAW to work properly. That's fine, except that when I click on the executable, it spams my screen with a dozen terms.

(And I prefer using only a single window, to boot.)

I know I can pass ToME the "-- -n1" option on the CLI, to limit the number of terms. But is there any config file I can change to set the *default* number of terms to 1? Opening a terminal whenever I want to play ToME is a little annoying. :)

Re: When compiled with XAW, ToME uses too many terms by default

Posted: Fri Dec 04, 2009 7:33 pm
by AnonymousHero
You get 5 terminals by default. This just so happens to be perfect :). 1 term for the main game, 1 for messages, 1 for monster recall, 1 for visible monsters and 1 for the inventory.

Re: When compiled with XAW, ToME uses too many terms by default

Posted: Fri Dec 04, 2009 7:59 pm
by Lord Estraven
Yeah, like I said... I prefer 1 terminal. :P

Re: When compiled with XAW, ToME uses too many terms by default

Posted: Fri Dec 04, 2009 8:51 pm
by madmonk
I use a shell script... like this, note I like 3 terminals and don't use the default tiles so you may need to fiddle:

Code: Select all

! /bin/sh

export ANGBAND_X11_FONT_0="10X20"
export ANGBAND_X11_FONT_1="7x13"
export ANGBAND_X11_FONT_2="7x13"
export ANGBAND_X11_FONT_3="-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1"

export ANGBAND_X11_AT_X_0="1"
export ANGBAND_X11_AT_Y_0="1"
export ANGBAND_X11_COLS_0=127
export ANGBAND_X11_ROWS_0=30

export ANGBAND_X11_AT_X_2="1"
export ANGBAND_X11_AT_Y_2="630"
export ANGBAND_X11_COLS_2=90
export ANGBAND_X11_ROWS_2=23

export ANGBAND_X11_AT_X_1="640"
export ANGBAND_X11_AT_Y_1="630"
export ANGBAND_X11_COLS_1=90
export ANGBAND_X11_ROWS_1=23

/home/jon/tome-235-src/tome -g -mx11 -- -o -n3
#! -g -mx11 -- -o -n3