-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Since long ago I use joe, in its jstar link name, as plain text editor. It is good enough for me. However, there is a little anoyance. I feel it is obvious to press ctrl-left_arrow, or ctrl-right_arrow, to move the cursor a word left or right. Here in Alpine it works, for instance. But in jstar it produces rubish characters at the cursor: some word5D5D5D5D A '5D' for every ctrl-left_arrow press. Is this a bug? Some bad configuration on my side? Something that was never implemented? - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlXby0kACgkQtTMYHG2NR9XD7ACfbA8NPB5TVW8IExVbJjMlSWBH gTkAoIj9oF8g+7rSqdi6BjuYg7mEW6ut =p66i -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday 25 of August 2015 03:56:18 Carlos E. R. wrote:
Hi, Hi,
I feel it is obvious to press ctrl-left_arrow, or ctrl-right_arrow, to move the cursor a word left or right. Here in Alpine it works, for instance. But in jstar it produces rubish characters at the cursor:
some word5D5D5D5D
A '5D' for every ctrl-left_arrow press.
Is this a bug? Some bad configuration on my side? Something that was never implemented?
I can't answer about the specifics of joe, but the output you mention above is similar to the output in telnet, if the terminal does not support certain control characters, e.g. ^[[1;5D^] when I connect to postfix and press Ctrl-Left arrow. My guess is that you need to configure joe to bind this key combination. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-08-26 12:53, auxsvr wrote:
I can't answer about the specifics of joe, but the output you mention above is similar to the output in telnet, if the terminal does not support certain control characters, e.g. ^[[1;5D^] when I connect to postfix and press Ctrl-Left arrow. My guess is that you need to configure joe to bind this key combination.
Yes, it does look like that. It is not the terminal itself, as in the same terminal Alpine works fine. So it is joe's fault. I found definitions in /etc/joe/jstarrc: nextw ^K N nextw ^K ^N nextw ^K n Now the thing would be to find the right incantation :-) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlXdotkACgkQja8UbcUWM1y/ugD7BBNVonB0UOwh2Zo1yDuDWk0N EuCWhR19kmfnr7E2m+0A/31mP8eqkMjDh9ou2/cDoAZbME8oQ/KZEmirZcu/o/6g =mS3W -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 26 Aug 2015 13:28, Carlos E. R. <robin.listas@...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-08-26 12:53, auxsvr wrote:
I can't answer about the specifics of joe, but the output you mention above is similar to the output in telnet, if the terminal does not support certain control characters, e.g. ^[[1;5D^] when I connect to postfix and press Ctrl-Left arrow. My guess is that you need to configure joe to bind this key combination.
Yes, it does look like that. It is not the terminal itself, as in the same terminal Alpine works fine. So it is joe's fault.
I found definitions in /etc/joe/jstarrc:
nextw ^K N nextw ^K ^N nextw ^K n
Now the thing would be to find the right incantation :-)
would readline incation help? "bind -P |grep forward.*word" gives: forward-word can be found on "\e\e[C", "\e\e[c", "\eO2C", "\eO3C", ... "bind -p |grep forward.*word" is more helpfull "\e\e[C": forward-word "\e\e[c": forward-word "\eO2C": forward-word "\eO3C": forward-word "\eO4C": forward-word "\eO5C": forward-word "\eO6C": forward-word "\eO7C": forward-word "\eO8C": forward-word "\eOc": forward-word "\e[1;2C": forward-word "\e[1;3C": forward-word "\e[1;4C": forward-word "\e[1;5C": forward-word "\e[1;6C": forward-word "\e[1;7C": forward-word "\e[1;8C": forward-word "\e[2C": forward-word "\e[5C": forward-word "\e[c": forward-word "\ef": forward-word That "5C" stuff rings some bell, but I'm unsure, maybe "xev" helps? YMMV - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-08-26 13:44, Yamaban wrote:
On Wed, 26 Aug 2015 13:28, Carlos E. R. <robin.listas@...> wrote:
I found definitions in /etc/joe/jstarrc:
nextw ^K N nextw ^K ^N nextw ^K n
Now the thing would be to find the right incantation :-)
would readline incation help? "bind -P |grep forward.*word" gives: forward-word can be found on "\e\e[C", "\e\e[c", "\eO2C", "\eO3C", ...
"bind -p |grep forward.*word" is more helpfull
"\eO5C": forward-word <=====
That "5C" stuff rings some bell, but I'm unsure, maybe "xev" helps?
Well, the problem is finding the right syntax to write in the jstar rc file, and the right token. I found this line in /etc/joe/joerc: rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 1 ; 5 C Mark right Xterm So I wrote in /etc/joe/jstarrc: nextw ^[ [ 1 ; 5 C Right word Xterm nextw ^[ [ 5 C Right word Gnome-terminal Now it simply does nothing. It is better than before, but it is not solved. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlXdrtcACgkQja8UbcUWM1zo3wD8DROmC/s/TkU+GuSor11T4pco avagMMp25PZAfZ3Os8YA/icin6Y9/giKD4TlwaMp1b5+gNU5dNdAAnpiLGLxspi3 =/sqA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 26/08/15 12:53, auxsvr wrote:
On Tuesday 25 of August 2015 03:56:18 Carlos E. R. wrote:
Hi, Hi,
I feel it is obvious to press ctrl-left_arrow, or ctrl-right_arrow, to move the cursor a word left or right. Here in Alpine it works, for instance. But in jstar it produces rubish characters at the cursor:
some word5D5D5D5D
A '5D' for every ctrl-left_arrow press.
Is this a bug? Some bad configuration on my side? Something that was never implemented? I can't answer about the specifics of joe, but the output you mention above is similar to the output in telnet, if the terminal does not support certain control characters, e.g. ^[[1;5D^] when I connect to postfix and press Ctrl-Left arrow. My guess is that you need to configure joe to bind this key combination. Hi It's wordstar. Do: ^K H for a full list. HTH
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-08-26 14:23, buhorojo wrote:
Hi It's wordstar. Do: ^K H for a full list. HTH
Actually ^J. ^K H hides the block. But that only displays the current bindings. I want to add new bindings so that ctrl-cursor works. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlXdsPoACgkQja8UbcUWM1zNewD+MYvhshz8KJOAfG6bZojxrkfy TpeG2RlYfa1jwrpwRWUA/2QIfVE03LOM+9x6vw7S6qLr/hOIkvseNG6axV9e78LW =im/C -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 26/08/15 14:28, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-08-26 14:23, buhorojo wrote:
Hi It's wordstar. Do: ^K H for a full list. HTH Actually ^J. ^K H hides the block. and ^K H brings it back. A Toggle? But that only displays the current bindings. I want to add new bindings so that ctrl-cursor works. Ah, OK.
- -- Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iF4EAREIAAYFAlXdsPoACgkQja8UbcUWM1zNewD+MYvhshz8KJOAfG6bZojxrkfy TpeG2RlYfa1jwrpwRWUA/2QIfVE03LOM+9x6vw7S6qLr/hOIkvseNG6axV9e78LW =im/C -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
auxsvr
-
buhorojo
-
Carlos E. R.
-
Carlos E. R.
-
Yamaban