bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nap and ncurses advice sought


From: Mike Castle
Subject: Re: nap and ncurses advice sought
Date: Thu, 13 Dec 2001 15:47:46 -0800
User-agent: Mutt/1.3.24i

On Thu, Dec 13, 2001 at 06:29:08PM -0500, Thomas E. Dickey wrote:
> On Thu, 13 Dec 2001, Mike Castle wrote:
> > What happens is, after a control-Z/fg, the sequence sent by the up arrow
> > changes.  It changes from ^[OA to ^[[A.
> 
> (from memory - I'm not on Linux) it sounds as if you're saying that
> suspending the process makes ncurses send the control sequence to turn
> off keypad application mode (rmkx), but doesn't send smkx when returning.
> That should be simple enough to check...

That does appear to be the case.  In looking at the output of script, I see
a ^[[?1l^[ but no corresponding 1h.

I'll attach the 975 byte gzipped typescript to this message.

> (with xterm you can recover by clicking the application mode checkmark in
> the control/middle/mouse button - I have to do that occasionally with
> non-ncurses stuff on IRIX).

That does resolve the intermediate problem.  That explains why I'd
sometimes get it to work again, because I'd play around in the menus, but
had been unable to identify exactly what the problem is.

So, is sending the smkx the responsibility of the application or ncurses?

Thanks,
mrc
-- 
     Mike Castle      address@hidden      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

Attachment: nap.typescript.gz
Description: application/gunzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]