=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/tmux/tty.c 2009/07/27 11:33:21 1.16 --- src/usr.bin/tmux/tty.c 2009/08/03 14:10:54 1.17 *************** *** 1,4 **** ! /* $OpenBSD: tty.c,v 1.16 2009/07/27 11:33:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty.c,v 1.17 2009/08/03 14:10:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 57,63 **** } int ! tty_open(struct tty *tty, char **cause) { int mode; --- 57,63 ---- } int ! tty_open(struct tty *tty, const char *overrides, char **cause) { int mode; *************** *** 79,85 **** else tty->log_fd = -1; ! if ((tty->term = tty_term_find(tty->termname, tty->fd, cause)) == NULL) goto error; tty->in = buffer_create(BUFSIZ); --- 79,86 ---- else tty->log_fd = -1; ! tty->term = tty_term_find(tty->termname, tty->fd, overrides, cause); ! if (tty->term == NULL) goto error; tty->in = buffer_create(BUFSIZ);