summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-02put write-tty under job control; simplificationsAndrew Cady
2024-08-30fix unicode non-printingAndrew Cady
2024-08-28auto-restart ECHOSENDAndrew Cady
2024-08-28color fixAndrew Cady
2024-08-28variable-width paddingAndrew Cady
Padding prevents line-wrap during output from coloring the background of the whole line with the escape character color. It works by ensuring line-wrap occurs with color set to defaults. After printing blank spaces, backspaces are printed to move cursor back to the starting point.
2024-08-27the magic breaks top restarts somehow??Andrew Cady
2024-08-27shorten $STY for termuxAndrew Cady
2024-08-27termux-specific install dirAndrew Cady
2024-08-27kill whole pgroup to kill -CONT tty_forwardAndrew Cady
2024-08-27fixed-color cursorAndrew Cady
2024-08-27vbell offAndrew Cady
2024-08-26fix line-coloring regressionAndrew Cady
2024-08-26restarting like a champAndrew Cady
2024-08-26top exit quit is fit to printAndrew Cady
2024-08-25too many changes gotta commit em all!!Andrew Cady
2024-08-24read-tty simplification that fixes ALL bugsAndrew Cady
2024-08-22introduced lock on screen panes to prevent racesAndrew Cady
2024-08-22finally() in bashAndrew Cady
2024-08-21quit on bottom pane exitAndrew Cady
2024-08-21reattaching is now working againAndrew Cady
2024-08-21still workingAndrew Cady
2024-08-21separate write-tty commandAndrew Cady
2024-08-20fix all problems with signals? Andrew Cady
2024-08-20many changes basically workingAndrew Cady
the problem is that when the top pane sends SIGUSR1 it does not quit the bottom in the right order and an extra character ends up being read from the terminal in the bottom before a write error signals the end of the connection. Our signal of termination from the top is not reaching the right pid, the pid of the socat inside of the read_char needs to be reached by SIGUSR1, instead of $$ the outermost shell, where killing the job in job control should be enough to break the connection to the tty, it remains probably as long as socat remains running, we need to kill the whole process group of read-tty when killing the main process or when it exits
2024-08-20"new" backgrounding codeAndrew Cady
2024-08-20avoid evalAndrew Cady
2024-08-20remove commentsAndrew Cady
2024-08-20factorAndrew Cady
2024-08-20soft cursorAndrew Cady
2024-08-19read-tty: line-wrap based on window sizeAndrew Cady
2024-08-19new command: read-ttyAndrew Cady
2024-08-19reading characters is working! it's really working!!!!!Andrew Cady
2024-08-19finally working: code to read characters from terminalAndrew Cady
2024-08-19almost workingAndrew Cady
2024-08-19trivialAndrew Cady
2024-08-19trivialAndrew Cady
2024-08-15automatically install dependenciesu
moved source to src/
2024-08-15replace "cat -v" with pure bash implementationAndrew Cady
2024-08-14minor bash cleanupsAndrew Cady
2024-08-14silence more job control messagesAndrew Cady
2024-08-14use block syntax for temporarily redirecting stderrAndrew Cady
2024-08-14hide background jobs from user outputAndrew Cady
also, using kill -TERM to kill the input forwarding socat, whereupon it will be restarted as necessary. there is no reason to leave it running stopped in the background, i guess.
2024-08-14implement pause/resume for input forwardingAndrew Cady
2024-08-14set /proc/$$/commAndrew Cady
2024-08-14improve error reportingAndrew Cady
2024-08-14unusedAndrew Cady
2024-08-14forward() will restart top process if necessaryAndrew Cady
it issues a warning if so
2024-08-14control codes shown in boldAndrew Cady
The 'soft_cursor' function is now somewhat mis-named, since it also handles putting bold on the control codes. This is because the stream input to soft_cursor is a stream of single characters. Putting bold on the control codes creates multi-byte sequences that must be treated as single characters on the display. Soft_cursor could read one line per displayed character and an input_filter could output line delimiters -- if it was needed to have composability here. A functor on the stream is needed, changing its type. Its current type cannot represent multi-byte characters (except Unicode characters). An extra pipe layer would make the innermost loop slower, though. A more efficient alternative is to rename the function.
2024-08-14use namerefs in disconnect() argsAndrew Cady
2024-08-13use abbreviationsAndrew Cady