Commit Graph

  • 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
  • 7034ba236f Same exit process applied to detach. Nicholas Marriott 2007-11-27 20:03:08 +00:00
  • 5cd1d459c5 Three-stage exit process so that [] message printing works on detach etc. Nicholas Marriott 2007-11-27 20:01:30 +00:00
  • 2fabfb30b0 Make reset actually work. Nicholas Marriott 2007-11-27 19:43:50 +00:00
  • 80e30f693c Minor tweaks/missed bits. Nicholas Marriott 2007-11-27 19:32:15 +00:00
  • 76c8a590db Big internal reorganisation to move tty control into parent. Nicholas Marriott 2007-11-27 19:23:34 +00:00
  • 97eca99d0b Code tidying. Nicholas Marriott 2007-11-26 22:22:18 +00:00
  • c5b1fa9411 Shift history up by 10% at a time. Nicholas Marriott 2007-11-26 22:18:57 +00:00
  • 14610569c8 This is better than disabling it. Nicholas Marriott 2007-11-26 22:06:11 +00:00
  • 6b2debfbfa Erm, check the right cell... d'oh. Nicholas Marriott 2007-11-26 20:57:54 +00:00
  • 0ad9a61ba0 Heh. 2300 not 1200. Nicholas Marriott 2007-11-26 20:50:31 +00:00
  • f903cc9a56 Rv EOL optimisation, it screws up selection. Nicholas Marriott 2007-11-26 20:45:13 +00:00
  • 818df923de Add ^A && ^E to copy mode. Also use STDIN instead of STDOUT in a couple of places. Nicholas Marriott 2007-11-26 20:36:30 +00:00
  • d61a63c04e Update SRCS, use -rdynamic in DEBUG case, lose openssl crap. Nicholas Marriott 2007-11-25 22:08:13 +00:00
  • 1ef876db59 Sync SRCS. Nicholas Marriott 2007-11-25 22:03:13 +00:00
  • 89db56fb09 Disable this optimisation since cursor can be updated by stuff outside. Nicholas Marriott 2007-11-25 13:03:01 +00:00
  • 9a3dde0f53 Oops, use correct y. Nicholas Marriott 2007-11-25 11:13:46 +00:00
  • 0f0dd4a566 Init local_log to -1. Nicholas Marriott 2007-11-25 10:59:44 +00:00
  • 87b418b13e Redo output logging in local.c. Optimise line drawing. Nicholas Marriott 2007-11-25 10:56:22 +00:00
  • 15511cb41a Support for VT100 graphics mode. Also lose some redundant checks. Nicholas Marriott 2007-11-24 23:29:49 +00:00
  • 08f8740da7 Always redraw requesting client on resize. Nicholas Marriott 2007-11-24 20:08:49 +00:00
  • 5ad9b31ac5 Scroll region reset homes the cursor, so start at 0,0 when drawing. Also don't set region after DECRC. Nicholas Marriott 2007-11-24 19:29:56 +00:00
  • b9034946ad Reset before calling window_draw otherwise it'll have the wrong idea of the current state (since it copies from screen). Nicholas Marriott 2007-11-24 18:32:52 +00:00
  • 112f4d9f60 Don't stop until after everything else done. Nicholas Marriott 2007-11-24 18:09:59 +00:00
  • d03e729904 Better words. Nicholas Marriott 2007-11-24 18:05:39 +00:00
  • b2d78b67d8 Use screen_draw_* to write message, avoids leaving attribute changes around. Nicholas Marriott 2007-11-24 17:58:45 +00:00
  • 01dd8a3320 Sync. Nicholas Marriott 2007-11-24 17:21:12 +00:00
  • 69cec8803e Document modes, c/p etc. Nicholas Marriott 2007-11-24 14:21:43 +00:00
  • 43a05b1884 Better fix, handle delete-last-line properly. Nicholas Marriott 2007-11-24 13:26:42 +00:00
  • 4e21786eef Don't crash when deleting lines at the end, fixes irssi. Nicholas Marriott 2007-11-24 12:33:56 +00:00
  • a01093603b Inc region in debug msg. Nicholas Marriott 2007-11-23 22:51:13 +00:00
  • 8da0b1fb99 Mostly-complete copy and paste. Nicholas Marriott 2007-11-23 17:52:54 +00:00
  • 68b2d36e07 Rm some redundant checks, prevent issues when data->size == 0. Nicholas Marriott 2007-11-23 16:43:04 +00:00
  • b44bc4f8f5 Forgot to commit. Nicholas Marriott 2007-11-23 14:28:47 +00:00
  • 39246043cf Show hlimit. Nicholas Marriott 2007-11-23 13:11:43 +00:00