Re: Prompt not centered when started as detached

2021-01-06 Thread Geraint Edwards
Joan Albert said (on Thu, Jan 07, 2021 at 08:39:44a.m. +0100): > > Hi Geraint, > > > I believe that the above is the answer. The size defaults to 80 x 24. > > Thank you very much for the tip! > > Do you think it would be possible (when I have the required skills) for me to > wr

Re: Prompt not centered when started as detached

2021-01-05 Thread Geraint Edwards
Joan Albert said (on Tue, Jan 05, 2021 at 11:46:46a.m. +0100): > Could it be that detached mode has some kind of default size (which is > smaller than my terminal window?) I believe that the above is the answer. The size defaults to 80 x 24. If you're a C dev, I think those defau

Re: write command-result to console

2011-04-20 Thread Geraint Edwards
Maximilian Kirchner said (on Mon, Apr 18, 2011 at 11:35:41PM +0200): > Now I want to send the command "list" (which lists all players) to the server > and write the result in a file. Did you try: rm screenlog.0 screen -p 0 -S minecraft-w1 -X log on scree

Re: Query info from an existing screen session?

2010-02-18 Thread Geraint Edwards
Sadrul Habib Chowdhury said (on Tue, Feb 16, 2010 at 11:48:23AM -0500): > 'screen -Q select non-existent-window' > > The man/info-pages have also been updated. That's marvellous - look forward to grabbing it and trying it out. Thanks, Sadrul! -- Geraint A. Edwards (aka

Re: ssh in new screen window

2009-02-25 Thread Geraint Edwards
Ken Nakamura said (on Tue, Feb 24, 2009 at 12:08:37PM -0800): > ${1...@} is for "the first arg string, removing up to and including the first > '@' char". Unfortunately, you have benignly described ${...@} When you double the '#', it means "be greedy" (longest match), so: ${...@

Re: screen command creates new window instead of new instance.

2009-01-31 Thread Geraint Edwards
Chris Jones said (on Fri, Jan 30, 2009 at 11:46:19PM -0500): > each time I ran "screen -c .screenrc-manual" from the > "child" xterm, it created an additional window in the "parent" screen > session instead of starting a new screen instance. This is expected behaviour. In the scr

Re: [screen-devel] Re: Man-writing volunteers?

2008-08-13 Thread Geraint Edwards
Juergen Weigert <[EMAIL PROTECTED]> said (on Wed, Aug 13, 2008 at 04:55:26PM +0200): > - compare man and texinfo, > - bring them back in sync > - (later) find a tool to generate both from one source Count me in. I much prefer manpages to texinfo, so I'm keen to help keep them in

Re: Focus on all regions

2008-06-15 Thread Geraint Edwards
Tobia Conforto <[EMAIL PROTECTED]> said (on Thu, Jun 12, 2008 at 12:59:00PM +0200): > I use the split feature of screen to open many ssh sessions. This > allows me to send commands to the various hosts and see all the > results in the same screen. But often I'd like to send the

Re: rename each screen according to hostname

2008-05-27 Thread Geraint Edwards
"Trent W. Buck" <[EMAIL PROTECTED]> said (on Tue, May 27, 2008 at 08:39:50PM +1000): > > ssh() { screen -X title "[EMAIL PROTECTED]"; command ssh "$@"; } > > I think the OP wants to change the session name, not the screen > (window) title. Also, isn't setting the title best done w

Re: screen in single user mode - "cannot open /dev/console"

2008-05-24 Thread Geraint Edwards
John Davidorff Pell <[EMAIL PROTECTED]> said (on Wed, May 21, 2008 at 10:01:11PM -0700): > Mac OS X is the only system that I know of that calls something "single user > mode". You look like you're quoting from the Wikipedia entry. http://en.wikipedia.org/wiki/Single_user

Re: Execute script in specific window

2008-01-21 Thread Geraint Edwards
Peter Rait <[EMAIL PROTECTED]> said (on Mon, Jan 21, 2008 at 03:01:55PM +0100): > screen -p $zahl -X eval 'stuff ./run_node.sh" $zahl \015"' > > When looking into the screen window it seems that now only the first > part './run_node.sh' is executed without passing the parameter.

Re: how to start screen from .bashrc

2006-10-02 Thread Geraint Edwards
Buddy Burden <[EMAIL PROTECTED]> said (on Thu, Sep 28, 2006 at 05:42:14PM -0400): > I would do it thusly: > > if ( $?STY ) then > screen -x > endif Just a thought, but how about something like: if ( $?STY ) then echo -n "Ctrl-C now to avoid screen - in 3 secs..."

Re: creating a screen with multiple windows when starting a screen

2006-04-21 Thread Geraint Edwards
Ugur ASLAN <[EMAIL PROTECTED]> said (on Sat, Apr 22, 2006 at 02:41:05AM +0300): > I can't find a way to create all windows with given titles when > starting a screen. And I can't make screen run a command in a > specified window when creating it. Is it possible to write a bash > scr

Re: ESC key slowness

2006-04-21 Thread Geraint Edwards
judd <[EMAIL PROTECTED]> said (on Wed, Apr 19, 2006 at 04:39:53PM -0400): > when screen is running ESC-ESC replies with the completed command > after bit of a delay - approximately 2 seconds. I've experienced something similar, but sporadically. For me, I am typically in zsh, edit

Re: putty+ssh+screen = auto resizing?

2005-10-04 Thread Geraint Edwards
Aaron Griffin <[EMAIL PROTECTED]> said (on Tue, Oct 04, 2005 at 10:46:51AM -0500): > When I "screen -R" or "screen -RD", the window is always resized Try screen -RA or screen -RAD -- Geraint A. Edwards (aka "Gedge") [EMAIL PROTECTED]

Re: is there a keepalive/retry/restart feature?

2005-03-31 Thread Geraint Edwards
"Mordechai T. Abzug" <[EMAIL PROTECTED]> said (on Thu, Mar 31, 2005 at 09:26:44PM -0500): > Say I have the following in my .screenrc: > > screen -t mutt mutt > > If I accidentally exit my mutt process, I need to go through several > steps to recreate the window, rename it, and cre