6fbfcfc0d7
Sync OpenBSD patchset 196:
...
Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
2009-07-30 20:21:55 +00:00
d637cb33da
Sync OpenBSD patchset 181:
...
Make all messages sent between the client and server fixed size.
This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.
As a side-effect this also removes a lot of now-unused command marshalling
code.
Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.
2009-07-28 22:12:16 +00:00
54c6848d75
Sync OpenBSD patchset 148:
...
Display the number of failed password attempts (if any) when the server is
locked. From Tom Doherty.
2009-07-20 16:07:23 +00:00
19cb1fb592
Make it so using kill-pane to destroy the last pane in a window destroys the
...
window instead of being an error.
2009-07-18 11:07:14 +00:00
89543e999d
A similar for fix for window_choose: don't rely on the callback always being
...
called to free data, have a separate free callback and call it from the mode
cleanup code.
2009-07-17 12:12:54 +00:00
fc17ce0150
Oops, it is always a good idea to get arguments the right way round.
2009-07-17 09:28:27 +00:00
441c118b63
Memory could be leaked if a second prompt or message appeared while another was
...
still present, so add a separate prompt free callback and make the _clear
function responsible for calling it if necessary (rather than the individual
2009-07-17 09:26:21 +00:00
f44ae0535e
Need time.h not sys/time.h for time(2).
2009-07-14 07:01:03 +00:00
d7b4aa0ff3
Add a default-terminal option to set the starting value of $TERM in new
...
windows.
2009-07-12 17:07:58 +00:00
99395856ff
Bring spacing into line.
2009-07-08 18:07:09 +00:00
9cf68ac868
Whoops, that shouldn't have been there.
2009-07-08 18:05:33 +00:00
2ddcb51df3
Fix $Id$.
2009-07-08 18:03:03 +00:00
9e5a581307
When unlocking the server, don't try to clear the prompt on clients without a
...
prompt (such as the one issuing the unlock request).
This caused the server to die if the wrong password was entered when unlocking
from the command line with -U (nasty).
2009-07-08 17:54:36 +00:00
55f8219d3c
When unlocking the server, don't try to clear the prompt on clients without a
...
prompt (such as the one issuing the unlock request).
This caused the server to die if the wrong password was entered when unlocking
from the command line with -U (nasty).
2009-07-01 19:15:12 +00:00
802e129fd7
Start of portability update: bitstring.h.
2009-06-25 17:02:59 +00:00
a5830b9603
Restore $Id$ and add script to do so.
2009-06-25 16:21:32 +00:00
582660bdf3
Miscellaneous unused functions, including one which was basically a
...
duplicate. Found by lint.
2009-06-25 16:09:11 +00:00
f63f5e6489
Clear status line on incorrect password.
2009-05-29 23:25:26 +00:00
8536ad0ce7
Reset activity time to avoid relock on -U.
2009-05-28 16:24:02 +00:00
5d1b6888dc
Convert hidden flag to a full flags word for the status line and add a flag to
...
accept after only one key. Use this so don't need to press enter after y/n for
confirm-before.
2009-04-27 17:27:36 +00:00
84cde92c8f
If redrawing the region would mean redrawing > half the pane, just schedule to
...
redraw the entire window. Also add a flag to skip updating the window any
further if it is scheduled to be redrawn. This has the effect of batching
multiple redraws together.
2009-04-02 20:30:23 +00:00
3f09bf99b8
char not char *...
2009-03-07 09:42:13 +00:00
65b9aeb337
Put socket path in $TMUX.
2009-03-04 17:24:07 +00:00
26edf4cce0
Don't segfault on lock when no sessions attached.
2009-02-27 16:01:31 +00:00
0450b4a5d4
Move status prompt/message init and teardown into status.c.
2009-02-13 18:57:55 +00:00
e3feb067a5
Server locking. set-password and lock-server commands, plus automatic locking.
2009-01-11 00:48:42 +00:00
fd05d07c2b
Change server-info format.
2009-01-10 14:43:43 +00:00
9cddd796ff
Prompt history.
2009-01-06 15:37:15 +00:00
33aa931541
Support OS X by moving to gettimeofday(2) and adding poll compat from OpenSSH.
2008-08-28 17:45:30 +00:00
e013970b0b
Missing time.h.
2008-06-22 22:28:33 +00:00
17fde823a8
Freeze output when showing display line, fixes problems when no status line.
2008-06-20 06:36:01 +00:00
a1db273dc2
display-time option to set message display time.
2008-06-19 23:20:45 +00:00
7cebf4768b
Hide cursor with flag.
2008-06-19 23:07:11 +00:00
74d8f0bf1d
Command prompt for interactive commands.
2008-06-19 20:45:21 +00:00
c3b7a49cc1
Editable prompt. Not used for anything yet. More to come.
2008-06-19 19:40:35 +00:00
9ef5bdc7c0
Show status messages without blocking the server.
2008-06-19 18:27:55 +00:00
55d5b83408
Informational messages on window option changes.
2008-06-16 17:35:40 +00:00
0f403474aa
New window options: force-width and force-height. This will force a window to
...
an arbitrary width and height (0 for the default unlimited). This is neat for
emacs which doesn't have a sensible way to force hard wrapping at 80
columns. Also, don't try to be clever and use clr_eol when redrawing the
whole screen, it causes trouble since the redraw functions are used to draw
the blank areas too.
2008-06-14 16:47:20 +00:00
958069575d
Clear clients with flag too.
2008-06-07 07:13:08 +00:00
77224aaf8b
Be more conservative about redrawing using flags.
2008-06-07 06:47:38 +00:00
9e6090a7a2
Per-session configuration options.
2008-06-03 21:42:37 +00:00
c7243b73cb
Move -s and -c down a level so handling them is the responsibility of the command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.
2008-06-02 18:08:17 +00:00
103748d6ad
Major reorganisation of screen handling.
2007-12-06 09:46:23 +00:00
76c8a590db
Big internal reorganisation to move tty control into parent.
2007-11-27 19:23:34 +00:00
b9034946ad
Reset before calling window_draw otherwise it'll have the wrong idea of the current state (since it copies from screen).
2007-11-24 18:32:52 +00:00
112f4d9f60
Don't stop until after everything else done.
2007-11-24 18:09:59 +00:00
b2d78b67d8
Use screen_draw_* to write message, avoids leaving attribute changes around.
2007-11-24 17:58:45 +00:00
18d72e6928
Partial copy mode. Currently does the same as scroll mode but using a cursor. Also fix bug where resizing would leave crap lying around.
2007-11-22 18:09:43 +00:00
df7be0ddab
Split SCREEN_BACKGROUND flag into BACKGROUND/NOCURSOR in preparation for copy mode.
2007-11-22 09:11:20 +00:00
ce90f1bddb
The CLIENT_HOLD hack can go bye-bye.
2007-11-21 20:04:37 +00:00