You are here: PSPad forum > Developer forum - new builds > PSPad unicode 5.0.0 (096) English

PSPad unicode 5.0.0 (096) English

Goto Page: Previous1 2 3 Next

#11 Re: PSPad unicode 5.0.0 (096) English

Posted by: gwinkless | Date: 03/09/2017 10:35 | IP: IP Logged

Apologies, plink is the command-line version of putty, the Windows SSH client.

Options: Reply | Quote | Up ^


#12 Re: PSPad unicode 5.0.0 (096) English

Posted by: gwinkless | Date: 03/09/2017 10:49 | IP: IP Logged

pspad:
There can be problem with parameters. When you press '?' button in the compiler settings, do you get correct command line?

Sorry, I'm not sure what you mean, if I press the ? button it just opens the context help.

The parameters are being passed correctly to plink: I can see that the program is running.

If I change the command line to simply

command: plink
params: root@guava echo hello

it still crashes (with no output in the log, surprisingly).

pspad:
Can you please temporary clear LogParser entry in compiler settings?

Clearing logparser doesn't make any difference. As I said earlier, clearing "capture output" does stop it crashing.

Options: Reply | Quote | Up ^


#13 Re: PSPad unicode 5.0.0 (096) English

Posted by: pspad | Date: 03/09/2017 10:55 | IP: IP Logged

gwinkless:
Apologies, plink is the command-line version of putty, the Windows SSH client.

what will happen if you open from the menu tool / Command line
enter PLink and don't check "Run under command line interpreter"
Do it again with checked option

Options: Reply | Quote | Up ^


#14 Re: PSPad unicode 5.0.0 (096) English

Posted by: vbr | Date: 03/09/2017 11:07 | IP: IP Logged

Hi, thanks for the current release, especially the scripting support!
It seems, that scripts can now work with unicode input and output flawlessly, which is a great.

I'd only like to ask for a styling modification of the script dialogs. It seems, that the input field in the InputText prompt is placed next to the label, rather than below it (as in PSPad4).
I sometimes like to use some longer labels, like:
var userInput = InputText("Some rather long descriptive label of InputText, possibly explaining some options for the input...\n", defaultValue, stornoValue);

(It seems, there are independent parts of the dialog next to each other, i.e., adding a linebreak \n at the and of the label doesn't help.)
Could the input field possibly be placed below the label?

As another feature request - would resizable dialogs be possible? Or even - multiline input dialog?

With regard to scripting, i noticed a small glitch in the functionality for showing script source on simultaneous left+right mouse button click - the file is displayed correctly, but the click somehow "bubbles" down to another application window "below" PSPad and it triggers right mouse context menu there (it is Altap Salamander in this case, but it PSPad is the only active app the context menu of the windows desktop is triggered). It remains visible while the focus is in PSPad, only after switching to the respective other application (or desktop) the context menu can be closed.

I notice a similar bug in capturing the compiler output like in the previous version
(as mentioned in forum.pspad.com ).
Currently, there is no error dialog, but after calling a compiler set to capture the output, the editor hangs and can be only closed in process manager.
the setting in the tools panel is
python36
Command=C:\Programy\Python36-32\python.exe
Params="%File%"
CaptureOutp=1
LogParser=*File* "%F",*line %L*
LogType=0

Without capturing the output, the script runs ok.
the python code should simply print a single digit:
print(7)

it behaves the same with or without the setting:
Settings: Program (part 2): [ ] Follow compilation progress...

Calling the compiler directly in the highlighter leads to the same hang.
(PSPad 5, build 96; win 7, Czech; "classic/no theming")

Thanks and regards,
vbr

Options: Reply | Quote | Up ^


#15 Re: PSPad unicode 5.0.0 (096) English

Posted by: gwinkless | Date: 03/09/2017 11:13 | IP: IP Logged

pspad:
gwinkless:
Apologies, plink is the command-line version of putty, the Windows SSH client.

what will happen if you open from the menu tool / Command line
enter PLink and don't check "Run under command line interpreter"
Do it again with checked option

It hangs no matter what combinations of checkbox I choose.

Options: Reply | Quote | Up ^


#16 Re: PSPad unicode 5.0.0 (096) English

Posted by: gwinkless | Date: 03/09/2017 11:21 | IP: IP Logged

gwinkless:
It hangs no matter what combinations of checkbox I choose.

I should clarify, if I run plink on its own with no parameters, it outputs the usage text fine, it only hangs when I pass the connection name and command to it.

Options: Reply | Quote | Up ^


#17 Re: PSPad unicode 5.0.0 (096) English

Posted by: pspad | Date: 03/09/2017 13:06 | IP: IP Logged

vbr:
I'd only like to ask for a styling modification of the script dialogs. It seems, that the input field in the InputText prompt is placed next to the label, rather than below it (as in PSPad4).
I sometimes like to use some longer labels, like:
var userInput = InputText("Some rather long descriptive label of InputText, possibly explaining some options for the input...\n", defaultValue, stornoValue);

(It seems, there are independent parts of the dialog next to each other, i.e., adding a linebreak \n at the and of the label doesn't help.)
Could the input field possibly be placed below the label?

I replaced system dialog with my own one. I has label over the edit and contains combo with history.
If you want to split label manually, put #13 char into string.

Options: Reply | Quote | Up ^


#18 Re: PSPad unicode 5.0.0 (096) English

Posted by: pspad | Date: 03/09/2017 13:23 | IP: IP Logged

vbr:
I notice a similar bug in capturing the compiler output like in the previous version
(as mentioned in forum.pspad.com ).
Currently, there is no error dialog, but after calling a compiler set to capture the output, the editor hangs and can be only closed in process manager.
the setting in the tools panel is
python36
Command=C:\Programy\Python36-32\python.exe
Params="%File%"
CaptureOutp=1
LogParser=*File* "%F",*line %L*
LogType=0

Without capturing the output, the script runs ok.
the python code should simply print a single digit:
print(7)

I downloaded Python 3.6.1 (https://www.python.org/downloads/windows/) - embeded ZIP.
I set up compiler for Python - see the screnshot:
ctrlv.cz
When I run it, I got error and code parser jumps on error line.

I will try to release next build tonight. I made some changes yesterday which can have influence. We will see.

Options: Reply | Quote | Up ^


#19 Re: PSPad unicode 5.0.0 (096) English

Posted by: vbr | Date: 03/09/2017 15:51 | IP: IP Logged

pspad:
vbr:
I notice a similar bug in capturing the compiler output like in the previous version
...
Without capturing the output, the script runs ok.
...

I downloaded Python 3.6.1 (https://www.python.org/downloads/windows/) - embeded ZIP.
I set up compiler for Python - see the screnshot:
ctrlv.cz
When I run it, I got error and code parser jumps on error line.

I will try to release next build tonight. I made some changes yesterday which can have influence. We will see.

Thanks for investigating this, unfortunately, the embeded python version you tried shows the same problem on my computer with a hang on capturing output; the only remaining difference in the setting on screenshot seems to be the default directory (which was empty in my highlighter), but this doesn't influence the hang either.
The new build 116 has the same problem.

Could the problem with capturing the output possibly be Windows7 specific?

vbr

Options: Reply | Quote | Up ^


#20 Re: PSPad unicode 5.0.0 (096) English

Posted by: pspad | Date: 03/09/2017 20:34 | IP: IP Logged

vbr:
Could the problem with capturing the output possibly be Windows7 specific?
vbr

You are right. Problem is in Windows 7. There is no problem in Win10. I can imagine, how I will look for reason sad smiley

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 Next





Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák