Package: mc Version: 1:4.6.1-6 Severity: normal
I've write following program to help localize this bug: --------- #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> const char* text="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n"; int main() { int fa,fb; for (fa=0;fa<255;fa++) for (fb=fa;fb<255;fb++) { if (fa>'a'&&fa<'z'||fa>'A'&&fa<'Z') break; if (fb>'a'&&fb<'z'||fb>'A'&&fb<'Z') break; char buf[100]; sprintf(buf,"%d_%d.tst",fa,fb); int fd=creat(buf,O_WRONLY); unsigned char fc; for (fc=fa;fc<fb;fc++) write(fd, &fc, 1); write(fd, text, strlen(text)); close (fd); }; return 0; } -------------- I find that, after running this program, 1. opening the 154_155.tst file for view (just pressing F3) automagically brings to terminal "Enter regilar expression dialog" with 1;2c text pre-entered to it. Such behavior produces extra pleasure then you open any binary file (especially that mistakenly open for view), becouse sometimes where is no way get rid of "Enter regular expression" dialog with text preentered except killing mc by pid. Also, this feature carefully prevents me from using this new bright version of mc as a hex editor/viewer in normal way - that was my famous hex editor and viewer. 2.Opening 128_129.tst file give me some garbage on screen. First symbol seem missing completely. This bug seem very stable and reproduce itself for several months. I hope I can help somehow... -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.17-2-686 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages mc depends on: ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries ii libglib2.0-0 2.12.4-1 The GLib library of C routines ii libgpmg1 1.19.6-22 General Purpose Mouse - shared lib ii libslang2 2.0.6-4 The S-Lang programming library - r mc recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]