Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rational findConsole dispatch for Term::ReadLine.
Back in 5.002 or so, if we didn't find /dev/tty and weren't on Windows, the console was assumed to be sys$command, which only makes sense on VMS (possibly $^O didn't work yet on VMS?). Later accretions have assumed that the sys$command default meant something other than laziness and a second if block with various specific overrides was added, some of which set the console back to undef after its having been set to sys$command. That can all be avoided by simply checking we're on VMS before setting the console to sys$command and letting it default to STDIN for cases where we don't know of something else specific that it should be.
- Loading branch information