Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sti(8) [netbsd man page]

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

NAME
sti -- Simulate Terminal Input: send characters to a tty device SYNOPSIS
sti tty [string ...] DESCRIPTION
sti will send the provided string to the tty specified in the command line using ioctl(2) TIOCSTI, or send the standard input if no string is supplied. This ioctl(2) is limited to the superuser. The string is interpreted using unvis(3). SEE ALSO
ioctl(2), unvis(3) HISTORY
The sti first appeared at NetBSD 4.0. AUTHORS
The sti command was written by Christos Zoulas <christos@NetBSD.org>. BSD
November 10, 2005 BSD

Check Out this Related Man Page

STTY(3) 						   BSD Library Functions Manual 						   STTY(3)

NAME
stty, gtty -- set and get terminal state (defunct) LIBRARY
Compatibility Library (libcompat, -lcompat) SYNOPSIS
#include <sgtty.h> stty(int fd, struct sgttyb *buf); gtty(int fd, struct sgttyb *buf); DESCRIPTION
These interfaces are obsoleted by ioctl(2). They are available from the compatibility library, libcompat. The stty() function sets the state of the terminal associated with fd. The gtty() function retrieves the state of the terminal associated with fd. To set the state of a terminal the call must have write permission. The stty() call is actually 'ioctl(fd, TIOCSETP, buf)', while the gtty() call is 'ioctl(fd, TIOCGETP, buf)'. See ioctl(2) and tty(4) for an explanation. DIAGNOSTICS
If the call is successful 0 is returned, otherwise -1 is returned and the global variable errno contains the reason for the failure. SEE ALSO
ioctl(2), tty(4) HISTORY
The stty() and gtty() functions appeared in 4.2BSD. BSD
June 4, 1993 BSD
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk question

Hello Peeps, How can I use awk to strip the filename off the end please ? /dir/dir/dir/dir/filename ? Thanks, Dave (34 Replies)
Discussion started by: d__browne
34 Replies

2. Shell Programming and Scripting

Need Help for Adding Three new columns in existing file from fatching data from file

not required this time (36 Replies)
Discussion started by: Sandeep_Malik
36 Replies

3. Solaris

Help with Reviving a NETRA240 Pls?

Hi Everybody, Hope everybody is having fun with their Solaris installations and not pulling out too much of whatever hair they have left so far. :) Just for sport, I bought an old Netra 240 used by Northern Telecom Turkish subsidiary Netas here in Turkey. My hope is to turn this into an ugly... (33 Replies)
Discussion started by: ozsavran
33 Replies

4. What is on Your Mind?

PubNub Live Chat Beta Testing

Dear All, We are now beta testing our future "Live Chat" area using PubNub technology. https://community.unix.com/ This purpose of this testing is to test the core system, in general, and to see how many, if any, bugs crawl out of the woodwork. This "Live Chat" is not the... (48 Replies)
Discussion started by: Neo
48 Replies