[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Screen size adaption
From: |
Kai Hendry |
Subject: |
Re: Screen size adaption |
Date: |
Tue, 3 Aug 2004 13:40:58 +0300 |
User-agent: |
Mutt/1.5.6+20040722i |
On Tue, Aug 03, 2004 at 12:05:26 +0200, Michael Schroeder wrote:
> On Mon, Aug 02, 2004 at 11:06:55PM +0300, Kai Hendry wrote:
> > bilbo:503$ strace -o /tmp/testing screen
> > Directory '/var/run/screen' must have mode 777.
> > I keep getting this error while trying an strace:
> > Directory '/var/run/screen' must have mode 777.
> 1) Use 'strace -p' to attach to a running process.
> 2) copy the screen binary to /tmp and remove the s-bit.
> 3) use $SCREENDIR to set a different socket directory.
Resized the screen by dragging the corner of my putty window about, and typed
in the command `resize` to see it not adjusting like it would when it wasn't
running screen.
No SIGWINCH?!!
bilbo:519$ ps aux | grep screen
hendry 23671 0.0 0.1 4216 932 pts/939 S+ 13:31 0:00 ./screen
hendry 23694 0.0 0.1 3244 712 pts/945 S+ 13:32 0:00 grep screen
bilbo:520$ strace -p 23671
Process 23671 attached - interrupt to quit
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [WINCH])
alarm(0) = 0
kill(23672, SIG_0) = 0
rt_sigaction(SIGALRM, {0x806bb30, [], 0}, {0x806bb30, [], 0}, 8) = 0
alarm(15) = 0
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [WINCH])
alarm(0) = 0
kill(23672, SIG_0) = 0
rt_sigaction(SIGALRM, {0x806bb30, [], 0}, {0x806bb30, [], 0}, 8) = 0
alarm(15) = 0
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [WINCH])
alarm(0) = 0
kill(23672, SIG_0) = 0
rt_sigaction(SIGALRM, {0x806bb30, [], 0}, {0x806bb30, [], 0}, 8) = 0
alarm(15) = 0
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [WINCH])
alarm(0) = 0
kill(23672, SIG_0) = 0
rt_sigaction(SIGALRM, {0x806bb30, [], 0}, {0x806bb30, [], 0}, 8) = 0
alarm(15) = 0
pause(
I did ssh to another machine with putty on my University machine (melkinpaasi)
where it worked:
melkinpaasi:997$ strace -p 8907
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
sigreturn() = ? (mask now [RTMIN])
alarm(0) = 4
kill(8908, SIG_0) = 0
geteuid32() = 52969
getegid32() = 12005
open("/fs-3/4/hendry/.screen/8908.pts-23.melkinpaasi", O_WRONLY|O_NONBLOCK) = 3
geteuid32() = 52969
getegid32() = 12005
fcntl64(3, F_SETFL, O_RDONLY) = 0
write(3, "\0gsm\6\0\0\0/dev/pts/23\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 12336) = 12336
close(3) = 0
rt_sigaction(SIGALRM, {0x806be40, [], SA_RESTORER, 0xf17178}, {0x806be40, [], SA
_RESTORER, 0xf17178}, 8) = 0
alarm(15) = 0
pause() = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [RTMIN])
alarm(0) = 0
kill(8908, SIG_0) = 0
rt_sigaction(SIGALRM, {0x806be40, [], SA_RESTORER, 0xf17178}, {0x806be40, [], SA
_RESTORER, 0xf17178}, 8) = 0
alarm(15) = 0
I am running unstable's screen on bilbo, but I don't think it's that because
I've seen other unstable screens work fine. WTF! :/