Commit Graph

1139 Commits

Author SHA1 Message Date
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
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
c40a9b8994 Actually implement AltGr as a separate code, rather than Ctrl+Alt. 2013-05-09 20:44:56 -07:00
Michael Jumper
03ae1481ea Bump version. 2013-05-09 00:24:04 -07:00
Michael Jumper
af3fafcbd9 Add superscript 2 and 3 to German mapping. 2013-05-09 00:20:09 -07:00
Michael Jumper
5a5a02f99b Fix French keyboard mapping. 2013-05-09 00:19:55 -07:00
Michael Jumper
9557ca05ab Have to not clear both CTRL_ALT as that would prohibit CTRL+ combinations (and ALT+). 2013-05-08 23:09:42 -07:00
Michael Jumper
6241ebcbb2 If clearing SHIFT, should clear ALL_SHIFT. 2013-05-08 23:06:13 -07:00
Michael Jumper
8e5dde0cd8 Remove ALL_MODIFIERS clear for most keys. 2013-05-08 23:03:40 -07:00
Michael Jumper
eb4ab6d383 Fix bar symbol. 2013-05-08 18:28:43 -07:00
Michael Jumper
7fa531cc2e Allow storage of keysyms in the 0x0100xxxx space. Map AltGr to Ctrl+Alt. 2013-05-08 18:24:46 -07:00
Michael Jumper
4cb9b67a6f Allow ctrl/alt on Q/E/M. 2013-05-08 14:32:13 -07:00
Michael Jumper
5427c152ba Fix German keymap, add right/left ctrl/alt keysyms. 2013-05-08 14:21:04 -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