From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 34110138247 for ; Tue, 7 Oct 2014 20:16:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40B60E0952; Tue, 7 Oct 2014 20:16:28 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 5473CE0944 for ; Tue, 7 Oct 2014 20:16:10 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 422BE23761 for ; Tue, 7 Oct 2014 21:16:09 +0100 (BST) Date: Tue, 7 Oct 2014 21:16:03 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Again some "headless" stuff/question Message-ID: <20141007211603.673b9c13@digimed.co.uk> In-Reply-To: <20141007164658.GD3826@solfire> References: <20141005043455.GA3856@solfire> <20141007124533.2a2b2c0f@hactar.digimed.co.uk> <20141007164658.GD3826@solfire> Organization: Digital Media Production X-Mailer: Claws Mail 3.10.1-119-g7fbc83 (GTK+ 2.24.24; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Sp3hOJeSe0YeslHJVgH9/eD"; protocol="application/pgp-signature" X-Archives-Salt: b00c71bc-112d-4d3a-b23d-d5e96ccb2085 X-Archives-Hash: ed220960e9584754db18ff56f0a09fb6 --Sig_/Sp3hOJeSe0YeslHJVgH9/eD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 7 Oct 2014 18:46:58 +0200, meino.cramer@gmx.de wrote: > > > Is there any "shorter path" to what I am trying to do -- without the > > > cascade of shells which do nothing but waiting of the child process > > > to end? =20 > >=20 > > I have this in ~/.zshrc. > >=20 > > if [[ "${TERM}" !=3D "screen" ]] && [[ -z "${STY}" ]] && [[ ! -f > > ~/.noscreen ]]; then screen -xRR && exit > > fi > this logs me out instantly.... >=20 > If executed directly from the commandline it works. > Is there any other settings, which may effect screen? > ...there is no .screenrc... Not that I'm aware of, but it "just works"[tm] for me. I don't have a .screenrc either and /etc/screenrc is standard apart from changing the command key and caption bar. Check what $TERM is set to both in and out of screen. Whenver this has not worked as exected in the past it has been because of changes to environment variables. --=20 Neil Bothwick Very funny Scotty.. now beam down my pants! --Sig_/Sp3hOJeSe0YeslHJVgH9/eD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQ0SggACgkQum4al0N1GQMfHgCeMZf+Y0w1iA5Gnio3ORfM82M+ 6SgAoKq/1eAmAvmOlwYsriHiRCO79KJo =FmU3 -----END PGP SIGNATURE----- --Sig_/Sp3hOJeSe0YeslHJVgH9/eD--