Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 28:08:20 |
Calls: | 286 |
Calls today: | 1 |
Files: | 899 |
Messages: | 76,593 |
I'm not sure I understand exactly the proper syntax to use, or how to
tell WWIV within the bbs.str.ini that it's X string I want to manipulate
or change.
We'd have to pull that string and tell the source to use it from
bbs.str.ini instead of having it hardcoded. I didn't pull all the
strongs since it's super hard to follow, but I'd be happy to see a discyssion on which ones we should pull into the string file and review
a pull request.
3. The ability to replace a string, such as a header or footer
(including line dividers,) to ansi created ones. Something such as a (adding spaces now for translation .. ) | [ @DF Auto (no extention code
Two areas that are a bit of a challenge to customize would be the
listplus and the fs editor/reader/title lister where as the header and footer may be customizable but the data between requires hard coding.
If the things that need spaces are from a variable, like the message
header, there's formatting support to pad things, etc. See https://docs.wwivbbs.org/en/latest/cfg/displaying_text/#pipe-variables-f ormattin g
That could be doable if we work out what all is needed. That'd need 2
files or strings that could optionally display a file for the header and footer and then a template string for the files in the list which would
use local variables.
Possible, not easy. Here's an example for the full screen message
reader: https://github.com/wwivbbs/wwiv/blob/main/install/gfiles/fs_msgscan.msg
Wow that was long winded. My apologies, I'm excided with how far WWIV
has come and hope more start USING the incredible custom features WWIV
THanks for the suggestions and ideas.
I think one thing that may be possible, I'll log it on github is to add
a @ { printfile } function like we have for spin and backprint. If that
can work, then that'd let the files be displayed anyplace we have a
string.
If the things that need spaces are from a variable, like the message
header, there's formatting support to pad things, etc. See https://docs.wwivbbs.org/en/latest/cfg/displaying_text/#pipe-variables-f ormattin g
mention above in the quoted text. I am confused by the formatting for padding, centering, and trimming in three areas:
RE: Re: bbs.str.ini
BY: Recon #1 @126
mention above in the quoted text. I am confused by the
formatting for
padding, centering, and trimming in three areas:
For 1, the user variables are all in the userrec struct (that's been the same since 4.0) Here's thatr file. That can help with max length:
https://github.com/wwivbbs/wwiv/blob/5d9bef30e0772f3ce0349b78b3245c8aad9 306f6/sd k/vardec.h#L43
2: Yes you have the right idea. The ">" character will right align the
text so make sure that's what you want.
3: I think just using text like that in quotes would work, would you
give it a try and let me know?
4: WWIV doesn't care about the raw line length, it'll just wrap at the number of displayed chars based on the user's line length. So I have
many files > 80 chars that include ansi or other codes in it. All good.
I'll try to remember my discord logins, I'm on irc randomly too
rushfan
^ Do need these
^^ For [[ pad ]] align ] [ width ] how does that look when combined with a global context variable. I'll play around but the
example
| { user.name, " >35 " }
Doesn't necessarily match the syntax for "format." So I thought it
didn't hurt to ask.
RE: Re: bbs.str.ini
BY: Rushfan #1 @513
Thanks for the link, the max lengths will be super helpful! I've been
able to figure out quite a bit on my own, the ANSI could use some improvement, but I've bene able to use the bbs strings file combined
with x/y MCI codes to place the NN: and PW: where I want within the
ANSI. In addition I've added backspace into lilo (the function /
procedure not mci code) for a when they get the password/username wrong.
So excited about that. Now for a better ansi lol, that'll take some
time (blah!)
What I think has me confused on syntax is this line in the docs:
format ::= [[pad]align][width]
^ Do need these
^^ For [[ pad ]] align ] [ width ] how does that look when combined with a global context variable. I'll play around but the
example
| { user.name, " >35 " }
Doesn't necessarily match the syntax for "format." So I thought it
didn't hurt to ask.
Thanks rush!
On Monday,December 09, 2024 at 08:49 AM, Rushfan wrote:
RE: Re: bbs.str.ini
BY: Recon #1 @126
mention above in the quoted text. I am confused by the
formatting for
padding, centering, and trimming in three areas:
For 1, the user variables are all in the userrec struct (that's
been the
same since 4.0) Here's thatr file. That can help with max length:
https://github.com/wwivbbs/wwiv/blob/5d9bef30e0772f3ce0349b78b3
306f6/sd k/vardec.h#L43
2: Yes you have the right idea. The ">" character will right
align the
text so make sure that's what you want.
3: I think just using text like that in quotes would work, would you
give it a try and let me know?
4: WWIV doesn't care about the raw line length, it'll just wrap
at the
number of displayed chars based on the user's line length. So I have many files > 80 chars that include ansi or other codes in it.
All good.
I'll try to remember my discord logins, I'm on irc randomly too
rushfan
♦1
♦2|08Gh|150|08sts |07in the |15Machine
♦3|08ghostmachine.ddns.net|15:|08 t|151717 |08ssh|157777
♦4
♦5
I think it's just the way the documentation is written. I'll review the examples and figure it out. Thanks rush.
If you can think of beter ways to document it, please let us know. Even better would be to send a change to the docs to fix it and make it
better for everyone. Our docs are in markdown, which is super simple
format to edit.
Here's the source: https://github.com/wwivbbs/docs/blob/main/docs/cfg/displaying_text.md
I didn't mean it that way, I mean it's my inexperience not understanding
the written documentation, not that the documentation is written poorly.
Thanks for all of the support you've given.