Commit Graph

  • 121ba57b55 Use the target print function for copy-mode, spotted by Tiago Cunha. Nicholas Marriott 2010-01-02 22:50:02 +00:00
  • 13fbec2586 +. Nicholas Marriott 2010-01-02 17:32:35 +00:00
  • 9ee979167a Use tcflush(3) instead of TIOCFLUSH, from Ed Schouten. Nicholas Marriott 2010-01-01 14:29:18 +00:00
  • 71e6b4d617 Sync OpenBSD patchset 594: Tiago Cunha 2009-12-26 23:50:15 +00:00
  • 51a284e056 Sync OpenBSD patchset 593: Tiago Cunha 2009-12-26 23:49:27 +00:00
  • 3cc7f2e191 Sync OpenBSD patchset 592: Tiago Cunha 2009-12-26 23:48:37 +00:00
  • f81b3ddf94 Sync OpenBSD patchset 591: Tiago Cunha 2009-12-26 23:45:21 +00:00
  • a775107f5f Fix the logic so that transition from a 256 colour to default works properly. Nicholas Marriott 2009-12-26 11:02:32 +00:00
  • cd9b1b1fd3 Nuke some stray debugging. Nicholas Marriott 2009-12-26 10:39:02 +00:00
  • e447088a8a +. Nicholas Marriott 2009-12-26 10:21:34 +00:00
  • a3715e7867 Use sysctl() KERN_PROC2 instead of KERN_PROC, as the latter's ABI is sensitive to changes in struct proc. Philip Guenther 2009-12-24 22:29:15 +00:00
  • ad2767c7fb +. Nicholas Marriott 2009-12-22 20:59:53 +00:00
  • 4feee126b8 Fix a couple of problems with grouped sessions reported by danh: redraw properly and choose the correct last window after a window is killed. Nicholas Marriott 2009-12-22 10:20:08 +00:00
  • 9fea75149a Sync OpenBSD patchset 590: Tiago Cunha 2009-12-18 18:57:00 +00:00
  • f4b9b84190 FreeBSD 6.x has a bug and crashes in del_curterm, so ifdef it out on that platform. Nicholas Marriott 2009-12-18 07:42:30 +00:00
  • 19ea306606 Allow keys to be replaced and reorder the table so that terminfo-defined keys (or terminal-overrides) take precedence over internally defined. Nicholas Marriott 2009-12-17 17:39:56 +00:00
  • f9e513895c Add note about TERM, add putty Ctrl entry. Nicholas Marriott 2009-12-17 10:00:15 +00:00
  • 99075aaa72 Sync OpenBSD patchset 589: Tiago Cunha 2009-12-16 01:13:09 +00:00
  • de15f2b567 Update. Tiago Cunha 2009-12-16 01:11:09 +00:00
  • 6f578a434b Sync OpenBSD patchset 588: Tiago Cunha 2009-12-16 01:10:36 +00:00
  • 90d40e27da Sync OpenBSD patchset 587: Tiago Cunha 2009-12-16 01:09:01 +00:00
  • 0dda866679 Pass through the aixterm bright colours if the terminal supports them (>= 16 colours). Nicholas Marriott 2009-12-14 21:33:38 +00:00
  • 84d2e6c8a0 Add server options to completion as well. Nicholas Marriott 2009-12-14 10:47:11 +00:00
  • 30962cb200 New server option, escape-time, to set the timeout used to detect if escapes are alone or part of a function key or meta sequence. Nicholas Marriott 2009-12-14 10:43:41 +00:00
  • ef3e483a0d +. Nicholas Marriott 2009-12-13 15:47:16 +00:00
  • fcbf4ea2c0 Tweak text slightly. Nicholas Marriott 2009-12-12 09:54:42 +00:00
  • 243c63f867 FAQ about grouped sessions. Nicholas Marriott 2009-12-12 09:54:02 +00:00
  • 7459be544e Sync OpenBSD patchset 586: Tiago Cunha 2009-12-12 01:01:11 +00:00
  • b70be285b7 Look in /opt/blah on OS X, from simmel. Nicholas Marriott 2009-12-11 20:08:18 +00:00
  • 3f58cbaae9 Use quiet variable, and add missing sentinel to options array. Nicholas Marriott 2009-12-11 13:58:48 +00:00
  • dac1d365c0 Update. Tiago Cunha 2009-12-10 17:16:31 +00:00
  • dcdd2fb094 Sync OpenBSD patchset 585: Tiago Cunha 2009-12-10 16:59:02 +00:00
  • 328861e330 Sync OpenBSD patchset 584: Tiago Cunha 2009-12-10 16:52:58 +00:00
  • a4c9a80dac Add "server options" which are server-wide and not bound to a session or window. Set and displayed with "set -s" and "show -s". Nicholas Marriott 2009-12-10 09:16:52 +00:00
  • 6311bd119e Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right pane can be identified. Nicholas Marriott 2009-12-08 07:49:31 +00:00
  • 39b1cdbdb9 Sync OpenBSD patchset 583: Tiago Cunha 2009-12-04 22:17:26 +00:00
  • 3db559cf5a Sync OpenBSD patchset 582: Tiago Cunha 2009-12-04 22:16:15 +00:00
  • cc094fdfe6 Sync OpenBSD patchset 581: Tiago Cunha 2009-12-04 22:14:47 +00:00
  • 1caa73afb4 Sync OpenBSD patchset 580: Tiago Cunha 2009-12-04 22:11:23 +00:00
  • ddb5bb80fa Sync OpenBSD patchset 579: Tiago Cunha 2009-12-04 22:05:52 +00:00
  • 4ba8fce7ea Sync OpenBSD patchset 578: Tiago Cunha 2009-12-04 22:04:55 +00:00
  • 796eb522ac vte is buggy and doesn't home the cursor after changing the scroll region. Several people are hitting this, so add a workaround. Nicholas Marriott 2009-12-04 11:01:29 +00:00
  • e755475475 Wrap at 80 columns. Nicholas Marriott 2009-12-03 22:54:34 +00:00
  • 15a64b805e Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours... Nicholas Marriott 2009-12-03 22:50:09 +00:00
  • 6c9862662f Eliminate duplicate code and ease the passage for server-wide options by adding a -w flag to set-option and show-options and making setw and showw aliases to set -w and show -w. Nicholas Marriott 2009-12-03 17:44:02 +00:00
  • 1f7ac1e0cb Solaris requires this header ordering. Nicholas Marriott 2009-12-03 14:33:27 +00:00
  • 6bbc92a6f5 Reflect the keypad mode of the application so that numlock works. Nicholas Marriott 2009-12-02 22:13:15 +00:00
  • 8fffdd28fb Quick way to turn UTF-8 on in putty. Nicholas Marriott 2009-12-02 16:57:38 +00:00
  • 59eaef6107 Update. Tiago Cunha 2009-12-02 15:11:20 +00:00
  • 55f51c4949 Sync OpenBSD patchset 577: Tiago Cunha 2009-12-02 15:10:44 +00:00
  • c87379b04d Sync OpenBSD patchset 576: Tiago Cunha 2009-12-02 15:07:28 +00:00
  • 97350cd883 Sync OpenBSD patchset 575: Tiago Cunha 2009-12-02 15:06:35 +00:00
  • 459e9de81a Close the pane if the process died due to a signal, not just if it exited normally. Nicholas Marriott 2009-12-02 15:06:14 +00:00
  • 0926a23014 New command, capture-pane, which copies the entire pane contents to a paste buffer. From Jonathan Alvarado. Nicholas Marriott 2009-12-01 18:42:38 +00:00
  • f27fefd7b8 Look for mice and xterm keys before standard function keys as they are less likely to be partial versions. Nicholas Marriott 2009-12-01 07:59:40 +00:00
  • 29a5931c6a Handle partial xterm function key sequences. Nicholas Marriott 2009-11-30 16:44:03 +00:00
  • 5081d73330 +. Nicholas Marriott 2009-11-28 23:55:41 +00:00
  • b42f231027 Sync OpenBSD patchset 574: Tiago Cunha 2009-11-28 14:59:26 +00:00
  • dc57c5bb50 Sync OpenBSD patchset 573: Tiago Cunha 2009-11-28 14:57:59 +00:00
  • 575510045a Sync OpenBSD patchset 572: Tiago Cunha 2009-11-28 14:57:04 +00:00
  • 4c7b3a5906 Sync OpenBSD patchset 571: Tiago Cunha 2009-11-28 14:56:11 +00:00
  • 91cf94b34b Sync OpenBSD patchset 570: Tiago Cunha 2009-11-28 14:55:22 +00:00
  • fabf40b3b3 Sync OpenBSD patchset 569: Tiago Cunha 2009-11-28 14:54:12 +00:00
  • 66bf2e2f04 Sync OpenBSD patchset 568: Tiago Cunha 2009-11-28 14:51:37 +00:00
  • c12e0b0708 Sync OpenBSD patchset 567: Tiago Cunha 2009-11-28 14:50:37 +00:00
  • bbd9652d32 Sync OpenBSD patchset 566: Tiago Cunha 2009-11-28 14:46:23 +00:00
  • d9001ead7d Sync OpenBSD patchset 565: Tiago Cunha 2009-11-28 14:45:30 +00:00
  • d517ffe7c9 Sync OpenBSD patchset 564: Tiago Cunha 2009-11-28 14:44:00 +00:00
  • 8ba590b473 Sync OpenBSD patchset 563: Tiago Cunha 2009-11-28 14:42:21 +00:00
  • 635d36f928 Sync OpenBSD patchset 562: Tiago Cunha 2009-11-28 14:41:17 +00:00
  • 5f366e6d54 Sync OpenBSD patchset 561: Tiago Cunha 2009-11-28 14:39:53 +00:00
  • a3024f3d2a Sync OpenBSD patchset 560: Tiago Cunha 2009-11-28 14:38:30 +00:00
  • 2182e1badc Add a couple of comments. Nicholas Marriott 2009-11-27 09:41:03 +00:00
  • 106ee8f30a This doesn't need to be u_int. Nicholas Marriott 2009-11-26 23:13:47 +00:00
  • 1acf066fb9 Make types clearer and lint happier. Nicholas Marriott 2009-11-26 22:56:59 +00:00
  • e7f4319ac6 Fix type - attributes should be u_char not int. Nicholas Marriott 2009-11-26 22:47:14 +00:00
  • c2eb869f72 Change paranoia check to check for <= 0 and to avoid warning. Nicholas Marriott 2009-11-26 22:32:00 +00:00
  • 8cb410c63c Tidy up various bits of the paste code, make the data buffer char * and add comments. Nicholas Marriott 2009-11-26 22:28:24 +00:00
  • ba5404d93e Continue rather than returning if not a mouse key, to avoid hanging on any function key... Nicholas Marriott 2009-11-26 22:26:51 +00:00
  • 4ca857e0e9 Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output. Nicholas Marriott 2009-11-26 21:37:13 +00:00
  • 621dabd44e Rename a variable to something more helpful. Nicholas Marriott 2009-11-26 21:22:31 +00:00
  • 3e147967e2 Get a u_char from the string, otherwise it isn't possible to enter \0377 as it is mistaken for EOF (doh). Nicholas Marriott 2009-11-26 21:14:30 +00:00
  • 9c0147915e Handle the possibility of partial mouse reads, and fix a comment while here. Nicholas Marriott 2009-11-26 15:14:03 +00:00
  • d31d4c05cf Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set. Nicholas Marriott 2009-11-26 14:46:08 +00:00
  • 399002baa4 Despite terminfo being in use for around 20 years, NetBSD still haven't got their act together, so add an ifdef to use ncurses.h instead of curses.h. Nicholas Marriott 2009-11-26 09:19:05 +00:00
  • 094bca5ac3 Output the right keys for application and number keypad modes (they were the wrong way round). Nicholas Marriott 2009-11-25 12:24:31 +00:00
  • 87821fce0e Add a -p flag to display-message to print the output rather than displaying in the status line, this allows things like "display -p '#W'" to find the current window index. Nicholas Marriott 2009-11-24 19:16:11 +00:00
  • 809902226e Sync. Nicholas Marriott 2009-11-24 19:03:59 +00:00
  • 45ac2cc4e7 +. Nicholas Marriott 2009-11-23 20:29:04 +00:00
  • 727fdb44a0 +load average. Nicholas Marriott 2009-11-23 09:53:24 +00:00
  • 3cb0c8e650 Done. Tiago Cunha 2009-11-22 23:29:09 +00:00
  • fce47e2e63 Add cursor keys to the key names list. Nicholas Marriott 2009-11-22 22:52:39 +00:00
  • 1a41a3b48f Sync OpenBSD patchset 559: Tiago Cunha 2009-11-22 00:13:34 +00:00
  • 1527ed0ff8 Sync OpenBSD patchset 558: Tiago Cunha 2009-11-22 00:12:33 +00:00
  • bce5aedc64 Sync OpenBSD patchset 557: Tiago Cunha 2009-11-22 00:11:33 +00:00
  • 1d58ca61a7 Sync OpenBSD patchset 556: Tiago Cunha 2009-11-22 00:10:39 +00:00
  • 074780fea4 Sync OpenBSD patchset 555: Tiago Cunha 2009-11-22 00:09:42 +00:00
  • 9b9d26f80e Use home from struct passwd if HOME is empty as well as if it is NULL, and fix a style nit. Both from Tiago Cunha. Nicholas Marriott 2009-11-21 17:52:18 +00:00
  • 58688c48aa When -h and -p are given to split-window, calculate the percentage size using the width instead of the height. Nicholas Marriott 2009-11-20 19:12:39 +00:00
  • ec68dae252 +. Nicholas Marriott 2009-11-20 14:59:45 +00:00