LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2019, 07:00 PM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,025

Rep: Reputation: 256Reputation: 256Reputation: 256
mutt 1.12.1: manual.txt damaged?


I have been restructuring my email system and I took a look at the installed manual.txt included with mutt 1.12.1 under -current. It is unreadable with any of the text editors on my system with bizarre characters where the text should be. This is the same when I extracted this file from the original source archive.

Oddly enough the manual.txt downloaded directly from the mutt web site is ok. So something upstream I suspect.

The source archive (unreadable) shows:
Code:
andrew@ilium~/tmp/mutt-1.12.1/doc$ file manual.txt 
manual.txt: ASCII text, with overstriking
While the 'standalone' download from the mutt site (perfectly legible) shows:

Code:
andrew@ilium~/tmp$ file manual.txt 
manual.txt: ASCII text
Any ideas? My suspicion is that some semi-automatic, and possibly faulty, process has generated the unreadable source archive manual.txt while a different process has been used on the legible 'standalone' version.

Or my system is borked

Last edited by andrew.46; 08-12-2019 at 07:02 PM.
 
Old 08-12-2019, 07:36 PM   #2
kgs
Member
 
Registered: Apr 2011
Posts: 33

Rep: Reputation: 4
I don't think there is any problem. Under 14.2:

Code:
kgs@darkstar:~$ file /usr/doc/mutt-1.10.1/manual.txt 
/usr/doc/mutt-1.10.1/manual.txt: ASCII text, with overstriking
The file can be viewed properly with less. vi and vim show the formatting marks.
 
1 members found this post helpful.
Old 08-12-2019, 07:48 PM   #3
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,025

Original Poster
Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by kgs View Post
The file can be viewed properly with less. vi and vim show the formatting marks.
Indeed less shows the file nicely. I attach a screenshot of my best friend geany reading the manual...
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	32
Size:	97.8 KB
ID:	31111  
 
Old 08-13-2019, 12:53 AM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,025

Original Poster
Rep: Reputation: 256Reputation: 256Reputation: 256
And so once again I have learnt something new in the Linux world, the extra formatting can be easily stripped as follows:

Code:
cat manual.txt | col -bx > manual_plain_ascii.txt
As to why the file shipped in that manner I am unclear, I cannot have been the only person to have stumbled into this issue...
 
Old 08-13-2019, 01:47 AM   #5
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 413

Rep: Reputation: 265Reputation: 265Reputation: 265
The default /etc/mutt/Muttrc has this
Code:
# Show documentation when pressing F1
macro generic,pager <F1> "<shell-escape> less /usr/doc/mutt-1.12.1/manual.txt<Enter>" "show Mutt documentation"
 
1 members found this post helpful.
Old 08-13-2019, 01:51 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Rep: Reputation: Disabled
it shows with very pretty colors here using most as a pager.
 
1 members found this post helpful.
Old 08-13-2019, 02:02 AM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,025

Original Poster
Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by Petri Kaukasoina View Post
The default /etc/mutt/Muttrc has this
Code:
# Show documentation when pressing F1
macro generic,pager <F1> "<shell-escape> less /usr/doc/mutt-1.12.1/manual.txt<Enter>" "show Mutt documentation"
Indeed it does and I guess this explains the issue for me completely. Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Partition damaged - how can I rescue damaged partition ray98 Linux - General 7 10-24-2014 08:05 AM
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 02:13 AM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 08:04 AM
cat onelinefile.txt >> newfile.txt; cat twofile.txt >> newfile.txt keep newline? tmcguinness Programming 4 02-12-2009 06:38 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration