Subj : xbin To : echicken From : DesotoFireflite Date : Thu Mar 10 2022 13:11:14 Re: xbin By: echicken to MRO on Tue Mar 08 2022 05:04 am ec> Re: xbin ec> By: MRO to Digital Man on Mon Mar 07 2022 21:28:46 ec> The display function I'm using is like this, where 'fn' is a string, path ec> to a sixel file: Ok, so far, I made a file with the ext of js, and put it in my mods directory. I tried calling the file ?file.js c:/sbbs/text.oip.six. with no luck. I see where you say fn is a string, so do I actually modify the file for line 3 and 5, and put in my path to the sixel file. I tried that, and just get errors. I think my first statement is what I should be doing, but something is off on the command line I'm thinking. My syncterm show the sixel on your bbs fine, so i've ruled out syncterm. What am I missing. I've made the file small 240x188 for this experiment. Thanks in advance. ec> load('cterm_lib.js'); ec> function show_sixel(fn) { ec> if (console.cterm_version >= 1189) { ec> var image = new File(fn); ec> if (image.exists) { ec> if (image.open("rb", true)) { ec> var readlen = console.output_buffer_level + console.output_buffer_space; ec> readlen /= 2; ec> console.clear(); ec> while (!image.eof) { ec> var imagedata=image.read(readlen); ec> while (console.output_buffer_space < imagedata.length) { ec> mswait(1); ec> } ec> console.write(imagedata); ec> } ec> image.close(); ec> return true; ec> } SysOp: C.G. Learn, AKA: DesotoFireflite Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com Valhalla II! - (GAP) - bbs.valhallabbs.com:24 Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023 Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26 Valhalla Home Services Web! - http://bbs.valhallabbs.com A Gamers Paradise - Over 150 Registered Online Game Doors! Home Of Odin's Maze Game Server! --- CAT (n.), Furry keyboard cover. þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .