Closed Rafi993 closed 3 years ago
Describe the bug It does not launch WSL as default shell even though it is set in config file
To Reproduce
Expected behavior It should have launched WSL. But instead opens up cmd.exe in go's bin directory
Environment (please complete the following information):
Logs
2019-10-17T11:53:21.332+0530 INFO aminal/main.go:32 Allocating pty... 2019-10-17T11:53:21.539+0530 INFO aminal/main.go:58 Creating terminal... 2019-10-17T11:53:21.541+0530 DEBUG gui/gui.go:301 Creating window... 2019-10-17T11:53:21.685+0530 DEBUG gui/gui.go:312 Initialising OpenGL and creating program... 2019-10-17T11:53:21.687+0530 INFO gui/gui.go:686 OpenGL version 4.4.0 - Build 21.20.16.4550 2019-10-17T11:53:21.687+0530 DEBUG gui/gui.go:694 Compiling shaders... 2019-10-17T11:53:21.690+0530 DEBUG gui/gui.go:321 Loading font... 2019-10-17T11:53:21.707+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.707+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.721+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.721+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.721+0530 DEBUG gui/gui.go:251 Initiating GUI resize to 1315x986 2019-10-17T11:53:21.721+0530 DEBUG gui/gui.go:258 Updating font resolutions... 2019-10-17T11:53:21.733+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.733+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.741+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.742+0530 INFO gui/gui.go:678 GL debug message: Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error 2019-10-17T11:53:21.742+0530 DEBUG gui/gui.go:261 Setting renderer area... 2019-10-17T11:53:21.742+0530 DEBUG gui/gui.go:267 Calculating size in cols/rows... 2019-10-17T11:53:21.743+0530 DEBUG gui/gui.go:269 Resizing internal terminal... 2019-10-17T11:53:21.743+0530 DEBUG gui/gui.go:277 Setting viewport size... 2019-10-17T11:53:21.744+0530 DEBUG gui/gui.go:282 Resize complete! 2019-10-17T11:53:21.754+0530 DEBUG gui/gui.go:356 Starting pty read handling... 2019-10-17T11:53:21.754+0530 DEBUG gui/gui.go:366 Starting render... 2019-10-17T11:53:21.755+0530 DEBUG terminal/csi.go:106 CSI 0x6C (ESC[25l) Reset Mode (RM) - 0,0 -> 0,0 2019-10-17T11:53:21.757+0530 ERROR terminal/output.go:117 Error handling escape sequence: Unsupported CSI 25l code github.com/liamg/aminal/terminal.(*Terminal).processInput C:/Users/unifize/go/src/github.com/liamg/aminal/terminal/output.go:117 2019-10-17T11:53:21.760+0530 DEBUG terminal/csi.go:106 CSI 0x4A (ESC[2J) Erase in Display (ED), VT100 - 0,0 -> 0,0 2019-10-17T11:53:21.762+0530 DEBUG terminal/csi.go:106 CSI 0x6D (ESC[m) Character Attributes (SGR) - 0,0 -> 0,0 2019-10-17T11:53:21.775+0530 DEBUG terminal/csi.go:106 CSI 0x48 (ESC[H) Cursor Position [row;column] (default = [1,1]) (CUP) - 0,0 -> 0,0 2019-10-17T11:53:21.781+0530 DEBUG terminal/csi.go:106 CSI 0x68 (ESC[?25h) Set Mode (SM) - 43,0 -> 43,0 2019-10-17T11:53:21.787+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[52X) Erase Ps Character(s) (default = 1) (ECH - 0,2 -> 0,2 2019-10-17T11:53:21.788+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[35X) Erase Ps Character(s) (default = 1) (ECH - 17,3 -> 17,3 2019-10-17T11:53:21.789+0530 DEBUG terminal/csi.go:106 CSI 0x6C (ESC[25l) Reset Mode (RM) - 17,3 -> 17,3 2019-10-17T11:53:21.792+0530 ERROR terminal/output.go:117 Error handling escape sequence: Unsupported CSI 25l code github.com/liamg/aminal/terminal.(*Terminal).processInput C:/Users/unifize/go/src/github.com/liamg/aminal/terminal/output.go:117 2019-10-17T11:53:21.793+0530 DEBUG terminal/csi.go:106 CSI 0x48 (ESC[H) Cursor Position [row;column] (default = [1,1]) (CUP) - 17,3 -> 0,0 2019-10-17T11:53:21.797+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[88X) Erase Ps Character(s) (default = 1) (ECH - 43,0 -> 43,0 2019-10-17T11:53:21.798+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[79X) Erase Ps Character(s) (default = 1) (ECH - 52,1 -> 52,1 2019-10-17T11:53:21.800+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,2 -> 0,2 2019-10-17T11:53:21.800+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[114X) Erase Ps Character(s) (default = 1) (ECH - 17,3 -> 17,3 2019-10-17T11:53:21.804+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,4 -> 0,4 2019-10-17T11:53:21.804+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,5 -> 0,5 2019-10-17T11:53:21.812+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,6 -> 0,6 2019-10-17T11:53:21.813+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,7 -> 0,7 2019-10-17T11:53:21.816+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,8 -> 0,8 2019-10-17T11:53:21.818+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,9 -> 0,9 2019-10-17T11:53:21.824+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,10 -> 0,10 2019-10-17T11:53:21.824+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,11 -> 0,11 2019-10-17T11:53:21.825+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,12 -> 0,12 2019-10-17T11:53:21.828+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,13 -> 0,13 2019-10-17T11:53:21.837+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,14 -> 0,14 2019-10-17T11:53:21.839+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,15 -> 0,15 2019-10-17T11:53:21.842+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,16 -> 0,16 2019-10-17T11:53:21.843+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,17 -> 0,17 2019-10-17T11:53:21.843+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,18 -> 0,18 2019-10-17T11:53:21.844+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,19 -> 0,19 2019-10-17T11:53:21.844+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,20 -> 0,20 2019-10-17T11:53:21.845+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,21 -> 0,21 2019-10-17T11:53:21.845+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,22 -> 0,22 2019-10-17T11:53:21.846+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,23 -> 0,23 2019-10-17T11:53:21.853+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,24 -> 0,24 2019-10-17T11:53:21.855+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,25 -> 0,25 2019-10-17T11:53:21.856+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,26 -> 0,26 2019-10-17T11:53:21.857+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,27 -> 0,27 2019-10-17T11:53:21.857+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,28 -> 0,28 2019-10-17T11:53:21.858+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,29 -> 0,29 2019-10-17T11:53:21.858+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,30 -> 0,30 2019-10-17T11:53:21.859+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,31 -> 0,31 2019-10-17T11:53:21.860+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,32 -> 0,32 2019-10-17T11:53:21.860+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,33 -> 0,33 2019-10-17T11:53:21.861+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,34 -> 0,34 2019-10-17T11:53:21.870+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,35 -> 0,35 2019-10-17T11:53:21.871+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,36 -> 0,36 2019-10-17T11:53:21.871+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,37 -> 0,37 2019-10-17T11:53:21.872+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,38 -> 0,38 2019-10-17T11:53:21.872+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,39 -> 0,39 2019-10-17T11:53:21.873+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,40 -> 0,40 2019-10-17T11:53:21.874+0530 DEBUG terminal/csi.go:106 CSI 0x58 (ESC[131X) Erase Ps Character(s) (default = 1) (ECH - 0,41 -> 0,41 2019-10-17T11:53:21.874+0530 DEBUG terminal/csi.go:106 CSI 0x48 (ESC[4;18H) Cursor Position [row;column] (default = [1,1]) (CUP) - 0,41 -> 17,3 2019-10-17T11:53:21.875+0530 DEBUG terminal/csi.go:106 CSI 0x68 (ESC[?25h) Set Mode (SM) - 17,3 -> 17,3
Thanks for this awesome project. This is not an issue for me anymore. I'll close this issue since it is stale. Please feel free to open it if needed.
Describe the bug It does not launch WSL as default shell even though it is set in config file
To Reproduce
Expected behavior It should have launched WSL. But instead opens up cmd.exe in go's bin directory
Environment (please complete the following information):
Logs