screen reattach & ssh

2007-10-22 Thread Damjan Lango
Allight I solved the problem where i was unable to reattach to screen under ssh by running: $ ssh-user-config Now I can detach and reattach to screens running under ssh. But only from ssh. If I try to attach to a screen that has been run in ssh from a CMD window it doesn't work. The other way aro

Re: screen under ssh: debugs

2007-10-10 Thread Damjan Lango
Hi! I have problems reattaching to screen under a ssh session. I have rebuild screen with debug enabled, run screen under ssh session, detached and tried to reattach under the same ssh session. When i tried to attach, the background screen debug log printed: + hit ev fd 5 type 1! Knock - knock!

file locking behaviour

2007-10-08 Thread Damjan Lango
Hello! I have a program that uses: lock.l_type = F_WRLCK; fcntl(log->handle, F_SETLK, &lock) the file is then locked also for reads, is that correct behaviour? I thought that only writing would be locked. on unix the file stays readable even if using the above code. -- Unsubscribe info: ht

screen reattach not working under ssh?

2007-10-08 Thread Damjan Lango
I'm still having problems with reattaching screen under ssh sessions. Does it work to anybody at all? ssh + screen + vista anyone? sigh :( -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.

Re: screen reattach not working?

2007-10-05 Thread Damjan Lango
ine: $ id uid=1000(Damjan) gid=513(None) groups=513(None),544(Administrators),545(Users) $ type id id is hashed (/usr/bin/id) On 2007-10-05, Damjan Lango wrote: > Another update on my screen adventures, please accept my apologies > since i'm posting so frequently. > > I hav

Re: screen reattach not working?

2007-10-05 Thread Damjan Lango
es!! - You die... btw ps -e under ssh and under local cmd window do not show the same processes even though id reports the same user. It seems to me that there might be some problem with privileges under ssh or something? what else can I try? :) On 2007-10-05, Damjan Lango wrote: > Correction:

rxvt default font awful

2007-10-05 Thread Damjan Lango
rxvt default font setting is awful, at least on vista. Here is a screenshot: http://damjan.lango.googlepages.com/rxvt-font.jpg comparing the default font with some other font settings (terminal, lucida console, 7x14) rxvt --help which should report used resources says: $ rxvt --help 2>&1 | grep fo

Re: screen reattach not working?

2007-10-05 Thread Damjan Lango
Correction: besides rxvt, screen also works in xterm. However I can't get screen working in the default cygwin CMD console running bash and also can't get it working over ssh. On 2007-10-05, Damjan Lango wrote: > I have read the screen/README.Cygwin and couldn't find a solution

Re: screen reattach not working?

2007-10-05 Thread Damjan Lango
d I strace screen and send the output? Has anyone got screen reattach working under Vista? On 2007-10-04, Damjan Lango wrote: > I tried sshing in over putty and also from a linux gnome-term on a > different machine. > Btw, I'm using Vista, is this a problem perhaps? > Also the use

Re: screen reattach not working?

2007-10-05 Thread Damjan Lango
Andrew Schulman wrote: > Andrew Schulman wrote: > >> Hi! > >> What is the current status of screen reattach? > >> For me it does not work under the default cygwin bash shell, which > >> uses cmd console afaik and it does not work under cygwin sshd. The > >> only way it works is under cygwin rxvt. I

Re: screen reattach not working?

2007-10-04 Thread Damjan Lango
ps some strange messages like, "you die in a dungeon" or something. btw, after checking processes with ps I can see that screen and bash are running, i just can't attach to that screen session. On 2007-10-04, Gary Johnson wrote: > On 2007-10-04, Gary Johnson wrote: > > On 2

screen reattach not working?

2007-10-04 Thread Damjan Lango
Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work?