STI(8) System Manager's Manual STI(8)

sti
Simulate Terminal Input: send characters to a tty device

sti tty [string ...]

sti connects to the specified tty and uses the TIOCSTI ioctl(2) to enter text as if it were typed in. This ioctl(2) is limited to the superuser.

sti will send the provided string if any; otherwise it sends the standard input. The string is interpreted using unvis(3).

ioctl(2), unvis(3)

The sti command first appeared in NetBSD 4.0.

The sti command was written by Christos Zoulas ⟨christos@NetBSD.org⟩.
August 14, 2012 NetBSD 9.4