Commit Graph

5118 Commits

Author SHA1 Message Date
Nicholas Marriott
dd2f8d7d74 Don't force wrapping with \n when asked, let the cursor code figure it out. Should fix terminals which use this to detect line breaks. 2009-05-14 16:21:55 +00:00
Nicholas Marriott
4b64bd7b01 It is HAVE_PTY_H, also add a cast to shut gcc up. 2009-05-14 07:58:38 +00:00
Nicholas Marriott
c495337e76 HAVE_. 2009-05-14 07:51:51 +00:00
Nicholas Marriott
cae92a2041 Needs a VERSION. 2009-05-14 07:51:25 +00:00
Nicholas Marriott
5adb342147 SunOS tweaks. 2009-05-14 07:49:23 +00:00
Nicholas Marriott
3b0bd5a3e6 +. 2009-05-14 07:49:15 +00:00
Nicholas Marriott
6099a3399e Add distribution stuff back in. 2009-05-14 07:48:42 +00:00
Nicholas Marriott
1a86934e09 NetBSD has no strtonum so needs compat/. 2009-05-14 00:40:58 +00:00
Nicholas Marriott
626fe978e1 NetBSD tree.h has no RB_PREV. 2009-05-14 00:35:53 +00:00
Nicholas Marriott
99dee98a2b Use a variable for uname. 2009-05-14 00:34:25 +00:00
Nicholas Marriott
db7357fdcc print is redundant. Doh. 2009-05-14 00:31:48 +00:00
Nicholas Marriott
5436f6be19 Sprinkle the magic anti-GCC-suckage for *BSD as well. 2009-05-14 00:28:04 +00:00
Nicholas Marriott
1b70993207 Move -lutil. 2009-05-14 00:17:37 +00:00
Nicholas Marriott
a8fe667267 Use the right osdep. 2009-05-14 00:12:42 +00:00
Nicholas Marriott
9ff8c354ab install depends on all. 2009-05-14 00:09:02 +00:00
Nicholas Marriott
de79ce38a5 Try to figure out if we are using gcc 4 and get rid of the stupid warning, while not breaking 3.x and 2.x... 2009-05-14 00:06:59 +00:00
Nicholas Marriott
6c27e434c6 compat/bsd-poll.h now we are not doing -Icompat. 2009-05-13 23:50:42 +00:00
Nicholas Marriott
41fb824cbe Sort. 2009-05-13 23:45:26 +00:00
Nicholas Marriott
ab5273d9a9 Don't bother with this. 2009-05-13 23:43:27 +00:00
Nicholas Marriott
488a67e5a3 Whoops, don't use the name of the rule here now. 2009-05-13 23:41:58 +00:00
Nicholas Marriott
df9a2886dd Add a changes entry. 2009-05-13 23:40:30 +00:00
Nicholas Marriott
4337a9b2d5 Two more to ignore. 2009-05-13 23:34:33 +00:00
Nicholas Marriott
78f6b511fd $(PROG) is gorn. 2009-05-13 23:33:54 +00:00
Nicholas Marriott
522bf77cf4 cmake build files. I wrote these but then decided to keep the cleanup
(getopt/HAVE_*) changes but add a manual configure script and clean up the
makefiles instead. Can always be resurrected if necessary.
2009-05-13 23:32:21 +00:00
Nicholas Marriott
f1bd3807ae Everything supported has working vsnprintf. 2009-05-13 23:29:45 +00:00
Nicholas Marriott
c8cf438d44 Rename all feature flags to HAVE_* and move out of makefiles into a configure
script which must be run before building.

Still two makefiles but they are a hell of a lot simpler.

HAVE_* also will make it easier to move to $buildsystem if necessary later.
2009-05-13 23:27:00 +00:00
Nicholas Marriott
e1b4a37722 Bye-bye nonworking IRIX, can be rescued from the attic if ever needed again. 2009-05-13 22:26:11 +00:00
Nicholas Marriott
792aeb926e Use getopt.c from openssh rather than OpenBSD's getopt_long. 2009-05-13 22:20:48 +00:00
Nicholas Marriott
88daeb5410 Bye-bye META. 2009-05-13 22:10:39 +00:00
Nicholas Marriott
83d984eca8 Works fine, escaping was the issue. 2009-05-11 19:03:30 +00:00
Nicholas Marriott
b21e356e56 Spacing. 2009-05-04 19:12:37 +00:00
Nicholas Marriott
525bd431b2 RB_INSERT returns &item if already exists, so use that rather than doing a
check beforehand.
2009-05-04 18:05:23 +00:00
Nicholas Marriott
143aa718e5 Space trimmage mega-diff. 2009-05-04 17:58:27 +00:00
Nicholas Marriott
59a5728527 This should be fixed by previous commit. 2009-05-04 17:53:06 +00:00
Nicholas Marriott
54a5f82588 Region can reset cursor to 0,0 - bad if there is an offset. So sort out region before cursor. 2009-05-04 17:52:14 +00:00
Nicholas Marriott
fb543c7707 Use ACS for line drawing characters. 2009-05-04 13:20:02 +00:00
Nicholas Marriott
9164dd63e7 Only worry about complete seconds for status line update. Also reduce poll interval and de-magic-number it. 2009-05-02 08:34:39 +00:00
Nicholas Marriott
827fac4c0b Support "neww; neww" as well "neww ; neww". 2009-04-30 21:53:32 +00:00
Nicholas Marriott
044e6f7660 previous-layout command. 2009-04-30 21:17:06 +00:00
Nicholas Marriott
a6f2d82335 Use a (pre)randomised binary tree for UTF-8 character widths. Probably overkill
but meh.
2009-04-30 20:54:53 +00:00
Nicholas Marriott
4a74349ff5 static const. 2009-04-30 18:39:34 +00:00
Nicholas Marriott
a583bbb730 Display the layout name in window lists. 2009-04-30 16:27:29 +00:00
Nicholas Marriott
631f81f519 DOH. 2009-04-30 16:24:20 +00:00
Nicholas Marriott
5732d666a1 Indentation. 2009-04-30 06:04:26 +00:00
Nicholas Marriott
eccaaeee6e cvs add is often a good move. 2009-04-30 06:01:35 +00:00
Nicholas Marriott
cdf472f2de Merge resize-pane-{up,down} into resize-pane. 2009-04-30 06:01:24 +00:00
Nicholas Marriott
a3f7928084 Oops, revert - need u_char. 2009-04-30 06:00:13 +00:00
Nicholas Marriott
38a33addf7 Don't need cp. 2009-04-30 05:42:46 +00:00
Nicholas Marriott
71a903d4be This should be fixed now. 2009-04-29 23:11:02 +00:00
Nicholas Marriott
91241f1457 Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00