Commit Graph

1263 Commits

Author SHA1 Message Date
Michael Jumper
7216f734b5 Add some Linux-specific missing codes, reorder SGR. Add explicit ignores for unapplicable features. 2013-05-24 15:00:54 -07:00
Michael Jumper
e0c46a41a2 Interpret ESC[3J as if ESC[2J 2013-05-24 13:44:51 -07:00
Michael Jumper
b513e4ba93 Add LF/NL mode. 2013-05-24 13:33:32 -07:00
Michael Jumper
e3f89052e5 Specify terminal type. 2013-05-23 23:43:35 -07:00
Michael Jumper
f4475b4f00 Move flags to generic function, add charset handler stubs. 2013-05-23 23:12:01 -07:00
James Muehlner
8f1b5ae769 Ticket #313: Fixed styling. 2013-05-23 00:02:42 -07:00
James Muehlner
fb74c87e23 Ticket #313: Return whatever is converted so far if EILSEQ detected. Furthermore, if NULL returned from convert(), just send an empty string. Finally, use //TRANSLIT as an option for iconv_open if the library version supports it. 2013-05-22 21:53:30 -07:00
Michael Jumper
ae7959c6a4 Clear screen after prompts. 2013-05-22 11:54:28 -07:00
Michael Jumper
88dfb1517d Preserve cursor attribute when cursor row is touched. 2013-05-22 11:51:01 -07:00
Michael Jumper
c2f507a00a Fix handling of CSI sequences. 2013-05-22 11:38:39 -07:00
Michael Jumper
b1622413a9 Implement mode set/reset. Implement DECCKM mode. 2013-05-22 11:08:38 -07:00
Michael Jumper
334d6cb08b Fix background filling algorithm. 2013-05-22 03:26:51 -07:00
Michael Jumper
b66d8f2e9a Implement CSI 'a' 2013-05-21 23:57:55 -07:00
Michael Jumper
266f4e8d1b Implement DECALGN (fill screen with E's) 2013-05-21 23:38:35 -07:00
Michael Jumper
dd936b4873 Implement CSI e and f. 2013-05-21 23:27:34 -07:00
Michael Jumper
af700542b0 Implement CSI E and F. 2013-05-21 23:20:13 -07:00
Michael Jumper
c62bba9e15 Fix scroll region set CSI (no parameters should reset region) 2013-05-21 22:37:53 -07:00
Michael Jumper
142b526a97 Move write_all convenience function to common. 2013-05-21 22:09:42 -07:00
Michael Jumper
5a0b8b2ea7 Move pipes to terminal scope. 2013-05-21 22:02:11 -07:00
Michael Jumper
225377f197 Fix VT/FF. Implement DEL and CSI. 2013-05-21 00:57:44 -07:00
Michael Jumper
438ac8e9bb VT and FF should behave exactly as LF. 2013-05-21 00:55:46 -07:00
Michael Jumper
4763f029a4 ACTUALLY alphabetize... 2013-05-21 00:47:55 -07:00
Michael Jumper
c1b0e3bb3b Alphabetize CSI handlers. 2013-05-21 00:35:18 -07:00
Michael Jumper
7894346285 Implement Index and Next Line. 2013-05-21 00:29:19 -07:00
Michael Jumper
b38412fd3d Implement save/restore cursor. 2013-05-21 00:19:53 -07:00
Michael Jumper
c220a4875c Properly close pipe file descriptors. Wait for input thread to close in SSH thread. 2013-05-20 10:52:47 -07:00
Michael Jumper
639389ced8 Fix error when no data received (read returns SSH_AGAIN). 2013-05-20 10:44:43 -07:00
Michael Jumper
5fd14b3b4d Handle resize when SSH not connected. Update visible cursor row in resize. 2013-05-20 10:27:53 -07:00
Michael Jumper
80825072fe Reinstate SSH client. 2013-05-20 01:23:21 -07:00
Michael Jumper
0f978393a6 Implement prompts, do not actually redirect real STDIN/STDOUT. 2013-05-20 00:33:17 -07:00
Michael Jumper
0057460c44 Add echo flag. 2013-05-18 22:24:09 -07:00
Michael Jumper
a53a5e2e1b Working input/output. 2013-05-17 22:53:13 -07:00
Michael Jumper
5009d1c280 Revert "Use input/output threads for SSH client."
Should actually have one main thread, which then spawns an input thread after connection successful.

This reverts commit 6a099b4176fb732b7281128100fe66bb0a72da1a.
2013-05-17 20:58:47 -07:00
Michael Jumper
8f0c2f3723 Use input/output threads for SSH client. 2013-05-17 20:53:16 -07:00
Michael Jumper
96edfad7c0 Add stub client thread. 2013-05-17 20:47:05 -07:00
Michael Jumper
0dbcdabe40 General naming cleanup. 2013-05-17 20:28:26 -07:00
Michael Jumper
ec845a812a Remove core SSH client code. Refactor message handler to handle pipe for STDOUT. Refactor key and clipboard handlers to handle pipe for STDIN. 2013-05-17 20:20:51 -07:00
Michael Jumper
791da3dc81 Properly update visible cursor row when terminal scrolled. 2013-05-15 13:55:40 -07:00
Michael Jumper
9b0a210c12 Improve cursor rendering, ensure display not affected if cursor does not move. Repurpose unused "selected" attribute for marking the cursor. 2013-05-15 12:46:26 -07:00
Michael Jumper
337d79721e Do not start selection until mouse moves. 2013-05-15 12:08:05 -07:00
Michael Jumper
b5e3c2e721 Clear with NULL character. Do not include NULLs in copied text. 2013-05-15 10:11:47 -07:00
Michael Jumper
ce21f2c883 Implement range check, fix parameters. 2013-05-14 17:19:08 -07:00
Michael Jumper
d89453e342 Keep highlight displayed until text beneath highlight is touched (low-level logic is stubbed). 2013-05-14 13:26:22 -07:00
Michael Jumper
f73ece4e12 Dead grave and dead acute are not actually wrong here. 2013-05-13 22:03:28 -07:00
Michael Jumper
7d0dfd4425 #250: Implement DSTBLT. 2013-05-13 17:58:19 -07:00
Michael Jumper
8698cfc1cc Fix memblt/scrblt source coordinates. 2013-05-13 17:50:14 -07:00
Michael Jumper
b20aa53843 Wrong coordinate being stored in Y. 2013-05-13 14:40:54 -07:00
Michael Jumper
3af39503c0 Fix clipping calculations. 2013-05-13 14:37:48 -07:00
Michael Jumper
00e44007f5 Do not modify input, initialize bounded flag. 2013-05-13 14:34:24 -07:00
Michael Jumper
960c3e1e4a Implement clipping in software. 2013-05-13 14:27:15 -07:00