[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getch
From: |
Jacques Le Normand |
Subject: |
getch |
Date: |
Mon, 29 Nov 2010 10:32:08 -0500 |
Dear curses list,
I'm using linux with curses version 5.7+20100626-0ubuntu1. I have a
few questions about input with getch():
1. control enter:
Is there any way to distinguish "control enter" from "enter" ? They
both return the same thing.
2. alt-n and alt-,
When I hold the alt key and I press the n key twice I get 4 inputs (in decimal):
195 174 195 175
If I hold the alt key and press ',' twice I get these 4 inputs:
194 172 194 172
Do these numbers mean anything?
3. portability
I've been told that the codes change from system to system. If this is
so, how can I make my application more portable?
I hope I'm posting to the right list. If not, please direct me to a
more appropriate list.
Thank you very much for your time
--Jacques Le Normand
- getch,
Jacques Le Normand <=