FreeBSD Ports

chinese/cless 290_1

Better pager utility (and it speaks Chinese)

Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
chinese
Package size
65.6 KiB, 133.1 KiB installed

Description

A paginator similar to "more" or "pg", but much more powerful and speaks Chinese.

Cless is a port of GNU's less version 290 that suports the display of files written in the Chinese language using the GB (simple) or Big5 (complex) encodings. You can switch to reading of normal ASCII text by setting the environment LESSCHARSET to 'ascii'.

Also, the help can be displayed in either Simple Chinese, Complex Chinese, or English by setting the LESSHELP environmental variable to the correct helpfile. Cless should be run w/in a CXterm or simular terminal emulator supporting Chinese language encodings.

Install

As a binary package — by origin, or by package name:

pkg install chinese/cless
pkg install zh-cless

From the ports tree:

cd /usr/ports/chinese/cless/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	zh-cless>0:chinese/cless

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest290_1290_1290290_1290_1
FreeBSD:14:quarterly290_1290_1n/a290_1290_1
FreeBSD:15:latest290_1290_1n/a290_1290_1
FreeBSD:15:quarterly290_1290_1n/an/an/a
FreeBSD:16:latest290_1290_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: chinese_cless

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
ncurses
Service scripts
none

Message after installing

===>   NOTICE:

The zh-cless port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 2
  • cless(1)
  • clesskey(1)
pkg-plist 8
  • bin/cless
  • bin/clesskey
  • share/man/man1/cless.1.gz
  • share/man/man1/clesskey.1.gz
  • share/cless.bg5
  • share/cless.gb
  • share/cless.hlp
  • share/doc/zh-cless/README.CLESS
distinfo 1
FileSizeSHA256
cless-290.tar.gz1728278ff186112f6d326524f1a08d1a549a457ada9e965172a40a28c5a4cd90a06442
Master sites 1
  • ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/

Commit history 0

No commits in the history this site was built from.