[bug #15621] file/dir entries with international characters mess up the columns
Update of bug #15621 (project mc): Status:None = Duplicate Assigned to:None = leonardjo Open/Closed:Open = Closed ___ Follow-up Comment #2: This is a duplicate of bug 7936 and bug 15100. Please check for existing bug reports before submitting. If you do submit please specify your platform, the version of mc used and if any patches have been applied. ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=15621 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
[bug #15621] file/dir entries with international characters mess up the columns
Follow-up Comment #1, bug #15621 (project mc): I have seen the same bug. A related problem is often seen in the quickview panel, though the same problem exists with binary filenames, though non-printable characters in filenames is more rare. Testing it now, filenames with escape sequences embedded aren't even displayed in the directory panel. e.g. $ touch ABC`echo -e '\e[12;34~'` $ mc No file shows up, although clearly the new file is there. The number of characters needs to be counted based on the screen output, not number of bytes. Also, character sequences containing '^[' or the CSI 0x9b need to be suppressed/converted to printable forms without triggering terminal emulator functions. Without supressing those characters, and correct counting of the displayed chars, the screen gets garbled, and ^L sometimes stops working (e.g. after quickview acts on certain executable files that result in altering the terminal settings). ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=15621 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
[bug #15621] file/dir entries with international characters mess up the columns
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=15621 Summary: file/dir entries with international characters mess up the columns Project: GNU Midnight Commander Submitted by: waiter Submitted on: Sat 02/04/06 at 10:12 Category: Screen output Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: 4.6.1 Platform Version: GNU/Linux ___ Details: File or directory entries containing international charaters pull all other characters found right to them towards the file/dir entry. I think the problem is with the correct determination of string lengths in case of strings containing international characters. A screenshot of the problem has been attached. ___ File Attachments: --- Date: Sat 02/04/06 at 10:12 Name: mc-screenshot.jpg Size: 97.46KB By: waiter This screenshot shows how the international characters screw up the panel. http://savannah.gnu.org/bugs/download.php?item_id=15621item_file_id=3370 ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=15621 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel