Subj : repeat char @-code? To : Rampage From : Digital Man Date : Fri Oct 20 2023 20:19:52 Re: repeat char @-code? By: Rampage to Digital Man on Sun Aug 18 2019 10:41 am > Re: repeat char @-code? > By: Digital Man to mark lewis on Sat Aug 17 2019 21:49:32 > > DM>>> How about just: @fill:@ which would fill the rest of the > current line with the specified char? > > ml>> that'll work for now... thanks for implementing it :) > > DM> Sure, no problem. I didn't really see an obvious use case for those RPT > DM> examples you gave, but if/when you have one, I'll take a second look. > > well, the idea was for something codified for the different terminal > widths... kinda like the current header.asc has the line going from left to > right and then terminating with the dots... > > the thought was for something like > > @rpt#--l20@ . . . @rpt# -c20@ . . . @rpt#--r20@ > > which would result in 20 "-" from the left followed by the three dots > followed by 20 spaces followed by three dots ending with 20 "-" on the right > but with the whole thing taking the actual terminal width into account... so > maybe the "20" used in this example would be 20% instead of 20 glyphs... > > it was just an idea to be able to draw using the macros and taking the > screen width into account without having to draw a bunch of different > screens and then figure out how to use the proper one for the terminal width > of the user... but i can see how this might also be a rabbit hole, too... I'm not really seeing a big benefit/use there. digital man Synchronet "Real Fact" #61: How to get Synchronet technical support: http://wiki.synchro.net/howto:support Norco, CA WX: 77.3øF, 61.0% humidity, 4 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .