[dev] [sbase][bug] cat -u is not unbuffered

2016-02-29 Thread Ryan Wilson
So I was studying sbase and found a bug in cat. POSIX says that cat -u should "Write bytes from the input file to the standard output without delay as each is read." But if you try feeding cat input slowly you can see this is not the case: # Feed one byte per second to cat: $ yes | pv -

Re: [dev] a few questions about watch in ubase

2016-04-21 Thread Ryan Wilson
On Thu, 21 Apr 2016 13:04:43 -0500 Greg Reagle wrote > Is it appropriate to use ANSI escape codes in the program rather than > using something like tput or terminfo, or to just execute the "clear" > command? Are the escape codes portable? clear(1) from ncurses also clears the

Re: [dev] [st] Why does F5 capitalize things?

2016-04-23 Thread Ryan Wilson
On Sat, 23 Apr 2016 11:52:38 -0500 Ryan Roden-Corrent wrote > Hi all, > > On st 0.6 (and HEAD), pressing F5 capitalizes the word under the cursor. > This isn't a huge deal, but it interferes with the vim plugin ctrlp > (https://github.com/ctrlpvim/ctrlp.vim). F5 is supposed

Re: [dev] [st] Why does F5 capitalize things?

2016-04-24 Thread Ryan Wilson
On Sun, 24 Apr 2016 20:21:19 -0500 Ryan Roden-Corrent wrote > I've reported a bug on ctrlp, because F5 seems to work for most other things > in > vim (I can create bindings with it just fine). Still, let me know if anyone > has > suggestions on how to resolve this on my end (