Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
591fa23f6e6ed403457bf86bd69b6c10f93334be
/
client.c
862fe15
Move some common code into a function.
by Nicholas Marriott
· 15 years ago
abf3a5d
Initial changes to move tmux to libevent.
by Nicholas Marriott
· 15 years ago
2a585dc
Leftover unused variable :-/.
by Nicholas Marriott
· 15 years ago
42fd44f
There isn't much point in doing lstat before connect so instead just do connect
by Nicholas Marriott
· 15 years ago
a8b1379
Clear signal flags /before/ taking action and continue afterwards to reduce
by Nicholas Marriott
· 15 years ago
284b946
Tidy identify message send into a separate function.
by Nicholas Marriott
· 15 years ago
90ad041
Client tidying: get rid of client_ctx struct in favour of two variables in
by Nicholas Marriott
· 15 years ago
0907ca1
Do this in a better way - print messages when exiting with nonzero.
by Nicholas Marriott
· 15 years ago
760e39e
Don't print exit messages when used as a login shell, requested by martynas@ a
by Nicholas Marriott
· 15 years ago
9200a0b
Support -c like sh(1) to execute a command, useful when tmux is a login
by Nicholas Marriott
· 15 years ago
b01dcd7
Remove the internal tmux locking and instead detach each client and run the
by Nicholas Marriott
· 15 years ago
962fa20
Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client
by Nicholas Marriott
· 15 years ago
64caf59
Don't attempt to open() the tty path, rely on the client sending its stdin fd
by Nicholas Marriott
· 15 years ago
273f1b3
Regularise some fatal messages.
by Nicholas Marriott
· 15 years ago
751a2fa
Fix a race condition when asking a client to take over the terminal (switching
by Nicholas Marriott
· 15 years ago
459abaf
That was the wrong fix. MSG_ERROR should set the error and the client should
by Nicholas Marriott
· 15 years ago
7a4bac8
Set exittype for error exit as well as the error string.
by Nicholas Marriott
· 15 years ago
85e8b70
imsg closes the fd after sending, so dup() STDIN_FILENO before passing it to
by Nicholas Marriott
· 15 years ago
4310282
Have the client pass its stdin fd to the server when identifying itself and
by Nicholas Marriott
· 15 years ago
f063571
Switch tmux to use imsg. This is the last major change to make the
by Nicholas Marriott
· 15 years ago
6491274
Infrastructure and commands to manage the environment for processes started
by Nicholas Marriott
· 15 years ago
e985629
Tidy function a little by using a temporary variable.
by Nicholas Marriott
· 15 years ago
5f13bb0
There aren't many client message types or code to handle them so get rid of the
by Nicholas Marriott
· 15 years ago
479d614
Tell the server when the client gets SIGTERM so it can clean up the terminal
by Nicholas Marriott
· 15 years ago
34a82e7
Make all messages sent between the client and server fixed size.
by Nicholas Marriott
· 15 years ago
4a04b49
None of the server message functions return anything but 0, so make them all
by Nicholas Marriott
· 15 years ago
16e017d
Tidy client message return slightly: convert flags into an enum, and merge
by Nicholas Marriott
· 15 years ago
bb14c36
Pass a set of flags into client_init rather than just a start_server
by Nicholas Marriott
· 15 years ago
eb8ab96
Remove some dead assignments, found by sthen with clang.
by Nicholas Marriott
· 15 years ago
1156467
Call setproctitle earlier in the client, and include the socket name. Makes it
by Nicholas Marriott
· 15 years ago
35876ea
Import tmux, a terminal multiplexor allowing (among other things) a single
by Nicholas Marriott
· 16 years ago