TerminalEmulation: Action Request

0 votes
asked May 6, 2011 by thomas (160 points)
edited May 9, 2011

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

3 Answers

0 votes
answered May 6, 2011 by Lukas Matyska (59,530 points)
edited May 6, 2011

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
answered May 6, 2011 by thomas (160 points)
edited May 6, 2011

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
answered May 9, 2011 by Lukas Matyska (59,530 points)
edited May 9, 2011

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.

...