BBS:      TELESC.NET.BR
Assunto:  console.printfile displaying unexpected data
De:       Digital Man
Data:     Wed, 29 Apr 2026 13:03:26 -0700
-----------------------------------------------------------
  hbRenb: hcconsole.printfile displaying unexpected data
  bBynb: hcCodefenix bto cAll bon cWed Apr 29 2026 03:37 pmn

 > I just noticed this really weird behavior with console.printfile recently. I
 > am not sure when it started, but I'm currently running 3.21dd
 > master/b3cec4b69 Mar 07 2026 01:38.
 >
 > Video of the problem:
 > https://conchaos.synchro.net/media/printfile-example.mp4
 >
 > As the video shows, occasionally when using console.printfile to play a file
 > containing cursor movement sequences, it will display data from... someplace
 > other than the file intended. In the video, it seems to be from recently
 > read messages. Other times, it's from random json data files in my web
 > directory. It's wild.
 >
 > What's even more wild is, it only seems to happen with certain files, such
 > as these .vt animations from artscene.textfiles.com (using an archived link
 > since it seems to be dead now):
 >
 > https://web.archive.org/web/20251204152741/http://artscene.textfiles.com/vt1
 > 00
 >
 > - bevis.butthead.vt
 > - monorail.vt (the one shown in the video)
 >
 > I'm using AnsiView in the video to demonstrate, but it happens in my own
 > scripts that use console.printfile as well.

Could it be an issue with the clien/terminal side?

 > If I open the file using the File class and use console.putmsg to output the
 > contents, then it shows normally and the problem never happens.
 >
 > Could console.printfile be recalling recently accessed memory that isn't
 > getting closed? I dunno what else to think..

I guess it's possible, though console.printfile() is really a thin wrapper around putmsg(). Can you update to at least the latest release (v3.21e) of sbbs and also try with different terminal/clients?
-- 
                                            HYdigital man n(rob)

Synchronet/BBS Terminology Definition #2:
ARS = Access Requirement Strings
Norco, CA WX: 75.0F, 38.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs
n---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]