Re: screen is now available in Cygwin

2007-07-20 Thread Eric D. Hendrickson
I'm using it right now. Works great. Awesome for running an ssh SOCKS proxy on my desktop and then detaching screen... Nathaniel Whiteinge <[EMAIL PROTECTED]> writes: > Andrew Schulman <[EMAIL PROTECTED]> writes: > >> >> screen 4.0.3 is now available in the Cygwin distribution. Cygwin users c

Re: meta CTRL-Tab

2006-11-13 Thread Eric D. Hendrickson
Another good command key is Ctrl-\. Doesn't clash with Emacs or anything else, such as Ctrl-Z on the command line to suspend jobs... Peder Stray <[EMAIL PROTECTED]> writes: > On Tue, 24 Oct 2006, Eric Crahen wrote: > >> Is it possible somehow to make the meta key tab >> instead of a? I'd like CT

Re: Keeping SSH session alive over a restrictive proxy/firewall

2006-10-31 Thread Eric D. Hendrickson
http://the.earth.li/~sgtatham/putty/0.56/htmldoc/Chapter4.html#S4.13.5 "Taylor Jones" <[EMAIL PROTECTED]> writes: > First, here is my problem. I am connecting to a remote computer over SSH on > port 443 using PuTTY. I had to use 443 to get around restrictive > proxy/firewall rules, which worked g

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Eric D. Hendrickson
"Nikolai Weibull" <[EMAIL PROTECTED]> writes: > On 6/20/06, Folkert van Heusden <[EMAIL PROTECTED]> wrote: >> ... which is handy in screen while screen doesn't >> let you scrollback > > After I did a ':scrollback 0', or what? > >> > the problem is that /var/log/messages is 0600 and owned by root:r

Re: attaching detached sessions to the current one

2006-05-16 Thread Eric D. Hendrickson
I just do everything in screen. But if you're tired of doing C-a space to change screens, then just keep to one window in screen... ;) (To me, if you've got more than one screen, then you've got a reason to use screen all the time anyway...) "Aaron Davies" <[EMAIL PROTECTED]> writes: > Yeah, p

Re: backtick metacharacter confused by scrolly wheel in vim

2006-04-10 Thread Eric D. Hendrickson
I use ctrl-\ as my escape character. Almost nothing else uses that and it's (usually) easy to type. escape \ "Aaron Griffin" <[EMAIL PROTECTED]> writes: > On 4/10/06, Ed Dench <[EMAIL PROTECTED]> wrote: >> AFAIK, the trouble only happens within vim and with an up scroll. If I >> have a xterm

Re: Setting title for ssh windows

2005-08-23 Thread Eric D. Hendrickson
This has been covered before I think, but the general answer is based on what shell you use. I use tcsh, and tcsh has a built-in variable called cwdcmd, which is by default executed after every "cd" command is issued. I have the following in my .cshrc file: if ($?TERM && ($TERM == "xterm" || $TE

Re: Am I running under X?

2005-07-28 Thread Eric D. Hendrickson
Write a script something like this, and call it "screen". Or call it "myscreen". Or whatever... #!/bin/sh # if no DISPLAY variable, then we are not in X # DISPLAY might not be the best environment variable to test for but # it should work if [ -z "$DISPLAY" ]; then exec /usr/bin/screen blah

Re: Reestablishing ssh connections via screen: Conclusion

2005-06-25 Thread Eric D. Hendrickson
I don't understand why you don't just run one ssh session to the server, and run screen there with as many windows as you need for all the applications you are using, etc. When your notebook goes into hibernation, either start a new ssh connection or use the autossh as below to resume your ssh con

Re: screen screws up my emacs F# key bindings

2005-03-08 Thread Eric D. Hendrickson
These work just fine for me. Emacs gets a "f1" when I am in Screen. What terminal type is the shell where you started screen? Mine is "xterm" and I am using the UTF-8 character set (this is in PuTTY). Rusty Shackleford <[EMAIL PROTECTED]> writes: > My .emacs has a bunch of lines like > >

Re: TTY, PWD, and other useful strings in hardstatus, shelltitle, etc

2005-03-01 Thread Eric D. Hendrickson
What I do, is I use tcsh and have the following line in my .cshrc file: if ($?TERM && ($TERM == "xterm" || $TERM == "screen" || $TERM == "rxvt")) then alias cwdcmd 'echo -n "]2;"/[EMAIL PROTECTED]"$cwd]1;"{$HOST}""' cwdcmd endif Note that those control characters go like