1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
--- tsin.c.orig Fri Jan 23 10:20:39 1998
+++ tsin.c Wed Mar 11 16:57:36 1998
@@ -794,10 +794,6 @@
case ' ':
case XK_Down: /* Pr */
case XK_Up: /* , not implemented, leave here for compatibility */
- if(xkey==' ' && maxi) {
- send_first( startf, cpg, 0);
- return 1;
- }
if ( pin_tsin && !valid_pin && xkey == ' ' ) {
if( typ_pho[0] || typ_pho[1] || typ_pho[2] || typ_pho[3] ) {
bell(2);
@@ -879,6 +875,7 @@
raise_phr(c);
} else
send_first( startf, cpg, c);
+ cpg = 0;
}
return 1;
}
@@ -954,26 +951,6 @@
c_x++;
}
}
- prch(ch_buf[c_idx]);
- ph_buf[c_idx]=0;
- c_idx++;
- pox[c_idx]=c_x;
- if (c_idx < c_len) prbuf();
- if (c_idx==c_len) {
- if (HalfFull) {
- ch_buf[c_len][0]=0xa1;
- ch_buf[c_len][1]=0x40;
- } else ch_buf[c_len][0]=' ';
- }
- drawcursor();
- return 1;
- } else if (going_key && eng_ph && !pin_tsin && !shift_m && !HalfFull && xkey == '\'') {
- shift_ins();
- gotoxy(c_x,0);
- pox[c_idx]=c_x;
- b2cpy(ch_buf[c_idx], "B");
- c_xlen+=2;
- c_x+=2;
prch(ch_buf[c_idx]);
ph_buf[c_idx]=0;
c_idx++;
|