Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNU Screen not Exiting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Mon Mar 02, 2009 8:44 pm    Post subject: GNU Screen not Exiting Reply with quote

I was unable to search for this due to the forum search filtering out "screen."

I was using the development version of Screen, but the version in Portage does this all the same: when I do C-a d, it says [screen is terminating], but the terminal never closes. It doesn't matter which terminal I try, the behavior continues. Here is my .screenrc:
Code:
escape ^T^T
vbell off
hardstatus alwayslastline
altscreen on
# Green+Load+Month
hardstatus string '%{= kg}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=b C}[ %d %M %c ]%{W}'
defscrollback 9999
If I simply close the window manually when Screen doesn't exit, I get this eventually:
Code:
% ps aux | grep screen
neil      4763  0.0  0.0  56144  2484 ?        S    20:25   0:00 xscreensaver
neil      4788  0.0  0.0      0     0 ?        Zs   20:25   0:00 [screen] <defunct>
neil     23061  0.0  0.0  28864  1132 ?        Ss   20:39   0:00 screen
neil     23062  0.0  0.0      0     0 ?        Zs   20:39   0:00 [screen] <defunct>
neil     23250  0.0  0.0  28864  1132 ?        Ss   20:43   0:00 screen
neil     23251  0.0  0.0      0     0 ?        Zs   20:43   0:00 [screen] <defunct>
neil     23270  0.0  0.0  28864  1132 ?        Ss   20:43   0:00 screen
neil     23271  0.0  0.0      0     0 ?        Zs   20:43   0:00 [screen] <defunct>
neil     23312  0.0  0.0  28868  1172 pts/9    S+   20:44   0:00 screen -D -R
neil     23316  0.0  0.0   9372   796 pts/6    R+   20:44   0:00 grep --color=auto --binary-files=without-match screen
neil     23707  0.0  0.0      0     0 ?        Zs   20:29   0:00 [screen] <defunct>
neil     23738  0.0  0.0      0     0 ?        Zs   20:30   0:00 [screen] <defunct>
neil     23786  0.0  0.0      0     0 ?        Zs   20:30   0:00 [screen] <defunct>
neil     31550  0.0  0.0      0     0 ?        Zs   20:33   0:00 [screen] <defunct>
neil     31696  0.0  0.0  28864  1132 ?        Ss   20:34   0:00 screen
neil     31697  0.0  0.0      0     0 ?        Zs   20:34   0:00 [screen] <defunct>
What's going on here?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
astaines
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2004
Posts: 101
Location: Ireland

PostPosted: Tue Mar 03, 2009 12:34 am    Post subject: No idea, works for me Reply with quote

hi,
Screen version 4.00.03 (FAU) 23-Oct-06

I copied your .screenrc, in case it was doing summat odd, but screen works fine for me, both with my onw .screenrc and with yours.
Soory I can't be more helpful,
Anthony
Back to top
View user's profile Send private message
NEOxAKIRA
Guru
Guru


Joined: 20 May 2007
Posts: 302
Location: France

PostPosted: Tue Mar 03, 2009 2:46 am    Post subject: Reply with quote

do you have nvidia-drivers version 180.35 ?

and if yes, the issue is still here with nvidia-drivers version 180.29 ?
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Tue Mar 03, 2009 7:05 am    Post subject: Reply with quote

It appears that I do have nvidia-drivers-180.35, and I had 180.29 before. From what I see from Google, it does appear to cause the issues.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
kolas
n00b
n00b


Joined: 26 Jan 2009
Posts: 25
Location: San Francisco

PostPosted: Tue Mar 03, 2009 6:31 pm    Post subject: Reply with quote

You are using screen's best feature: detachment! You can reattach to a screen session with screen -DR <pid>. To exit a screen session so the process isn't saved, just exit each window, e.g. ^d in every shell. You can also use screen to kill a window with ^a K.
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Tue Mar 03, 2009 10:48 pm    Post subject: Reply with quote

Oh man, I was gonna post about this as well, since Ive been getting it on a new install. Very annoying.

And why in the world would this be caused by nvidia-drivers?

It seems to be happening to me only in gnome-terminal. xterm is fine, and I use terminal for now.
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Mar 06, 2009 2:58 pm    Post subject: Reply with quote

beandog wrote:
Oh man, I was gonna post about this as well, since Ive been getting it on a new install. Very annoying.

And why in the world would this be caused by nvidia-drivers?

It seems to be happening to me only in gnome-terminal. xterm is fine, and I use terminal for now.
For me, urxvt was doing it too, which is even stranger.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
NEOxAKIRA
Guru
Guru


Joined: 20 May 2007
Posts: 302
Location: France

PostPosted: Fri Mar 06, 2009 3:09 pm    Post subject: Reply with quote

I have this bug and another with awesome + urxvt + nvidia-drivers-180.35...
but not with nvidia-drivers-180.29 !
Back to top
View user's profile Send private message
NEOxAKIRA
Guru
Guru


Joined: 20 May 2007
Posts: 302
Location: France

PostPosted: Tue Mar 10, 2009 12:27 am    Post subject: Reply with quote

solved with nvidia-drivers-180.37 :)
180.35 no longer in portage...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum