rewrite lel.1 - lel - Farbfeld image viewer | |
git clone git://git.codemadness.org/lel | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b2dacdc146fad38706b29b984d86de173a189483 | |
parent 4aae420a8f5d8010d5f68b1db93b6f4c877f73da | |
Author: Svyatoslav Mishyn <[email protected]> | |
Date: Tue, 26 Jul 2016 23:15:05 +0300 | |
rewrite lel.1 | |
Diffstat: | |
M lel.1 | 140 +++++++++++++++++++++++++++++… | |
1 file changed, 131 insertions(+), 9 deletions(-) | |
--- | |
diff --git a/lel.1 b/lel.1 | |
@@ -1,9 +1,131 @@ | |
-.TH LEL 1 lel\-0.1 | |
-.SH NAME | |
-lel \- simple X11 image viewer | |
-.SH SYNOPSIS | |
-.B lel | |
-.SH DESCRIPTION | |
-View an image in the farbfeld format. | |
-.SH BUGS | |
-Please report them! | |
+.\" | |
+.\" Copyright (c) 2016 Svyatoslav Mishyn <[email protected]> | |
+.\" | |
+.\" Permission is hereby granted, free of charge, to any person obtaining a | |
+.\" copy of this software and associated documentation files (the "Software"), | |
+.\" to deal in the Software without restriction, including without limitation | |
+.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
+.\" and/or sell copies of the Software, and to permit persons to whom the | |
+.\" Software is furnished to do so, subject to the following conditions: | |
+.\" | |
+.\" The above copyright notice and this permission notice shall be included in | |
+.\" all copies or substantial portions of the Software. | |
+.\" | |
+.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
+.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
+.\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
+.\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
+.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
+.\" DEALINGS IN THE SOFTWARE. | |
+.\" | |
+.Dd July 26, 2016 | |
+.Dt LEL 1 | |
+.Os | |
+.Sh NAME | |
+.Nm lel | |
+.Nd simple X11 image viewer | |
+.Sh SYNOPSIS | |
+.Nm | |
+.Op Fl afv | |
+.Op Fl h Ar height | |
+.Op Fl w Ar width | |
+.Op Fl t Ar title | |
+.Op Fl x Ar position | |
+.Op Fl y Ar position | |
+.Op Ar | |
+.Sh DESCRIPTION | |
+The | |
+.Nm | |
+utility is a simple X11 image viewer for the | |
+.Xr farbfeld 5 | |
+format. | |
+.Pp | |
+The options are as follows: | |
+.Bl -tag -width Ds | |
+.It Fl a | |
+Display full window, keep aspect ratio. | |
+.It Fl f | |
+Display full window, stretch (no aspect). | |
+.It Fl v | |
+Print version and exit. | |
+.It Fl h | |
+Set window height to | |
+.Ar height . | |
+.It Fl w | |
+Set window width to | |
+.Ar width . | |
+.It Fl t | |
+Set window title to | |
+.Ar title . | |
+.It Fl x | |
+Set window X position to | |
+.Ar position . | |
+.It Fl y | |
+Set window Y position to | |
+.Ar position . | |
+.It Ar file | |
+Read input from zero or more files. | |
+If unspecified, reads from stdin. | |
+If multiple files are specified, | |
+.Nm | |
+will halt with the first failed parse. | |
+.El | |
+.Sh COMMANDS | |
+.Bl -tag -width Ds | |
+.It Ic RETURN | |
+Print to stdout title. | |
+.It Ic ESC | q | |
+Quit | |
+.Nm . | |
+.It Ic LEFTARROW | h | |
+Scroll horizontally left. | |
+.It Ic RIGHTARROW | l | |
+Scroll horizontally right. | |
+.It Ic DOWNARROW | j | |
+Scroll vertically down. | |
+.It Ic UPARROW | k | |
+Scroll vertically up. | |
+.It Ic a | |
+Set full aspect ratio. | |
+.It Ic o | |
+Set aspect ratio. | |
+.It Ic f | |
+Stretch (no aspect). | |
+.It Ic n | |
+Go to the next image. | |
+.It Ic p | |
+Go to the previous image. | |
+.It Ic r | |
+Reload image. | |
+.It Ic = | + | |
+Zoom in. | |
+.It Ic _ | - | |
+Zoom out. | |
+.It Ic 0 | |
+Set zoom level to 100%; set aspect ratio, and reload image. | |
+.It Ic 1 | |
+Set zoom level to 100%. | |
+.It Ic 2 | |
+Set zoom level to 200%. | |
+.It Ic 3 | |
+Set zoom level to 400%. | |
+.El | |
+.Sh MOUSE COMMANDS | |
+.Bl -tag -width Ds | |
+.It Ic ScrollUp | |
+Zoom in. | |
+.It Ic ScrollDown | |
+Zoom down. | |
+.El | |
+.Sh EXIT STATUS | |
+.Ex -std | |
+.Sh AUTHORS | |
+.An -nosplit | |
+.Nm | |
+was written by | |
+.An Hiltjo Posthuma Aq Mt [email protected] | |
+and | |
+.An sin Aq Mt [email protected] . | |
+Manual page was written by | |
+.An Svyatoslav Mishyn Aq Mt [email protected] . |