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

Everything about ToME 2.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
Lord Estraven
Uruivellas
Posts: 718
Joined: Tue Dec 13, 2005 12:35 am

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

#1 Post 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. :)

AnonymousHero
Spiderkin
Posts: 482
Joined: Sat Mar 18, 2006 12:48 pm

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

#2 Post 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.

Lord Estraven
Uruivellas
Posts: 718
Joined: Tue Dec 13, 2005 12:35 am

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

#3 Post by Lord Estraven »

Yeah, like I said... I prefer 1 terminal. :P

madmonk
Reaper
Posts: 2257
Joined: Wed Dec 12, 2007 12:21 am
Location: New Zealand

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

#4 Post 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
Regards

Jon.

Post Reply