Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A day without sunshine is like night.


dovenet / Synchronet Programming / src/sbbs3/atcodes.cpp getkey.cpp js_console.cpp load_cfg.c sbbs.h scfg

SubjectAuthor
o src/sbbs3/atcodes.cpp getkey.cpp js_console.cpp load_cfg.c sbbs.h scfgRob Swindell (on Debian Linux)

1
src/sbbs3/atcodes.cpp getkey.cpp js_console.cpp load_cfg.c sbbs.h scfg

<662B4430.49491.syncprog@vert.synchro.net>

  copy mid

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

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.debian.linux)@VERT (Rob Swindell (on Debian Linux))
To: Git commit to main/sbbs/master
Subject: src/sbbs3/atcodes.cpp getkey.cpp js_console.cpp load_cfg.c sbbs.h scfg
Message-ID: <662B4430.49491.syncprog@vert.synchro.net>
Date: Thu, 25 Apr 2024 23:05:36 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/af28c04c2 Apr 10 202 GCC 12.2.0
X-FTN-MSGID: 49491.syncprog@1:103/705 2a913b83
X-FTN-CHRS: CP437 2
WhenImported: 20240425230536-0700 c1e0
WhenExported: 20240426000653-0700 c1e0
ExportedFrom: VERT syncprog 49491
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Deb - Fri, 26 Apr 2024 06:05 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/8eef2dc8294a551009f2ee63
Modified Files:
src/sbbs3/atcodes.cpp getkey.cpp js_console.cpp load_cfg.c sbbs.h scfglib.h scfglib2.c
Log Message:
Add MNE:<low>[:high][:cmd] @-code for mnemonic string attribute control

The "default" mnemonic string attributes are still set in ctrl/attr.cfg,
but now, each mnemonic string (e.g. from text.dat or passed to JS
console.mnemonics()) can include a "MNE:" @-code to over-ride the default
mnemonic string attributes (low, high, and command). If the "high"
attribute isn't specified, it defaults to the same color as the "low"
attribute with the "high intensity" flag flipped. The "cmd" attribute
defaults to whatever was included in the attr.cfg, if not specified.
Technically, the separator between the attributes can be any non-valid
attribute character (e.g. symbol).

Renamed (really old function) attrstr() to strtoattr() since its usage now
more closely resembles other std C strto* functions (has an 'endptr' arg).

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor