1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

terminal doc: Clarify itrm.remote and some others; fix grammar.

This commit is contained in:
Kalle Olavi Niemitalo 2006-07-27 10:55:31 +03:00 committed by Miciah Dashiel Butler Masters
parent 711d672357
commit e9216413f2

View File

@ -27,9 +27,9 @@ struct itrm_in {
/* In a slave process, a file descriptor for a socket from /* In a slave process, a file descriptor for a socket from
* which it reads data sent by the master process. The other * which it reads data sent by the master process. The other
* end of the socket connection is terminal.fdout in the * end of the socket connection is terminal.fdout in the
* master process. The format of this data is almost the same * master process. The format of these data is almost the
* as could be sent to the terminal (via itrm.out.std), but * same as could be sent to the terminal (via itrm.out.std),
* there are special commands that begin with a null byte. * but there are special commands that begin with a null byte.
* *
* In the master process, @sock is the same as @ctl, but * In the master process, @sock is the same as @ctl, but
* nothing actually uses it. */ * nothing actually uses it. */
@ -53,8 +53,9 @@ struct itrm_in {
struct itrm_out { struct itrm_out {
/* A file descriptor for the standard output. In some ports, /* A file descriptor for the standard output. In some ports,
* this is the terminal device itself; in others, this is a * this is the terminal device itself; in others, this is a
* pipe to an output thread. In principle, the data format * pipe to an output thread. The data format depends on the
* depends on the terminal; but see bug 96. */ * terminal in principle, but this has not yet been
* implemented; see bug 96. */
int std; int std;
/* A file descriptor for a pipe or socket to which this /* A file descriptor for a pipe or socket to which this
@ -63,7 +64,7 @@ struct itrm_out {
* If the connection is from the master process to itself, it * If the connection is from the master process to itself, it
* uses a pipe; otherwise a socket. The events are formatted * uses a pipe; otherwise a socket. The events are formatted
* as struct term_event, but at the beginning of the * as struct term_event, but at the beginning of the
* connection, a struct terminal_info and extra data is also * connection, a struct terminal_info and extra data are also
* sent. */ * sent. */
int sock; int sock;
@ -91,6 +92,11 @@ struct itrm {
unsigned int blocked:1; /* Whether it was blocked */ unsigned int blocked:1; /* Whether it was blocked */
unsigned int altscreen:1; /* Whether to use alternate screen */ unsigned int altscreen:1; /* Whether to use alternate screen */
unsigned int touched_title:1; /* Whether the term title was changed */ unsigned int touched_title:1; /* Whether the term title was changed */
/* The @remote flag is not set in regular slave terminals.
* Instead, it means the itrm controls a preexisting terminal,
* and windows should not be displayed on the terminal of the
* itrm (but see bug 776: the master clears the terminal anyway);
* thus the terminal init and done strings are not sent. */
unsigned int remote:1; /* Whether it is a remote session */ unsigned int remote:1; /* Whether it is a remote session */
}; };