| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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."
|
|
|
|
|
|
| |
Is _ backspace _ italic or bold? Let's default
on bold, except if the current mode is italic or
bold-italic: then it's italic.
|
|
|
|
| |
- Support space for page down, b for page up.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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}.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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}.
|
| |
|
|
|
|
|
| |
This allows us to just :set syntax help, and all the
highlighted items are searchable.
|
| |
|
|
|