Less

Versione: 
668
Data rilascio: 
Sabato, 19 Ottobre, 1996

Licenza:

Interfaccia:

Less è un impaginatore di file per la linea di comando, gratuito ed a codice sorgente aperto. E' presente su molte versioni di Linux, Unix e Mac OS, come su molti altri sistemi operativi.

Questo software è distribuito con due modalità:
  • come pacchetto compresso, da scaricare e installare manualmente; se ci sono prerequisiti da soddisfare, andranno anch'essi scaricati e installati manualmente;
  • come pacchetto RPM, installabile tramite il gestore pacchetti rpm preferito, che provvederà a scaricare e installare sia il software che gli eventuali prerequisiti.
Scegli la modalità di installazione che preferisci, tenendo conto del fatto che non tutte le versioni del software sono disponibili per entrambe le modalità.

Installazione con rpm

Questo programma si può installare usando il gestore pacchetti rpm. Vedi sotto per la stringa di installazione. I prerequisiti richiesti sono gestiti dal gestore pacchetti e, se necessario, scaricati e installati automaticamente.

Repository: Netlabs stable(link is external)
NEWS about less ====================================================================== For the latest news about less, see https://greenwoodsoftware.com/less You can also download the latest version of less from there. Report bugs, suggestions or comments at https://github.com/gwsw/less/issues. ====================================================================== Major changes between "less" versions 661 and 668 * Make 256/true colors work better on Windows without -Da (github #539, github #546, github #562). * Fix build using --with-secure (github #544). * Fix crash when using --header on command line (github #545). * Fix possible crash when scrolling left/right or toggling -S (github #547). * Fix bug when using #stop in a lesskey file (github #551). * Fix bug when using --shift or --match-shift on command line with a parameter starting with '.' (github #554). * Fix bug in R command when file size changes (github #553). * Fix bug using --header when file does not fill screen (github #556). * Fix ^X bug when output is not a terminal (github #558). * Fix bug where ^Z is not handled immediately (github #563). * Fix bug where first byte from a LESSOPEN filter is deleted if it is greater than 0x7F (github #568). * Fix uninitialized variable in edit_ifile (github #573). * Fix incorrect handling of UTF-8 chars in prompts (github #576). ====================================================================== Major changes between "less" versions 643 and 661 * Add ^O^N, ^O^P, ^O^L and ^O^O commands and mouse clicks (with --mouse) to find and open OSC8 hyperlinks (github #251). * Add --match-shift option. * Add --lesskey-content option (github #447). * Add LESSKEY_CONTENT environment variable (github #447). * Add --no-search-header-lines and --no-search-header-columns options (github #397). * Add ctrl-L search modifier (github #367). * A ctrl-P at the start of a shell command suppresses the "done" message (github #462). * Add attribute characters ('*', '~', '_', '&') to --color parameter (github #471). * Allow expansion of environment variables in lesskey files. * Add LESSSECURE_ALLOW environment variable (github #449). * Add LESS_UNSUPPORT environment variable. * Add line number parameter to --header option (github #436). * Mouse right-click jumps to position marked by left-click (github #390). * Ensure that the target line is not obscured by a header line set by --header (github #444). * Change default character set to "utf-8", except remains "dos" on MS-DOS. * Add message when search with ^W wraps (github #459). * UCRT builds on Windows 10 and later now support Unicode file names (github #438). * Improve behavior of interrupt while reading non-terminated pipe (github #414). * Improve parsing of -j, -x and -# options (github #393). * Support files larger than 4GB on Windows (github #417). * Support entry of Unicode chars larger than U+FFFF on Windows (github #391). * Improve colors of bold, underline and standout text on Windows. * Allow --rscroll to accept non-ASCII characters (github #483). * Allow the parameter to certain options to be terminated with a space (--color, --quotes, --rscroll, --search-options and --intr) (github #495). * Fix bug where # substitution failed after viewing help (github #420). * Fix crash if files are deleted while less is viewing them (github #404). * Workaround unreliable ReadConsoleInputW behavior on Windows with non-ASCII input. * Fix -J display when searching for non-ASCII characters (github #422). * Don't filter header lines via the & command (github #423). * Fix bug when horizontally shifting long lines (github #425). * Add -x and -D options to lesstest, to make it easier to diagnose a failed lesstest run. * Fix bug searching long lines with --incsearch and -S (github #428). * Fix bug that made ESC-} fail if top line on screen was empty (github #429). * Fix bug with --mouse on Windows when used with pipes (github #440). * Fix bug in --+OPTION command line syntax. * Fix display bug when using -w with an empty line with a CR/LF line ending (github #474). * When substituting '#' or '%' with a filename, quote the filename if it contains a space (github #480). * Fix wrong sleep time when system has usleep but not nanosleep (github #489). * Fix bug when file name contains a newline. * Fix bug when file name contains nonprintable characters (github #503). * Fix DJGPP build (github #497). * Update Unicode tables. ====================================================================== Major changes between "less" versions 633 and 643 * Fix problem when a program piping into less reads from the tty, like sudo asking for password (github #368). * Fix search modifier ^E after ^W. * Fix bug using negated (^N) search (github #374). * Fix bug setting colors with -D on Windows build (github #386). * Fix reading special chars like PageDown on Windows (github #378). * Fix mouse wheel scrolling on Windows (github #379). * Fix erroneous EOF when terminal window size changes (github #372). * Fix compile error with some definitions of ECHONL (github #395). * Fix crash on Windows when writing logfile (github #405). * Fix regression in exit code when stdin is /dev/null and output is a file (github #373). * Add lesstest test suite to production release (github #344). * Change lesstest output to conform with automake Simple Test Format (github #399). ====================================================================== Major changes between "less" versions 632 and 633 * Fix build on systems which have ncurses/termcap.h or ncursesw/termcap.h but not termcap.h. ====================================================================== Major changes between "less" versions 608 and 632 * Add LESSUTFCHARDEF environment variable (github #275). * Add # command (github #330). * Add ^S search modifier (github #196). * Add --wordwrap option (github #113). * Add --no-vbell option (github #304). * Add --no-search-headers option (github #44). * Add --modelines option (github #89). * Add --intr option (github #224). * Add --proc-backspace, --proc-tab and --proc-return options (github #335). * Add --show-preproc-errors option (github #258). * Add LESS_LINES and LESS_COLUMNS environment variables (github #84). * Add LESS_DATA_DELAY environment variable (github #337). * Allow empty "lines" field in --header option. * Update Unicode tables. * Improve ability of ^X to interrupt F command (github #49). * Status column (-J) shows off-screen matches. * Parenthesized sub-patterns in searches are colored with unique colors, if supported by the regular expression library (github #196). * Don't allow opening a tty as file input unless -f is set (github #309). * Don't require newline input after +&... option (github #339). * Fix incorrect handling of some Private Use Unicode characters. * Fix ANSI color bug when overstriking with colored chars (github #276). * Fix compiler const warning (github #279). * Fix signal race in iread (github #280). * Fix reading procfs files on Linux (github #282). * Fix --ignore-case with ctrl-R (no regex) search (github #300). * Fix bug doing repeat search after setting & filter (github #299). * Fix bug doing repeat search before non-repeat search. * Fix crash with -R and certain line lengths (github #338). * Fix input of Windows dead keys (github #352). * Don't retain search options from a cancelled search (github #302). * Don't call realpath on fake filenames like "-" (github #289). * Implement lesstest test suite. * Convert function parameter definitions from K&R to C89 (github #316). ====================================================================== Major changes between "less" versions 590 and 608 * Add the --header option (github #43). * Add the --no-number-headers option (github #178). * Add the --status-line option. * Add the --redraw-on-quit option (github #36). * Add the --search-options option (github #213). * Add the --exit-follow-on-close option (github #244). * Add 'H' color type to set color of header lines. * Add #version conditional to lesskey. * Add += syntax to variable section in lesskey files. * Allow option name in -- command to end with '=' in addition to '\n'. * Add $HOME/.config to possible locations of lesskey file (github #153). * Add $XDG_STATE_HOME and $HOME/.local/state to possible locations of history file (github #223). * Don't read or write history file in secure mode (github #201). * Fix display of multibyte and double-width chars in prompt. * Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08 (github #188). * Add more \k codes to lesskey format. * Fix bug when empty file is modified while viewing it. * Fix bug when parsing a malformed lesskey file (githb #234). * Fix bug scrolling history when --incsearch is set (github #214). * Fix buffer overflow when invoking lessecho with more than 63 -m/-n options (github #198). * Fix buffer overflow in bin_file (github #271). * Fix bug restoring color at end of highlighted text. * Fix bug in parsing lesskey file. * Defer moving cursor to lower left in some more cases. * Suppress TAB filename expansion in some cases where it doesn't make sense. * Fix termlib detection when compiler doesn't accept calls to undeclared functions. * Fix bug in input of non-ASCII characters on Windows (github #247) * Escape filenames when invoking LESSCLOSE. * Fix bug using multibyte UTF-8 char in search string with --incsearch (github #273). ====================================================================== Major changes between "less" versions 581 and 590 * Make less able to read lesskey source files (deprecating lesskey). * If XDG_CONFIG_HOME is set, find lesskey source file in $XDG_CONFIG_HOME/lesskey rather than $HOME/.lesskey. * If XDG_DATA_HOME is set, find and store history file in $XDG_DATA_HOME/lesshst rather than $HOME/.lesshst. * Add the --lesskey-src option. * Add the --file-size option. * With -F, if screen is resized to make file fit on one screen, don't exit. * Fix bug which could leave terminal in mouse-reporting mode after exiting less. * Fix bug which caused failure to respond to window resize. * Fix backslash bug searching in tag file. ====================================================================== Major changes between "less" versions 563 and 581 * Change ESC-u command to toggle, not disable, highlighting per man page. * Add ESC-U command. * Add ctrl-W search modifier for wrapping search. * F command can be interrupted by ^X. * Support OSC 8 hyperlinks when -R is in effect. * g command with no number will ignore -j and put first line at top of screen. * Multiple + or -p command line options are handled better. * Add the --incsearch option. * Add the --line-num-width option. * Add the --status-col-width option. * Add the --use-color and --color options. * Display -w highlight even if highlighted line is empty. * If search result is in a long line, scroll to ensure it is visible. * Editing the same file under different names now creates only one entry in the file list. * Make visual bell more visible on some terminals. * Ring end-of-file bell no more than once per second. * Build can use either Python or Perl for Makefile.aut operations. * Fix crash when using the @ search modifier. * Fix crash in the 's' command due to duplicate free. * Fix realpath crash on Darwin. ====================================================================== changelog * Fri Feb 14 2025 - 668-1 - update source to version 668 - resync with fedora spec

Installazione manuale

Il programma è distribuito come pacchetto ZIP: scaricare in una cartella temporanea e scompattare nella cartella di destinazione. Vedi sotto per il(i) link di download.

E' possibile installare i prerequisiti con rpm, eseguendo la stringa seguente in una finestra comandi:

yum install emxrt

Documentazione in linea

Qui di seguito trovi i link di download per l'installazione manuale del software:

Less v. 458 (26/8/2014, Dave Yeo)
 www.hobbesarchive.com/Hobbes/pub/os2/util/file/Less_458.zip(link is external)  local copy
Less v. 370 (9/1/2009, Kyosuke Tokoro) Readme/What's new
Less, version 370 for OS/2 WARP This is the binary distribution of less, version 370, and was compiled for for OS/2 WARP. This program requires emx 0.9d FIX 04 or newer runtime. It can be found at: ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/ ftp://ftp-os2.nmsu.edu/pub/os2/dev/emx/v0.9d/ or their mirror sites. You may wish to install less.exe, lesskey.exe and scrsize.exe in a directory which is included in your PATH. scrsize.exe is required only if you use a terminal emulator such as xterm or rxvt. If you'd like to get source code, please visit the less home page at: http://www.greenwoodsoftware.com/less/ To compile source code of less, any patches are not required. So, I got source tar-ball from there, and I just compiled with using the emx 0.9d FIX 04 (and XFree86 3.3.6). Kyosuke Tokoro <NBG01720@nifty.ne.jp> http://www.vector.co.jp/authors/VA000199/os2/
 hobbes.nmsu.edu/download/pub/os2/util/file/less-370.zip(link is external)
Less v. 358 (18/1/2005, SAWATAISHI Jun) Readme/What's new
/*------- less-358 for OS/2 Tue, 18 Jan 2005 00:05:42 +0900 -------*/ Jun Sawataishi, YOKOHAMA, JAPAN <jsawa@attglobal.net> This is less-358 with Japanization patch : Copyright (C) Kazushi (Jam) Marukawa Marukawa says in his web page; This is the distribution of enhanced less. It support ISO 2022 code extension techniques and Japanese codes. Please report any problems of it to the author at jam@pobox.com. See http://www.pobox.com/~jam/less/ for the latest info. And with a patch for OS/2 XFree86 written by AltairüÖ Copyright (C) AltairüÖ (NBG01720@nifty.ne.jp) http://www.vector.co.jp/authors/VA000199/ Modification by me is that less lists files with extension of `tar', `tar.gz' `tar.bz2', `.lzh', `.rpm' SAWATAISHI JUN, YOKOHAMA JAPAN <jsawa@attglobal.net> http://www2s.biglobe.ne.jp/~vtgf3mpr/indxos2.htm Table of contents ================= General Instruction @gen History of OS/2 Port @his Required Executables @req OS/2 Note @os2 Setup Language @lan Compile and Make @com General Instruction =================== A lot of Linux distributions follow the Filesystem Hierarchy Standard (FHS), a collaborative document that defines the names and locations of many files and directories. I have decided to make zip archive for which end users can install files in FHS like way. File Structure of ZIP archive ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From Feb-17-2001, newly uploaded zip archive will contain four files. = less-358.zip README_less-358.os2 -- instruction OS2tree.zip -- binary and library treee filelist.dat -- list of `OS2tree.zip' - OS2tree.zip /usr/bin/ -- executables /usr/share/doc/less-358 -- documents /usr/share/man/ -- manpages /usr/src/redhat/SOURCES/less-358-OS2-patch.zip -- patch kit to build from scratch - less-358-OS2-patch.zip BUILD_less-358.os2 -- instruction os2config.cmd -- modify source using `os2unix' and apply diff files followed by running configure os2/C_Source.diff -- patch for C source os2/In-make.diff for Makefile.in's and scripts os2/Other.diff for other files +--- os2unix utility -------------------------------+ | os2/os2_convert_configure.sed | | os2/os2_convert_Makefile_in.sed | | os2/os2_convert_Makefile_in_in.sed | | os2/os2_convert_Makefile_in_lib_prog.sed | | os2/os2_convert_mk.sed | | os2/os2_convert_Makefile_in.grep | | os2/os2_mkinstalldirs | | os2/os2_missing | | os2unix.cmd | +---------------------------------------------------+ Installation is simple: I assume you will install into drive "e:" x:\foo\tmp> unzip -o less-358.zip x:\foo\tmp> unzip -o OS2tree -d e:/ or x:\foo\tmp> e: e:\> unzip -o x:/foo/tmp/OS2tree Confirm these variables are properly set. PATH e:\usr\bin;..... MANPATH e:/usr/share/man;.... History of OS/2 Port @his ==================== Jan-18-2005: Uploaded to hobbes ftp site Jan 2003?: less-358 + Japanization patch + XFree86 modification completed Required Executables @req ==================== HOBBES=ftp://hobbes.nmsu.edu/pub/os2 LEO=ftp://ftp.leo.org/pub/comp/os/os2/leo JSAWA=http://www2s.biglobe.ne.jp/~vtgf3mpr emx runtime version 0.9d (or later): Not included HOBBES/dev/emx/v0.9d/emxrt.zip LEO/dev/emx/v0.9d/emxrt.zip `man' (requires GNU groff) HOBBES/dev/help/gnuman.zip ; v1.0 LEO/gnu/doc/man11a.zip ; v1.1a JSAWA/linux/man.htm ; v1.5g GNU groff -- to read manpages Groff v1.10 HOBBES/apps/wp/gnugroff.zip LEO/gnu/doc/gnugroff.zip GNU groff v1.15 (with Japanization patch) JSAWA/manpage/manpage-e.htm [English] JSAWA/manpage/manpage.htm [Japanese] GNU grep (grep.exe) HOBBES/util/file/gnugrep.zip ; v2.0 LEO/gnu/systools/gnugrep.zip ; v2.0 JSAWA/gnu/grep.htm ; v2.3h or later `gzip.exe' and `bzip2.exe' [gzip] HOBBES/util/archiver/gz124_32.zip LEO/gnu/archiver/gz124-32.zip [bzip2] HOBBES/util/archiver/bzip090b.zip LEO/archiver/bzip090b.zip http://www.muraroa.demon.co.uk/ JSAWA/rpm/bzip2.htm ; v0.9.5d --- this version preserve time stamp http://netpassport-wc.netpassport.or.jp/~wmakoto/CLUB-bzip2.html `sh.exe' included in KSH package LEO/shells/pdksh-5.2.13-emx.zip HOBBES/util/shell/ksh527rt.zip OS/2 Note @os2 ========= I strongly recoment you to add lines below in you `termcap.dat', which may be in you emx drive. (x:/emx/etc/termcap.dat) o2|os2|OS/2 ANSI console:\ :co#80:li#25:bs:pt:am:bl=^G:le=^H:do=^J:ta=^I:\ :cl=\E[H\E[2J:ce=\E[K:\ :sc=\E[s:rc=\E[u\:\ :ho=\E[H:cm=\E[%i%d;%dH:\ :up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\ :ti=\E[1;37;44m\E[=7l:te=\E[0m\E[=7h:\ :kl=\EOD:kr=\EOC:ku=\EOA:kd=\EOB:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\ :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\ :kh=\E]7:kH=\E]1:\ :kb=^H:kC=\E[2J:kI=\E[@:kD=\E[P:kL=\E[M:\ :kE=\E[K:kN=\E]3:kP=\E]9:kF=\E]c2:kR=\E]c8:\ :aw:tc=ansi-colorset-jsawa: ansi-colorset-jsawa:\ :ti=\E[0;37;44m\E[=7l:te=\E[0;37;44m\E[=7h:\ :me=\E[1;37;44m:\ :so=\E[1;34;47m:se=\E[1;37;44m:\ :us=\E[1;33;45m:ue=\E[1;37;44m:\ :mb=\E[1;36;45m:\ :md=\E[1;32;45m:\ :mr=\E[1;34;47m:\ :mh=\E[1;36;45m:\ :mk=\E[1;33;45m: In your `conifig.sys' set TERM=os2 Setup Language @lan ============== Read documents in `/usr/share/doc/less-385/' If you are a Japanes OS/2 user: in `config.sys' SET JLESSCHARSET=japanese-sjis SET JLESSKEYCHARSET=sjis Compile and Make @com ================ Source ftp://ftp.gnu.org/gnu/less/less-358.tar.gz or ftp://alpha.gnu.org/gnu/less/less-358.tar.gz OS/2 patch kit - less-358-OS2-patch.zip If a patch kit is not included in full package, you will be able to get one from my web page (see the top of this document). /*----- end of document -----------------------------------------------------*/
 www.hobbesarchive.com/Hobbes/pub/os2/util/file/Less_3-58_X11_jp.zip(link is external)  local copy
Less v. 329 (19/10/1996, Kai Uwe Rommel) Readme/What's new
This copy of the less 329 pager has been compiled for OS/2 using the emx 0.9b development tools. An up to date or newer copy should always be available as ftp://ftp.leo.org/pub/comp/os/unix/less329-2.zip (Replace 329 with possible later version numbers.) Kai Uwe Rommel
 www.os2site.com/sw/util/file/old/less3292.zip(link is external)  local copy
Scheda aggiornata l'ultima volta il: 30/04/2025 - 06:31

Aggiungi un commento