mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	META env var.
This commit is contained in:
		
							
								
								
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							@@ -1,5 +1,6 @@
 | 
				
			|||||||
20 September 2007
 | 
					20 September 2007
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Specify meta via environment variable (META).
 | 
				
			||||||
* Record last window and ^L key to switch to it. Largely from Maximilian Gass.
 | 
					* Record last window and ^L key to switch to it. Largely from Maximilian Gass.
 | 
				
			||||||
* Reset ignored signals in child after forkpty, makes ^C work.
 | 
					* Reset ignored signals in child after forkpty, makes ^C work.
 | 
				
			||||||
* Wrap on next/previous. From Maximilian Gass.
 | 
					* Wrap on next/previous. From Maximilian Gass.
 | 
				
			||||||
@@ -26,5 +27,5 @@
 | 
				
			|||||||
  (including mutt, emacs). No status bar yet and no key remapping or other
 | 
					  (including mutt, emacs). No status bar yet and no key remapping or other
 | 
				
			||||||
  customisation.
 | 
					  customisation.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$Id: CHANGES,v 1.8 2007-09-20 18:03:23 nicm Exp $
 | 
					$Id: CHANGES,v 1.9 2007-09-20 18:48:04 nicm Exp $
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
				
			|||||||
# $Id: Makefile,v 1.2 2007-07-25 23:13:18 nicm Exp $
 | 
					# $Id: Makefile,v 1.3 2007-09-20 18:48:04 nicm Exp $
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.SUFFIXES: .c .o .y .h
 | 
					.SUFFIXES: .c .o .y .h
 | 
				
			||||||
.PHONY: clean
 | 
					.PHONY: clean
 | 
				
			||||||
@@ -13,6 +13,9 @@ DATE!= date +%Y%m%d-%H%M
 | 
				
			|||||||
# This must be empty as OpenBSD includes it in default CFLAGS.
 | 
					# This must be empty as OpenBSD includes it in default CFLAGS.
 | 
				
			||||||
DEBUG=
 | 
					DEBUG=
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Command prefix. This will go when we get a configuration file...
 | 
				
			||||||
 | 
					META?= \002 # C-b
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SRCS= tmux.c server.c buffer.c buffer-poll.c xmalloc.c xmalloc-debug.c \
 | 
					SRCS= tmux.c server.c buffer.c buffer-poll.c xmalloc.c xmalloc-debug.c \
 | 
				
			||||||
      input.c screen.c window.c session.c local.c log.c command.c
 | 
					      input.c screen.c window.c session.c local.c log.c command.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -20,7 +23,7 @@ YACC= yacc -d
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
CC= cc
 | 
					CC= cc
 | 
				
			||||||
INCDIRS+= -I. -I- -I/usr/local/include
 | 
					INCDIRS+= -I. -I- -I/usr/local/include
 | 
				
			||||||
CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\""
 | 
					CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
 | 
				
			||||||
.ifdef DEBUG
 | 
					.ifdef DEBUG
 | 
				
			||||||
CFLAGS+= -g -ggdb -DDEBUG
 | 
					CFLAGS+= -g -ggdb -DDEBUG
 | 
				
			||||||
LDFLAGS+= -Wl,-E
 | 
					LDFLAGS+= -Wl,-E
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								NOTES
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								NOTES
									
									
									
									
									
								
							@@ -2,7 +2,9 @@
 | 
				
			|||||||
  don't expect a lot of progress soon. Contributions welcome!
 | 
					  don't expect a lot of progress soon. Contributions welcome!
 | 
				
			||||||
					    -- Nicholas <nicm@users.sf.net>
 | 
										    -- Nicholas <nicm@users.sf.net>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Command prefix is C-b.
 | 
					Command prefix is C-b. This can be changed by building with, for example:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						META=\\001 make
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Commands: d detach
 | 
					Commands: d detach
 | 
				
			||||||
          c create new terminal
 | 
					          c create new terminal
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Id: command.c,v 1.4 2007-09-20 18:03:23 nicm Exp $ */
 | 
					/* $Id: command.c,v 1.5 2007-09-20 18:48:04 nicm Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
					 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
				
			||||||
@@ -20,7 +20,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "tmux.h"
 | 
					#include "tmux.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int	cmd_prefix = '\002';	/* C-b */
 | 
					int	cmd_prefix = META;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int	cmd_fn_select(struct buffer *, int);
 | 
					int	cmd_fn_select(struct buffer *, int);
 | 
				
			||||||
int	cmd_fn_create(struct buffer *, int);
 | 
					int	cmd_fn_create(struct buffer *, int);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user