[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=detailitem&item_id=15621>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]