mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add or clarify licenses where appropriate.
This commit is contained in:
		
							
								
								
									
										17
									
								
								GNUmakefile
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								GNUmakefile
									
									
									
									
									
								
							@@ -1,4 +1,19 @@
 | 
			
		||||
# $Id: GNUmakefile,v 1.118 2009-10-24 22:02:18 nicm Exp $
 | 
			
		||||
# $Id: GNUmakefile,v 1.119 2009-10-25 21:45:25 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
#
 | 
			
		||||
# Permission to use, copy, modify, and distribute this software for any
 | 
			
		||||
# purpose with or without fee is hereby granted, provided that the above
 | 
			
		||||
# copyright notice and this permission notice appear in all copies.
 | 
			
		||||
#
 | 
			
		||||
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 | 
			
		||||
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 | 
			
		||||
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 | 
			
		||||
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 | 
			
		||||
# WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
 | 
			
		||||
# IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
 | 
			
		||||
# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
.PHONY: clean
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,4 +1,19 @@
 | 
			
		||||
# $Id: Makefile,v 1.151 2009-09-20 22:06:34 tcunha Exp $
 | 
			
		||||
# $Id: Makefile,v 1.152 2009-10-25 21:45:26 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
#
 | 
			
		||||
# Permission to use, copy, modify, and distribute this software for any
 | 
			
		||||
# purpose with or without fee is hereby granted, provided that the above
 | 
			
		||||
# copyright notice and this permission notice appear in all copies.
 | 
			
		||||
#
 | 
			
		||||
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 | 
			
		||||
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 | 
			
		||||
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 | 
			
		||||
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 | 
			
		||||
# WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
 | 
			
		||||
# IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
 | 
			
		||||
# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
.SUFFIXES: .c .o
 | 
			
		||||
.PHONY: clean
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										8
									
								
								NOTES
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								NOTES
									
									
									
									
									
								
							@@ -81,6 +81,12 @@ welcome. Please send by email to:
 | 
			
		||||
 | 
			
		||||
	nicm@users.sf.net
 | 
			
		||||
 | 
			
		||||
This file and the CHANGES, FAQ and TODO files are licensed under the ISC
 | 
			
		||||
license. Files under examples/ remain copyright their authors unless otherwise
 | 
			
		||||
stated in the file but permission has been received to distribute them with
 | 
			
		||||
tmux. All other files have a license and copyright notice at their
 | 
			
		||||
start. Please contact me with any queries.
 | 
			
		||||
 | 
			
		||||
-- Nicholas Marriott <nicm@users.sf.net>
 | 
			
		||||
 | 
			
		||||
$Id: NOTES,v 1.49 2009-07-06 18:53:24 nicm Exp $
 | 
			
		||||
$Id: NOTES,v 1.50 2009-10-25 21:45:26 nicm Exp $
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,20 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# $Id: configure,v 1.42 2009-10-14 10:14:21 nicm Exp $
 | 
			
		||||
# $Id: configure,v 1.43 2009-10-25 21:45:26 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
#
 | 
			
		||||
# Permission to use, copy, modify, and distribute this software for any
 | 
			
		||||
# purpose with or without fee is hereby granted, provided that the above
 | 
			
		||||
# copyright notice and this permission notice appear in all copies.
 | 
			
		||||
#
 | 
			
		||||
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 | 
			
		||||
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 | 
			
		||||
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 | 
			
		||||
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 | 
			
		||||
# WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
 | 
			
		||||
# IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
 | 
			
		||||
# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,7 @@
 | 
			
		||||
# $Id: h-boetes.conf,v 1.2 2009-10-25 21:45:26 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# From Han Boetes.
 | 
			
		||||
 | 
			
		||||
set -g default-command zsh
 | 
			
		||||
set -g status-right "#(uptime|awk '{print $11}') #(date)"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,52 +1,66 @@
 | 
			
		||||
# $Id: n-marriott.conf,v 1.10 2009-10-25 21:45:26 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# By Nicholas Marriott. Public domain.
 | 
			
		||||
 | 
			
		||||
# Default global options.
 | 
			
		||||
set -g status-bg green
 | 
			
		||||
set -g status-right-length 60
 | 
			
		||||
set -g default-command "exec /bin/ksh -l"
 | 
			
		||||
set -g status-right "%H:%M" # %d-%b-%y
 | 
			
		||||
set -g bell-action none
 | 
			
		||||
set -g lock-after-time 1800
 | 
			
		||||
 | 
			
		||||
# Default global window options.
 | 
			
		||||
#setw -g remain-on-exit on
 | 
			
		||||
setw -g remain-on-exit on
 | 
			
		||||
setw -g window-status-current-attr "underscore"
 | 
			
		||||
 | 
			
		||||
# Prefix key.
 | 
			
		||||
set -g prefix C-a
 | 
			
		||||
unbind C-b
 | 
			
		||||
bind C-a send-prefix
 | 
			
		||||
 | 
			
		||||
# Unlock password.
 | 
			
		||||
pass -c '$2a$06$7LpuTSfDjcz.KD3a9mdEuuJmC.zEq6RBqHWMjdv9/qqzrfWedUBHe'
 | 
			
		||||
 | 
			
		||||
# Keys to switch session.
 | 
			
		||||
bind q switchc -t0
 | 
			
		||||
bind w switchc -t1
 | 
			
		||||
bind e switchc -t2
 | 
			
		||||
bind Q switchc -t0
 | 
			
		||||
bind W switchc -t1
 | 
			
		||||
bind E switchc -t2
 | 
			
		||||
 | 
			
		||||
# Other key bindings.
 | 
			
		||||
bind i choose-window
 | 
			
		||||
bind F1 selectw -t:10
 | 
			
		||||
bind F2 selectw -t:11
 | 
			
		||||
bind F3 selectw -t:12
 | 
			
		||||
bind F4 selectw -t:13
 | 
			
		||||
bind F5 selectw -t:14
 | 
			
		||||
bind F6 selectw -t:15
 | 
			
		||||
bind F7 selectw -t:16
 | 
			
		||||
bind F8 selectw -t:17
 | 
			
		||||
bind F9 selectw -t:18
 | 
			
		||||
bind F10 selectw -t:19
 | 
			
		||||
bind F11 selectw -t:20
 | 
			
		||||
bind F12 selectw -t:21
 | 
			
		||||
 | 
			
		||||
bind m setw monitor-activity
 | 
			
		||||
 | 
			
		||||
bind y setw force-width 81
 | 
			
		||||
bind u setw force-width 0
 | 
			
		||||
 | 
			
		||||
bind D detach \; lock
 | 
			
		||||
bind N neww \; splitw -d
 | 
			
		||||
 | 
			
		||||
bind '~' split-window "exec top -s 0.5"
 | 
			
		||||
bind "#" split-window "exec ncmpc -f ~/.ncmpc.conf"
 | 
			
		||||
bind / command-prompt "split-window 'exec man %%'"
 | 
			
		||||
bind -n F1 run-shell 'mpc toggle >/dev/null 2>&1'
 | 
			
		||||
bind -n F2 run-shell 'mpc'
 | 
			
		||||
bind -n F3 run-shell 'mpc prev >/dev/null 2>&1'
 | 
			
		||||
bind -n F4 run-shell 'mpc next >/dev/null 2>&1'
 | 
			
		||||
bind -n F5 run-shell 'mpc volume -5 >/dev/null 2>&1'
 | 
			
		||||
bind -n F6 run-shell 'mpc volume +5 >/dev/null 2>&1'
 | 
			
		||||
 | 
			
		||||
# First session.
 | 
			
		||||
new -d -s0 -nirssi 'exec ssh -t natalya screen -DRS irssi irssi'
 | 
			
		||||
new -d -s0 -nirssi 'exec ssh -t natalya exec sh ~/bin/tmux-start'
 | 
			
		||||
setw -t0:0 monitor-activity on
 | 
			
		||||
setw -t0:0 aggressive-resize on
 | 
			
		||||
set -t0 status-bg green
 | 
			
		||||
neww -d -ntodo 'exec emacs ~/TODO'
 | 
			
		||||
setw -t0:1 aggressive-resize on
 | 
			
		||||
neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf'
 | 
			
		||||
neww -d -ntodo2 'exec emacs ~/TODO2'
 | 
			
		||||
setw -t0:2 aggressive-resize on
 | 
			
		||||
neww -d -nmutt 'exec mutt'
 | 
			
		||||
neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf'
 | 
			
		||||
setw -t0:3 aggressive-resize on
 | 
			
		||||
neww -d -nmutt 'exec mutt'
 | 
			
		||||
setw -t0:4 aggressive-resize on
 | 
			
		||||
neww -d
 | 
			
		||||
neww -d
 | 
			
		||||
neww -d
 | 
			
		||||
@@ -63,6 +77,7 @@ linkw -dk -t0 -s0:0
 | 
			
		||||
linkw -dk -t1 -s0:1
 | 
			
		||||
linkw -dk -t2 -s0:2
 | 
			
		||||
linkw -dk -t3 -s0:3
 | 
			
		||||
linkw -dk -t4 -s0:4
 | 
			
		||||
neww -d
 | 
			
		||||
neww -d
 | 
			
		||||
neww -d
 | 
			
		||||
@@ -77,6 +92,7 @@ linkw -dk -t0 -s0:0
 | 
			
		||||
linkw -dk -t1 -s0:1
 | 
			
		||||
linkw -dk -t2 -s0:2
 | 
			
		||||
linkw -dk -t3 -s0:3
 | 
			
		||||
linkw -dk -t4 -s0:4
 | 
			
		||||
neww -d
 | 
			
		||||
neww -d
 | 
			
		||||
neww -d
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
#!/bin/sh -x
 | 
			
		||||
 | 
			
		||||
[ ! -z "$TMUX" ] && exit
 | 
			
		||||
 | 
			
		||||
# I alias this script to "session" in .profile and use it to reconnect to
 | 
			
		||||
# the main session (0) on my main tmux server.
 | 
			
		||||
 | 
			
		||||
TMUX="tmux -dLmain"
 | 
			
		||||
 | 
			
		||||
$TMUX has -t0 2>/dev/null || $TMUX -qf ~/.tmux.conf.main start
 | 
			
		||||
exec $TMUX attach -d -t0
 | 
			
		||||
@@ -1,4 +1,6 @@
 | 
			
		||||
# $Id: screen-keys.conf,v 1.3 2009-08-07 12:09:50 nicm Exp $
 | 
			
		||||
# $Id: screen-keys.conf,v 1.4 2009-10-25 21:45:26 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# By Nicholas Marriott. Public domain.
 | 
			
		||||
#
 | 
			
		||||
# This configuration file binds many of the common GNU screen key bindings to
 | 
			
		||||
# appropriate tmux key bindings. Note that for some key bindings there is no
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user