Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPassword stty: standard input: Inappropriate ioctl for device #155

Open
plsnp opened this issue Feb 22, 2021 · 1 comment
Open

getPassword stty: standard input: Inappropriate ioctl for device #155

plsnp opened this issue Feb 22, 2021 · 1 comment

Comments

@plsnp
Copy link

plsnp commented Feb 22, 2021

Hello, thanks for the library. I am running windows 10 with powershell. When i use the getPassword function i get the following error stty: standard input: Inappropriate ioctl for device. I compiled with profiling to get a stack trace from the exception

  System.Console.Haskeline.Backend.Win32.Echo.hSttyRaw,
  called from System.Console.Haskeline.Backend.Win32.Echo.hGetInputEchoSTTY,
  called from System.Console.Haskeline.Backend.Win32.Echo.hGetInputEchoState,
  called from System.Console.Haskeline.Backend.Win32.Echo.hBracketInputEcho,
  called from System.Console.Haskeline.Backend.Win32.Echo.hWithoutInputEcho,
  called from System.Console.Haskeline.Backend.Win32.fileRunTerm,
  called from System.Console.Haskeline.Backend.fileHandleRunTerm,
  called from System.Console.Haskeline.Backend.defaultRunTerm,
  called from System.Console.Haskeline.Term.wrapFileInput,
  called from System.Console.Haskeline.promptedInput,
  called from System.Console.Haskeline.getPassword,
  called from System.Console.Haskeline.Command.History.runHistoryFromFile,
  called from System.Console.Haskeline.Command.KillRing.runKillRing,
  called from System.Console.Haskeline.Monads.runReaderT',
  called from System.Console.Haskeline.InputT.execInputT,
  called from System.Console.Haskeline.InputT.runInputTBehavior.\,
  called from System.Console.Haskeline.InputT.withBehavior,
  called from System.Console.Haskeline.InputT.runInputTBehavior,
  called from System.Console.Haskeline.InputT.runInputT,
  called from Interactive.askPassword,
@plsnp
Copy link
Author

plsnp commented Feb 23, 2021

Might be related commercialhaskell/stack#4901

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

No branches or pull requests

1 participant