Subj : text reformating To : Kai Richter From : Grant Weasner Date : Wed Jun 04 2025 10:47 am Re: text reformating By: Kai Richter to Grant Weasner on Wed May 28 2025 15:03:50 Hi Kai, > GW> Gopher friendly: > GW> 1) 64 columns wide. > GW> 2) any indents will remain, but if a line goes beyond 64 cols, the remaining characters will go to the line below but > GW> indent > GW> to the same column as the prior line. > > Indent to the same column as the prior line - that sounds like the man manpages layout? Yes I'm working on the algorithm for the process. So far its counting the proceeding whitespace starting at char[0] for the line, and finding any '\t' tabs as well. If the next line proceeding whitespace is equal to current line, read the next->next line check for equal whitespace. Repeat the process until whitespace is not equal, or whitespace is equal but directly after whietspace there is a '\n'. create new lines with current whitespace for every joined line. > > If yes then you may like to peek into the manpage display processes for more hints. I looked at man man, but I wasn't sure what I was looking for. Lots of references to groff within man man. --- SBBSecho 3.20-Linux * Origin: Lunar Outpost - lunarout.synchro.net (1:138/397) .