Re: programatically determine which window am I in? -> realtime caption color change

2015-07-07 Thread Eric Smith
the screen caption accordingly? Eric Clark Wang wrote on Fri-26-Jun 15 5:49AM >On Sat, Jun 20, 2015 at 11:47 AM, Eric Smith <[1]e...@fruitcom.com> wrote: > > I want to write a screen macro with logic that depends on which > window (name) is active. H

Re: programatically determine which window am I in?

2015-06-25 Thread Eric Smith
Clark Wang wrote on Fri-26-Jun 15 5:49AM >On Sat, Jun 20, 2015 at 11:47 AM, Eric Smith <[1]e...@fruitcom.com> wrote: > > I want to write a screen macro with logic that depends on which > window (name) is active. How would I do that? > >Screen would

Re: Pass argument to shell?

2015-06-25 Thread Eric Smith
Hi Aaron, did you ever find a working solution for this? Best Eric Smith Aaron Davies wrote on Tue-12-Jan 10 6:38PM > How can I pass an argument to the startup shell? E.g. If I want to use > a custom .rc with bash, I would say "bash --rcfile .foorc", but that > doesn'

Re: GNU Screen v.4.3.0

2015-06-19 Thread Eric Smith
t; > Release is available for download at: > http://ftp.gnu.org/gnu/screen/ > > Please report any bugs or regressions. > > Amadeusz Sławiński > > ___ > screen-users mailing list > screen-users@gnu.org > https://lists.gnu.org/mailman/listinfo

programatically determine which window am I in?

2015-06-19 Thread Eric Smith
I want to write a screen macro with logic that depends on which window (name) is active. How would I do that? Thanks Eric ___ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users

Re: using in bind - SOLVED

2015-06-13 Thread Eric Smith
luteijn wrote on Sat-13-Jun 15 8:34AM > > What you should be sending in your case is [D (three bytes, is > the same character as ctrl-[, rendered as ^[. Control sequences can be > entered in 'stuff' in the caret notation, so 'stuff ^[[D' should work. Note > that you do need two open-square-brac

using in bind

2015-06-12 Thread Eric Smith
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. iterm2 mac Eric Smith ___ screen-users

using in bind

2015-06-11 Thread Eric Smith
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. iterm2 mac Eric Smith ___ screen-users

list registers

2014-02-12 Thread Eric Smith
How do I list the registers in screen? Meaning those copy buffers that I save with readreg. -- Best regards, Eric Smith Mobile: 00 31 6 455 09313 - Tel Wageningen: +31 317 72 ___ screen-users mailing list screen-users@gnu.org https://lists.gnu.org

shell command to outer screen session causes instability

2013-12-02 Thread Eric Smith
onwards. Recently also strange behaviour with the key bindings. (the arrow keys started to behave as if they were How might I avoid this undesirable side effect? Thanks for any suggestions (or answers). -- Eric Smith ___ screen-users mailing list screen

chaining commands in a key binding

2013-09-23 Thread Eric Smith
;! gcalcli calw 4 ^M"' copy I am replacing this command that worked fine. #eval exec "gcalcli calw 4" -- Eric Smith ___ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users

allowing user interaction in screen caommand

2013-03-12 Thread Eric Smith
7;other'. Is that possible? $ cat bin/screen_grab_input.sh read input echo $input some_command $input Thanks Eric Smith ___ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users

Re: no up arrow command history

2012-12-24 Thread Eric Smith
> > For more than a year now, screen does not give me the option > > of cycling through history with the up/down arrows in colon > > mode. > > > > Till now I was not sure if this was a blessing or a curse. > > Now I want it back. > Thanks Aaron I just saw this now for the first time!. > what's you

invoking in screen binding

2012-09-26 Thread Eric Smith
I have the following binding which works as I want it to. bind E eval copy 'stuff G' 'stuff Y' 'readreg q' colon 'stuff "! command_foo "' ' paste "q^M"' '"^M"' The command prints out on the screen "exrc" line with the argumant pasted from the screen buffer `q'. My problem is that I cannot make t

display unicode in caption

2012-05-30 Thread Eric Smith
. How may I fix this? -- - Eric Smith Axel Beckert said: > Hi, > > On Mon, May 28, 2012 at 10:06:12AM +0200, Mr Masterplan wrote: > > I am trying to make a graphical display of available windows. For > > this I need to parse the screen status message to get the list of

no up arrow command history

2011-10-28 Thread Eric Smith
For more than a year now, screen does not give me the option of cycling through history with the up/down arrows in colon mode. Till now I was not sure if this was a blessing or a curse. Now I want it back. What could be up here? -- Eric Smith

appending to a named register

2011-08-05 Thread Eric Smith
I want to append selected to text to a named buffer. Could make a macro with paste, but is there an easier way? I know you can append to the paste buffer with 'a' or 'A'. -- Best regards, Eric Smith Mobile: 00 31 6 455 09313 Tel Wageni

no up arrow command history

2011-08-05 Thread Eric Smith
For more than a year now, screen does not give me the option of cycling through history with the up/down arrows in colon mode. Till now I was not sure if this was a blessing or a curse. Now I want it back. What could be up here? -- Eric Smith

more than one hardstatus lines

2010-11-01 Thread Eric Smith
Is it possible to create more than a single line for the hardstatusline? -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

more than one hardstatus lines

2010-10-29 Thread Eric Smith
Is it possible to create more than a single line for the hardstatusline? -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: create a screen window from a remote connection

2009-12-11 Thread Eric Smith
Yihaaa. ssh -t p screen -X screen -t new_mutt mutt eric -a local_file -- Eric Smith Frank Blendinger wrote on Sat-12-Dec 09 1:02AM > Hi. > > On Sat 2009-12-12 00:53, Eric Smith proclaimed: > > I want to set up a screen window with a command from another > > machine

create a screen window from a remote connection

2009-12-11 Thread Eric Smith
I want to set up a screen window with a command from another machine. [e...@zeus ] $ ssh p screen -t mutt Must be connected to a terminal. Is there a way around this? -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http

pasting buffer into a command

2008-04-21 Thread Eric Smith
W"' colon 'stuff "! track "' 'stuff paste .' -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

abbreviating commands and returning screen number

2008-01-08 Thread Eric Smith
1. How do I abbreviate a command like `select` to (say) `s' in command mode? 2. How do I return the screen number, the following script invoked with args username and screen number used to work but does now anymore: `w|awk 'NR>2 && $1 == u && $3 ~ ".*:S\." w "$" { print $2; exit

abbreviating commands

2007-12-06 Thread Eric Smith
How do I abbreviate a command like `select` to (say) `s' in command mode? Thanks Eric ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

windows to stdout

2007-12-01 Thread Eric Smith
Is it possible to output screen window names like screen -X windows to standard out? -- Eric Smith Tel: +31 20 4111 834 Fax: +31 20 4114 619 ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

windows list to stdout

2007-12-01 Thread Eric Smith
Is this possible with screen -X? Eric ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

remapping screen commands

2007-03-28 Thread Eric Smith
I use `select' a lost and would like to map this to `s' so that I may go: : s mutt to select window called mutt. how do I do this? -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

rotating hardcopy logs

2007-03-05 Thread Eric Smith
really attractive. Thanks -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

different font sizes for different windows.

2006-12-13 Thread Eric Smith
Will this ever be a possibility in screen? Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: Can screen tell me where I logged in from?

2006-12-09 Thread Eric Smith
The best way I could think of was to grep the following in my script to determine my current location. sudo tcpdump -t -q -c 10 -Z eric 2>/dev/null Uses sudo alas Eric Original Message Phil!Gregory on Sat-09-Dec 06 1:20AM . > * Eric Smith <[EMAIL PROTECTED]> [2006-12-08 10:07 +0

Can screen tell me where I logged in from?

2006-12-08 Thread Eric Smith
export a variable to a running screen session so that it is redefined when I reattach? Or do I have to attach screen via a wrapper script that writes location info to a file - which is messy. Thanks -- Eric Smith ___ screen-users mailing list screen-users

remapping screen commands

2006-11-24 Thread Eric Smith
I use `select' a lot and would like to map this to `s' so that I may go: : s mutt to select window called mutt. how do I do this? -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

avoiding warning message and delay in "macro"

2006-08-20 Thread Eric Smith
Hi I am using tabs in vim7 and have several files permanently opened on screen window called "data". I have bindings as per: bind r eval 'select data' 'stuff :tabn1^M' bind t eval 'select data' 'stuff :tabn2^M' This takes me from wherever I am in screen to the data window and then issues the :ex

avoiding warning message and delay in "macro"

2006-08-20 Thread Eric Smith
Hi I am using tabs in vim7 and have several files permanently opened on screen window called "data". I have bindings as per: bind r eval 'select data' 'stuff :tabn1^M' bind t eval 'select data' 'stuff :tabn2^M' This takes me from wherever I am in screen to the data window and then issues the :ex

Re: splitting window into regions

2006-08-20 Thread Eric Smith
> Not currently, though it's been discussed on this list in the past, and > there's at least one patch floating around to add the feature. > Its here http://www.nabble.com/Vertical-Split-Slowdown-t1379254.html#a370589 Warning: It might change your life. Tip, use an outer screen with a differen

cycle through recently used screens - wanted

2006-07-28 Thread Eric Smith
cycle through. This will help me from lurching off haphazardly when trying to find my wanted window. Thanks -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

avoiding warning message and delay in "macro"

2006-07-17 Thread Eric Smith
Hi I am using tabs in vim7 and have several files permanently opened on screen window called "data". I have bindings as per: bind r eval 'select data' 'stuff :tabn1^M' bind t eval 'select data' 'stuff :tabn2^M' This takes me from wherever I am in screen to the data window and then issues the :e

remapping commands

2005-09-09 Thread Eric Smith
How do I remap a screen command like :select to :s Thanks -- Eric Smith ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

screen refusing to reattach

2005-03-25 Thread Eric Smith
Ok, this has caused me enough inconvenience so I will finally ask about it. Every now and then screen freezes and if I try to reattach the seassion elsewhere, the command `screen -x' just hangs. Sometimes killing off the child processes seems to work, other times not. Usually after many hours t

History no longer available in command line mode

2005-03-20 Thread Eric Smith
Actually for a year now I have been without history in command line mode (with arrow up). I was wondering if that is a discontinued feature or if I might have some something in my screenrc to hose it perhaps? Thanks for any suggestions. -- Eric Smith

Re: omit current window on scroll in split-screen -> scroll through windows in history order

2005-03-20 Thread Eric Smith
croll backwards and forwards through the last n selected screens. Or possibly even select a scroll group that I could p and n through without becoming annoyed by the other 25 windows :) ciao Michael Schroeder said: } On Fri, Mar 04, 2005 at 12:19:17PM +0100, Eric Smith wrote: } > Not sure

omit current window on scroll in split-screen

2005-03-04 Thread Eric Smith
Not sure if this has been requested before. When in split screen, and scrolling through windows with (n|p) in say the top screen, it would be nice if screen did not select the same window as currently selected in the bottom. ciao Eric ___ screen-u