Update of /cvsroot/tvision/tvision/classes/unix
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22087/classes/unix
Modified Files:
xtermkey.cc
Log Message:
* Fixed: [UNIX][X11][xtermkey.cc] The SHIFT+arrow_keys and other similar
key combinations failed on XTerm. They most probably weren't reported when
the driver was created (in 2003). Closes SF Bug Report #3078314 submitted
by an anonymous user.
Index: xtermkey.cc
===================================================================
RCS file: /cvsroot/tvision/tvision/classes/unix/xtermkey.cc,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** xtermkey.cc 25 Feb 2009 16:25:41 -0000 1.13
--- xtermkey.cc 12 Oct 2010 18:40:27 -0000 1.14
***************
*** 2,6 ****
XTerm keyboard routines.
! Copyright (c) 2002,2003 by Salvador E. Tropea (SET)
Covered by the GPL license.
--- 2,6 ----
XTerm keyboard routines.
! Copyright (c) 2002-2010 by Salvador E. Tropea (SET)
Covered by the GPL license.
***************
*** 305,309 ****
{
fgEterm,fgEterm,fgEterm,fgEterm,
! fgOnlyEterm|fgEterm,fgOnlyEterm|fgEterm, // Home & End
0,0,0,0,0,0,0,0
};
--- 305,310 ----
{
fgEterm,fgEterm,fgEterm,fgEterm,
! //fgOnlyEterm|fgEterm,fgOnlyEterm|fgEterm, // PgUp & PgDown
! fgEterm,fgEterm,
0,0,0,0,0,0,0,0
};
***************
*** 537,540 ****
--- 538,544 ----
sprintf(b,"[%d%c",j+2,csiKeys2[i].number);
AddKey((uchar *)b,csiKeys2[i].code,xtMods[j]);
+ // Newer versions:
+ sprintf(b,"[1;%d%c",j+2,csiKeys2[i].number);
+ AddKey((uchar *)b,csiKeys2[i].code,xtMods[j]);
}
}
|