Re: Keybinding a key press

2021-09-15 Thread Pieter Luteijn
Try: bindkey -k F1 eval "stuff \"^M\"" "next" Regards, Pieter

Re: Why does "\024" mean `C-t'? (in bindkey example in man page)

2016-08-13 Thread Pieter Luteijn
Hi, In short, pressing ctrl+{other key} just sends a code that's 64 (dec) lower than then {other key} by itself. So ctrl-@ sends '0' (NUL), ctrl-C sends '3', ctrl-T '20'. To make it easy, no difference is made between upper/lowercase. Look at an ASCII table, as this method is/was meant to

Re: Binding the "Ctrl + ;" key combination to "focus right" command

2015-08-27 Thread luteijn
Hi, 'ctrl-;' doesn't really exist (for certain definitions of existing), so that's why it's likely not possible to bind it to something in screen. It might be that your terminal sends the equivalent of ctrl-[ when you press ctrl and ;, or it might just not send anything. As ctrl-[ is the same

Re: Disable auto resize/fit.

2015-07-03 Thread luteijn
Is there a way to get gnu screen server to disable auto resize/fit? Here's two bits form the manual that I think might combine to give a solution, for both options, don't look (too much) at the primary function, but look at the second sentence which gives more information about the inner wo

Re: using in bind (Eric Smith)

2015-06-12 Thread luteijn
Adding the following to the binding above, performs a delete backwards 'stuff ^H' Which escape or control sequence do I use for a ? When I use C-V to find out it reports . However that does not work for me. What you should be sending in your case is [D (three bytes, is the same character

Re: Gnu screen: Sending 0xF0, 0xF1 to device

2015-03-31 Thread luteijn
The author of this application requires me to send special characters like 0xF0, 0xF1, .. to my device. Preferably, I would like to be able to do this inside GNU screen. I suppose you could use a combination of 'stuff' and 'bindkey' to redefine some of your keys to send these sequences: Y

Re: binding command character to f12

2013-03-25 Thread Pieter Luteijn
Hi, Although I don't use emacs, ctrl-a isn't a good choice as the 'escape' sequence for me either, as cisco devices use it in the same way. Because none of the control keys are really 'free', I have set my regular escape character to nothing at all using escape "" I've bound the 'colon' command

Re: copy&paste in vim inside screen that started from console

2011-08-02 Thread Pieter Luteijn
I think you should just "set ttym=xterm2" in your .vimrc. That way, when vim is started in a non-xterm, it will still be set to recognize the xterm mouse escapes when you later access it through putty or an xterm by using screen. See also ":help ttym" under vim. Pieter

Re: How to Reorder and Set Starting Window Numbers

2009-01-27 Thread Pieter Luteijn
#x27;9'?) When I have multiple > windows up the first window ('0') is separated from all the other > windows ('1', '2', '3'...). Different approach: bind ` select 0 bind 10 select 10 (on my keyboard '`'

(no subject)

2009-01-26 Thread Pieter Luteijn
>>> It would be really cool if gnu-screen could receive mouse wheel events >>> and translate them to Command-Esc and ^Y or ^E as appropriate. >> Possibly it could be more intelligent about handling mouse wheel events >> when *already* in copy mode (^A^[). > There could be a switch for users to deci

Re: sorting screens

2007-04-24 Thread Pieter Luteijn
> >> Hi. When I have multiple named screen windows, is there a way to sort >> them >> alphabetically? > > This is a longtime wish of mine as well .. > > -- > jean . .. //\\\oo///\\ > This is probably why people have been looking for a nice way to d

Re: emacs key binding

2007-03-27 Thread Pieter Luteijn
> Wow! It does work. Pieter, many thanks! I know that maybe I'm asking > too much, but do you think it is also possible to "cycle" through the > list of past cuts? (which in emacs is done with alt-y) > Wow! It does work. Pieter, many thanks! I know that maybe I'm asking > too much, but do you think

emacs key binding

2007-03-26 Thread Pieter Luteijn
> Hello, > I would like to use emacs-style keys in screen for movement and cut & > paste (mainly for the latter. for movement I can also use arrow keys). > Is it possible? There's a short mention in the manual (which says it > is not simple) but I did not find any usable example (or if I've seen >

Re: Screwed up term outputs control chars literally

2007-03-25 Thread Pieter Luteijn
> Sometimes I manage to screw up my term somehow > and it starts translating control chars into > printable forms. I press Ctrl-C it outputs ^C Probably not screen related, so: What shell do you use, and which OS? Does 'stty sane' fix things? Pieter. ___

Re: PgUp and PgDn not working

2007-03-25 Thread Pieter Luteijn
> I'm using Screen version 4.00.02 on FC5 on KDE Konsole and my PageUP and > PageDown doesn't work while I'm inside screen. I'm pressing > "shift-Page-up" on a US-International keyboard. You forget to mention what you want to happen when you press shift-PgUp/PgDn. But from the 'defscrollback' line