Re: vertical split

2007-11-11 Thread Trent W. Buck
On Mon, Nov 12, 2007 at 12:01:11AM +0100, Angel Martin Alganza wrote: No released versions implement it; you need the development version. Where can I find it, please? http://savannah.gnu.org/cvs/?group=screen I could create a .deb of a daily snapshot and post it on mentors.debian.net,

Re: Screens with more than 9 tabs.

2008-01-09 Thread Trent W. Buck
On Wed, Jan 09, 2008 at 10:06:55PM -0800, Ponnambalam M A wrote: How will you number the screens/tabs more than 9. ie when i number it as 10, I m not able to access that tab. When i press 10, it is still going to 1 only. C-a 9 C-a C-SPC C-a '10 RET C-a :select 10 RET C-a up/down arrows RET

Re: screen, 256color mode and ssh

2008-01-25 Thread Trent W. Buck
On Fri, Jan 25, 2008 at 10:27:22PM +0100, Mika Fischer wrote: For screen I had to put term screen-256color into my .screenrc. This way, applications automatically detect that the terminal supports 256 colors. Here are some notes I made on the subject a few years ago. They are a bit out of

Re: How to go to the beginning of the scrollback buffer

2008-02-07 Thread Trent W. Buck
On Thu, Feb 07, 2008 at 03:07:22AM -0800, pandoos_in wrote: I have set defscrollback 3. But looks like 'gg' in copy mode takes me 3 lines back in copy mode (even though these lines are empty). Any ideas? Maybe C-a :compacthist on ? signature.asc Description: Digital signature

Re: send commands to a remote screen console

2008-03-13 Thread Trent W. Buck
On Thu, Mar 13, 2008 at 02:19:23PM +0100, Marco Strullato wrote: I don't know how to log out. I tried with: ssh -t -i ~/privata.key -l db2inst1 engtest5 screen -R -X screen exit ^^ Try removing this word.

Re: Moving a window from one screen session to another

2008-04-21 Thread Trent W. Buck
On Mon, Apr 21, 2008 at 01:53:00PM +0400, Andrew Pantyukhin wrote: On Mon, Apr 21, 2008 at 09:52:51AM +0200, Vladimir Marek wrote: I've look through the screen manual and didn't find any way to do what I want. I have an active window with a running program (irssi IRC client) which I

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

2008-05-21 Thread Trent W. Buck
On Wed, May 21, 2008 at 08:48:18PM +0800, soumen wrote: When I try to run screen in single user mode, I get the error cannot open /dev/console. I find this happens when someone logs in as root, then does su serf -c screen to run screen as the user serf. If you have sudo, using it seems

Re: Propagating environment variables ($STY and $WINDOW)

2008-05-24 Thread Trent W. Buck
On Sat, May 24, 2008 at 05:23:25PM -0400, Ethan Mallove wrote: Is there a way to get the $STY and $WINDOW environment variables to propagate in an RSH/SSH session? E.g., if I start a Screen session, $STY and $WINDOW go away once I have RSH/SSH'd to another machine. The SendEnv directive in

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

2008-05-25 Thread Trent W. Buck
On Sun, May 25, 2008 at 09:25:40AM -0500, Michael Parson wrote: I am using Ubuntu Linux (Gutsy Gibbon): [...] I understand that Debian (and therefore Ubuntu) use the same sys-v init system that Red Hat uses. Debian *by default* uses SysV init. It includes a number of other init systems,

Re: rename each screen according to hostname

2008-05-27 Thread Trent W. Buck
On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote: On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: I ssh to a lot of servers and every time I have to do C-a A to rename the screen session to the hostname I ssh to. Is there anyway screen can automatically

Re: termcap doesn't work

2008-05-27 Thread Trent W. Buck
On Mon, May 26, 2008 at 05:19:54PM +0800, cch wrote: I use gnome-terminal whose $TERM is xterm. when I invoke screen the $TERM is changed to screen, which make my aptitude and mutt etc. draw a very dirty screen. [randomly guessing at cause] As I said in IRC, unless you can explain what you

Re: Big paste in screen is slow and sometimes lost some characters

2008-05-27 Thread Trent W. Buck
On Tue, May 27, 2008 at 01:16:45PM +0200, Sylvain wrote: Hi ! I'm experiencing difficulties with paste (with the middle button, not paste function) in screen : if I paste 500 lines of text in vim under screen, screen is very slow, produce a flickering effect and lost some characters... If i

Re: rename each screen according to hostname

2008-05-27 Thread Trent W. Buck
On Tue, May 27, 2008 at 06:54:10PM -0700, Micah Cowan wrote: Trent W. Buck wrote: On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote: On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: I ssh to a lot of servers and every time I have to do C-a A to rename

Re: termcap doesn't work

2008-05-28 Thread Trent W. Buck
On Wed, May 28, 2008 at 01:15:10PM +0800, cch wrote: On Wed, May 28, 2008 at 01:52:40PM +1000, Trent W. Buck wrote: On Mon, May 26, 2008 at 05:19:54PM +0800, cch wrote: I use gnome-terminal whose $TERM is xterm. when I invoke screen the $TERM is changed to screen, which make my aptitude

Re: Setting window title in ssh'ed host

2008-07-14 Thread Trent W. Buck
On Sat, Jul 12, 2008 at 03:10:00AM +0300, Gokdeniz Karadag wrote: This is more like a story, I am trying to automatically set GNU screen window title equal to the hostname that is connected by ssh. In my .profile, which exists on all my machines and is evaluated for all interactive logins (i.e.

Re: [screen-devel] Scripting Support for Screen

2008-07-24 Thread Trent W. Buck
On Thu, Jul 24, 2008 at 02:16:30PM -0700, Micah Cowan wrote: I'm not sure I agree on people know them well for Haskell. Scheme /Lisp probably has a larger developer base than Haskell does. Last time I looked, on Freenode, #haskell has around double the number of people that #scheme has. While

Re: Two little features (and a bounty?)

2008-07-24 Thread Trent W. Buck
On Thu, Jul 24, 2008 at 06:39:47PM -0400, Dan Mahoney, System Admin wrote: I need two features added to screen, but I'm not a coder. I can (and have) discussed on this list, as well as having seen these features justified and explained on mailing lists before, but I don't believe they work at

Re: Two little features (and a bounty?)

2008-07-25 Thread Trent W. Buck
On Thu, Jul 24, 2008 at 10:36:02PM -0700, Micah Cowan wrote: The question is whether it can tell them _to_ send their events. And yes, that's accurate: a program that sends the send mouse events sequence to screen will have them passed along to other terms - provided that screen itself detects

Re: [screen-devel] Scripting Support for Screen

2008-07-26 Thread Trent W. Buck
On Thu, Jul 24, 2008 at 06:11:33PM +0200, Johannes Weiner wrote: * What about the bloat? Screw the bloat, there are larger full-blown window managers around :-) I don't think that the existence of bloat in *some* solutions for an unrelated problem domain is an excuse to add bloat to Screen. Or

Re: Apps creating new windows?

2008-07-28 Thread Trent W. Buck
On Mon, Jul 28, 2008 at 10:10:18PM -0400, Dan Mahoney, System Admin wrote: 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)... I'm

Re: 2 problems using screen with sshfs and symlinks

2008-08-09 Thread Trent W. Buck
On Wed, Aug 06, 2008 at 07:44:32AM -0700, Ken Steen wrote: If [my] program is started with 'screen program-name', and the current directory is a symbolic link to another directory opening a new screen window changes the pwd to the directory that is pointed to by the symbolic link instead of

Re: 2 problems using screen with sshfs and symlinks

2008-08-10 Thread Trent W. Buck
On Sun, Aug 10, 2008 at 09:18:21PM -0400, Andy Harrison wrote: Although completely unrelated to screen, I had similar permission problems with one of my sshfs mounts. I finally solved it with the following sshfs params: [... -o allow_root] Hmm -- perhaps this is related to screen being

Re: Man-writing volunteers?

2008-08-12 Thread Trent W. Buck
On Tue, Aug 12, 2008 at 08:03:43PM +0200, Juergen Weigert wrote: - [texinfo] just looks great, when printed on paper. On GNU systems, at least, man -Tps results in a reasonably good paper version, unless the manpage author made formatting blunders that weren't apparent on his tty (such as using

Re: Man-writing volunteers?

2008-08-12 Thread Trent W. Buck
On Tue, Aug 12, 2008 at 12:08:16PM -0700, Micah Cowan wrote: Obviously incorrect, as I prefer the info manual. Especially since it is much, _much_ easier to find the node corresponding to a given screen command via info than via man: iscr=info '(screen)Command Index' iscr shelltitle

Re: Promote Screen? Include .screenrc!

2008-10-02 Thread Trent W. Buck
[EMAIL PROTECTED] writes: Some years ago, I tried several Linux distros and found /etc/screenrc quite minimalistic. It took me a long time to adapt the .screenrc to my needs. Screen definitely has a big problem with discoverability. Very often, I'll be chatting to someone and they'll say oh

Re: sticky modifier keys

2008-10-02 Thread Trent W. Buck
William Pursell [EMAIL PROTECTED] writes: I've recently started using sticky modifier keys [...] Is there anyway to get this functionality with screen? I think it's impossible. X11 clients can see keydown and keyup events for the modifier key(s) and the non-mod key separately. Screen just

Re: config to get screen to never touch the hardware status line in xterm

2008-10-02 Thread Trent W. Buck
Micah Cowan [EMAIL PROTECTED] writes: Alex Tang wrote: Hi folks. I've been reading on google and in the archives about how folks do cool things with the hardstatus and hardware status line in xterms. I'm trying to do exactly the opposite...I want screen (when used in a terminal program

Re: Promote Screen? Include .screenrc!

2008-10-05 Thread Trent W. Buck
[EMAIL PROTECTED] writes: The caption need not be too fancy, like caption always %{rk}%H %{wk}%n %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? Here's a thought: maybe

Re: Customizing hardcopy

2008-10-10 Thread Trent W. Buck
Jean-Baptiste Aviat [EMAIL PROTECTED] writes: Hello dears, I would like to be able to do harcopies in new files, in order to never overwrite any. Files could be named this way : - hardcopy_2008-10-10_at_12h59m01 - hardcopy_2008-10-10_at_12h59m05 - hardcopy_2008-10-10_at_13h01m37 -

Re: Detect whether attached or detached from screen session?

2008-10-13 Thread Trent W. Buck
Sven Hazejager [EMAIL PROTECTED] writes: I'm using screen to keep some applications open over a remote SSH connection that sometimes is killed. What I would like to do, is to somehow find out whether I am logged in (attached) or disconnected from the screen session. Reason is that I want

Re: Operation

2008-10-18 Thread Trent W. Buck
Tony Bernard [EMAIL PROTECTED] writes: I am a technician working for a University and have developed a VB6 program which controls a projector on a weekly basis. It takes room booking information and activates the device accordingly via a pc. My current problem is that I wish to log out and

Re: auto connect to screen and open a new shell?

2008-10-21 Thread Trent W. Buck
Nils [EMAIL PROTECTED] writes: i open op a new terminal, which the opens my shell (zsh). I want the zsh to check if it is already inside of a screen session, and if it is not, to connect to one, and open a new shell in there. I have almost that for sh: ### ~/.profile: sourced by

Re: Setting window title in ssh'ed host

2008-11-06 Thread Trent W. Buck
Malte Skoruppa [EMAIL PROTECTED] writes: I solved the problem in bash by editing my ~/.profile file: ssh() { args=$@ echo -ne \033k${args##* }\033\\; /usr/bin/ssh $@; You don't need to hard-code the path to ssh if you change this line to command ssh $@ the trailing semicolons are

Re: caption never option

2008-11-08 Thread Trent W. Buck
Ryan Showalter [EMAIL PROTECTED] writes: I'm using screen to monitor some applications on an extremely small 8 monitor and I've been using screen to view the programs simultaneously. For what I'm using it for, the caption bars are completely unnecessary as I don't ever switch between any

Re: Bigger annoyance with locking.

2008-11-13 Thread Trent W. Buck
Micah Cowan [EMAIL PROTECTED] writes: I support extending screen's builtin lock to support PAM. +1. I wondered if that was the problem all along. ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: Bigger annoyance with locking.

2008-11-13 Thread Trent W. Buck
, in either the current or a new screen session, I run :lockscreen. It blanks the screen, changing it to Screen used by Trent W. Buck twb Password: Screen password: The first prompt is for my login password. The second prompt is for my screen password. -- otherwise it's a whole new

Re: Bigger annoyance with locking.

2008-11-13 Thread Trent W. Buck
On Thu, Nov 13, 2008 at 09:04:25PM -0500, Dan Mahoney, System Admin wrote: It asks for *both* the login password and the screen session password. Yes, and the point is: I don't have a login password, so upon locking I am given the opportunity to create one, which has no persistent form of

Re: Bigger annoyance with locking.

2008-11-13 Thread Trent W. Buck
On Thu, Nov 13, 2008 at 10:08:50PM -0500, Dan Mahoney, System Admin wrote: But you've stated that with pam in the mix and a null password, you basically get it accepting any password. So you too, are an audience for the keep this password in .screenrc and be done with it :) Nope. The

Re: screen -X

2008-12-04 Thread Trent W. Buck
Jim Lloyd [EMAIL PROTECTED] writes: I'd like to so something that I bet savvy unix admins do all the time with screen, but I haven't figured out the trick. I have a shell script that lets me do this: $ each command The script expands this running the same command on several machines: $

Re: help to use screen command

2008-12-04 Thread Trent W. Buck
Micah Cowan [EMAIL PROTECTED] writes: Zaphod wrote: Hi 1st of all, i am using screen for number of years now and like it very much. lately decided to upgrade my environment. So my question is. Using .screenrc file where wants to open window with vim. The vim should also open number of

Re: help to use screen command

2008-12-06 Thread Trent W. Buck
On Sat, Dec 06, 2008 at 11:59:22AM -0800, Micah Cowan wrote: FWIW, sh -c 'vim find . -name \*.c -o -name \*.cpp -exec vim {} +' would be better, if your system supports POSIX 2003's variadic -exec {} +. (Failing that, xargs.) Both are good points. Though I think xargs will only really buy

Re: Greek characters appearing garbled up at screen's caption

2008-12-18 Thread Trent W. Buck
Christos Gitsis el01...@mail.ntua.gr writes: I have a problem with Greek characters appearing garbled up at screen's caption. AFAIK the hardstatus and caption lines do not handle Unicode correctly. ___ screen-users mailing list

Re: Reattaching to a detached screen

2009-01-01 Thread Trent W. Buck
Andrew Schulman and...@alumni.utexas.net writes: autossh -M 0 -t RemotePC screen -e^Yy -D -R -S `uname -n`2RemotePC-$NEXT snip What I would like to be able to do is to attach to this screen from a new shell in RemotePC, or a new screen launched from MyPC, such that the deattached screen

Re: Is there any way I can split long lines in .screenrc?

2009-01-07 Thread Trent W. Buck
Micah Cowan mi...@cowan.name writes: Yeah, screen doesn't allow split lines (or lines whose lengths are greater than 2048 bytes). Don't the GNU Coding Conventions have something to say about arbitrary limits? ;-) PS: Sadrul, I'm eagerly awaiting the power of a ~/.screenrc.lua!

Re: using screen logs

2009-04-02 Thread Trent W. Buck
Jae Norment jnorm...@q2software.com writes: I fairly pretty uncomfortable running any of the solutions presented here: I know enough about C/C++ to know that it's pretty easy to write code that can be pretty destructive to an instance of an operating system. The last thing I want to do is

Re: Logging With Screen

2009-04-02 Thread Trent W. Buck
Charles A. Templeton III ctemplet...@gmail.com writes: Why does screen logs look the way they do? For example, when I am in in the terminal I see this: computer:~ user$ sudo port selfupdate But when I look in the log file it writes a new line to the log file for every character change and

Re: Mouse support document

2009-05-30 Thread Trent W. Buck
Dan Mahoney, System Admin d...@prime.gushi.org writes: I'm trying to write a generalized sum-up of which terminal-mode apps support mice and how well, as well as a general summary of how it works and why, since it's been a bit of an enigma to me for a while. As for Emacs, it supports