Commit Graph

140 Commits

Author SHA1 Message Date
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
14bf8dd843 Handle typing of Unicode properly. 2013-05-13 01:51:16 -07:00
Michael Jumper
a7ba3f085f Username parameter should be "username", not "user". 2013-05-09 21:43:46 -07:00
Michael Jumper
0d41f4ecde Restore password prompt. 2013-05-06 16:12:37 -07:00
Michael Jumper
547966b63d Add missing newline before last line of copied text. Add Unicode support to copied text. 2013-05-06 12:18:56 -07:00
Michael Jumper
3d1ca93b3a Initial actual support for copying of text. 2013-05-06 11:06:21 -07:00
Michael Jumper
c29c43e056 Initial selection support. 2013-05-06 01:02:23 -07:00
Michael Jumper
cb21322745 Fix wrong location value for collisions. 2013-05-03 12:45:15 -07:00
Michael Jumper
95810fbb76 Clear glyph region before sending PNG. 2013-05-03 12:10:38 -07:00
Michael Jumper
5df2f66fae Remove FIXME status. 2013-05-03 11:53:06 -07:00
Michael Jumper
857498fc19 Fix buffer copy_rows logic. 2013-05-03 11:49:08 -07:00
Michael Jumper
3a32e7084c Implement more console codes and reverse linefeed, de-stub buffer functions. 2013-05-03 02:50:05 -07:00
Michael Jumper
edc4c223bb Restore scroll down. 2013-05-02 22:50:33 -07:00
Michael Jumper
5e51f361ee Fix unicode support (wrong lengths). 2013-05-02 15:06:21 -07:00
Michael Jumper
356e3945e9 Unicode support. 2013-05-02 14:56:20 -07:00
Michael Jumper
de5b945f73 Redraw from buffer as necessary during resize (finish resize support). 2013-05-02 12:35:20 -07:00
Michael Jumper
ac52c8fb64 Proper handling of new rows and removed rows. 2013-05-02 03:18:10 -07:00
Michael Jumper
22ee486019 Remove more FIXME and STUB status. 2013-05-02 01:28:31 -07:00
Michael Jumper
ed777d0a76 Remove stub status - no longer stubs. 2013-05-02 01:22:50 -07:00
Michael Jumper
8c81cae871 Initial screen resize support. 2013-05-01 16:54:29 -07:00