Re: Apps creating new windows?

2008-07-29 Thread Phil! Gregory
* Dan Mahoney, System Admin <[EMAIL PROTECTED]> [2008-07-28 22:10 -0400]: > Is there ANY implementation at all, for when an app is running under > screen, for it to be able to launch a "new window" (for example, to view > an attachment in pine, to start a /query in irc, to view a file in MC)...

Re: Set title to currently running command

2008-05-18 Thread Phil! Gregory
* Bruce Edge <[EMAIL PROTECTED]> [2008-05-16 16:27 -0700]: > Is there a FAQ I should have read first, If so, apologies, and where is > it? This may be of help to you: http://aperiodic.net/screen/titles > I tried the >shelltitle "%> |zsh" > syntax, but that seems to do nothing. At a guess

Re: Re: how to cd in .screenrc?

2008-01-31 Thread Phil! Gregory
* Sonia Hamilton <[EMAIL PROTECTED]> [2008-01-31 12:14 -0600]: > Another question: if I have a whole lot of screens starting up > (0 thru 5, say), how do I get my .screenrc to automatically > switch back to screen 3, rather than me having to do it > manually? In your .screenrc: screen 0 screen 1

Re: How to make F1/F2/F3/F4 usable in screen emacs?

2008-01-22 Thread Phil! Gregory
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-01-22 22:29 +0800]: > Acturally I can use F1-F4 under normal mode in putty, but when I use > screen and open emacs under screen, F1-F4 is invalid... :( It could still be a termcap issue. Just for fun, try changing the function key escape codes to Xter

Re: preserving splitted windows

2008-01-22 Thread Phil! Gregory
* Alex K <[EMAIL PROTECTED]> [2008-01-22 00:08 +0100]: > Is there any way splitted windows could be preserved across sessions? > If I split a window, then detach and reattach the session, all my > splittings are lost. http://aperiodic.net/screen/faq#when_i_split_the_display_and_then_detach_screen_

Re: How to make F1/F2/F3/F4 usable in screen emacs?

2008-01-22 Thread Phil! Gregory
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-01-22 18:49 +0800]: > Thanks Michael, :) It's work fine for me. But I am still wondering. Does > Putty steal away F1/F2/F3/F4 keys or other > applications? PuTTY sends the same escape sequences as (IIRC) the linux console for F1-F4 by default. This

Re: Facilitate scrolling

2007-02-18 Thread Phil!Gregory
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-02-18 12:32 +0100]: > Would a patch integrating easier scrolling, say, by the Linux-style > SHIFT+PG??, be welcome? I do this with some keybindings. The only caveat is that you have a pause on the first shift-pgup as screen displays the message that y

Re: New screen features available

2007-02-08 Thread Phil!Gregory
* Michael Schroeder <[EMAIL PROTECTED]> [2007-02-06 23:34 +0100]: > you probably wonder why the new version of screen is not already > available. Well, it got delayed a bit because of a couple of new > features I've added. Thank you. The work is appreciated. > - vertical split, complete with res

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

2006-12-08 Thread Phil!Gregory
* Eric Smith <[EMAIL PROTECTED]> [2006-12-08 10:07 +0100]: > Is it possible to 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. You pretty much ha

Re: GNU Screen and vim

2006-10-23 Thread Phil!Gregory
* Fabien Meghazi <[EMAIL PROTECTED]> [2006-10-23 09:31 +0200]: > I use screen under rxvt-unicode, in my .vimrc, I map the Shift-Up key > combination like this: > > noremap ^[[a zc > > This works under rxvt without problem, I can fold using Shift+Up arrow > > But as soon as I'm under screen it do

Re: how to start screen from .bashrc

2006-09-28 Thread Phil!Gregory
* Michael Parson <[EMAIL PROTECTED]> [2006-09-19 10:34 -0500]: > One of the features of screen is that you can disconnect from screen > and log out, log back in later and reconnect to the existing session. > Having it auto-start a new screen every time you log in could make that > difficult. So pu

Re: Running command to different screen

2006-07-20 Thread Phil!Gregory
* Mag Gam <[EMAIL PROTECTED]> [2006-07-20 20:26 -0400]: > Thanks that works! Now what if my names are different? Currently I am naming > each session as the hostname. Is it possible to run it to all my windows > eventhough my names are different? Yes, as long as you really mean "all". Just use

Re: Running command to different screen

2006-07-20 Thread Phil!Gregory
* Buddy Burden <[EMAIL PROTECTED]> [2006-07-20 19:09 -0400]: > Phil!, > > >>For getting commands to run in shells inside screen, the screen command > >>you need to use is 'stuff'. To run 'df -h', you'd use 'stuff "df -h ^J"' > >>where "^J" is a quoted control-J (or enter) character. I couldn't m

Re: Running command to different screen

2006-07-20 Thread Phil!Gregory
* Mag Gam <[EMAIL PROTECTED]> [2006-07-20 07:55 -0400]: > Is it possible to run a command to a different active screen terminal? Yes. Use the screen command 'at'. > If I have 4 different virutal terms open, and I want to run 'df -h' on all > of them at the same time The second parameter to

Re: attaching detached sessions to the current one

2006-05-16 Thread Phil!Gregory
* Joe Zbiciak <[EMAIL PROTECTED]> [2006-05-16 06:34 -0700]: > If screen develops the capability to import TTY FDs from another > process, then the answer may be as simple as a wrapper around your shell > that does little more than hold the FDs for your TTY, and pipes them > through. But then you'd

Re: Article about screen scripting

2006-05-04 Thread Phil!Gregory
* Juergen Weigert <[EMAIL PROTECTED]> [2006-05-04 16:44 +0200]: > Hey, Phil! > would you mind, if I linked to your wiki from the savannah page? Not at all. I created the wiki in the hopes that it would serve as a useful reference. -- ...computer contrarian of the first order... / http://aperiod

Re: Article about screen scripting

2006-05-04 Thread Phil!Gregory
* Gerhard Siegesmund <[EMAIL PROTECTED]> [2006-05-04 10:26 +0200]: > Yes. The ACLs are particulary hard to understand. I will have to look > if I myself really have groked the functionality. I've got a bit on multiuser stuff on my (still incomplete) screen wiki: http://aperiodic.net/screen/mult

Re: splitting window into regions

2006-05-01 Thread Phil!Gregory
* Peter <[EMAIL PROTECTED]> [2006-05-01 10:22 -0400]: > I have noticed that when I split my current window into regions my > other windows are also split. This, to me, is very unfortunate. Is > there any way to stop this behaviour? No, there's not, because technically, it's not your windows that

Re: Scrolling the scrollback buffer.

2006-03-30 Thread Phil!Gregory
* Jonathan Daugherty <[EMAIL PROTECTED]> [2006-03-29 11:03 -0800]: > Is there a way to bind a key to scrolling the scrollback buffer such > that I don't need to enter copy/scrollback mode each time I want to > scroll? No; screen can't wander around the scrollback buffer without entering copy mode.

Re: how to send the keystroke to a window?

2006-01-26 Thread Phil!Gregory
* sven <[EMAIL PROTECTED]> [2006-01-27 01:23 +0100]: > screen -S program -X register k c > screen -S program -X paste k You can also just use: screen -S program -X stuff c > now how can i send the escape key just as if was pressed in that > window? I assume you're running this from the shel

Re: screen -X colon - how to enter?

2006-01-25 Thread Phil!Gregory
* Robert Blackwell <[EMAIL PROTECTED]> [2006-01-25 17:52 -0500]: > If I do the following from the command line: > > screen -X colon 'activity "Activity - - in window %n"' > > Screen does not do the action until I press enter within the screen > window. Is there a way for me to call this without

Re: delete screen scrollback buffer

2006-01-25 Thread Phil!Gregory
* morlix <[EMAIL PROTECTED]> [2006-01-25 20:21 +0100]: > how can i set this option without binding it to a key? C-a : That enters "colon mode", which allows you to type screen commands. -- ...computer contrarian of the first order... / http://aperiodic.net/phil/ PGP: 026A27F2 print: D200 5B

Re: delete screen scrollback buffer

2006-01-23 Thread Phil!Gregory
* morlix <[EMAIL PROTECTED]> [2006-01-23 08:04 +0100]: > i want to delete my scrollback buffer on some screen windows because > security. In the window whose scrollback you want to delete, set the scrollback to zero, then return it to its normal value (in your case, 15000). If you want, you can b

Re: titlestring in vim

2005-11-21 Thread Phil!Gregory
* bill <[EMAIL PROTECTED]> [2005-11-20 16:26 +]: > The titlestring option in vim does a nice job of changing the title on > xterms, but it doesn't seem to be updating my status line. Does anyone > have any experience with that? My hardstatus string is: > > "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{

Re: Can a program create a new window ?

2005-11-08 Thread Phil!Gregory
* Michael C. Toren <[EMAIL PROTECTED]> [2005-11-08 01:29 -0500]: > ircii (and epic, bitchx, and friends) create multiple windows using the > curses library; screen isn't involved in any way. epic also supports what it calls screens -- completely separate display areas (devices?) that share a a bac

Re: Can a program create a new window ?

2005-11-07 Thread Phil!Gregory
* Nicolas Vigier <[EMAIL PROTECTED]> [2005-11-07 19:06 +0100]: > Is there a way that a program running in a screen can create a new > window, and display something inside ? I think that would be a useful > feature. The brief answer to your question is yes, there's a way. I've seen epic (IRC progr

Re: send the input to many ttys simultaneously

2005-10-17 Thread Phil!Gregory
* Xavier Nicollet <[EMAIL PROTECTED]> [2005-10-14 15:41 +0200]: > cssh is a good option too. To continue the list of alternatives, I like OmniTTY: http://omnitty.sourceforge.net/ -- ...computer contrarian of the first order... / http://aperiodic.net/phil/ PGP: 026A27F2 print: D200 5BDB FC4B

Re: auto copy-mode and urxvt

2005-08-29 Thread Phil!Gregory
* Aaron Griffin <[EMAIL PROTECTED]> [2005-08-29 09:58 -0500]: > I've been trying to setup the "automatically enter copy mode to scroll" > with C-Up/C-Down. [snip] > I've tried a variety of quoted-insert values. It seems to work fine for > xterm and putty (from work), but when trying to do this und

Re: shelltitle, window titling

2005-08-25 Thread Phil!Gregory
* Dan Mahoney, System Admin <[EMAIL PROTECTED]> [2005-08-25 13:25 -0400]: > Is there any way to have command options included for certain commands? > > i.e. to have some sort of script or regex look allow me to have > ssh:[EMAIL PROTECTED], or irc:irc.freenode.net screen does not support this; i

Pointers on adding encodings?

2005-08-08 Thread Phil!Gregory
I think I'm finally going to get around to adding CP437 support to screen. It looks like what I have to do is add an entry for it to encodings[] in encodings.c, with the value for deffont corresponding to a filename in the utf8encodings directory. From the look of things, charsets, usegr, noc1, an

Re: Setting DISPLAY on the screen shell

2005-08-04 Thread Phil!Gregory
* JCA <[EMAIL PROTECTED]> [2005-08-04 11:49 -0700]: > When I establish a connection by means of ssh, from a host A to a > host B, I can use the output from the 'who am i' command in B so that > in the shell created in B by the connection, the DISPLAY variable is > set so that the output from X co

Shift-PgUp and screen

2005-08-01 Thread Phil!Gregory
I stopped using my xterms' scrollback buffers a while ago, because when I switched screen windows a lot the xterm's scrollback got very jumbled. Still, I missed the convenience of just pressing Shift-PgUp to get to that scrollback buffer. I finally figured out a nice solution, which I'm documentin

Re: HPterm titlebar

2005-08-01 Thread Phil!Gregory
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2005-08-01 16:40 -0400]: > And an HP faq was helpful in getting me info on how to shell script the > hpterm titlebar change. > > However, I'd like to change the shellscript to something that the screenrc > can process, but I don't understand the escape char

Re: Few feature requests

2005-08-01 Thread Phil!Gregory
* Michael Schroeder <[EMAIL PROTECTED]> [2005-08-01 14:41 +0200]: > On Sun, Jul 31, 2005 at 10:26:18PM -0400, Raymond Page wrote: > > [xterm sets high bit for M-, "extra characters are deposited on > > the command line"] > > Hmm, can anybody else reproduce this? Yes. It looks like this a a bug (

Re: Scrolling from within terminal emulators

2005-07-19 Thread Phil!Gregory
* JCA <[EMAIL PROTECTED]> [2005-07-19 15:23 -0700]: > I have noticed that when starting rscreen as a process running on a > terminal emulator (xterm, gnome-terminal) the scrolling capabilities > of the terminal emulator seem to be disabled. http://aperiodic.net/screen/faq#2 > My query: Is it

Re: Setting an escape character on the command line

2005-06-27 Thread Phil!Gregory
* Will Maier <[EMAIL PROTECTED]> [2005-06-27 17:45 -0500]: > However, the key sequence I use to go to the most recent region (not just > next/previous, but most recently visited) doesn't work unless I reset the > escape > character (:escape ^\\\). The key sequence (CTRL-\,CTRL-\) works after setti

Re: Reestablishing ssh connections via screen

2005-06-21 Thread Phil!Gregory
* JCA <[EMAIL PROTECTED]> [2005-06-21 14:06 -0700]: > How can screen be used so that, when the notebook is brought back from > its dormant state, whatever ssh sessions it had active with the server, > at the time the notebook was put to sleep, are automatically > re-established? In your shell, do:

Re: screen refusing to reattach

2005-03-25 Thread Phil!Gregory
* Eric Smith <[EMAIL PROTECTED]> [2005-03-25 15:23 +0100]: > 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 p

Re: Run commands from .screenrc in reattach mode

2005-03-08 Thread Phil!Gregory
* izo <[EMAIL PROTECTED]> [2005-03-08 19:18 -0500]: > I have screen running in split mode with 4 windows. When i reattach > instead of having all 4 windows displayed in a split mode i'm getting > single window. Yes, that's a limitation of screen. There's a hack to preserve your splits, though:

Bug Report: caption always + blanker

2005-02-18 Thread Phil!Gregory
I'm still not sure what the best method of submitting a bug report is, so I'll shoot this out here. If you use 'caption always' and subsequently invoke 'blanker', the caption will still be drawn on screen when it changes (for example, if you have %C in the caption). This somewhat reduces the usef

Re: screen and ssh agents + agent forwarding (+ $DISPLAY)

2005-02-18 Thread Phil!Gregory
* Jeremy Chadwick <[EMAIL PROTECTED]> [2005-02-12 19:29 -0800]: > Anyone here who has tried to use GNU screen alongside an ssh agent > will know how painful it is to get things to work properly, especially > when using the forwarding mechanism of ssh agents. It's a complete > mess. I've thought a