You are here: PSPad forum > Developer forum - new builds > HEX mode problems

HEX mode problems

Goto Page: 1 2 Next

#1 PSPad unicode 5.0.0 (251) English

Posted by: pspad | Date: 10/20/2017 20:39 | IP: IP Logged

Download links (5.4 MB):
www.fosshub.com
pspad.poradna.net
PSPad 64 bit version preview without scripting support
pspad.poradna.net

This archive contains modified files only. The correct way how to get full functionality:
1. Download and install latest full version first!
2. Replace existing files with content of archive

Changes to 5.0.0 (243)

News
Import FTP from FileZilla imports Base64 encoded passwords too

Fixes:
File in simplified Chinese with special chars - file content wasn't shown correctly
Fixed problem with help calling
Code explorer caused program freeze
Fixed problem with Code page autodetection

Options: Reply | Quote | Up ^


#2 HEX mode problems

Posted by: mali_zeeko | Date: 10/22/2017 09:36 | IP: IP Logged

Hi,
In the PsPad5 there are problems with HEX mode.
Paste text as "HEX text" is not working. To test, copy "31 32 33 34" without quotes from regular edit, open another tab in HEX mode, Ctrl+V, select HEX mode.
Nothing gets pasted.
In PsPad4 it works.

Options: Reply | Quote | Up ^


#3 Re: HEX mode problems

Posted by: molnart | Date: 10/24/2017 14:01 | IP: IP Logged

i can confirm. i already reported it for build 241

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 5.0.0 (251) English

Posted by: gwinkless | Date: 10/26/2017 15:36 | IP: IP Logged

I'm still unable to get compile to work in Windows 7 on v5 :(

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 5.0.0 (251) English

Posted by: pspad | Date: 10/26/2017 17:22 | IP: IP Logged

Hello

There are 2 compile modes - on the background and on the foreground.
No one from the 2 doesn't work?

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 5.0.0 (251) English

Posted by: gwinkless | Date: 10/27/2017 10:21 | IP: IP Logged

pspad:
There are 2 compile modes - on the background and on the foreground.
No one from the 2 doesn't work?

Neither works sad smiley

As per this thread if I turn off "capture program output" it works OK, but that means no info on compile errors (basically unusable)

As per your last comment in that thread, you wrote

pspad:
After some investigation. I found a solution, which doesn't freeze on Win7. But Windows 7 are more paranoid than Win 10 and they block files from network e.t.c.

Did that not go anywhere?

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 5.0.0 (251) English

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

gwinkless:
pspad:
There are 2 compile modes - on the background and on the foreground.
No one from the 2 doesn't work?

Neither works sad smiley

I apologise, this was incorrect: I tried the "background" option and it works but has no output from the compile, except for (eg)

Process completed, Exit Code 0
Execution time: 00:01.207

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 5.0.0 (251) English

Posted by: pspad | Date: 11/03/2017 13:38 | IP: IP Logged

gwinkless:
I apologise, this was incorrect: I tried the "background" option and it works but has no output from the compile, except for (eg)

Process completed, Exit Code 0
Execution time: 00:01.207

I met problems in Windows 10. The execute process with catch console output works differently than in Win 7. I have to solve this problem with OS dependency.

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 5.0.0 (251) English

Posted by: gwinkless | Date: 11/03/2017 16:26 | IP: IP Logged

pspad:
The execute process with catch console output works differently than in Win 7. I have to solve this problem with OS dependency.

That's cool, as long as it's vaguely on the "to do" list smiling smiley

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 5.0.0 (251) English

Posted by: human | Date: 11/03/2017 18:50 | IP: IP Logged

pspad:
I met problems in Windows 10. The execute process with catch console output works differently than in Win 7. I have to solve this problem with OS dependency.

We do this in a C application with Microsoft C and pipes, works on all tested systems (at least since Windows XP up to Windows 10):

FILE* pipe;
int i;
char* read_buffer;
char *line_start, *line_end;

/* Open pipe to catch output of command */
pipe = _popen(cmd, "r");

if (!pipe) {
return 1; /* checkme */
}

/* prepare buffer and read from pipe */
read_buffer = (char*) malloc(LINE_BUFF);
line_start = fgets(read_buffer, LINE_BUFF - 1, pipe);

while (line_start != NULL) {
/* read one line from buffer, returning line end position */
line_end = line_start + strlen (line_start);

/* do whatever with line */

...

line_start = fgets(read_buffer, LINE_BUFF - 1, pipe);
}
fflush (stdout);

free (read_buffer);

/* close pipe and get return code of executed command */
ret = !!_pclose (pipe);

I guess something similar will work with Delphi, too.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





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