Skip to content
Snippets Groups Projects
Commit 4975b416 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

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.
parent e2cdd5fc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3516 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment