| Summary: | perldoc -q makes less warn about binary files | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jan <gentoo-bugzilla> |
| Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | base-system |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Example that reproduces the same affect without perldoc | ||
|
Description
Jan
2007-05-29 16:13:32 UTC
Created attachment 120864 [details]
Example that reproduces the same affect without perldoc
The problem isn't perldoc -its less that's at fault here. Consider the attached file - in more, it displays a pretty colored Hello. If you vi the file, you can see its just a series of ascii escape sequenced color settings. But if you less the file, less complains that its a binary file.
base-system folks, adding you to the bug (see my last above re: less) in case you have any comments (not sure if this is really a bug in less or not, please weigh in). perldoc itself just relies on whatever is set to the PAGER var in your shell, fwiw. less-403 seems to fix this ... re-open if you disagree ;) I agree, it's fixed in less-403. Thanks! |