From: john@iastate.edu (John Hascall)
Subject: Re: Curses problem
Date: Thu, 15 Jul 1993 03:42:56 GMT [thread overview]
Message-ID: <CA6szK.Gyx@news.iastate.edu> (raw)
In-Reply-To: david_s.742612535@vincent2.iastate.edu
david_s@iastate.edu (David P Sly) writes:
} I am trying to compile a curses program on DEC3100 (Ultrix 4.2),
}using cursesX. The screen comes up fine. But the trouble starts when I
}try to use the funtion keys. I just return the key code of the key
}pressed and when 'q' is pressed I quit. It works for all alphanumeric keys.
}But on pressing, say F1 (KEY_F(1)) I don't get the value 411 ( form the
}header file for curses).
}
} Can somebody shed light on what I am doing wrong ( or what could be
}wrong).
I believe that `curses F1' is what is labeled `PF1' on the DEC
keyboard -- I don't think curses knows the escape sequences
for the F# keys across the top of the keyboard (you'll have to
decode them yourself).
John
--
John Hascall ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer
Project Vincent
Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551
next prev parent reply other threads:[~1993-07-15 3:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-07-14 1:15 Curses problem David P Sly
1993-07-15 3:42 ` John Hascall [this message]
1993-07-15 12:11 ` Korben R. Kirscht
-- strict thread matches above, loose matches on Subject: below --
1990-11-16 21:14 curses problem Rebecca Marvil
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox