Commit Graph

176 Commits

Author SHA1 Message Date
Kelvin Sherlock
38dad13969 dispatch_io_create() is supposed to be the correct way to read from a stream. However, it doesn't seem to work and I believe it's due to poll() not working with pseudo terminals in OS X.
Leaving the code in just for fun.

Underlying issue - when the pty closes, the block doesn't always get notified so the fd doesn't close until the window closes.
2018-01-27 08:59:40 -05:00
Kelvin Sherlock
a6408fc242 in high sierra, estimated read size always seems to be 0. handle that situation. 2018-01-18 15:43:13 -05:00
Kelvin Sherlock
de8810b8e2 name edits. 2017-11-30 14:43:04 -05:00
Kelvin Sherlock
57021b2cba project update. 2017-11-30 14:42:48 -05:00
Kelvin Sherlock
ea62737352 [NSView setNeedsDisplayInRect:] must be run in the main thread as of 10.13 2017-11-30 14:23:04 -05:00
Kelvin Sherlock
bcadf05add 2Term -> TwoTerm, missing pch file. 2017-11-30 14:19:15 -05:00
Kelvin Sherlock
154f542c4a wip.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3182 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-11-01 16:23:50 +00:00
Kelvin Sherlock
ffa9c43042 project update.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3181 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-25 18:29:26 +00:00
Kelvin Sherlock
bbd0af01dc update vt50x terminals.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3180 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-25 18:29:14 +00:00
Kelvin Sherlock
8b59e647d0 -displaySize
git-svn-id: svn://qnap.local/TwoTerm/trunk@3179 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-25 18:28:55 +00:00
Kelvin Sherlock
4363682e49 xcode crap.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3178 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-25 18:28:28 +00:00
Kelvin Sherlock
582658be96 green / blue phosphor.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3177 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-25 18:27:51 +00:00
Kelvin Sherlock
13e46a0aac gno console --commentary.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3176 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-25 18:26:57 +00:00
Kelvin Sherlock
451e5e4bed processData no longer const
cursor blind thread no longer killed/restarted when cursor goes invisible.

git-svn-id: svn://qnap.local/TwoTerm/trunk@3175 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-21 03:22:17 +00:00
Kelvin Sherlock
102e7a824a update vt05 terminal. since linefeed is only effective on the last line, it's not really usable.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3174 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-21 03:20:53 +00:00
Kelvin Sherlock
a34341dd69 redo ptse
git-svn-id: svn://qnap.local/TwoTerm/trunk@3173 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-18 18:02:01 +00:00
Kelvin Sherlock
f941f462fb gsos console scroll
git-svn-id: svn://qnap.local/TwoTerm/trunk@3172 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-18 18:01:33 +00:00
Kelvin Sherlock
6ab42a4c82 scroll left / right.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3171 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-18 18:00:18 +00:00
Kelvin Sherlock
93b24a5a4b simplify/rewrite screen
git-svn-id: svn://qnap.local/TwoTerm/trunk@3170 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-17 03:57:16 +00:00
Kelvin Sherlock
cef619bae7 rewrite GS/OS Console.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3169 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-17 03:54:52 +00:00
Kelvin Sherlock
8a5373f906 fixes.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3168 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 19:24:01 +00:00
Kelvin Sherlock
baf2c36e03 project update.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3167 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 18:07:51 +00:00
Kelvin Sherlock
7149e8001f Apple80 -> ragel
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3166 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 18:07:29 +00:00
Kelvin Sherlock
a7c8a861de _context cursor -> cursor.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3165 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 18:06:52 +00:00
Kelvin Sherlock
d899cb8c0e update putc parameters.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3164 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 18:06:20 +00:00
Kelvin Sherlock
2f0cd34e32 remove old screen code
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3163 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 00:27:56 +00:00
Kelvin Sherlock
0291b21733 simplify screen, rewrite gno console.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3162 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 00:26:45 +00:00
Kelvin Sherlock
29776f8366 iRect operators.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3161 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-16 00:26:01 +00:00
Kelvin Sherlock
df2570a146 tweak
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3160 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-13 01:44:53 +00:00
Kelvin Sherlock
228b4da5cc ragel version of gno console emulator.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3159 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-05 19:23:27 +00:00
Kelvin Sherlock
02ea54d3fe fix warnings.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3158 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-05 19:22:58 +00:00
Kelvin Sherlock
59487424bb fix warnings.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3157 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-05 19:22:40 +00:00
Kelvin Sherlock
adebd47bcb gno -> ragel
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3156 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-05 18:17:39 +00:00
Kelvin Sherlock
3bbc779a22 Create branch fix-gno-scrolling-region from trunk.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3155 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-05 18:16:05 +00:00
Kelvin Sherlock
70b38025ba minor updates.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3154 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-05 18:15:34 +00:00
Kelvin Sherlock
e1c6f11214 update project.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3153 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 19:18:31 +00:00
Kelvin Sherlock
7f89ae21a5 max_size.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3152 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 19:18:12 +00:00
Kelvin Sherlock
152791525a fix clearDebugData.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3151 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 19:17:55 +00:00
Kelvin Sherlock
b0674ce06a fix up and simplify ring buffer a little bit.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3150 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 19:05:39 +00:00
Kelvin Sherlock
318d5a0135 debug menu items.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3149 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 04:47:46 +00:00
Kelvin Sherlock
695fb8ce36 ring buffer to debug stuff.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3148 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 04:47:35 +00:00
Kelvin Sherlock
b218387855 fix decrementY.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3147 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-01-26 04:47:10 +00:00
Kelvin Sherlock
1fec3f120c merge updated effects.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3146 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-28 03:13:50 +00:00
Kelvin Sherlock
6cd1025a9e 80-column updates.
git-svn-id: svn://qnap.local/TwoTerm/branches/backlight@3145 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-28 03:12:17 +00:00
Kelvin Sherlock
0203a3f895 updates.
git-svn-id: svn://qnap.local/TwoTerm/branches/backlight@3144 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-28 03:11:51 +00:00
Kelvin Sherlock
50ab7f28d7 Create branch backlight from trunk.
git-svn-id: svn://qnap.local/TwoTerm/branches/backlight@3140 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-17 17:39:47 +00:00
Kelvin Sherlock
e1cf110542 misc updates.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3139 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-17 17:39:30 +00:00
Kelvin Sherlock
4da42afc94 c++17 algorithm.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3138 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-17 17:39:06 +00:00
Kelvin Sherlock
2bff238150 forgot dealloc method.
git-svn-id: svn://qnap.local/TwoTerm/trunk@3137 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-09-17 17:36:38 +00:00
Kelvin Sherlock
1e6fc3be1d OXTABS
git-svn-id: svn://qnap.local/TwoTerm/trunk@3119 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2016-07-12 13:35:41 +00:00