public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Again some "headless" stuff/question
Date: Tue, 7 Oct 2014 21:16:03 +0100	[thread overview]
Message-ID: <20141007211603.673b9c13@digimed.co.uk> (raw)
In-Reply-To: <20141007164658.GD3826@solfire>

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

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?  
> > 
> > I have this in ~/.zshrc.
> > 
> > if [[ "${TERM}" != "screen" ]] && [[ -z "${STY}" ]] && [[ ! -f
> > ~/.noscreen ]]; then screen -xRR && exit
> >     fi

> this logs me out instantly....
> 
> 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.


-- 
Neil Bothwick

Very funny Scotty.. now beam down my pants!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      reply	other threads:[~2014-10-07 20:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-05  4:34 [gentoo-user] Again some "headless" stuff/question meino.cramer
2014-10-05 12:33 ` thegeezer
2014-10-05 14:10   ` meino.cramer
2014-10-07 11:45 ` Neil Bothwick
2014-10-07 16:46   ` meino.cramer
2014-10-07 20:16     ` Neil Bothwick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141007211603.673b9c13@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox