BSD Ports

chinese/cless 290p2 OpenBSD

pager utility that speaks Chinese

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
chinese, misc

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 supports 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 a similar terminal emulator supporting Chinese language encodings.

In the other systems

SystemPortVersion
OpenBSDchinese/cless290p2
FreeBSDchinese/cless290_1
DragonFlychinese/cless290_1
HardenedBSDchinese/cless290_1
GhostBSDchinese/cless290_1

Install

Binary package:

pkg_add zh-cless

From the ports tree:

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

Dependencies

No port depends on this one.