netbsd-curses icon indicating copy to clipboard operation
netbsd-curses copied to clipboard

sl hangs in linux terminal

Open ddevault opened this issue 8 years ago • 9 comments

ddevault avatar May 04 '17 21:05 ddevault

sl ?

rofl0r avatar May 04 '17 21:05 rofl0r

steam locomotive: https://github.com/mtoyoda/sl

ddevault avatar May 04 '17 21:05 ddevault

works for me in both xterm and linux term, however it hangs until a key is pressed - but it looks to me as if this is by design...

rofl0r avatar May 04 '17 21:05 rofl0r

You right, I can get it to go by pressing a key. But this doesn't seem to be necessary with ncurses.

ddevault avatar May 04 '17 22:05 ddevault

indeed - that's funny because it uses getch(). seems i need to read the code a bit more exhaustively...

rofl0r avatar May 04 '17 23:05 rofl0r

according to the getch manpage of ncurses, it should behave differently in no-delay mode, which we apparently fail to do. forwarded and waiting for upstream feedback.

rofl0r avatar May 05 '17 01:05 rofl0r

@SirCmpwn i just backported all upstream work; would you mind testing if it fixes this issue ?

rofl0r avatar Sep 20 '17 22:09 rofl0r

Just tested it on the master branch, same behavior. Can you reproduce?

ddevault avatar Sep 21 '17 11:09 ddevault

sl would set cbreak() mode. https://github.com/mtoyoda/sl/pull/63

rsmarples avatar Sep 02 '19 15:09 rsmarples