aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* README: Add Troubleshooting section.HEADmasterKaz Kylheku13 days1-0/+24
|
* Configure Vim to :nowrap mode.Kaz Kylheku13 days1-1/+1
| | | | | | - Ran into this issue in a vanilla environment with no ~/.vimrc. Vim had wrapping enabled by default, at 72 columns, resulting in 80 column man pages looking like crap.
* Map dash-like unicode characters to ASCII dash.kKaz Kylheku2025-01-162-2/+8
| | | | | | | | | | | | | | | - Look for the following characters in the input: - U+2010 (Hyphen), - U+2013 (En Dash) - U+2014 (Em Dash) - U+2212 (Minus) and convert them to: - U+002D (ASCII Hyphen-Minus) - This is not just for appearance. I use an old version of Screen which somehow reacts badly to the U+2010 hyphen; the terminal becomes seriously corrupt, making the portions of a man page adjacent to hyphenated lines unreadable.
* Specify txrlisp in hash bang line.Kaz Kylheku2025-01-161-1/+1
| | | | | | - Let's use #!/usr/bin/env txlisp. This way the compiler will translate that to txrvm, and so the program will work when unsuffixed, whether source code or compiled.
* Interpolate number of columns into name.Kaz Kylheku2023-10-221-1/+5
| | | | | | | | | | - Problem: if the user views the same man page from different terminal windows that don't have the same width, the remembered locations don't make sense. - Solution: interpolate the width into the temporary file name, so that Vim remembers the position separately for each width.
* Handle French accents in Gawk man page.Kaz Kylheku2023-10-131-1/+21
| | | | | | | | | | | | - There are instances of backspace overstriking intended to produce accented letters. Examples of this occur in the grep man page. The less pager doesn't handle these! We now do though, ha! - I dare not guess at the overstriking combination that produces an italic accented letter, or bold+italic+accented. Also, I don't know of man pages that produce circumflex accents. "Will fix it when I see it."
* Handle ambiuous _\b_Kaz Kylheku2023-10-131-0/+4
| | | | | | Is _ backspace _ italic or bold? Let's default on bold, except if the current mode is italic or bold-italic: then it's italic.
* Some less-like commands.Kaz Kylheku2023-10-131-1/+3
| | | | - Support space for page down, b for page up.
* README: some explanations why.Kaz Kylheku2023-10-131-2/+15
|
* README: don't forget execute perms.Kaz Kylheku2023-10-131-1/+6
|
* Add markdown READMEKaz Kylheku2023-10-131-0/+54
|
* Bugfix: spaces don't interrupt formatting.Kaz Kylheku2023-10-131-1/+1
| | | | | | | | | - Undo the hack which was for the sake of Vim help syntax: that spaces return to normal mode. This was because Vim help syntax doesn't handles spaces as in *two words*; we had to typeset that as *two* *words*. That interferes with searchability though. We want {B{two words}B} and not {B{two}B} {B{words}B}.
* Add BSD-1 license.Kaz Kylheku2023-10-133-0/+66
|
* New mnpgr.vim syntax file.Kaz Kylheku2023-10-132-7/+27
| | | | | | | | | | | | - Bugfix in mnpgr.tl: recognize bold + italic which is encoded as the five char sequence _ BS <char> BS <char>. - Another bugfix: we must turn on the conceal level and set concealcursor. Setting the syntax alone won't do it. - Switch from Vim help syntax to mnpgr syntax, where bold is {B{...}B}, italic is {I{...}I} and bold italic is {C{...}C}.
* Support compiling.Kaz Kylheku2023-10-131-11/+12
|
* Filter overstrikes to Vim help convention.Kaz Kylheku2023-10-131-10/+28
| | | | | This allows us to just :set syntax help, and all the highlighted items are searchable.
* First version.Kaz Kylheku2023-10-131-0/+27
|
* NILKaz Kylheku2023-10-130-0/+0