Commit Graph

  • 367e002bc2 New flag: aggressize resize. Resize window when to size of smallest session for which it is _current_ window. Nicholas Marriott 2008-06-06 20:02:27 +00:00
  • 3cd4a08ffb Make server exit when last session dies. Also fix window check for status activity redraw. Nicholas Marriott 2008-06-06 17:55:27 +00:00
  • 6a187bb8d3 Some Linux fixes; some code tidying. Don't redraw status bar so often. Nicholas Marriott 2008-06-06 17:20:30 +00:00
  • ac332b6e79 ich emulation should maintain cursor position; bug spotted by merdely. Nicholas Marriott 2008-06-06 17:17:31 +00:00
  • 596080a699 Usage update from Will Maier. Nicholas Marriott 2008-06-06 15:23:44 +00:00
  • 15514592f9 Don't use entry init since it may be dependent on key. Nicholas Marriott 2008-06-05 23:17:03 +00:00
  • 197347b61f Don't bork on link/swap the same window. Also extend comment. Nicholas Marriott 2008-06-05 22:59:38 +00:00
  • 741f8967b4 Final missing print function. Nicholas Marriott 2008-06-05 21:54:47 +00:00
  • 0b9b873a55 Big reorganisation of command-line syntax. Nicholas Marriott 2008-06-05 21:25:00 +00:00
  • ee1a7fded7 Print for the less easy commands. Nicholas Marriott 2008-06-05 17:12:11 +00:00
  • 642c0b00ab Easy bits of arg printing for list-keys. Nicholas Marriott 2008-06-05 16:35:32 +00:00
  • 7325fea37d Man page fixes from Tiago Cunha. Nicholas Marriott 2008-06-05 15:55:59 +00:00
  • ca198956f8 Add a MANDIR variable, from Tiago Cunha. Nicholas Marriott 2008-06-05 05:04:47 +00:00
  • b044d0951f ifdef RB_PREV since 4.3 misses it too. Nicholas Marriott 2008-06-04 20:17:25 +00:00
  • 879400e1f2 Support binding 27-31. Nicholas Marriott 2008-06-04 20:01:36 +00:00
  • 7842d29673 Revert attempt to fix stray updates, turns out it was clock :-/. Nicholas Marriott 2008-06-04 19:20:10 +00:00
  • 39be570b20 vi keys from Will Maier. Nicholas Marriott 2008-06-04 18:50:35 +00:00
  • 04c60283c4 status is a toggle. Nicholas Marriott 2008-06-04 18:34:56 +00:00
  • f34b619049 Make monitor-activity w/o arguments toggle. Nicholas Marriott 2008-06-04 18:32:20 +00:00
  • b25ac6fd75 Update. Nicholas Marriott 2008-06-04 18:27:33 +00:00
  • 70c418c048 + comments. Nicholas Marriott 2008-06-04 18:26:29 +00:00
  • 0f95671fe3 Disable/enable window activity monitoring with set-window-option command. Nicholas Marriott 2008-06-04 17:54:27 +00:00
  • 14b9512546 Add activity monitoring, also invert items on taskbar which have activity. Nicholas Marriott 2008-06-04 16:46:23 +00:00
  • f7ba4dfdc9 Bring select-window into line with everything else wrt -i. Nicholas Marriott 2008-06-04 16:11:53 +00:00
  • 031be1fc72 Don't crash when looking at NULL clients; also redraw everything on status change. Nicholas Marriott 2008-06-04 05:47:46 +00:00
  • 811e75da52 Status bar left and right strings (set with status-left and status-right), and automatic update (at interval set by status-interval). Nicholas Marriott 2008-06-04 05:40:35 +00:00
  • 9e6090a7a2 Per-session configuration options. Nicholas Marriott 2008-06-03 21:42:37 +00:00
  • 85d520c41e tree.h has RB_PREV now, yay! Nicholas Marriott 2008-06-03 18:38:51 +00:00
  • 2c78ea745b Update. Nicholas Marriott 2008-06-03 18:15:57 +00:00
  • 73c9b25d2d It is too easy to create things in the same second; use a timespec instead. Nicholas Marriott 2008-06-03 18:13:54 +00:00
  • 743956edf8 Allow -c anywhere -s was allowed. Nicholas Marriott 2008-06-03 16:55:09 +00:00
  • 3e6b145923 Allow fnmatch(3) on -s, and select newest session if multiple. Nicholas Marriott 2008-06-03 05:47:09 +00:00
  • f91e7bfd38 If no command is specified, assume new-session. Nicholas Marriott 2008-06-03 05:35:51 +00:00
  • eaee4dc800 Quick and dirty kill-server command. Nicholas Marriott 2008-06-03 05:10:38 +00:00
  • 48490b14da Allow comments at EOL; count blank lines properly. Nicholas Marriott 2008-06-02 22:16:27 +00:00
  • 8731755ab4 Add a windowonly generic command and use it where appropriate. Also trim includes and unused. Nicholas Marriott 2008-06-02 22:09:49 +00:00
  • 95cc21c251 Quick man page update, also fix some usages and get rid of some CMD_KEY checks. Nicholas Marriott 2008-06-02 21:36:51 +00:00
  • 259dcbbc93 Daemonise before loading configuration. Nicholas Marriott 2008-06-02 21:16:21 +00:00
  • 70dc1b10f2 start-server command to start server and nothing else. Nicholas Marriott 2008-06-02 21:08:53 +00:00
  • a26f58c7c3 Last bits of basic configuration file. By default in ~/.tmux.conf or specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created. Nicholas Marriott 2008-06-02 21:08:36 +00:00
  • f6b86402c7 Remove old examples, add new. Nicholas Marriott 2008-06-02 20:52:43 +00:00
  • 00c6585e37 Return error cause properly. Nicholas Marriott 2008-06-02 18:55:53 +00:00
  • f97db61439 Clear msgdata where it is unavailable. Nicholas Marriott 2008-06-02 18:23:37 +00:00
  • c7243b73cb Move -s and -c down a level so handling them is the responsibility of the command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before. Nicholas Marriott 2008-06-02 18:08:17 +00:00
  • 11ee55e755 Prepare TERM in buffer before sending; this allows size to be part of cmd and prevents it being split. This is the only place this happens so remove it from todo. Nicholas Marriott 2008-06-01 21:24:33 +00:00
  • 693231e8eb +. Nicholas Marriott 2008-06-01 20:36:01 +00:00
  • cea201df20 Don't die if no dst window and -k to linkw. Nicholas Marriott 2008-06-01 20:32:41 +00:00
  • 65f4284e7f New command, send-keys, to send a set of keys. Nicholas Marriott 2008-06-01 20:20:25 +00:00
  • 99fa60f295 +. Nicholas Marriott 2008-06-01 18:35:45 +00:00
  • 3ecdc34973 s/backgroun/background/ Nicholas Marriott 2008-05-31 23:08:48 +00:00
  • 5569ff9723 Don't hang when window closes early; also add lots more debugging. Nicholas Marriott 2008-05-31 20:04:15 +00:00
  • abe745f991 Add limits.h Nicholas Marriott 2008-05-31 18:04:57 +00:00
  • 8f33e8494e Ugh, this should be backspace. Nicholas Marriott 2008-05-31 09:34:36 +00:00
  • 0dbbd777b1 Linux rxvt doesn't support parm_dch or delete_character. Nicholas Marriott 2008-05-10 12:50:25 +00:00
  • 58ca26cefa +. Nicholas Marriott 2008-03-31 20:12:04 +00:00
  • 7613c7f388 GNUmakefile fixes, from tobiasu. Nicholas Marriott 2008-02-10 19:46:17 +00:00
  • 61b0b2c76d Upd. Nicholas Marriott 2008-01-03 21:41:15 +00:00
  • 205b78ec58 Some key tweaks, fix status bar to not rely on attr. Nicholas Marriott 2008-01-03 21:32:11 +00:00
  • b8e616f445 This was wrong... Nicholas Marriott 2008-01-03 20:01:47 +00:00
  • e7f68a089e Write status across entire line. Nicholas Marriott 2008-01-03 19:18:14 +00:00
  • ccfeb316a6 Don't attempt to reset tty if it is dead. Nicholas Marriott 2008-01-02 19:22:21 +00:00
  • 34b7810afe vi(1) Nicholas Marriott 2007-12-18 17:49:02 +00:00
  • f18ac66185 Quick start section in man page. Nicholas Marriott 2007-12-16 17:18:43 +00:00
  • da22fafed5 Sync with Makefile. Nicholas Marriott 2007-12-13 18:59:42 +00:00
  • c6efbbb843 Don't free twice when exiting. Nicholas Marriott 2007-12-12 19:44:59 +00:00
  • 5bc8b2b7b6 Actually incrementing the reference count would be nice. Nicholas Marriott 2007-12-10 07:58:00 +00:00
  • 7162d824f0 Yes, it is. Nicholas Marriott 2007-12-07 11:58:54 +00:00
  • 73d882124c Handle EOL properly when scrolled. Nicholas Marriott 2007-12-07 09:49:18 +00:00
  • db6ad3acec Redraw position indicator regardless. Nicholas Marriott 2007-12-07 09:26:56 +00:00
  • e215e177df Filling with the right attr should be done in screen-display.c. Nicholas Marriott 2007-12-06 22:13:14 +00:00
  • 21d10e6894 Use the current attr/colours for filling in new areas, this fixes the echo \\033[35\;46m\\033[2J bug. Nicholas Marriott 2007-12-06 21:57:57 +00:00
  • 9a37eb4d94 Bug fix; don't bail except on first line when printing. Nicholas Marriott 2007-12-06 21:42:00 +00:00
  • 2013dc4266 Workaround FreeBSD problems with deleting terms. Nicholas Marriott 2007-12-06 21:26:22 +00:00
  • 83393d3c87 Only close the tty during exit process and leave freeing it to when the socket is lost. Nicholas Marriott 2007-12-06 20:53:48 +00:00
  • 91d790411f Use the right function... Nicholas Marriott 2007-12-06 19:57:01 +00:00
  • 2bc8108b3e Save term data in a linked list and reuse it. Nicholas Marriott 2007-12-06 18:28:55 +00:00
  • 08d7be638e Fix charset stuff. Nicholas Marriott 2007-12-06 13:54:33 +00:00
  • 194c871611 Sync. Nicholas Marriott 2007-12-06 13:51:56 +00:00
  • bea5d6d1ab Clean up after error properly. Nicholas Marriott 2007-12-06 11:11:15 +00:00
  • 0f2666ac77 Restore termcap checks. Nicholas Marriott 2007-12-06 11:05:04 +00:00
  • 85c087ad4e Another redraw bugs. Nicholas Marriott 2007-12-06 10:44:37 +00:00
  • 8ec9b07c83 Screen debugging. Nicholas Marriott 2007-12-06 10:36:01 +00:00
  • 4f44b09195 Redraw buglets. Nicholas Marriott 2007-12-06 10:16:36 +00:00
  • 7dc18f68e3 set/reset mode window functions. Nicholas Marriott 2007-12-06 10:04:43 +00:00
  • 103748d6ad Major reorganisation of screen handling. Nicholas Marriott 2007-12-06 09:46:23 +00:00
  • 6f142e9ac6 Don't try to access more windows if the session has been destroyed. Nicholas Marriott 2007-12-04 20:25:17 +00:00
  • 5f6a9e7e5b Handle missing parm_*. Nicholas Marriott 2007-12-03 10:47:27 +00:00
  • b10bd51d20 Clear before resize. Nicholas Marriott 2007-12-02 23:00:22 +00:00
  • 8419e99789 The tty code already stores attributes and doesn't modify them if unaltered, so the screen drawing code doesn't need to do so too. This probably also fixes bugs when switching screens where the actual tty attributes may not have been what the draw code (erroneously) expected. Nicholas Marriott 2007-12-02 18:23:10 +00:00
  • ba56989d0f Sync .cvsignore. Nicholas Marriott 2007-12-01 11:26:25 +00:00
  • cb353fb97c home and end appear to be find/select with rxvt... Nicholas Marriott 2007-12-01 11:24:17 +00:00
  • e0383f59bd Better error messages with no server. Nicholas Marriott 2007-12-01 11:10:33 +00:00
  • 2b3ba1cfad Bah, doing it together doesn't seem to work portably. Nicholas Marriott 2007-11-30 13:59:16 +00:00
  • fe1299aecf install -d, from tobiasu. Nicholas Marriott 2007-11-30 13:54:18 +00:00
  • 3962c5f706 Change window name on \ek...\e\. Nicholas Marriott 2007-11-30 11:08:35 +00:00
  • 77386db04b Turn mouse on/off as appropriate. Nicholas Marriott 2007-11-28 08:20:41 +00:00
  • 043514a834 Preliminary mouse support. Nicholas Marriott 2007-11-27 23:28:51 +00:00
  • f47ab8f13f Don't nuke charset flag on [0m. Also rename DRAWING -> CHARSET flag. Nicholas Marriott 2007-11-27 23:01:27 +00:00
  • 43c99c2fab Clear current line properly on clear eos. Nicholas Marriott 2007-11-27 22:12:14 +00:00
  • c6384a765b Flush data on tty open. Also reset colour before clearing line/screen. Nicholas Marriott 2007-11-27 21:07:38 +00:00