-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Labels
Resolution-AnsweredQuestion is answeredQuestion is answered
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
eecechechoecho echo techo teecho tesecho test
test
PS /datardatarcom. termux/files/home/powershe11s
oops, something went wrong,
Please report this bug with ALL the details below, incle
ding both the Environment' and 'Exception' sections,
Please report on GitHub: https://github.com/PowerShe11 P
SReadLine/issues/new?template=Bug_Report.yaml
Thank you!
e# Environment
PSReadLine: 2-3.5+2cc85806c561a9395751a96a818e8ff1592d19
f7
PowerShell: 7.4.6
05: Linux 4.9.118-g6a9461f9460c #1 SMP PREEMPT Fri Dec 2
7 00:53:22 WIC 2024
BufferWidth: 56
BufferHeight: 28
Last 0 Keys:
### Exception
System.I0.IOException: The system cannot open the device
or file specified, : 'PSReadLineHistoryFile_644434342"
at System, Threading,Mutex,CreateMutexCore(Boolean ini
tiallyOwned, String_name, Boolean& createdNew)
at System,Threading,Mutex,,ctor(Boolean initiallyowne
String name)
at Microsoft.PowerShell.PSConsoleReadLine.DelayedOneT
ImeInitialize(
at Microsoft. PowerShell, PSConsoleReadLine.Initialize(
Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft. PowerShell. PSConsoleReadLine.ReadLine(Ru
nspace runspace, EngineIntrinsics engineIntrinsics, Canc
ellationToken cancellationToken, Nullable`1 lastRunStatu
$)Screenshot
N/A
Environment data
Cannot get any output from any command.
I think that PSReadLine cannot get the valuesSteps to reproduce
I'm trying to build PowerShell on an unsupported environment so first I tried to patch the current version of PowerShell to "work". I'm using Termux (an Android terminal emulator) with GlibC shell (glibc-runner, an implementation of GLIBC in Termux) and patched ELF files with patchelf. glibc libs path: /data/data/com.termux/files/usr/glibc/lib/ ; native (Android Bionic libc) libs path : /data/data/com.termux/files/usr/lib/
Expected behavior
Just a "working" shell.
Actual behavior
Each character input makes all the command appended to the end like for Write-Host "Test": WWrWriWritWriteWrite-Write-H....
Impossible to leave the shell using ^D or ^C.
I get the error at each line input (pressing the Return key)
Metadata
Metadata
Assignees
Labels
Resolution-AnsweredQuestion is answeredQuestion is answered