Source

srw / srw.c

Author Commit Message Labels Comments Date
Evan Gates
if the user hit ^L clear the screen and then send sigwinch
Evan Gates
srw no longer eats child's output. thanks to Michal kazior for that fix
Evan Gates
update usage()
Evan Gates
add -w for passing SIGWINCHs
Evan Gates
add sigwinch handler, error check on select
Evan Gates
set the pty's winsize
Evan Gates
don't allow buffer overflow, and add ^V
Evan Gates
add ^D, move ^L so it's in order
Evan Gates
cleanup and better sigchld handling
Evan Gates
use STDIN not 0
Evan Gates
better signal handling
Evan Gates
add SIGCONT handler so we have the right settings
Evan Gates
stupid indentation
Evan Gates
why does it fail forks?
Tags
0.6
Evan Gates
not a fan of the sigwinch stuff, keep it simple, use ^L if you need to
Evan Gates
added -w for sigwinch handling
Evan Gates
use memmove instead of shift_buf
Evan Gates
revert to last clean before utf8 attempts, that's in a branch now
Evan Gates
move cursor wcwidth() of utf8 character on backspace
Evan Gates
first attempt at utf8 support, i think everything works except scrolling right now. god that code is ugly
Evan Gates
add ^L to send SIGWINCH to child process group (redraw cw)
Evan Gates
ok, it's really really really solved this time, i promise
Evan Gates
do the read without checking read length against buf length, that scared me
Evan Gates
i'm a dumbass sometimes
Evan Gates
change from file descriptors to streams so i can use fgets/fputs, and the rest because puts(3) says don't mix calls to stdio output functions with calls to write(2)
Evan Gates
get rid of bell option, this can be done with sed
Tags
0.4
Evan Gates
small scrolling fix
Evan Gates
added -b for bell on new output
Evan Gates
indentation, yes it got me again
Evan Gates
change line editing back to stdout. the whole srw tail -f > in idea was wrong, seeing as tail doesn't cat. that being said i made a simple program that did tail -f with inotify and echoed from stdin to stdout, but it turns out you can't tell the difference between stdin and stdout from a pty
  1. Prev
  2. 1
  3. 2
  4. Next