Skip to content

Can you use WebTerminal features with the %Net.TelnetStream class to connect to other older Cache Instances? #100

Open
@swils024

Description

@swils024

If you have a Windows version of Cache 2017.1 installed with WebTerminal, can you use the Windows Telnet emulator class %Net.TelnetStream to connect to older remote Cache servers and inherit the autocomplete and syntax highlighting features of WebTerminal?

Here is example Cache ObjectScript code, which you can execute from the USER namespace within a WebTerminal session. I called the file TelnetInit.mac

sample_telnet

In the code sample provided, you can ignore prompts after the username and password are processed. 'S' is simply a login menu option for selecting a shell session. Now you have a UNIX Server shell you can run csession to connect to any Cache instance on that server and list globals or run programs. I want to inherit the autocomplete and syntax highlighting but I don't know if this is possible.

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