writefile does not write



Oliver Kullmann <O.Kullmann at swansea.ac.uk> writes:
> I start and re-attach with the same command, namely
>
> ssh -t user at computer /usr/bin/screen -xRR 
>
> It happened several times, but such things are not reconstructible.
> Perhaps the sessions were not detached, and then screen could not
> handle the sudden death of the connection(?).
> Now I always detach (via Ctrl-a-d), don't leave connections open,
> and until now there were no further problems. So let's hope that
> solved the problem.
>

If you run screen -R -D this will force a detachment and then a
re-attachment of your session. If you don't forcibly detach sessions
which screen thinks are open (say, becaues your ssh connection dropped),
then you won't be able to re-attach.

>
> I use xemacs, but only as text-editor, and otherwise I prefer konsole-windows.
> Hoping that by consistently detaching and re-attaching the screen-problems
> are gone, just using screen hopefully suffices.

Yeah, I once preferred to work like this, but konsole &co are really just a poor
imitation of an emacs shell buffer (no tongue in cheek). Anyhow, chacun
a son gout.