diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-10-25 22:07:11 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-10-25 22:07:11 +0000 |
commit | 25f084882412a537c4a3cc6993027f9707d8cc81 (patch) | |
tree | d87932bf93020b30a2d37807922d9ee53de0f55b /src/pty.h | |
parent | e600d5ea308a700166c9a59e9e88e80ac7f91263 (diff) |
snip off final newlines when we're matching, they're usually not wanted.
* src/vte.c (vte_terminal_match_check_internal): snip off final newlines when
we're matching, they're usually not wanted.
* src/pty.c, src/pty.h: replace the simpler pty_open() function with a logging
version, adding the ability to specify a startup directory (Red Hat
#76529).
* src/vte.c, src/vte.h: replace the simpler fork_command() function with a
logging version, adding the ability to specify a startup directory (Red
Hat #76529).
* src/vteapp.c: modify call to handle new fork_command().
* python/vte.defs: update as above.
* python/vte.override: modify call to handle new fork_command(), adding an
optional "directory" argument.
* src/vte.c: refactor the selection code, cleaning up when selection is
cleared/started/extended (#95783). Grab focus whenever we get button
press or release or motion events.
* src/vte.c: rework how wide characters are stored to allow storing tabs
(#95958).
* python/vte.override: wrap vte_terminal_get_text() and
vte_terminal_get_text_range(). Based on patch from ha shao (#96230).
* src/vte.c, src/vte.h: add a user pointer argument to get_text callbacks
(#96230).
* src/Makefile.am: bump shared library version because we changed a public
function's signature. Take the opportunity to replace padding fields
which had previously been used up.
Diffstat (limited to 'src/pty.h')
-rw-r--r-- | src/pty.h | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -27,24 +27,20 @@ G_BEGIN_DECLS /* Start up the given binary (exact path, not interpreted at all) in a * pseudo-terminal of its own, returning the descriptor for the master - * side of the PTY pair, storing the child's PID in the given argument. */ -int vte_pty_open(pid_t *child, char **env_add, - const char *command, char **argv, - int columns, int rows); - -/* As above, but with session logging. */ -int vte_pty_open_with_logging(pid_t *child, char **env_add, - const char *command, char **argv, - int columns, int rows, - gboolean lastlog, gboolean utmp, gboolean wtmp); + * side of the PTY pair, logging the session to the specified files, and + * storing the child's PID in the given argument. */ +int _vte_pty_open(pid_t *child, char **env_add, + const char *command, char **argv, const char *directory, + int columns, int rows, + gboolean lastlog, gboolean utmp, gboolean wtmp); /* Set or read the size of a terminal. Returns 0 on success, -1 on failure, * with errno set to defined return codes from ioctl(). */ -int vte_pty_get_size(int master, int *columns, int *rows); -int vte_pty_set_size(int master, int columns, int rows); +int _vte_pty_get_size(int master, int *columns, int *rows); +int _vte_pty_set_size(int master, int columns, int rows); /* Close a pty. */ -void vte_pty_close(int pty); +void _vte_pty_close(int pty); G_END_DECLS |