Quantcast
Channel: All Open Tickets - Tera Term on OSDN
Viewing all articles
Browse latest Browse all 2128

fileseekback not working after update to 4.102 - Tera Term Ticket #44061 on OSDN

$
0
0

fileseekback not working after update to 4.102

Eröffnet am: 2022-03-09 21:57

Letztes Update: 2022-03-13 02:15

Auswertung:bugreporter2Verantwortlicher:(Keine)
Priorität:6Meilenstein:(Keine)
Typ:FehlerSchweregrad:5 - Mittel
Komponente:Tera Term MacroStatus:Offen
LösungKeine

Einzelheiten

Hi,

I am using teraterm and macros for years now and with the latest update I did from 4.90 to 4.106, one of the macros stopped working. I could narrow it down to 4.102 being the version where my macro breaks. At one point I am creating a new file, setting a pointer just after creation, then writing a few chars to it and the get back to the pointer and read out that line.

  1. filecreate writehandle 'version.txt'
  2. filemarkptr writehandle
  3. filewrite writehandle 'SomeRandomText'
  4. filewrite writehandle str

Now the following bit of code stopped working with any version newer than 4.101

  1. fileseekback writehandle
  2. filereadln writehandle str
  3. fileclose writehandle
As a workaround, I have to close the file I just wrote to and reopen it for reading
  1. fileclose writehandle
  2. fileopen readhandle 'version.txt' 0
  3. filereadln readhandle str
  4. fileclose readhandle

Letzte Aktualisierung für dieses Ticket

2022-03-13 02:15 Aktualisiert von: zmatsuo

Kommentar

I committed fixes(r9806)。

This is snapshot binary. Please test this.

https://osdn.net/projects/ttssh2/storage/snapshot/snapshot-teraterm4-r9806-20220313.zip


Viewing all articles
Browse latest Browse all 2128