Bug 12565

Summary: termhelper loses words in headlines
Product: [ROSA-based products] ROSA Fresh Reporter: a.betkher <a.betkher>
Component: Preinstalled software in the ISOAssignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: m.novosyolov, pastordidi, survolog
Version: All   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description a.betkher 2022-08-16 15:01:39 MSK
Termhelper function "+" that prints headers does not work correctly with lines longer than 60 characters

make termhelper page with header to check this bug:

echo "+ 11111111 22222222 3333333 4444444 5555555 6666666 77777777 8888888  999999999  000000000" > /usr/share/termhelper/ru/справка.111

справка 111 

must be:
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 16.08.22 ■■■■■■■■
справка -> 1111
           11111111 22222222 3333333 4444444 5555555 6666666 77777777
                          8888888 999999999 000000000
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■⌚ ️14:52:19 ■■■■■■■■

but:
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 16.08.22 ■■■■■■■■
справка -> 1111
           11111111 22222222 3333333 4444444 5555555 6666666 77777777
           11111111 22222222 3333333 4444444 5555555 6666666 77777777
           11111111 22222222 3333333 4444444 5555555 6666666 77777777
           11111111 22222222 3333333 4444444 5555555 6666666 77777777
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■⌚ ️14:51:15 ■■■■■■■■
Comment 1 a.betkher 2022-08-16 15:28:08 MSK
https://abf.io/build_lists/4126589 x86-64
https://abf.io/build_lists/4126590
https://abf.io/build_lists/4126591
https://abf.io/build_lists/4126592
https://abf.io/build_lists/4126593

Fixed. 
Else added wiki2helper script to separate wiki2helper package.
Wiki2helper - script to convert from rosa wiki pages to termhelper format.
This can be useful for adding wiki pages like thermhelper files to rpm packages.

Advisory:

echo "+ 11111111 22222222 3333333 4444444 5555555 6666666 77777777 8888888  999999999  000000000" > /usr/share/termhelper/ru/справка.111

справка 111 

must be:
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 16.08.22 ■■■■■■■■
справка -> 1111
           11111111 22222222 3333333 4444444 5555555 6666666 77777777
                          8888888 999999999 000000000
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■⌚ ️14:52:19 ■■■■■■■■

To check wiki2helper:

wiki2helper Barium:виртуализация > /usr/share/termhelper/ru/справка.111
справка 111
Comment 2 Dmitry Postnikov 2022-08-31 09:05:15 MSK
****************************
The update sent to testings
Comment 3 Mikhail Novosyolov 2022-09-01 22:26:13 MSK
Published into main when fixing repository consistency after updating Qt5 to 5.15.5