You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This mode is (depending on the implementation of less) even discouraged from use - however it can be quite useful for some modes where those raw characters (or encodings) are supported by the terminal and the pager (less or in this case, moar) doesn't and probably shouldn't be expected to support it directly.
Case in point: the output of gpg --list-keys can, if configured appropriately, output the PhotoID that's embedded in the OpenPGP keys. Many modern terminals (and many very old ones) support graphical modes, such as:
I'm not suggesting that moar support any of these, but it would be nice if moar could have a 'raw' passthrough mode, similar to less -r which allows at least some of these (such as sixels) to work in supported terminals.
The text was updated successfully, but these errors were encountered:
I want moar to be predictable, and this option would make moar not predictable.
To do its job, moar needs to know:
How many lines to print on the screen
How long each line is
If text lines magically, without moar's knowledge, end up as images, it will be impossible for moar to know either of these.
To quote less's man page (this would go for moar as well):
when the -r option is used, less cannot keep track of the actual appearance of the screen (since this depends on how the screen responds to each type of control character). Thus, various display problems may result, such as long lines being split in the wrong place.
less
has an-r
(raw) mode.This mode is (depending on the implementation of
less
) even discouraged from use - however it can be quite useful for some modes where those raw characters (or encodings) are supported by the terminal and the pager (less
or in this case,moar
) doesn't and probably shouldn't be expected to support it directly.Case in point: the output of
gpg --list-keys
can, if configured appropriately, output the PhotoID that's embedded in the OpenPGP keys. Many modern terminals (and many very old ones) support graphical modes, such as:I'm not suggesting that
moar
support any of these, but it would be nice ifmoar
could have a 'raw' passthrough mode, similar toless -r
which allows at least some of these (such as sixels) to work in supported terminals.The text was updated successfully, but these errors were encountered: