systemd-pty-forward - Man Page

Run a command with a custom terminal background color or title

Synopsis

systemd-pty-forward [Options...] {COMMAND}

Description

systemd-pty-forward can be used to run a command with a custom terminal background color or title​.

Options

The following options are understood:

--background=COLOR

Change the terminal background color to the specified ANSI color as long as the command runs​. The color specified should be an ANSI X3​.64 SGR background color, i​.e​. strings such as "40", "41", ​..., "47", "48;2;​...", "48;5;​..."​. See ANSI Escape Code (Wikipedia)​[1] for details​.

Example: "--background=44" for a blue background​.

Added in version 258​.

--title=TITLE

Change the terminal title to the specified string as long as the command runs​.

Added in version 258​.

--quiet,  -q

Suppresses additional informational output while running​.

Added in version 258​.

--read-only

Do not accept any user input on standard input​.

Added in version 258​.

-h,  --help

Print a short help text and exit​.

--version

Print a short version string and exit​.

Notes

1.

ANSI Escape Code (Wikipedia)
https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters

Info

systemd 262