Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 31, 2019, 14:37   #1
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 61
lea2501 is on a distinguished road
Question subwindows in ncurses

Hi! another question, i installed the curses only version of angband 4.2.0. Is there a way to have subwindows like the graphical version has? i installed this version because i play mainly in 2 notebook screens that are 15" and 17" and i like having big characters to see well, but sometimes i play in a 22" external screen and would like to have the subwindows with some always updated info about items, monsters, messages, and the like.

If it's not possible, I'm thinking maybe theres a way to have the graphical version installed, and have the curses version available when i play on the smaller screens, right? like, the opposite, compile and install with graphic support, but having the ncurses only option.

Thank you all!
lea2501 is offline   Reply With Quote
Old December 31, 2019, 15:12   #2
Gwarl
Knight
 
Join Date: Jan 2017
Posts: 963
Gwarl will become famous soon enough
The simplest method is to use eg
Quote:
-mgcu --n4
which will partition the screen into quarters. There's an undocumented feature which allows you to specify desired window partitions more precisely, but it's rather complicated and only explained inside a comment in main-gcu.c

I think -mx11 and -msdl should be available by default in precompiled binaries? But regardless binaries can be produced supporting multiple frontends.
Gwarl is offline   Reply With Quote
Old December 31, 2019, 17:59   #3
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 61
lea2501 is on a distinguished road
Sadly it's not working for me, it gives me the output of '--help' when i type 'angband -mgcu --n4', it only works if i type 'angband -mgcu -- n4' but it didn't split in subwindows
lea2501 is offline   Reply With Quote
Old December 31, 2019, 20:56   #4
fph
Veteran
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 1,027
fph is on a distinguished road
It's
Code:
 -mgcu -- -n4
. The -- serves to separate "front-end options" from main game options.
__________________
--
Dive fast, die young, leave a high-CHA corpse.
fph is offline   Reply With Quote
Old December 31, 2019, 21:21   #5
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 61
lea2501 is on a distinguished road
Quote:
Originally Posted by fph View Post
It's
Code:
 -mgcu -- -n4
. The -- serves to separate "front-end options" from main game options.
Thank so so much! it's working perfectly now!
lea2501 is offline   Reply With Quote
Reply

Tags
ncurses, subwindows, terminal


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Future-proof cross-platform interface library, only GCU / ncurses? droof Development 13 February 13, 2018 06:28
Which subwindows do you use? t4nk Vanilla 23 September 2, 2016 18:40
[T2] ncurses interface problems Therem Harth Development 5 October 24, 2011 01:57
Reentrant ncurses konijn_ Development 0 July 15, 2010 00:05
NCurses aricz Vanilla 16 June 15, 2007 15:31


All times are GMT +1. The time now is 18:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.