Re: rgetkey and mvcur C-extensions
Posted in 1998
Leffler, Jonathan wrote: > > Neither of these are explicitly documented anywhere. > > You can infer the interface of mvcur by looking in the documentation for > curses - the screen handling library. The Informix version of the library > more or less corresponds. The problem will be determining the correct > window handle to provide to the function. > > The rgetkey() function is internal to I4GL and not documented at all. As > far as I recall, it is a zero-argument function returning a short integer, > the return value is a key code such as might be returned by fgl_lastkey() > and interpreted via fgl_keyval() - he says without having any documentation > at hand to verify this. > > Yours, > Jonathan Leffler (jleffler@visa.com) #include <bother.ms-exchange.h> > > ---------- > From: bkp615@aol.com[SMTP:bkp615@aol.com] > Sent: Monday, March 30, 1998 3:29 PM > To: informix-list@iiug.org > Subject: rgetkey and mvcur C-extensions > > Help!, > > I have some older code that has a C extension that is using the Informix > functions rgetkey and mvcur. I have been unable to find any reference to > either > of these function in any of the Informix documentation. Does anyone have a > breakdown of these functions, there arguments and returns? or can you point > me > to the correct docs? > > TIA > > Brad Pointers > bkp615@aol.com I can confirm that rgetkey() does that - I have used it since version 4.00 in a special editor module. I wouldn't use mvcur() at all as it moves the hardware cursor and has potential to really foul things up. The only really legitimate use in curses programs is to move to the bottom left of the screen when allowing shell escapes and the like. -- Peter Lancashire Information Systems Specialist, Bayer plc Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK Tel: +44-1635-562258, Fax: +44-1635-562281 Mail: Peter.Lancashire.PL1@bayer.co.uk --- My Internet plumbing does not allow me to mail and post news together. Sorry. All opinions are my own and not those of Bayer plc. --- Join Infuse, the UK Informix User Group at http://www.infuse.co.uk/