Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow keys sending the up and down commands #74

Closed
nikitaeverywhere opened this issue Nov 2, 2016 · 4 comments
Closed

Arrow keys sending the up and down commands #74

nikitaeverywhere opened this issue Nov 2, 2016 · 4 comments

Comments

@nikitaeverywhere
Copy link
Member

I am creating this issue to clarify the issue reported by @paul-goggin, which puts the next:

In the latest version of Cache Web Terminal (4.0 Beta 5) is it possible to change the up and down cursor keys to stop showing the history and just send the up and down command?

I will check this today

Just to clarify, do you mean the history appears in the character read mode ( read *char ), when you press up arrow, but instead it must send UP key to the server?

Yes, that is correct,
Thanks for your help,

I have checked this today, and got a result, which seems to be correct:

2016-11-02_145020

@paul-goggin, could you please suggest a set of commands which demonstrate the issue? Thank you!

@paul-goggin
Copy link

Hi,
I have the code which is called for prompts
R %AN S AZB=$ZB
I $A($E(AZB,1))=27 S AZB=$P(AZB,"[",2) S %AN=$S(AZB="B":"+",AZB="A":"-",AZB="C":"++",AZB="D":"--",1:%AN) G:%AN=""

and based on the result of %AN the prompt will run a function
G:%AN="-" END

@nikitaeverywhere
Copy link
Member Author

@paul-goggin, by running this command in Caché term, I see the read prompt, and when you press the up/down arrow the history comes up (R %AN). So there is nothing different in Caché Web Terminal, all is the same. What is the expected behavior and does it differ from Caché term one?

@nikitaeverywhere
Copy link
Member Author

@paul-goggin, have you any updates on this?

@nikitaeverywhere
Copy link
Member Author

Closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants