man less cho chúng tôi biết những điều sau đây:
You may define your own less commands by using the program lesskey
(1) to create a lesskey file. This file specifies a set of command
keys and an action associated with each key. You may also use
lesskey to change the line-editing keys (see LINE EDITING), and to
set environment variables. If the environment variable LESSKEY is
set, less uses that as the name of the lesskey file. Otherwise,
less looks in a standard place for the lesskey file: On Unix
systems, less looks for a lesskey file called "$HOME/.less".
Nó cho chúng ta sử dụng lesskeyđể tạo ra một tập tin nhỏ hơn đọc man lesskeychi tiết. Bạn có thể đặt các mục sau trong tệp đầu vào lesskey ( ~/.lesskeytheo mặc định)
h left-scroll
l right-scroll
Sau đó chạy lesskeyvà nó sẽ tạo một tệp đầu ra ( ~/.lesstheo mặc định) cho bạn.
Theo như tôi có thể nói, bạn không thể thực hiện cuộn ngang theo từng ký tự.
man lesskey