Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

NOTICE: anyone seen smoking will be assumed to be on fire and will be summarily put out.


dovenet / Synchronet Discussion / screen sizes

SubjectAuthor
* screen sizesJustmike
`- screen sizesDigital Man

1
screen sizes

<65D4E85C.294.dove-syncdisc@74.65.39.90>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2231&group=DOVE-Net.Synchronet_Discussion#2231

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: justmike@VERT/COCONET (Justmike)
To: All
Subject: screen sizes
Message-ID: <65D4E85C.294.dove-syncdisc@74.65.39.90>
Date: Tue, 20 Feb 2024 17:58:52 -0500
X-Comment-To: All
Path: rocksolidbbs.com!not-for-mail
Organization: CoCoNet
Newsgroups: DOVE-Net.Synchronet_Discussion
X-FTN-PID: Synchronet 3.20a-Linux master/a643f1191 Jan 30 2024 GCC 11.4.0
X-FTN-MSGID: 51354.sync@1:103/705 2a3b353c
X-FTN-CHRS: CP437 2
WhenImported: 20240220153250-0800 41e0
WhenExported: 20240303164636-0800 41e0
ExportedFrom: VERT sync 51354
WhenImported: 20240220175852-0500 412c
WhenExported: 20240220233250Z 412c
ExportedFrom: COCONET dove-syncdisc 294
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Justmike - Tue, 20 Feb 2024 22:58 UTC

Hello I am a just getting started being a Sysop of a BBS. My BBS will cater tothe Tandy Color Computer users. With that there are a few different screen
sizes to accomidate, 32x16, 64x32 and 80x24. Is there a way to configure
Synchronet BBS to ask for the user's screen size and then display appropriate
menus and / or graphics? If this information is already in the manual, I was
not able to find it. If someone could point me to that area of the manual thatwould be great. If there isn't something already in the manual, is there a
way? An addon? any assistance would be much apprecate.
Thank you
JustMike
/S

---
■ Synchronet ■ CoCoNet BBS

screen sizes

<65D53AEB.51355.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2232&group=DOVE-Net.Synchronet_Discussion#2232

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Justmike
Subject: screen sizes
Message-ID: <65D53AEB.51355.sync@vert.synchro.net>
Date: Tue, 20 Feb 2024 15:51:07 -0800
X-Comment-To: Justmike
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <65D4E85C.294.dove-syncdisc@74.65.39.90>
References: <65D4E85C.294.dove-syncdisc@74.65.39.90>
X-FTN-PID: Synchronet 3.20a-Win32 master/ce7c2cca9 Feb 16 2024 MSC 1916
X-FTN-MSGID: 51355.sync@1:103/705 2a3b3986
X-FTN-REPLY: 51354.sync@1:103/705 2a3b353c
X-FTN-CHRS: CP437 2
WhenImported: 20240220155107-0800 41e0
WhenExported: 20240303164636-0800 41e0
ExportedFrom: VERT sync 51355
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Tue, 20 Feb 2024 23:51 UTC

Re: screen sizes
By: Justmike to All on Tue Feb 20 2024 05:58 pm

> Hello I am a just getting started being a Sysop of a BBS. My BBS will cater
> tothe Tandy Color Computer users. With that there are a few different
> screen sizes to accomidate, 32x16, 64x32 and 80x24. Is there a way to
> configure Synchronet BBS to ask for the user's screen size and then display
> appropriate menus and / or graphics? If this information is already in the
> manual, I was not able to find it. If someone could point me to that area
> of the manual thatwould be great. If there isn't something already in the
> manual, is there a way? An addon? any assistance would be much apprecate.

If the terminal program supports ANSI, the screen dimensions should be auto-detected automatically by Synchronet (no "asking" the user is necessary).
If the terminal does not support ANSI but does support Telnet "Negotiate Window Size" commands, then the terminal dimensions can be communicated to the BBS's Telnet Server via Telnet commands (automatically).

That said, Synchronet will only allow terminal windows of at least 40 columns (a screen width less than 40 is considered "invalid" and effectively ignored):
File sbbsdefs.h:
#define TERM_COLS_MIN 40

You can change this value at compile time or if it's really important, we could lower this value in the source code. But the BBS experience for 40 column users is already barely acceptable, I don't think 32 columns would be very pleasant.

Each user already has the option to specify their terminal height and width manually in their user settings/defaults. Again, the minimum terminal width/columns is currently 40.

Several 40 column menus are already inculded with Synchronet.

And yes, you could add a few lines of JavaScript (e.g. to exec/login.js) to ask the user how many rows and columns they have on their console (for every login) and use their answers to set the console.screen_rows and console.screen_columns properties accordingly. Most users probably wouldn't like answering that question on every login and I certainly wouldn't do that for any ANSI terminal users.
--
digital man (rob)

Synchronet "Real Fact" #116:
Synchronet v1a r5 (for MS-DOS) was released on February 19, 1992
Norco, CA WX: 55.1°F, 94.0% humidity, 0 mph W wind, 1.53 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor