Commit Graph

  • 9829cfc8d2 Sync OpenBSD patchset 544: Tiago Cunha 2009-11-18 01:28:43 +00:00
  • 4c2e037046 Sync OpenBSD patchset 543: Tiago Cunha 2009-11-18 01:27:33 +00:00
  • 1c97866a5f Sync OpenBSD patchset 542: Tiago Cunha 2009-11-18 01:25:35 +00:00
  • 063a474fe0 Sync OpenBSD patchset 541: Tiago Cunha 2009-11-18 01:24:33 +00:00
  • a9ca8df8e3 Permit top-bit-set characters to be entered in the status line. They could already be set from the shell and are just passed through when printing (so invisible characters or displaying on terminals with different character sets may cause problems). Nicholas Marriott 2009-11-17 13:30:07 +00:00
  • 67bf0933e2 In choose mode, assign each item a number or lowercase letter from those available and accept that as a shortcut key for the item. Nicholas Marriott 2009-11-17 13:06:11 +00:00
  • 5d7bff4051 A screen can be one cell wide; don't crash if that is the case. Nicholas Marriott 2009-11-16 13:40:45 +00:00
  • 9f6d685c05 I made a complete horlicks of the last change, fix it so it doesn't either lead to a double free or free the item after the end of the array. Nicholas Marriott 2009-11-16 11:15:44 +00:00
  • a7158784f2 Sync OpenBSD patchset 540: Tiago Cunha 2009-11-14 17:57:41 +00:00
  • e35f5b35bd Sync OpenBSD patchset 539: Tiago Cunha 2009-11-14 17:56:39 +00:00
  • fc6a835be8 Sync OpenBSD patchset 538: Tiago Cunha 2009-11-14 17:52:04 +00:00
  • ee9be88946 Sync OpenBSD patchset 537: Tiago Cunha 2009-11-14 17:51:06 +00:00
  • 0bb00a0df3 Sync OpenBSD patchset 536: Tiago Cunha 2009-11-14 17:49:37 +00:00
  • 72bc03ac4c Sync OpenBSD patchset 535: Tiago Cunha 2009-11-14 17:48:39 +00:00
  • 10e05f9867 Tweak a comment and add some spacing. Nicholas Marriott 2009-11-13 19:58:32 +00:00
  • 76ef8770cd Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the command entry structs and a couple of functions to check/set the flags. Nicholas Marriott 2009-11-13 19:53:28 +00:00
  • dafa0f022c Unreachable statement, found by lint. Nicholas Marriott 2009-11-13 18:59:14 +00:00
  • 390472566c Tidy up and fix some types, prompted by lint via deraadt. Nicholas Marriott 2009-11-13 18:13:18 +00:00
  • a18a374d51 imsg_read returns ssize_t not int, pointed out by lint via deraadt. Nicholas Marriott 2009-11-13 18:07:52 +00:00
  • 8e47966225 Destroy panes immediately rather than checking them all every loop. Nicholas Marriott 2009-11-13 17:33:07 +00:00
  • 56447d73c1 Sync OpenBSD patchset 534: Tiago Cunha 2009-11-13 16:59:19 +00:00
  • 0986001908 Sync OpenBSD patchset 533: Tiago Cunha 2009-11-13 16:58:24 +00:00
  • 2bd39071d3 Sync OpenBSD patchset 532: Tiago Cunha 2009-11-13 16:57:21 +00:00
  • ac6b1a817b Sync OpenBSD patchset 531: Tiago Cunha 2009-11-13 16:56:15 +00:00
  • ba832ff2c3 Sync OpenBSD patchset 530: Tiago Cunha 2009-11-13 16:55:10 +00:00
  • 2ec5aca064 Sync OpenBSD patchset 529: Tiago Cunha 2009-11-13 16:54:04 +00:00
  • e8424d333e Sync OpenBSD patchset 528: Tiago Cunha 2009-11-13 16:52:46 +00:00
  • 1b4a76d58f Sync OpenBSD patchset 527: Tiago Cunha 2009-11-13 16:51:49 +00:00
  • 1415eb3dd2 Use winlink_remove() to remove old winlinks when synchronizing grouped sessions rather than doing it manually and not adjusted the reference count. Fixes crash seen by Dan Harnett. Nicholas Marriott 2009-11-13 14:47:31 +00:00
  • 5d397462e4 Zap unused functions, prompted by deraadt. Nicholas Marriott 2009-11-13 07:00:54 +00:00
  • 5ae542e7ee Emulate the ri (reverse index) capability: this allows tmux to at least start on Sun consoles (TERM=sun or sun-color), even if there appear to still be problems on some boxes (my Blade 100 is fine but edd's Blade 1000 shows odd screen corruption). Nicholas Marriott 2009-11-12 08:05:23 +00:00
  • d9deb4b530 Support rxvt-style keys again, but this time: support all the variations, put them in as raw escape sequences rather than fiddling with the values from terminfo, put them /after/ the terminfo values so the latter take precedence. Nicholas Marriott 2009-11-12 08:01:02 +00:00
  • 89763f2ace Rewrite a confusing loop when freeing the arg array on exit and move the check for argv being NULL, prompted by parfait via deraadt. Nicholas Marriott 2009-11-11 18:56:07 +00:00
  • 9df4e7597d Add an explicit zero-length check for UTF-8 input data, prompted by a report from parfait via deraadt. Nicholas Marriott 2009-11-11 18:53:21 +00:00
  • 08a8ccf46b Free the pane bufferevent when the fd is closed (the signal could come before the error callback). Nicholas Marriott 2009-11-11 13:24:42 +00:00
  • 7230fe1648 OS X is still broken, so ask libevent not to use kqueue or poll. Nicholas Marriott 2009-11-11 09:54:07 +00:00
  • 2756437f4b Only need to chmod +x or -x the socket when a client is created, lost or attached, rather than every event loop. Nicholas Marriott 2009-11-11 08:00:42 +00:00
  • 60869fa4c3 Sync OpenBSD patchset 526: Tiago Cunha 2009-11-10 23:34:03 +00:00
  • ba7aa506f3 Sync OpenBSD patchset 525: Tiago Cunha 2009-11-10 23:32:53 +00:00
  • 9817d41947 Sync OpenBSD patchset 524: Tiago Cunha 2009-11-10 23:32:09 +00:00
  • 74e742113d Sync OpenBSD patchset 523: Tiago Cunha 2009-11-10 23:31:21 +00:00
  • e9b357550f Sync OpenBSD patchset 522: Tiago Cunha 2009-11-10 23:30:26 +00:00
  • 38ac9bb414 Sync OpenBSD patchset 521: Tiago Cunha 2009-11-10 23:28:53 +00:00
  • c01816c26d Sync OpenBSD patchset 520: Tiago Cunha 2009-11-10 23:27:57 +00:00
  • 36bb298bfa Sync OpenBSD patchset 519: Tiago Cunha 2009-11-10 23:27:03 +00:00
  • e275bc52f2 Sync OpenBSD patchset 518: Tiago Cunha 2009-11-10 23:26:13 +00:00
  • 15b9946a40 There is no real standard for modifier plus function keys. Previously, tmux output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. Nicholas Marriott 2009-11-10 18:53:11 +00:00
  • d9961f40bf Don't output rxvtisms either. Nicholas Marriott 2009-11-10 18:48:03 +00:00
  • 05831b52c4 Twiddling the last bit is an rxvtism, so do not support it in the table by default. Nicholas Marriott 2009-11-10 17:59:34 +00:00
  • b92fcf23fd Whoops, this is needed for last commit as well. Nicholas Marriott 2009-11-10 17:41:35 +00:00
  • 38f64b3da3 Lookup key as a named key (eg 'Space') before checking for single character keys, makes C-Space/M-Space etc resolve to the correct key code. Nicholas Marriott 2009-11-10 17:24:43 +00:00
  • 9f47c6083a Don't return 1 unless there was actually a problem (signal/lost server) rather than for all events (normal exit/detach/etc). Nicholas Marriott 2009-11-10 15:47:48 +00:00
  • ef45c1c65b +. Nicholas Marriott 2009-11-10 15:33:31 +00:00
  • 6609093625 Just ignore tty fd errors rather than dying, stops the server dying if the session is disconnected abrubtly (eg ssh ~.). Nicholas Marriott 2009-11-09 22:50:29 +00:00
  • c202377859 +. Nicholas Marriott 2009-11-09 20:03:31 +00:00
  • 591fa23f6e The input key should be a u_char. Fixes top-bit-set input problem reported by ajacoutot@. Nicholas Marriott 2009-11-09 14:40:06 +00:00
  • daf150c38d Constify buf. Nicholas Marriott 2009-11-09 11:45:10 +00:00
  • 34b4c2e607 Sync OpenBSD patchset 517: Tiago Cunha 2009-11-08 23:35:53 +00:00
  • dcb85fe4b1 Sync OpenBSD patchset 516: Tiago Cunha 2009-11-08 23:34:47 +00:00
  • 8fe9ecae05 Sync OpenBSD patchset 515: Tiago Cunha 2009-11-08 23:33:57 +00:00
  • 946337484e Sync OpenBSD patchset 514: Tiago Cunha 2009-11-08 23:33:17 +00:00
  • 181e1cc711 Sync OpenBSD patchset 513: Tiago Cunha 2009-11-08 23:32:39 +00:00
  • f18b224983 Sync OpenBSD patchset 512: Tiago Cunha 2009-11-08 23:30:42 +00:00
  • 7d288e7fd8 Sync OpenBSD patchset 511: Tiago Cunha 2009-11-08 23:29:34 +00:00
  • fb22aaf87f Sync OpenBSD patchset 510: Tiago Cunha 2009-11-08 23:28:40 +00:00
  • 5ac6ea61bd Sync OpenBSD patchset 509: Tiago Cunha 2009-11-08 23:27:58 +00:00
  • 66957412d5 Sync OpenBSD patchset 508: Tiago Cunha 2009-11-08 23:26:56 +00:00
  • ac6092c27f Sync OpenBSD patchset 507: Tiago Cunha 2009-11-08 23:24:59 +00:00
  • 81336d6bb0 Make it compile on the portable version. Tiago Cunha 2009-11-08 23:23:36 +00:00
  • ab38d91913 Sync OpenBSD patchset 506: Tiago Cunha 2009-11-08 23:22:24 +00:00
  • 915031b049 Sync OpenBSD patchset 505: Tiago Cunha 2009-11-08 23:12:35 +00:00
  • 02438c01b7 Sync OpenBSD patchset 504: Tiago Cunha 2009-11-08 23:11:23 +00:00
  • bee17719d8 Sync OpenBSD patchset 503: Tiago Cunha 2009-11-08 23:09:36 +00:00
  • 0cd4f4e321 Sync OpenBSD patchset 502: Tiago Cunha 2009-11-08 23:08:12 +00:00
  • 3acb995ef3 Sync OpenBSD patchset 501: Tiago Cunha 2009-11-08 23:07:14 +00:00
  • 40b6941c0f Sync OpenBSD patchset 500: Tiago Cunha 2009-11-08 23:06:25 +00:00
  • 142962742c Sync OpenBSD patchset 499: Tiago Cunha 2009-11-08 23:05:36 +00:00
  • 2df0882722 Sync OpenBSD patchset 498: Tiago Cunha 2009-11-08 23:02:56 +00:00
  • 70b2f1981e Sync OpenBSD patchset 497: Tiago Cunha 2009-11-08 23:00:44 +00:00
  • cb0bf6a043 Sync OpenBSD patchset 496: Tiago Cunha 2009-11-08 22:59:53 +00:00
  • 971a7b2fe0 Sync OpenBSD patchset 495: Tiago Cunha 2009-11-08 22:58:38 +00:00
  • 7851bb81f5 Sync OpenBSD patchset 494: Tiago Cunha 2009-11-08 22:56:54 +00:00
  • 53ef4c2bab Sync OpenBSD patchset 493: Tiago Cunha 2009-11-08 22:56:04 +00:00
  • 5116aaa51a Sync OpenBSD patchset 492: Tiago Cunha 2009-11-08 22:53:13 +00:00
  • e41055c5aa Adjust recent libevent changes to the portable version. Tiago Cunha 2009-11-08 22:51:34 +00:00
  • dd36982ad5 Sync OpenBSD patchset 491: Tiago Cunha 2009-11-08 22:40:36 +00:00
  • f98d13e7dc Don't try enable/disable the event if the window pane is dead (fd == -1), as the event will have been freed. Nicholas Marriott 2009-11-06 10:42:06 +00:00
  • bed8153ba0 Clear to the end of the screen from the right starting point when drawing line-by-line (in panes or if ed not supported). Fixes problem spotted by Frank Terbeck. Nicholas Marriott 2009-11-05 22:35:28 +00:00
  • 297ebb1160 Old xterm F1-F4 are \033O_P not \033[O_P. Nicholas Marriott 2009-11-05 19:35:16 +00:00
  • ff55eb5bfa Unused variable. Aargh. Nicholas Marriott 2009-11-05 19:32:34 +00:00
  • 80e0158112 Switch the tty key tree over to an (unbalanced) ternary tree which allows partial matches to be done (they wait for further data or a timer to expire, like a naked escape). Nicholas Marriott 2009-11-05 19:29:41 +00:00
  • 5ce49941fb Working on 1.2. Tiago Cunha 2009-11-05 13:18:19 +00:00
  • 09c34be825 Use %%VERSION%% so the Makefile can replace it by VERSION. Tiago Cunha 2009-11-05 13:13:19 +00:00
  • 09c558685a This commit was manufactured by cvs2svn to create tag 'TMUX_1_1'. 1.1 no_author 2009-11-05 12:35:48 +00:00
  • e4b743cced Update CHANGES, and NOTES for the 1.1 release. Tiago Cunha 2009-11-05 12:35:47 +00:00
  • 9128b7df7f Bump VERSION. Tiago Cunha 2009-11-05 12:32:46 +00:00
  • 90d4cbe67e Prepare the tree for the 1.1 release. Tiago Cunha 2009-11-05 12:30:55 +00:00
  • 05855393f0 key_string_lookup_key uses a static buffer, so copy its output into the working buffer before calling the command print function which can also use it (eg send-keys). Nicholas Marriott 2009-11-05 12:04:50 +00:00
  • a790e16fa2 Key flags are only used for initialisation so they are not needed in the main tty_key struct. Nicholas Marriott 2009-11-05 10:44:36 +00:00
  • 25c604fb1c EVLOOP_ONCE takes care of the wakeup, so no need to call event_loopexit(NULL). Nicholas Marriott 2009-11-05 08:50:32 +00:00