Thomas Adam 
							
						 
					 
					
						
						
							
						
						44b7a2d1f9 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2025-09-02 16:01:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						c32570c602 
					 
					
						
						
							
							Set PWD for jobs as well as panes.  
						
						 
						
						
						
						
					 
					
						2025-09-02 13:39:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						43e88c892d 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2025-06-16 02:01:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						d7f75ac985 
					 
					
						
						
							
							Do not replace SHELL when using /bin/sh. From someone in GitHub issue 4528.  
						
						 
						
						
						
						
					 
					
						2025-06-15 21:57:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						faf2a44890 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2025-05-12 14:01:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						1ce1e7ef27 
					 
					
						
						
							
							Add -E to run-shell to forward stderr as well as stdout, from github at  
						
						 
						
						... 
						
						
						
						jyn dot dev in GitHub issue 4246. 
						
						
					 
					
						2025-05-12 10:16:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						b8189d6ee3 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2025-03-28 18:01:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						ef0c12ad9e 
					 
					
						
						
							
							Fix read of uninitialized memory for jobs with JOB_PTY flag. From David  
						
						 
						
						... 
						
						
						
						Mandelberg. 
						
						
					 
					
						2025-03-28 17:03:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						25b1cc1e8e 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2024-09-30 12:01:11 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						f95d055e04 
					 
					
						
						
							
							Only use default-shell for popups, return to /bin/sh for run-shell,  
						
						 
						
						... 
						
						
						
						if-shell and #() - these have been documented as using /bin/sh for a
long time and scripts rely on it. Pointed out by Gregory Pakosz. 
						
						
					 
					
						2024-09-30 07:54:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						fc84097379 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2024-05-15 14:01:09 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						d39dcea30a 
					 
					
						
						
							
							Use default-shell for command prompt #() and popups as well  
						
						 
						
						
						
						
					 
					
						2024-05-15 09:59:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						1b7afd5129 
					 
					
						
						
							
							Merge branch 'obsd-master' into master  
						
						 
						
						
						
						
					 
					
						2022-02-01 14:01:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						7a4ba6d4a5 
					 
					
						
						
							
							Mention that if-shell and #() use /bin/sh.  
						
						 
						
						
						
						
					 
					
						2022-02-01 12:05:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						619d934d7b 
					 
					
						
						
							
							Merge branch 'obsd-master' into master  
						
						 
						
						
						
						
					 
					
						2021-10-25 00:01:11 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								deraadt 
							
						 
					 
					
						
						
							
						
						9b4148b12c 
					 
					
						
						
							
							For open/openat, if the flags parameter does not contain O_CREAT, the  
						
						 
						
						... 
						
						
						
						3rd (variadic) mode_t parameter is irrelevant.  Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk.  They could all be 0xdeafbeef.
ok millert 
						
						
					 
					
						2021-10-24 21:24:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						af82106fae 
					 
					
						
						
							
							Merge branch 'obsd-master' into master  
						
						 
						
						
						
						
					 
					
						2021-10-11 14:01:13 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						759efe1b33 
					 
					
						
						
							
							Add -e flag to set environment for popup, from Alexis Hildebrandt in  
						
						 
						
						... 
						
						
						
						GitHub issue 2924. 
						
						
					 
					
						2021-10-11 10:55:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						54773d23b5 
					 
					
						
						
							
							Merge branch 'obsd-master' into master  
						
						 
						
						
						
						
					 
					
						2021-08-14 01:34:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						7a0cec5ecf 
					 
					
						
						
							
							Fill in some other bits on new panes.  
						
						 
						
						
						
						
					 
					
						2021-08-13 19:55:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						2588c3e52e 
					 
					
						
						
							
							Add menu options to convert a popup into a pane.  
						
						 
						
						
						
						
					 
					
						2021-08-13 19:27:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						2301bee87d 
					 
					
						
						
							
							Merge branch 'obsd-master' into master  
						
						 
						
						
						
						
					 
					
						2021-03-02 12:01:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						c44750792a 
					 
					
						
						
							
							Drop support for popups where the content is provided directly to tmux  
						
						 
						
						... 
						
						
						
						(which does not have many practical uses) and only support running a
program in the popup. display-popup is now simpler and can accept
multiple arguments to avoid escaping problems (like the other commands). 
						
						
					 
					
						2021-03-02 10:56:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						742e670805 
					 
					
						
						
							
							Merge branch 'obsd-master' into master  
						
						 
						
						
						
						
					 
					
						2021-02-19 10:01:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						b04f8acb70 
					 
					
						
						
							
							Check return value of chdir() to stop a silly warning with some  
						
						 
						
						... 
						
						
						
						compilers, GitHub issue 2573. 
						
						
					 
					
						2021-02-19 09:09:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						78595457f9 
					 
					
						
						
							
							Add 'e' key in buffer mode to open the buffer in an editor.  
						
						 
						
						
						
						
					 
					
						2020-05-16 15:24:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						cc19203be2 
					 
					
						
						
							
							Add 'e' key in buffer mode to open the buffer in an editor.  
						
						 
						
						
						
						
					 
					
						2020-05-01 09:02:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						8a57d14f4b 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2020-03-26 11:11:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						8a838b0372 
					 
					
						
						
							
							Add support for overlay popup boxes to show text or output temporarily  
						
						 
						
						... 
						
						
						
						above the normal layout. These work similarly to menus and are created
with the display-popup command. 
						
						
					 
					
						2020-03-24 08:09:43 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						c15396459b 
					 
					
						
						
							
							No util.h.  
						
						 
						
						
						
						
					 
					
						2020-03-19 14:06:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						17e4f2394a 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2020-03-19 14:01:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						e8273a993e 
					 
					
						
						
							
							Add a flag to run a background process in a pty as well, not used for  
						
						 
						
						... 
						
						
						
						anything yet. 
						
						
					 
					
						2020-03-19 13:43:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						68c2fc6824 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2019-06-28 17:02:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								deraadt 
							
						 
					 
					
						
						
							
						
						4ff7bc3eb3 
					 
					
						
						
							
							When system calls indicate an error they return -1, not some arbitrary  
						
						 
						
						... 
						
						
						
						value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future. 
						
						
					 
					
						2019-06-28 13:35:05 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						efd01f3bfd 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2018-11-19 14:02:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						749f67b7d8 
					 
					
						
						
							
							evbuffer_new and bufferevent_new can both fail (when malloc fails) and  
						
						 
						
						... 
						
						
						
						return NULL. GitHub issue 1547. 
						
						
					 
					
						2018-11-19 13:35:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						ddffda4da5 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2018-10-28 18:02:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						d5b92ac37e 
					 
					
						
						
							
							Do not printf NULL.  
						
						 
						
						
						
						
					 
					
						2018-10-28 16:10:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						a00cdcdfcb 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2018-09-27 11:02:37 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						228e1a3951 
					 
					
						
						
							
							Use same working directory rules for jobs as new windows rather than  
						
						 
						
						... 
						
						
						
						always starting in home, GitHub issue 1488. 
						
						
					 
					
						2018-09-27 07:43:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						45841400f2 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2018-08-23 21:02:36 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						f38b5a1b58 
					 
					
						
						
							
							all_jobs can be static.  
						
						 
						
						
						
						
					 
					
						2018-08-23 18:39:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						da5d563375 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2018-08-23 19:02:40 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						bceccc6b63 
					 
					
						
						
							
							Move job struct into job.c.  
						
						 
						
						
						
						
					 
					
						2018-08-23 15:45:05 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						9fd9952752 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2018-03-08 10:02:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						19f3a5c612 
					 
					
						
						
							
							Add a missing client-detached hook when the server shuts down, and do  
						
						 
						
						... 
						
						
						
						not exit until jobs started from run-shell/if-shell have finished (add a
job flags member and a flag to indicate other jobs). GitHub issue 1245. 
						
						
					 
					
						2018-03-08 08:09:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						acbbc93501 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						
						
						
					 
					
						2017-07-14 22:01:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						932f6cfbfc 
					 
					
						
						
							
							Because ignore SIGCHLD early, letting signal_del restore it doesn't work  
						
						 
						
						... 
						
						
						
						correctly, so set it explicitly back to default (and the others for good
measure). 
						
						
					 
					
						2017-07-14 18:49:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						1076a2e26c 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						 
						
						... 
						
						
						
						Conflicts:
	cmd-pipe-pane.c
	proc.c
	tmux.c
	window.c 
						
						
					 
					
						2017-07-12 13:43:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								nicm 
							
						 
					 
					
						
						
							
						
						51112221ee 
					 
					
						
						
							
							Block signals between forking and clearing signal handlers (or calling  
						
						 
						
						... 
						
						
						
						event_reinit) - if the child gets a signal and fires the libevent signal
handler during this period it could write a signal into the parent's
signal pipe. GitHub issue 1001 from Aaron van Geffen. 
						
						
					 
					
						2017-07-12 10:04:51 +00:00