https://bugs.winehq.org/show_bug.cgi?id=51702
Bug ID: 51702 Summary: AFxW: the working directory of launched Unix application isn't set Product: Wine Version: 6.15 Hardware: x86-64 URL: https://web.archive.org/web/20210811072930if_/http://a kt.d.dooo.jp/lzh/afxw32_165.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Distribution: Ubuntu
Created attachment 70575 --> https://bugs.winehq.org/attachment.cgi?id=70575 Configuration file for AFxW to launch Unix application
AFxW[1], aka あふw in Japanese, is an ultra-low functionality two-pane file manager. With Wine 6.13 or later, working directory of launched Unix application is always '/'. This is a regression because the working directory corresponds to AFxW's active directory pane with Wine 6.12.
@kusyan, a reporter on Twitter, wrote up the following scenario in Japanese. Thanks to the scenario, I can confirm this issue.
Steps to reproduce: 1. unzip afxw32_165.zip 2. Put attached AFXW.DEF to the directory which AFXW.EXE exists. 3. If you don't have /usr/bin/lxterminal, rewrite line 6 of AFXW.DEF to your favorite Unix terminal software (after KEY_01=). 4. LANG=ja_JP.UTF-8 wine AFXW.EXE 5. Press [F2] to launch the specified terminal software. 6. Type 'pwd' (without quotes) and [Enter] in the new terminal window.
Expected result: The terminal shows an Unix directory corresponding to AFxW's active directory pane. For instance, if your AFxW's active directory pane shows 'C:', the terminal will show '/home/yourname/.wine/drive_c'.
Actual result: The terminal shows '/'. It's not a directory corresponding to AFxW's active directory pane.
[1] http://akt.d.dooo.jp/akt_afxw.html