Bug#137270: dvifb: quick and dirty patch
Package: dvifb
Version: 1:01.03-5.1
Followup-For: Bug #137270
If you make the following changes, some keys work (for me). I can use
the keys u,j,h,k,i,m. But if I try to use the cursor keys dvifb crash.
--- tmview.c Wed Oct 30 18:17:29 2002
+++ ../../tmview/src/tmview.c Sun Mar 4 14:57:22 2001
@@ -70,7 +70,7 @@
numberargmode=NAFRAC;
if(ch=='*' || ch=='#')
numberargmode=NAONLYE;
- if(ch >=0 && ch <= '9')
+ if(ch <= '9')
numberargmode=NAINTE;
if(ch=='+' || ch=='-')
numberargmode=NAINT;
@@ -2585,8 +2593,7 @@
inpanic=1;
}
- o=vgagetchar(1);
+ o=getchar();
wasnum=0;
if('A' <= o && o<= 'Z') {
o+='a'-'A';
-- System Information
Debian Release: 3.0
Architecture: powerpc
Kernel: Linux Apple 2.4.17-xfs #15 Son Mai 5 18:04:57 CEST 2002 ppc
Locale: LANG=de_DE, LC_CTYPE=de_DE
Versions of packages dvifb depends on:
ii gpm 1.19.6-12 General Purpose Mouse Interface
ii libc6 2.2.5-11.1 GNU C Library: Shared libraries an
ii libkpathsea3 1.0.7+20011202-7 shared libkpathsea for teTeX
ii tetex-bin 1.0.7+20011202-7 teTeX binary files
Reply to: