bbs.menu("e-mail");
Hey DM,
I cloned email_sec.js and put it in mods/ as alterant_email_sec.js, and changed one line in there:
If I change back to the defaul shell, I get the pause as expected (so you can rad the message).
Why would there be a difference?
Are you displaying a custom menu file as well? Perhaps your menu file isusing ANSI animation sequences or something that is defeating the line-counter (which is used for auto-pausing before
scroll and screen-clear that would cause unread text to disappear).
Re: Custom Shell and ANSIs
By: Digital Man to Alterego on Mon Aug 19 2019 01:25 pm
Are you displaying a custom menu file as well? Perhaps your menu file is using ANSI animation sequences or something that is defeating the line-counter (which is used for auto-pausing before
scroll and screen-clear that would cause unread text to disappear).
Well, I am.
I'm using a custom ansi file, that renders the display a little differently - and if anything is using more screen lines than the original.
When I slow my session down (to 300 baud), I can see it rendering the "You have no unread messages", and then immediately display my e-mail.ans file (which has a ESC [ 2j ESC [ ;h to clear the screen and home the cursor.)
Where as with the default shell, it displays a shorter menu (in terms of screen length used), that message and a pause after it (regardless of my screen size - since it behaves the same on my UTF terminal (which is 51 lines) or my CP437 80x25 terminal).
I guess I dont understand what triggers that pause after the message.
The solution is to convert your raw-ANSI file to Ctrl-A (.msg or .asc),e.g. using ans2asc. This will replace the ANSI screen-clear with a Ctrl-AL code
I guess I dont understand what triggers that pause after the message.
A new-line or a screen-clear. The ANSI escape sequences in your menu aren't triggering the screen-clear login Synchronet (it doesn't parse outgoing ANSI escape sequences).
The solution is to convert your raw-ANSI file to Ctrl-A (.msg or
.asc), e.g. using ans2asc. This will replace the ANSI screen-clear
with a Ctrl-AL code which will then trigger the auto-pause.
On 2019 Aug 19 16:29:08, you wrote to Alterego:
I guess I dont understand what triggers that pause after the message.
A new-line or a screen-clear. The ANSI escape sequences in your menu aren't triggering the screen-clear login Synchronet (it doesn't parse outgoing ANSI escape sequences).
aahhh! that's the (main?) difference between ANSI and CTRL-A files...
The solution is to convert your raw-ANSI file to Ctrl-A (.msg or
.asc), e.g. using ans2asc. This will replace the ANSI screen-clear
with a Ctrl-AL code which will then trigger the auto-pause.
i ended up doing this with some of my screens that just wouldn't display as desired... once converted, everything was good... i think i do everything as CTRL-A .asc/.msg files now because of this...
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 25 |
Nodes: | 8 (0 / 8) |
Uptime: | 34:50:26 |
Calls: | 1,890 |
Calls today: | 1 |
Files: | 11,074 |
Messages: | 933,562 |