EnglishFrenchSpanish

OnWorks favicon

luit - Online in the Cloud

Run luit in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command luit that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


luit - Locale and ISO 2022 support for Unicode terminals

SYNOPSIS


luit [ options ] [ -- ] [ program [ args ] ]

DESCRIPTION


Luit is a filter that can be run between an arbitrary application and a UTF-8 terminal
emulator. It will convert application output from the locale's encoding into UTF-8, and
convert terminal input from UTF-8 into the locale's encoding.

An application may also request switching to a different output encoding using ISO 2022
and ISO 6429 escape sequences. Use of this feature is discouraged: multilingual
applications should be modified to directly generate UTF-8 instead.

Luit is usually invoked transparently by the terminal emulator. For information about
running luit from the command line, see EXAMPLES below.

OPTIONS


-h Display some summary help and quit.

-list List the supported charsets and encodings, then quit.

-V Print luit's version and quit.

-v Be verbose.

-c Function as a simple converter from standard input to standard output.

-p In startup, establish a handshake between parent and child processes. This is
needed for some systems, e.g., FreeBSD.

-x Exit as soon as the child dies. This may cause luit to lose data at the end of the
child's output.

-argv0 name
Set the child's name (as passed in argv[0]).

-encoding encoding
Set up luit to use encoding rather than the current locale's encoding.

+oss Disable interpretation of single shifts in application output.

+ols Disable interpretation of locking shifts in application output.

+osl Disable interpretation of character set selection sequences in application output.

+ot Disable interpretation of all sequences and pass all sequences in application
output to the terminal unchanged. This may lead to interesting results.

-k7 Generate seven-bit characters for keyboard input.

+kss Disable generation of single-shifts for keyboard input.

+kssgr Use GL codes after a single shift for keyboard input. By default, GR codes are
generated after a single shift when generating eight-bit keyboard input.

-kls Generate locking shifts (SO/SI) for keyboard input.

-gl gn Set the initial assignment of GL. The argument should be one of g0, g1, g2 or g3.
The default depends on the locale, but is usually g0.

-gr gk Set the initial assignment of GR. The default depends on the locale, and is
usually g2 except for EUC locales, where it is g1.

-g0 charset
Set the charset initially selected in G0. The default depends on the locale, but
is usually ASCII.

-g1 charset
Set the charset initially selected in G1. The default depends on the locale.

-g2 charset
Set the charset initially selected in G2. The default depends on the locale.

-g3 charset
Set the charset initially selected in G3. The default depends on the locale.

-ilog filename
Log into filename all the bytes received from the child.

-olog filename
Log into filename all the bytes sent to the terminal emulator.

-alias filename
the locale alias file
(default: /usr/share/X11/locale/locale.alias).

-- End of options.

EXAMPLES


The most typical use of luit is to adapt an instance of XTerm to the locale's encoding.
Current versions of XTerm invoke luit automatically when it is needed. If you are using
an older release of XTerm, or a different terminal emulator, you may invoke luit manually:

$ xterm -u8 -e luit

If you are running in a UTF-8 locale but need to access a remote machine that doesn't
support UTF-8, luit can adapt the remote output to your terminal:

$ LC_ALL=fr_FR luit ssh legacy-machine

Luit is also useful with applications that hard-wire an encoding that is different from
the one normally used on the system or want to use legacy escape sequences for
multilingual output. In particular, versions of Emacs that do not speak UTF-8 well can
use luit for multilingual output:

$ luit -encoding 'ISO 8859-1' emacs -nw

And then, in Emacs,

M-x set-terminal-coding-system RET iso-2022-8bit-ss2 RET

Use luit online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad