https://gitlab.synchro.net/main/sbbs/-/commit/4975b416794c83ec72dbd13d
Added Files:
exec/syncterm-bounce.js
Modified Files:
src/conio/bitmap_con.c bitmap_con.h ciolib.c ciolib.h cterm.c cterm.h cterm.txt src/syncterm/ripper.c term.c
Log Message:
Add support for PPM graphics to SyncTERM
You can copy whole, or portions of a PPM file from the cache directory
to the screen, optionally applying a mask. The mask can be specified
as a base64-encoded bitmap or as a PBM file in the cache directory.
You can also copy portions of the screen into an internal buffer, and
draw from that internal buffer. There's plans to support loading an
image file from the cache directory into the buffer as well.
Portions of the buffer can be copied to the screen, optionally
applying a mask as with drawing PPMs.
There's also plans to support copying a PBM file into a mask buffer.
I've added the syncterm-bounce.js script which simply bounces the
SyncTERM icon around the screen like the classic screensaver we all
hate. I initially wanted to replace the spinning cursor with it,
but there doesn't seem to be a way to replace that with a script. :(
To use the script, just add the text:
@EXEC:syncterm-bounce.js@ to the end of your logon.js script.
Log in to nix.synchro.net with the latest nightly build or build from
git to see the script in action.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net