Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] slang v.s. ncurses
Date: Mon, 05 Sep 2005 11:55:37
Message-Id: 20050905115134.GA125142@lion.gg3.net
In Reply to: Re: [gentoo-dev] slang v.s. ncurses by Thomas Dickey
1 maillog: 05/09/2005-06:16:16(-0400): Thomas Dickey types
2 > On Mon, Sep 05, 2005 at 07:47:17AM +0100, Tavis Ormandy wrote:
3 > >
4 > >
5 > > --On Monday, September 05, 2005 14:41:45 +0900 Georgi Georgiev
6 > > <chutz@×××.net> wrote:
7 > > > key sequence works fine with my slang-linked mutt, but it
8 > > > does not with a ncurses-linked mutt. I am aware what Control-S is
9 > > > supposed to do historically.
10 > >
11 > > stty stop undef
12 >
13 > that's simple. I would have pointed out that ncurses can use a different
14 > mode (start by "man raw"), but that mutt is using a particular mode presumably
15 > for a good reason.
16
17 Yes, the cbreak() mode allows for ^C and ^Z to work, which doesn't
18 happen with raw().
19
20 I'm glad that there is at least a workaround.
21
22 --
23 / Georgi Georgiev / Don't mind him; politicians always sound /
24 \ chutz@×××.net \ like that. \
25 / +81(90)2877-8845 / /