Skip to content

$ZA and $ZB variables are not changing in WebTerminal #92

Open
@nikitaeverywhere

Description

@nikitaeverywhere

Issues #81 and #87 and possibly #77 are related.

These special variables are not changing (or change incorrectly) in WebTerminal: $ZA $ZB. See the related issues to get more information.

Once this issue gets solved, it would be possible to fix related issues.

Any ideas of how to change $ZA or $ZB variables programmatically are appreciated.

In brief, technically, WebTerminal session is handled by 2 Caché processes, one handles WebSocket connections, and the other (core) handles commands execution and lasts for all the time until client closes the session. These two processes use inter-process communication (IPC) to exchange data. WebSocket process sends data to core process using Caché IPC. The task here is to handle this data in a way that enables to set/change/whatever $ZA and $ZB special variables, as they are the main variables which client applications read to determine which key(s) were pressed. E.g. when escape sequence, for example, ^[OP comes to the server it should properly set $ZA and $ZB. Currently this values does not change at all.

P.S. Here is the code of how the transmitted data (lets say any data client can send) appears in core process.

You can contact me directly if you know the solution, many thanks on this!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions