! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Opening the ".HFS+ Private Directory Data^M" folder messes up terminal prepen...
Status:
RESOLVED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description Magnon Damant 2019-12-21 10:31:40 CET
Created attachment 9321 
Screenshot displaying issue and how to reproduce it

OS X's Time Machine backup makes a /Time Machine Backup/.HFS+ Private Directory Data^M folder.
[In this instance it's on a removable/external USB hard-drive]

When this folder is opened in the terminal emulator the prepended prompt "[<user>@<hostname> <folder>]$" gets messed up

I guess the "^M" name ending is causes the issue [maybe not escaped properly?].
Prepended prompt should display [something like]:
[champions@champions-pc .HFS+ Private Directory Data]$

Prepended prompt displays:
]$ ampions@champions-pc .HFS+ Private Directory Data
with the cursor in the 4th character from the start position (rather than the end of the line)

cd /run/media/<user>/Time\ Machine\ Backups/.HFS+\ Private\ Directory\ Data^M/

Running fresh install of Manjaro XFCE, with latests updates as of 21-Dec-2019

xfce4-terminal: v0.8.8
Comment 1 Igor editbugs 2020-01-26 23:23:22 CET
Hi Magnon,
I think you're right, the problem is probably caused by the "^M" character which I think represents new line in DOS encoding.
xfce4-terminal, however, does not draw the command prompt; it's the vte terminal widget that does all the drawing. Feel free to submit an issue against vte: https://gitlab.gnome.org/GNOME/vte/
Comment 2 Magnon Damant 2020-01-30 02:27:59 CET
Logged upstream with vte as suggested. See https://gitlab.gnome.org/GNOME/vte/issues/213
Comment 3 Igor editbugs 2020-01-30 02:36:57 CET
Thank you! Let's see what they'll say.

Bug #16291

Reported by:
Magnon Damant
Reported on: 2019-12-21
Last modified on: 2020-01-30

People

CC List:
0 users

Version

Attachments

Additional information