Commit Graph

  • 5840c3e13a Sync OpenBSD patchset 222: Tiago Cunha 2009-08-09 16:54:46 +00:00
  • cd5294dfb4 Sync OpenBSD patchset 221: Tiago Cunha 2009-08-09 16:52:06 +00:00
  • 88b83be07b Sync OpenBSD patchset 220: Tiago Cunha 2009-08-09 16:50:57 +00:00
  • 65a28912eb Sync OpenBSD patchset 219: Tiago Cunha 2009-08-09 16:48:34 +00:00
  • d8a2ceea43 Sync OpenBSD patchset 217: Tiago Cunha 2009-08-09 16:41:17 +00:00
  • c32ca6a8e6 Sync OpenBSD patchset 216: Tiago Cunha 2009-08-09 16:39:40 +00:00
  • c9f55c1063 Make similar (untested) changes to the OS-dependent code for FreeBSD, and NetBSD in accordance to OpenBSD patchset 214. Tiago Cunha 2009-08-09 16:37:05 +00:00
  • 1127a290f4 Sync OpenBSD patchset 214: Tiago Cunha 2009-08-09 16:08:12 +00:00
  • de73fed73d zap trailing whitespace; Jason McIntyre 2009-08-09 16:03:05 +00:00
  • bd5cf2e809 Update. Tiago Cunha 2009-08-09 15:58:09 +00:00
  • 9002e60adf Sync OpenBSD patchset 213: Tiago Cunha 2009-08-09 15:57:13 +00:00
  • bd2fe4ce9b Make it build on the remaining operating systems, due to the changes introduced on OpenBSD patchset 211. Tiago Cunha 2009-08-09 15:53:02 +00:00
  • e6d5633671 DragonFlyBSD, FreeBSD, and NetBSD do not need vis.c. Tiago Cunha 2009-08-09 15:48:03 +00:00
  • e098f7b285 Add unvis(3) compat stuff. Tiago Cunha 2009-08-09 15:39:41 +00:00
  • 3deb17e841 Do not include vis.h directly, since it's OS-dependent. Tiago Cunha 2009-08-09 15:29:54 +00:00
  • 15f6a41a75 Sync OpenBSD patchset 211: Tiago Cunha 2009-08-09 15:26:24 +00:00
  • d7de29e1e5 Minor language tweaks, change which key bindings are summarised. Nicholas Marriott 2009-08-09 15:25:56 +00:00
  • ad18e45206 Nuke a dead variable found with clang and an unused declaration with lint. Nicholas Marriott 2009-08-09 15:17:50 +00:00
  • 57381aa560 Move the key bindings section to near the start, mention attach/detach in the first section, and another couple of tweaks. Based on a diff from Theo. Nicholas Marriott 2009-08-09 14:35:15 +00:00
  • 75b6736cf4 Sync OpenBSD patchset 210: Tiago Cunha 2009-08-09 12:06:25 +00:00
  • b3107d26df Don't leak in the (rare) case of an invalid command at the end of a file not terminated by a \n. Nicholas Marriott 2009-08-09 08:34:17 +00:00
  • 05f1680efa Use a temporary variable for strdup of const char *. Nicholas Marriott 2009-08-08 21:54:26 +00:00
  • 6491274f60 Infrastructure and commands to manage the environment for processes started within tmux. Nicholas Marriott 2009-08-08 21:52:43 +00:00
  • e985629440 Tidy function a little by using a temporary variable. Nicholas Marriott 2009-08-08 21:18:23 +00:00
  • 80196c9abc Fix typo and add ref to infocmp. Nicholas Marriott 2009-08-08 20:46:26 +00:00
  • becdf220fd Clarify 256 colours entries from Chris Jones, tweaked by me. Nicholas Marriott 2009-08-08 20:42:42 +00:00
  • 90f8151ffd Options to set the colours and attributes for status-left/-right. From Thomas Adam, thanks. Nicholas Marriott 2009-08-08 20:36:42 +00:00
  • 92cc3a6914 Handle ttyname(3) failure better. Nicholas Marriott 2009-08-08 16:05:01 +00:00
  • dcde77cd09 Update. Nicholas Marriott 2009-08-08 16:03:09 +00:00
  • 06ddd3dcf8 Add a flags member to the grid_line struct and use it to differentiate lines wrapped at the screen edge from those terminated by a newline. Then use this when copying to combine wrapped lines together into one. Nicholas Marriott 2009-08-08 15:57:49 +00:00
  • 5e01b6d663 Change the way the grid is stored, previously it was: Nicholas Marriott 2009-08-08 13:29:27 +00:00
  • e89e70e715 If there is an error in the configuration file, don't just exit(1) as this can cause the client to hang. Instead, send the error message, then mark the client as bad and start a normal shutdown so the server exits once the error is written. Nicholas Marriott 2009-08-07 15:39:10 +00:00
  • ccaf8724e4 Move introduction section up into description. From jmc. Nicholas Marriott 2009-08-07 12:24:16 +00:00
  • f03dd8d216 This file is not kept up to date and too many people are using it as-is then finding tmux key bindings missing. Trim it down and make it clear this is an example only. Nicholas Marriott 2009-08-07 12:09:50 +00:00
  • 04e97e8aef Using the alternative screen (smcup/rmcup) should also preserve the current colours and attributes. Found thanks to a report from Taylor Venable. Nicholas Marriott 2009-08-07 00:12:13 +00:00
  • 746fe5832a tweak INTRODUCTION; from nicm and myself Jason McIntyre 2009-08-06 21:06:35 +00:00
  • a5d55ba16d Sync up tmux.1 from OpenBSD. Nicholas Marriott 2009-08-06 19:25:44 +00:00
  • 2936f4f32c tmux no longers sends init strings so this is no longer relevant. Nicholas Marriott 2009-08-06 12:22:50 +00:00
  • 4027335fa9 Clear the codes array earlier as tty_term_free could be called on error. Nicholas Marriott 2009-08-05 19:05:02 +00:00
  • e2686d8819 +IRC channel. Nicholas Marriott 2009-08-05 16:39:28 +00:00
  • b2606c0421 Correct usage of termcap. Nicholas Marriott 2009-08-05 16:29:50 +00:00
  • bcddddf98d If colours are not supported by the terminal, try to emulate a coloured background by setting or clearing the reverse attribute. Nicholas Marriott 2009-08-05 16:26:38 +00:00
  • e3e0d70c0e +PuTTY ACS from Mike Putnam. Nicholas Marriott 2009-08-05 14:56:58 +00:00
  • f42a0475e4 Tweak FAQ to mention default-terminal. Nicholas Marriott 2009-08-05 14:42:08 +00:00
  • 12ef3ceda1 Add a -a flag to set-option and set-window-option to append to an existing string value, useful for terminal-overrides. Nicholas Marriott 2009-08-04 18:45:57 +00:00
  • a0647f1616 restructure the layout of this page, moving the commands into various subsections; lots of tweaks to come on the text Jason McIntyre 2009-08-04 18:41:28 +00:00
  • 9e3bb986d5 Show the bell/activity/current status and the window title in the choice list. Nicholas Marriott 2009-08-04 14:28:23 +00:00
  • 93bf2a1d72 Check for "UTF8" as well as "UTF-8" in LANG etc as it seems this may also appear. Nicholas Marriott 2009-08-04 10:31:28 +00:00
  • 6b69b93b53 clean up some macro abuse in the commands section; Jason McIntyre 2009-08-04 07:56:38 +00:00
  • 189fb08e13 Split the comparison into a function to make this code smaller and more understandable. Nicholas Marriott 2009-08-03 17:12:07 +00:00
  • ac54dee9bb Don't try to free old string values (and crash) when they are overridden unless they were actually found in the source terminal description. Reported by jmc. Nicholas Marriott 2009-08-03 15:30:16 +00:00
  • 9a391b3320 tweak previous; Jason McIntyre 2009-08-03 14:34:47 +00:00
  • 1673735f02 Add a terminal-overrides session option allowing individual terminfo(5) entries to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Nicholas Marriott 2009-08-03 14:10:54 +00:00
  • e4bb08e1f5 Fix checking of setupterm(3) error codes. While there include the name of the terminal type causing the error where relevant. ok nicm@. Matthieu Herrb 2009-08-02 20:47:35 +00:00
  • a834d037bc Sync OpenBSD patchset 209: Tiago Cunha 2009-07-31 20:35:21 +00:00
  • cccd072ed1 Sync OpenBSD patchset 208: Tiago Cunha 2009-07-31 20:33:49 +00:00
  • 5f0e688b50 Add some lines. Nicholas Marriott 2009-07-31 10:58:51 +00:00
  • ec8930c144 Part of last commit, remove -lcurses. Nicholas Marriott 2009-07-31 10:45:22 +00:00
  • 3e46bcec93 On SUSE Linux compatibility is something that only happens to other people, so on Linux use -lncurses instead of -lcurses. Nicholas Marriott 2009-07-31 10:44:03 +00:00
  • 5d13704e04 Some Linuxes/gcc versions hide LLONG_MAX/MIN unless the compiler is told to use C99, so use -std=c99 on Linux. Nicholas Marriott 2009-07-31 10:30:40 +00:00
  • 5db47ed53a Pass the ACS border characters through tty_get_acs so they appear correctly on terminals which don't use the standard set. Nicholas Marriott 2009-07-31 10:12:49 +00:00
  • 52f8578984 Some stuff that is done. Nicholas Marriott 2009-07-30 21:55:16 +00:00
  • 09c6432854 Sync OpenBSD patchset 207: Tiago Cunha 2009-07-30 21:14:04 +00:00
  • 796bfbd7af Update. Tiago Cunha 2009-07-30 21:11:10 +00:00
  • 56dd5dfff4 Sync OpenBSD patchset 206: Tiago Cunha 2009-07-30 21:07:23 +00:00
  • 3eb77bf53f Sync OpenBSD patchset 205: Tiago Cunha 2009-07-30 21:04:40 +00:00
  • 89826983eb Sync OpenBSD patchset 204: Tiago Cunha 2009-07-30 21:02:35 +00:00
  • 697051d1fd Sync OpenBSD patchset 203: Tiago Cunha 2009-07-30 21:01:01 +00:00
  • 67266dc25c Sync OpenBSD patchset 202: Tiago Cunha 2009-07-30 20:57:39 +00:00
  • 95caeaa5dc Don't leak when rollling buffers off when the paste buffer limit is reached. Nicholas Marriott 2009-07-30 20:50:54 +00:00
  • 817e93ac94 Sync OpenBSD patchset 201: Tiago Cunha 2009-07-30 20:50:10 +00:00
  • 1650b8552f Sync OpenBSD patchset 200: Tiago Cunha 2009-07-30 20:45:20 +00:00
  • 97f105cde2 Plug some memory leaks. Nicholas Marriott 2009-07-30 20:41:48 +00:00
  • ec1396c9ee Sync OpenBSD patchset 199: Tiago Cunha 2009-07-30 20:33:29 +00:00
  • ec3dba01b2 Sync OpenBSD patchset 198: Tiago Cunha 2009-07-30 20:32:05 +00:00
  • 8ce1f0b047 Sync OpenBSD patchset 197: Tiago Cunha 2009-07-30 20:26:20 +00:00
  • 6fbfcfc0d7 Sync OpenBSD patchset 196: Tiago Cunha 2009-07-30 20:21:55 +00:00
  • 5a9b7b230c Sync OpenBSD patchset 195: Tiago Cunha 2009-07-30 20:17:25 +00:00
  • 61f3fc7e4d Don't babysit people and let them try to load /dev/zero or (more useful) /dev/null if they want. Nicholas Marriott 2009-07-30 17:46:12 +00:00
  • 8df3035831 Remove some dead code found by clang. Nicholas Marriott 2009-07-30 17:29:12 +00:00
  • 6d86882ed4 tweak previous; Jason McIntyre 2009-07-30 16:59:24 +00:00
  • 9f1dd4d0af Similar changes for server_msg_dispatch: use a switch instead of a lookup table and merge smaller functions inline. Nicholas Marriott 2009-07-30 16:40:12 +00:00
  • 5f13bb0c3a There aren't many client message types or code to handle them so get rid of the lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Nicholas Marriott 2009-07-30 16:32:12 +00:00
  • 479d614884 Tell the server when the client gets SIGTERM so it can clean up the terminal properly, rather than just exiting. Nicholas Marriott 2009-07-30 16:16:19 +00:00
  • 071494d8fa Merge pane number into the target specification for pane commands. Instead of using -p index, a target pane is now addressed with the normal -t window form but suffixed with a period and a pane index, for example :0.2 or mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in the current window, if that fails the same rules are followed as for a target window and the current pane in that window used. Nicholas Marriott 2009-07-30 13:45:56 +00:00
  • a87228b4ff new sentence, new line; Jason McIntyre 2009-07-30 13:31:22 +00:00
  • a419e73f7a Add a mode-mouse option to prevent tmux taking over the mouse in choice or copy modes. Nicholas Marriott 2009-07-30 07:04:50 +00:00
  • 2b331084b4 Add an additional heuristic to work out the current session when run from the command line. The name of all slave ptys in the server is known, so if the client was run on a tty, look for any sessions containing that tty and use the most recently created. Nicholas Marriott 2009-07-29 17:03:16 +00:00
  • c1d6d7ac6b Rename struct hdrtype to msgtype which is a better name and can be used even when struct hdr disappears. Nicholas Marriott 2009-07-29 14:17:26 +00:00
  • d3c461097b Taking account of the "s, 22 not 24 is the maximum length of #T in status-right to prevent the date being cut off. Nicholas Marriott 2009-07-29 05:36:53 +00:00
  • 522fc94d12 Sync OpenBSD patchset 194: Tiago Cunha 2009-07-28 23:19:06 +00:00
  • deaba44835 Sync OpenBSD patchset 193: Tiago Cunha 2009-07-28 23:13:00 +00:00
  • de7483a114 Sync OpenBSD patchset 192: Tiago Cunha 2009-07-28 23:11:18 +00:00
  • d9dcc5ed44 Sync OpenBSD patchset 191: Tiago Cunha 2009-07-28 23:04:29 +00:00
  • 1c73e75982 Sync OpenBSD patchset 190: Tiago Cunha 2009-07-28 22:58:20 +00:00
  • 920b9c5872 Sync OpenBSD patchset 189: Tiago Cunha 2009-07-28 22:55:59 +00:00
  • 1880b83c37 Sync OpenBSD patchset 188: Tiago Cunha 2009-07-28 22:49:26 +00:00
  • 46cb0de347 Sync OpenBSD patchset 187: Tiago Cunha 2009-07-28 22:44:38 +00:00
  • 7562781c9d Sync OpenBSD patchset 186: Tiago Cunha 2009-07-28 22:41:38 +00:00
  • 2a146852ef Sync OpenBSD patchset 185: Tiago Cunha 2009-07-28 22:39:29 +00:00