Skip to content

Document 'mingw' path translation style#849

Merged
DHowett merged 1 commit intoMicrosoftDocs:mainfrom
abutcher-gh:mingw-path-translation
Apr 25, 2025
Merged

Document 'mingw' path translation style#849
DHowett merged 1 commit intoMicrosoftDocs:mainfrom
abutcher-gh:mingw-path-translation

Conversation

@abutcher-gh
Copy link
Contributor

@abutcher-gh abutcher-gh commented Apr 3, 2025

Documents the new option introduced by microsoft/terminal#18759

@learn-build-service-prod
Copy link

Learn Build status updates of commit e676f2d:

✅ Validation status: passed

File Status Preview URL Details
TerminalDocs/customize-settings/profile-advanced.md ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@abutcher-gh abutcher-gh changed the title Document 'mingw' path translation style. Document 'mingw' path translation style Apr 3, 2025
lhecker pushed a commit to microsoft/terminal that referenced this pull request Apr 14, 2025
…18759)

## Summary of the Pull Request

Support drag-n-drop path translation in the style used by MinGW
programs. In particular for usage with shells like `ash` from busybox
(https://frippery.org/busybox/).

## Detailed Description of the Pull Request / Additional comments

Provides a new option "mingw" for "pathTranslationStyle".
Shown as "MinGW" with translation documented as `(C:\ -> C:/)` in the
UI.
As per the other modes, this translates `\` to `/` but stops there.
There is no prefix/drive translation.

## Validation Steps Performed

Run using `busybox ash` shell. Dragged directories and files from both
local disks and network shares onto terminal. All were appropriately
single quoted and had their backslashes replaced with forward slashes.
They were directly usable by the `ash` shell.

Language files containing the other options have been updated to include
the new one.

## PR Checklist
- [ ] Closes #xxx
- [ ] Tests added/passed
- [x] Documentation updated
   - [Docs PR #849](MicrosoftDocs/terminal#849)
- [ ] Schema updated (if necessary)

Co-authored-by: Adam Butcher <adam@jessamine.uk>
Copy link
Contributor

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the feature work AND the docs!

@DHowett DHowett merged commit 889433a into MicrosoftDocs:main Apr 25, 2025
2 checks passed
DHowett pushed a commit to microsoft/terminal that referenced this pull request Sep 5, 2025
…18759)

## Summary of the Pull Request

Support drag-n-drop path translation in the style used by MinGW
programs. In particular for usage with shells like `ash` from busybox
(https://frippery.org/busybox/).

## Detailed Description of the Pull Request / Additional comments

Provides a new option "mingw" for "pathTranslationStyle".
Shown as "MinGW" with translation documented as `(C:\ -> C:/)` in the
UI.
As per the other modes, this translates `\` to `/` but stops there.
There is no prefix/drive translation.

## Validation Steps Performed

Run using `busybox ash` shell. Dragged directories and files from both
local disks and network shares onto terminal. All were appropriately
single quoted and had their backslashes replaced with forward slashes.
They were directly usable by the `ash` shell.

Language files containing the other options have been updated to include
the new one.

## PR Checklist
- [ ] Closes #xxx
- [ ] Tests added/passed
- [x] Documentation updated
   - [Docs PR #849](MicrosoftDocs/terminal#849)
- [ ] Schema updated (if necessary)

Co-authored-by: Adam Butcher <adam@jessamine.uk>
(cherry picked from commit 6682bed)
Service-Card-Id: PVTI_lADOAF3p4s4AxadtzgeAsM0
Service-Version: 1.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants