[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [screen-devel] Need help reading MarkProcess()
From: |
mrbrown8 |
Subject: |
Re: [screen-devel] Need help reading MarkProcess() |
Date: |
Wed, 24 Feb 2010 19:56:57 -0700 |
On Wed, 24 Feb 2010 03:45:04 -0500 Sadrul Habib Chowdhury
<address@hidden> writes:
> * address@hidden had this to say on [22 Feb 2010, 22:19:51 -0700]:
> >
> >
> > I see 'ku' in term.c, and I understand that that is the termcap
> name for
> > Cursor Up . I see that KMAPMDEF ties 0220 to that termcap. But I'm
> still
> > not seeing why 0220? Why not 258 or 31337?
>
> I can't say I know for sure, but I think the purpose is to keep the
> likewise values similar, e.g. ctrl+p is 020, and up arrow is '0220'
> (i.e.
> 020 with the eighth bit set). Similarly, down arrow is '0216' (which
> is
> ctrl+n with the eighth bit set), 'end' is '0205' (ctrl+e with eighth
> bit
> set), 'home' is '0201' (ctrl+a with eighth bit set) etc.
I appreciate your patience, but there's still something I not getting.
Let me ask this: In your brand new list_window.c file, there is
gl_Window_input(). Inside is a switch where one of the cases is:
case 0177: /* Backspace */
177 isn't in term.c. So how did you know 0177 corresponds to the
backspace key?
>
> Cheers.
> Sadrul
>
>
>
>
--
Curtis Brown
address@hidden
____________________________________________________________
Small Business Tools
Compete with the big boys. Click here to find products to benefit your
business.
http://thirdpartyoffers.juno.com/TGL2141/c?cp=kYoCOrLzvZMabYpupyb8LQAAJ1C_iG2rrITLrAL6goh1M9z9AAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAARMQAAAAA=