Re: [dev] [st] [PATCH] Let curses do the dirty work for flash

From: <>
Date: Sun, 15 Feb 2015 18:27:56 +0100

> Use the terminfo delay syntax ($<x>) in our flash capability to avoid
> hardcoding a fixed delay in redraw() when called from tsetmode() with
> We need to turn on the npc capability so that delays are made with
> xon/xoff instead of padding characters.

I tried long time ago something similar, but I don't know why curses
didn't send any pad character. Your patch uses a good alternative,
use xon/xoff, but it must work (I cannot test it now because to change
the terminfo definition in this openbsd machine is difficult, I will
do it tomorrow in a linux machine ) only due to the configuration of
your line driver. I mean, st ignores xon/xoff characters, so the line
driver (configured via stty with the flags ixon, ixoff, ixany) is
making the job of stopping the comunication. If we add this patch to
st we must add some information about it in the FAQ (similar to the
information about stty erase).

Another point is, if we have to use npc, nxon or xon, or any
combination of them

Received on Sun Feb 15 2015 - 18:27:56 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 15 2015 - 18:36:07 CET