LINUX-------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 67 из 100
 От   : Grant Weasner                       1:138/397         04 июн 25 10:47:15
 К    : Kai Richter                                           04 июн 25 20:51:01
 Тема : text reformating
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 291.fidonet_linux@1:138/397 2ca5bdc6
@REPLY: 2:240/77 68370d12
@TZUTC: -0700
@PID: Synchronet 3.20a-Linux master/57c2367a5 Sep 18
202 GCC 10.2.1
@TID: SBBSecho 3.20-Linux master/57c2367a5 Sep 18
2024 22:26 GCC 10.2.1
@COLS: 132
@BBSID: LUNAROUT
@CHRS: ASCII 1
@NOTE: FSEditor.js v1.105
  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 `
`.
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)
SEEN-BY: 1/120 18/0 50/109 103/705 104/119 114/10
116/116 120/616 123/0 25
SEEN-BY: 123/126 180 525 755 3001 3002 124/5016
135/115 138/142 146 397
SEEN-BY: 153/757 7001 7715 154/10 30 50 700 203/0
220/6 20 30 90 221/0 6
SEEN-BY: 222/2 226/18 44 50 229/310 426 240/1120
5832 250/1 263/1 275/100
SEEN-BY: 275/1000 280/464 5003 292/854 8125 301/1
310/31 341/66 234 342/11
SEEN-BY: 396/45 423/120 460/58 463/68 467/888
633/280 712/848 1321 1321 770/1
SEEN-BY: 2320/105 3634/0 12 27 56 57 58 60 119
5000/111 5020/400 545 715 828
SEEN-BY: 5020/830 846 848 1042 4441 12000 5030/49
1081 1474 1900 5060/900
SEEN-BY: 5061/133 5075/128 5083/444 6078/80
@PATH: 138/397 153/7715 3634/12 154/10 280/464
467/888 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх