User Tools

Site Tools


cs:usable_windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cs:usable_windows [2020/04/01 04:54]
paolo_bolzoni
cs:usable_windows [2020/04/01 04:58]
paolo_bolzoni [Command line]
Line 42: Line 42:
   alias docker='​MSYS2_ARG_CONV_EXCL="​*"​ docker'​   alias docker='​MSYS2_ARG_CONV_EXCL="​*"​ docker'​
  
-So that Msys2 won't mangle any path.+So that Msys2 won't mangle any path. 
  
 === TTY-sensible programs === === TTY-sensible programs ===
Line 54: Line 54:
  
 Fortunately there is a solution: the program **winpty** Fortunately there is a solution: the program **winpty**
 +
 +  $ winpty node -p -e "​Boolean(process.stdout.isTTY)"​
 +  true
 +
 +Let us see in action:
  
   $ node   $ node
Line 65: Line 70:
  
 Much better! **winpty** can be installed with pacman. Much better! **winpty** can be installed with pacman.
- 
 ==== Admin access ==== ==== Admin access ====
  
cs/usable_windows.txt ยท Last modified: 2020/04/01 05:01 by paolo_bolzoni