0 votes
by (160 points)
edited

How do i perform a action request from the server (which escape sequence is to use).

3 Answers

0 votes
by (72.7k points)
edited

I am not sure what you want to achieve. If you want to just arise the ActionRequested event in runtime, following commands can be used in common UNIX:

$ echo -e "alert sound... \a"
$ echo -e "changing screen columns to 100... \e[100$|"
$ echo -e "changing screen rows to 40... \e[40*|"
0 votes
by (160 points)
edited

Thanks for your answer.

Yes i want to arise the ActionRequest but with the RequestedAction.ExecuteCommand. How looks the escape sequence for this Action?

0 votes
by (72.7k points)
edited

The RequestedAction.ExecuteCommand arises only Pick terminal in Rebex terminal emulation. We don't know about an equivalent escape sequence in common UNIX terminal.

Basically there are currently (version 4086) four values of the RequestedAction enum:

  1. RingBell
  2. ResizeScreen
  3. DisconnectRequest
  4. ExecuteCommand

First two can be emulated in common TerminalType.Ansi terminal and in the TerminalType.Wyse60. The TerminalType.Pick terminal can emulate all four RequestedAction values.

...