Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						4d6cfe5f22
					 | 
					
						
						
							
							Terminate buffers properly.
						
						
						
						
						
						
					 | 
					
						2007-09-28 21:08:30 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						5990461688
					 | 
					
						
						
							
							Add client_flush to flush output when transient commands are called.
						
						
						
						
						
						
					 | 
					
						2007-09-28 19:04:21 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						109873bdf8
					 | 
					
						
						
							
							Sync.
						
						
						
						
						
						
					 | 
					
						2007-09-28 18:17:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						a73deec89d
					 | 
					
						
						
							
							Erm, check the right length for short cmds.
						
						
						
						
						
						
					 | 
					
						2007-09-27 20:54:43 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						db293c1c07
					 | 
					
						
						
							
							Retry connection with small timeout instead of sleep(10) for server start.
						
						
						
						
						
						
					 | 
					
						2007-09-27 20:53:13 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						1e269710a7
					 | 
					
						
						
							
							Sync.
						
						
						
						
						
						
					 | 
					
						2007-09-27 12:12:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						4f6999a2df
					 | 
					
						
						
							
							Sync.
						
						
						
						
						
						
					 | 
					
						2007-09-27 10:17:04 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						7967098cfd
					 | 
					
						
						
							
							Update changelog.
						
						
						
						
						
						
					 | 
					
						2007-09-27 10:14:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						58affec94c
					 | 
					
						
						
							
							Split list into ls/lsw.
						
						
						
						
						
						
					 | 
					
						2007-09-27 10:09:37 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						22990a6595
					 | 
					
						
						
							
							New session selection rules:
						
						
						
						
						
						
						
						- find by name if given
	- otherwise try current index from $TMUX
	- otherwise if only one session, use it
	- otherwise error 
						
						
					 | 
					
						2007-09-27 09:52:03 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						3fa8f16364
					 | 
					
						
						
							
							Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types.
						
						
						
						
						
						
					 | 
					
						2007-09-27 09:15:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						187648e8d1
					 | 
					
						
						
							
							-S for socket, -s for session.
						
						
						
						
						
						
					 | 
					
						2007-09-26 19:38:42 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						2a3e209cce
					 | 
					
						
						
							
							Extend op string and add potential for a single alias.
						
						
						
						
						
						
					 | 
					
						2007-09-26 19:09:30 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						ab718378cb
					 | 
					
						
						
							
							Don't close stderr in log_close to make -v/-vv work again.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:55:42 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						5ef6d077c6
					 | 
					
						
						
							
							Join oldest session if non specified. Fix errors.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:50:49 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						8d01984182
					 | 
					
						
						
							
							Restore list command.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:32:17 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						2aacbe764c
					 | 
					
						
						
							
							Whoops, these need to be terminated.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:18:39 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						0683ae4e47
					 | 
					
						
						
							
							These are no longer unused.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:14:48 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						b1822f6a72
					 | 
					
						
						
							
							Unlink and retry if server socket connect fails.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:12:19 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						302a35da85
					 | 
					
						
						
							
							Server function naming, still not happy with server stuff though.
						
						
						
						
						
						
					 | 
					
						2007-09-26 18:09:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						65eeb7e421
					 | 
					
						
						
							
							Restore -n, now after the command.
						
						
						
						
						
						
					 | 
					
						2007-09-26 14:08:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						fb39b22a2e
					 | 
					
						
						
							
							Cleanup part II: split up client stuff and ops. More to come.
						
						
						
						
						
						
					 | 
					
						2007-09-26 13:43:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						671694ac30
					 | 
					
						
						
							
							Cleanup part 1: split up server.c.
						
						
						
						
						
						
					 | 
					
						2007-09-26 10:35:24 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						3fef2d998f
					 | 
					
						
						
							
							Window list with C-b W.
						
						
						
						
						
						
					 | 
					
						2007-09-22 11:50:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						5ea2ac36e4
					 | 
					
						
						
							
							Stop crashing when exiting windows.
						
						
						
						
						
						
					 | 
					
						2007-09-21 20:45:06 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						70c1ba5770
					 | 
					
						
						
							
							Comment.
						
						
						
						
						
						
					 | 
					
						2007-09-21 20:02:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						f456e1cb30
					 | 
					
						
						
							
							Reset s->window to NULL so it doesn't end up in s->last.
						
						
						
						
						
						
					 | 
					
						2007-09-21 20:00:28 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						1fefbb7a85
					 | 
					
						
						
							
							Pass through backspace for now.
						
						
						
						
						
						
					 | 
					
						2007-09-21 19:24:37 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						f145108258
					 | 
					
						
						
							
							Tweak ordering.
						
						
						
						
						
						
					 | 
					
						2007-09-21 18:35:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						248f78d29a
					 | 
					
						
						
							
							Remove window before working out new current window; clear last window if necessary.
						
						
						
						
						
						
					 | 
					
						2007-09-21 18:31:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						33f5f84f99
					 | 
					
						
						
							
							Whoops. Other way round.
						
						
						
						
						
						
					 | 
					
						2007-09-21 18:20:44 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						d63977ea8a
					 | 
					
						
						
							
							session_last == -1 could still leave us with the window we are about to remove.
						
						
						
						
						
						
					 | 
					
						2007-09-21 18:16:31 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						1702a781bb
					 | 
					
						
						
							
							Be more careful about destroying windows.
						
						
						
						
						
						
					 | 
					
						2007-09-21 18:11:25 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						24b978adb7
					 | 
					
						
						
							
							Don't resize unless size changed.
						
						
						
						
						
						
					 | 
					
						2007-09-21 18:00:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						8ac1d46f9b
					 | 
					
						
						
							
							Move common command code into single function; from Maximilian Gass.
						
						
						
						
						
						
					 | 
					
						2007-09-20 18:51:34 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						15778b2952
					 | 
					
						
						
							
							META env var.
						
						
						
						
						
						
					 | 
					
						2007-09-20 18:48:04 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						656f2a264c
					 | 
					
						
						
							
							Sync.
						
						
						
						
						
						
					 | 
					
						2007-09-20 18:27:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						34f87e521b
					 | 
					
						
						
							
							Last window option.
						
						
						
						
						
						
					 | 
					
						2007-09-20 18:03:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						2cd99f0ebb
					 | 
					
						
						
							
							Reset ignored signals after forkpty.
						
						
						
						
						
						
					 | 
					
						2007-09-20 09:43:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						9c0b51cd5d
					 | 
					
						
						
							
							Wrap next/prev.
						
						
						
						
						
						
					 | 
					
						2007-09-20 08:21:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						b1782e1b3d
					 | 
					
						
						
							
							Truncate array if last window is closed.
						
						
						
						
						
						
					 | 
					
						2007-09-19 16:00:55 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						e3440e017d
					 | 
					
						
						
							
							Don't renumber on close.
						
						
						
						
						
						
					 | 
					
						2007-09-19 15:16:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						d7e1d4ddb9
					 | 
					
						
						
							
							Sync.
						
						
						
						
						
						
					 | 
					
						2007-09-19 14:12:48 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						39c4865332
					 | 
					
						
						
							
							Upd.
						
						
						
						
						
						
					 | 
					
						2007-09-18 11:00:37 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						037d11a289
					 | 
					
						
						
							
							This ain't goin' nowhere fast.
						
						
						
						
						
						
					 | 
					
						2007-09-05 19:54:05 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						3846c9b9a8
					 | 
					
						
						
							
							Set up signal handlers before fork so server has them too.
						
						
						
						
						
						
					 | 
					
						2007-08-28 09:36:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						48ab20871b
					 | 
					
						
						
							
							Tweak comment; use sizeof.
						
						
						
						
						
						
					 | 
					
						2007-08-28 09:26:07 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						fc63750d30
					 | 
					
						
						
							
							Scrolling region.
						
						
						
						
						
						
					 | 
					
						2007-08-28 09:19:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						38b752c1d8
					 | 
					
						
						
							
							Remove old sockets after error.
						
						
						
						
						
						
					 | 
					
						2007-08-28 08:30:36 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Nicholas Marriott
							
						 
					 | 
					
						
						
							
						
						12f7197adb
					 | 
					
						
						
							
							session_flush can go bye-bye again.
						
						
						
						
						
						
					 | 
					
						2007-08-27 20:36:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |