How to change shell_window for Cuda Terminal(plus) plugin

Plugins for SynWrite and CudaText...
Post Reply
SamC
Posts: 208
Joined: 12.08.2023 00:49

How to change shell_window for Cuda Terminal(plus) plugin

Post by SamC »

Hello,
Could we change the shell_windows to python ?
I tried that ExTerminal plugin can change cmd to python, but Terminal/Terminal plus plugin can not.
As ExTerminal dosen't support for Windows older than Win10, how to make a python terminal for CudaText in that case?
Thanks!
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by main Alexey »

I don't think 'python' is supported as shell. but please ask at the Github as author may not read here,
https://github.com/veksha/cuda_exterminal
SamC
Posts: 208
Joined: 12.08.2023 00:49

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by SamC »

Thanks! As ExTerminal can't be used in earlier windows version, I want to confirm the usage of Terminal(+).
In Terminal or Terminal+ plugin, could we use 'python in cmd? like below I tried it, but it seems the terminal is with no response.
20230910160130.jpg
This is because of the belowing limitation? I‘m not very sure about the what dose ''interactive commands mean. Command ''python'' is interactive commands?
Limitation: don't use interactive commands, which need keyboard input.
For running several python commands(rather than entire *.py file), ExTerminal plugin is one supposed to use?
Thanks!
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by main Alexey »

> like below I tried it, but it seems the terminal is with no response.
seems Terminal and TerminalPlus can't use Python as shell. It seems, only ExTerminal (from all 3 terminal plugins) handes the shell output 'as it appears' without waiting for the shell to exit.
Last edited by main Alexey on 10.09.2023 08:54, edited 3 times in total.
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by main Alexey »

del
Last edited by main Alexey on 10.09.2023 08:51, edited 1 time in total.
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by main Alexey »

I tried the TerminalPlus now: it works OK with Python - but if I run the 'python' from Terminal. it handles Python prompt and allows to enter commands like "1+3" in the terminal input - they go to Python OK.
SamC
Posts: 208
Joined: 12.08.2023 00:49

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by SamC »

main Alexey wrote: 10.09.2023 08:49 I tried the TerminalPlus now: it works OK with Python - but if I run the 'python' from Terminal. it handles Python prompt and allows to enter commands like "1+3" in the terminal input - they go to Python OK.
Mine seems stucked here, and the"1+2" can not go on,may be due to I use windows rather than Linux or may be some CJK problem?
20230910160130.jpg
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by main Alexey »

Maybe because of Windows. Here on Linux 'python' command works fine, i can enter "1+2" and then enter "quit()" and it quits. I don't have Python on Win10 to test.

Can you use ExTerminal which is newer than TerminalPlus?
main Alexey
Posts: 2323
Joined: 25.08.2021 18:15

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by main Alexey »

I confirm: TerminalPlus don't work with 'python' (3.9) on Win10.

But ExTerminal works with 'python'.
SamC
Posts: 208
Joined: 12.08.2023 00:49

Re: How to change shell_window for Cuda Terminal(plus) plugin

Post by SamC »

Thanks! I know how to use it for different case now~
Post Reply