Source

pcw / cw.c

Author Commit Message Labels Comments Date
Evan Gates
never create the "in" file if it doesn't exist, add comments and change status colors to cw_color.sh
Evan Gates
print out size again
Evan Gates
don't clear screen or print terminal size on sigwinch, just reprint file
Evan Gates
no need to report size as an escape code, it gets erased anyway
Evan Gates
add sigwinch handling to cw.c, update cw_color.sh to match, add a simple pcw_win.sh because i forgot to add the real one
Evan Gates
change formatting from cw to cw_color.sh
Evan Gates
fix wrapping when first word of message is longer than we have
Evan Gates
clear screen on redraw for cw (for short backlogs)
Evan Gates
i add -d and -f flags to cw for cut(1) like behavior
Evan Gates
make margin take a string, and wrap at any of the given characters
Evan Gates
cleaner wrap on word break
Evan Gates
let's start full wrap at 20, not 5, because I feel like it
Evan Gates
wrap on word breaks
Evan Gates
stick to writing the entire file so we have scrollback
Evan Gates
rewind cols*rows bytes instead of the whole file on SIGWINCH
Evan Gates
close cw when the outfile is closed (when ii is no longer reading it)
Evan Gates
fix margin handling and cw_color.sh arg handling
Evan Gates
add margin option
Evan Gates
fix padding, more specifically, don't
Evan Gates
do size based on stderr, because we might pipe stdout to something else
Evan Gates
rough fancy lineup stuff, no way to specify margin yet, so it's set for my setup
Evan Gates
modelines
Evan Gates
revert changes, of course i need inotify, otherwise select() returns on EOF and we loop uncontrollably
Evan Gates
get rid of extra headers
Evan Gates
don't need inotify for cw, not sure why i thought i did..
Evan Gates
add SIGWINCH handler to redraw
Evan Gates
check return of fgets on stdin, so we don't flood when the terminal is killed
Tags
0.2
Evan Gates
add cw_color.sh not installed by default, add fflush() where needed for sic to work
Evan Gates
small fixes/changes
Evan Gates
change man page to reflect cw change, change call to cw in pcw to reflect change
  1. Prev
  2. 1
  3. 2
  4. Next