public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Martyn B <mb@stefanist.com>
To: cygwin@cygwin.com
Subject: (SOLVED) Re: Terminal output disappearing after SSH into cygwin
Date: Fri, 22 Jan 2021 14:18:03 +0100	[thread overview]
Message-ID: <a48cb731-20d5-44ab-8ee5-51e87a461113@stefanist.com> (raw)
In-Reply-To: <279a917b-7053-3ce8-c071-9c2a959341fa@gmail.com>


On 2021-01-21 11:13, Ken Brown via Cygwin wrote:
> There's also /etc/bash.bash_logout.  The default version of that 
> clears the screen:
...
 > # when leaving the console clear the screen to increase privacy
 > if [ "$SHLVL" = 1 ]; then
 >     [ -x /usr/bin/clear ] && /usr/bin/clear
 > fi


Takashi Yano via Cygwin wrote on 21.01.21 19:30:
 >
 > That should be the culprit.
 > Is editing /etc/bash.bash_logout the right thing?
 >

Yes that's the solution as I own both machines.

Thanks to all, also for the additional information:

https://sourceware.org/pipermail/cygwin/2021-January/247574.html
https://sourceware.org/pipermail/cygwin/2021-January/247581.html
https://sourceware.org/pipermail/cygwin/2021-January/247584.html

Cheers
Martyn

  reply	other threads:[~2021-01-22 13:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 13:08 Martyn B
2021-01-21 13:13 ` Takashi Yano
2021-01-21 13:29   ` Takashi Yano
2021-01-21 14:45     ` Martyn B
2021-01-21 17:28       ` Takashi Yano
2021-01-21 18:13         ` Ken Brown
2021-01-21 18:30           ` Takashi Yano
2021-01-21 19:06             ` matthew patton
2021-01-21 19:32             ` Ken Brown
2021-01-21 15:13 ` Marco Atzeri
2021-01-21 15:49   ` Martyn B
2021-01-21 16:02     ` matthew patton
2021-01-22  8:16       ` Brian Inglis
2021-01-22 11:10         ` Marco Atzeri
2021-01-22 13:18           ` Martyn B [this message]
2021-01-22 16:16           ` Thomas Wolff
2021-01-23 13:22             ` Martyn B
2021-01-23 14:50               ` Thomas Wolff
2021-01-22 15:27         ` Ken Brown

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=a48cb731-20d5-44ab-8ee5-51e87a461113@stefanist.com \
    --to=mb@stefanist.com \
    --cc=cygwin@cygwin.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).