Mostly-complete copy and paste.

This commit is contained in:
Nicholas Marriott
2007-11-23 17:52:54 +00:00
parent 68b2d36e07
commit 8da0b1fb99
9 changed files with 207 additions and 24 deletions

11
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.43 2007-11-23 12:48:20 nicm Exp $ */
/* $Id: tmux.c,v 1.44 2007-11-23 17:52:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -37,13 +37,14 @@ const char *malloc_options = "AFGJPX";
volatile sig_atomic_t sigwinch;
volatile sig_atomic_t sigterm;
char *default_command;
char *paste_buffer;
int bell_action;
int debug_level;
int prefix_key = META;
u_int status_lines;
u_char status_colour;
char *default_command;
int bell_action;
u_int history_limit;
u_int status_lines;
void sighandler(int);
@ -217,6 +218,8 @@ main(int argc, char **argv)
history_limit = 2000;
paste_buffer = NULL;
if (path == NULL) {
xasprintf(&path,
"%s/%s-%lu", _PATH_TMP, __progname, (u_long) getuid());