Turn off Filter running... message?

2018-11-08 Thread David Woodfall
Is it possible to turn off the message that is printed when exec is used in a startup file? 'Filter running...' It overwrites the command I am running that also prints to the status. -- God is a comic playing to an audience that's afraid to laugh. __

How does screen find the octal values of a key when one is set in 'bind'?

2018-11-05 Thread David Woodfall
I am wondering if screen somehow finds the key code via the hardware or keyboard driver, or if just looks up the value of whatever character is produced. Situation: I have 3 keys next to the media keys that only produce a ^@ NUL character in cat. showkey gives me different values for each key tho

Re: Cursor problems with some applications in linux console

2018-10-16 Thread David Woodfall
. As it is just setting TERM seems to work, so I'll see how that holds up for now. > On Tue, Oct 16, 2018 at 12:40:00AM +0100, David Woodfall wrote: > > On Monday 15 October 2018 21:29, > > Dave Woodfall put forth the proposition: > > > On Monday 15 October 2018 2

Re: Cursor problems with some applications in linux console

2018-10-16 Thread David Woodfall
On Tuesday 16 October 2018 01:01, Dave Woodfall put forth the proposition: > On Tuesday 16 October 2018 01:53, > Jostein Berntsen put forth the proposition: > > On 16.10.18,00:40, David Woodfall wrote: > > > On Monday 15 October 2018 21:29, > > > Dave Woodf

Re: Cursor problems with some applications in linux console

2018-10-15 Thread David Woodfall
On Tuesday 16 October 2018 01:53, Jostein Berntsen put forth the proposition: > On 16.10.18,00:40, David Woodfall wrote: > > On Monday 15 October 2018 21:29, > > Dave Woodfall put forth the proposition: > > > On Monday 15 October 2018 21:26, > > > Jostein Be

Re: Cursor problems with some applications in linux console

2018-10-15 Thread David Woodfall
On Monday 15 October 2018 21:29, Dave Woodfall put forth the proposition: > On Monday 15 October 2018 21:26, > Jostein Berntsen put forth the proposition: > > > > What do you get for output when running "echo $TERM" in the plain linux > > console? > > > > Can you get input from this page? > > > >

Re: Cursor problems with some applications in linux console

2018-10-15 Thread David Woodfall
On Monday 15 October 2018 21:26, Jostein Berntsen put forth the proposition: > > What do you get for output when running "echo $TERM" in the plain linux > console? > > Can you get input from this page? > > http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-16.html > > and this? > > https://unix.stackex

Re: Cursor problems with some applications in linux console

2018-10-14 Thread David Woodfall
On Sunday 14 October 2018 17:28, Jostein Berntsen put forth the proposition: > On 13.10.18,11:35, David Woodfall wrote: > > I'm using the 1/3 block cursor in a plain linux console, set by a > > control code (\e[?3c). > > > > I find that a few applications

Cursor problems with some applications in linux console

2018-10-13 Thread David Woodfall
I'm using the 1/3 block cursor in a plain linux console, set by a control code (\e[?3c). I find that a few applications (vim, mutt, moc, finch, calcurse) reset my cursor back to the thin underline, which is very hard to see. And the cursor will affect all other screen windows too. With vim I can

Rendition Bell and Monitor

2018-07-03 Thread David Woodfall
I've set both rendition bell and monitor to blink: rendition bell "+B w" rendition monitor "+uB w" vbell is off. However, it doesn't blink unless I do some screen command - redisplay or bring up a window list etc. Any ideas why? -- I'd crawl over an acre of 'Visual This++' and 'Integrated Dev

Re: Making `escape Ctrl-n` switch to window n

2018-06-13 Thread David Woodfall
On Wednesday 13 June 2018 14:21, Dun Peal put forth the proposition: > The problem is that my terminal maps Ctrl-n, for certain values of n, > to various escape sequences. > > For example,Ctrl-3 generates ^[ (escape), so it enters Copy Mode > instead of switching to window 3. > > Ctrl-4 genertes \

Re: Trying to get clipboard into paste buffer

2018-05-31 Thread David Woodfall
On Thursday 31 May 2018 14:12, Amadeusz Sławiński put forth the proposition: > On Wed, 30 May 2018 23:46:44 +0100 > David Woodfall wrote: > > > I'm using the following bind to get the x clipboard into the paste > > buffer and then paste it: > > > > bind P

Re: Trying to get clipboard into paste buffer

2018-05-30 Thread David Woodfall
On Wednesday 30 May 2018 23:46, Dave Woodfall put forth the proposition: > I'm using the following bind to get the x clipboard into the paste > buffer and then paste it: > > bind P eval 'exec sh -c "xsel -n -o -b > /tmp/screen-exchange"' 'readbuf' > 'paste .' > > There seems to be some kind of ti

Trying to get clipboard into paste buffer

2018-05-30 Thread David Woodfall
I'm using the following bind to get the x clipboard into the paste buffer and then paste it: bind P eval 'exec sh -c "xsel -n -o -b > /tmp/screen-exchange"' 'readbuf' 'paste .' There seems to be some kind of timing problem, because readbuf seems to execute before xsel has pasted and pastes the o

Detect when inside a split?

2018-04-13 Thread David Woodfall
Is it possible to detect when inside a split so I can use a switch in my caption string? I'm using %F to detect if the region has focus and dim the other window names. This is OK in a split because it hides the other window names, but when in a single screen with no splits I'd like to make the li

Re: Bell in caption when hardstatus is ignore

2018-03-13 Thread David Woodfall
On (13/03/18 11:36), Dave Woodfall put forth the proposition: On (13/03/18 08:34), Amadeusz Sławiński put forth the proposition: On Tue, 13 Mar 2018 05:24:40 + David Woodfall wrote: On (13/03/18 05:01), Dave Woodfall put forth the proposition: On (13/03/18 04:52), Dave Woodfall

Re: Bell in caption when hardstatus is ignore

2018-03-13 Thread David Woodfall
On (13/03/18 08:34), Amadeusz Sławiński put forth the proposition: On Tue, 13 Mar 2018 05:24:40 + David Woodfall wrote: On (13/03/18 05:01), Dave Woodfall put forth the proposition: >On (13/03/18 04:52), Dave Woodfall put forth the proposition: >>Hello >> >>

Re: Bell in caption when hardstatus is ignore

2018-03-12 Thread David Woodfall
On (13/03/18 05:01), Dave Woodfall put forth the proposition: On (13/03/18 04:52), Dave Woodfall put forth the proposition: Hello I've recently made a couple of binds to toggle the hardstatus. I can turn it on with the string command, or set it to ignore. I've just noticed though that when

Re: Bell in caption when hardstatus is ignore

2018-03-12 Thread David Woodfall
On (13/03/18 04:52), Dave Woodfall put forth the proposition: Hello I've recently made a couple of binds to toggle the hardstatus. I can turn it on with the string command, or set it to ignore. I've just noticed though that when it is set to ignore I don't get my visual bell in the caption wi

Bell in caption when hardstatus is ignore

2018-03-12 Thread David Woodfall
Hello I've recently made a couple of binds to toggle the hardstatus. I can turn it on with the string command, or set it to ignore. I've just noticed though that when it is set to ignore I don't get my visual bell in the caption window item. I still get a message about a bell in window N. If I t

Spacing in caption

2018-03-09 Thread David Woodfall
Hi I have two main caption strings that I use: caption always "%{= 9g}%-w%1>%{w}%>%n %t%{-}%+w%-0=" caption always "%{= 9g}%-w%{w}%n %t%{-}%+w" They work very well but for some reason I get 2 spaces between a window title and the number of the next window. eg: 1 soma 2 calls 3 mutt I've loo

Re: Binding GBP Pound Key

2017-12-27 Thread David Woodfall
On Tue, Dec 26, 2017 at 11:22:58pm +, David Woodfall wrote: > >In xxd it looks like it's trying to bind ".." > >bind ".." select 13 > >Weird. But if I do bind "S-3" select 13 it looks normal in xxd, not "..", but I still get

Re: Binding GBP Pound Key

2017-12-26 Thread David Woodfall
On Tue, Dec 26, 2017 at 08:40:45PM +, David Woodfall wrote: bind £ select 13 bind £ select 13, works just fine for me. Have you looked at the source of your config file through xxd or similar hex editor for any stray characters? -- Best regards, Ed http://www.s5h.net/ In xxd it looks

Re: Binding GBP Pound Key

2017-12-26 Thread David Woodfall
On Tue, Dec 26, 2017 at 08:40:45PM +, David Woodfall wrote: bind £ select 13 bind £ select 13, works just fine for me. Have you looked at the source of your config file through xxd or similar hex editor for any stray characters? -- Best regards, Ed http://www.s5h.net/ In xxd it looks

Re: screen-users@gnu.org

2017-12-26 Thread David Woodfall
On Tue, Dec 26, 2017 at 08:55:15PM +, Ed wrote: On Tue, Dec 26, 2017 at 08:40:45PM +, David Woodfall wrote: > bind £ select 13 David, just out of curiousity, where are you trying to bind your key? In your .screenrc? or in .bashrc or somewhere odd? I have several key bindings l

Re: Binding GBP Pound Key

2017-12-26 Thread David Woodfall
On Tue, Dec 26, 2017 at 06:31:02PM +, David Woodfall wrote: I use a UK keyboard and Shift 3 gives me a £ symbol. I've been binding Shift+numbers but that one gives an error: bind: character, ^x, or (octal) \032 expected. I tried the octal \243 but I keep getting the same error. Any

Binding GBP Pound Key

2017-12-26 Thread David Woodfall
I use a UK keyboard and Shift 3 gives me a £ symbol. I've been binding Shift+numbers but that one gives an error: bind: character, ^x, or (octal) \032 expected. I tried the octal \243 but I keep getting the same error. Any ideas how to fix that so I can use it? Thanks

Re: Help with keybinding and exec command

2017-12-07 Thread David Woodfall
Can you provide more details? bind h exec /usr/bin/htop works for me to start htop and returns when I quit. On Thu, Dec 7, 2017 at 7:42 PM, dan d. wrote: Hello, Years ago I had a screenrc with a key binding that allowed using the exec command. It would drop me to a sub-shell and return wh

Is it possible to change highlight method for selected text in copy mode?

2017-11-29 Thread David Woodfall
I have just set my terminal up to support italic text. Now I find that when I select text in screen copy mode, it shows italics instead of reverse video like it used to. This is very hard to see. Is there a way of changing the highlight methode to reverse video or bold? Thanks.

Re: Need a way to switch to a slow new window

2017-11-16 Thread David Woodfall
I have a copy mode bind that launches elinks in a new screen window after selecting a URL. By default it won't switch to the new window, so I tried adding a 'select' command on the end, but I get an error back because it seems that select tries to run before the new window is created, so I get a m

Need a way to switch to a slow new window

2017-11-16 Thread David Woodfall
I have a copy mode bind that launches elinks in a new screen window after selecting a URL. By default it won't switch to the new window, so I tried adding a 'select' command on the end, but I get an error back because it seems that select tries to run before the new window is created, so I get a m

Re: Possible to put some kind of if then test in screenrc?

2017-11-16 Thread David Woodfall
On 14.11.17,17:59, David Woodfall wrote: Thanks, I'll give that a shot. > This should be possible if you write a backtick that prints only if CPU > > 90; then you could combine that with %? : > > %?%1`%{.R.}%?% > > to conditionally change the color > > On Tue

Re: Possible to put some kind of if then test in screenrc?

2017-11-14 Thread David Woodfall
Thanks, I'll give that a shot. This should be possible if you write a backtick that prints only if CPU > 90; then you could combine that with %? : %?%1`%{.R.}%?% to conditionally change the color On Tue, Nov 14, 2017 at 4:41 AM, David Woodfall wrote: I have a hardstatus backtick

Possible to put some kind of if then test in screenrc?

2017-11-14 Thread David Woodfall
I have a hardstatus backtick command that prints CPU %. I would like to change the hardtstatus text colour to bright red if it goes over 90%. Is this possible? I tried first using bash colour escape codes, and then normal screen colour codes like %{b .r.}, but it prints the codes verbatim rather

Highlighting selected area in copy mode

2017-11-12 Thread David Woodfall
Hi I've recently set up my terminal and screen to show italic fonts, which works great. But I've noticed now that when I select text to copy in copy mode the text isn't highlighted anymore. Is there a way to tell screen how to highlight text? Thanks Dave __

Caption to show `pwd` instead of shell?

2013-08-08 Thread David Woodfall
I'm using this caption: caption string "%{= 9w}%-w%{+b w}%n-%f %t%{-}%+w%{+b w}" What I'd like to do is change each listed window to show the pwd instead of shell. I'm using zsh. I can't see any way of doing this except to update it every time a command is run. Is there a way to do this at all