Am 23.01.2021 um 14:22 schrieb Martyn B:
Thomas Wolff wrote on 22.01.21 17:16:
The clear is conditional. Maybe the value of $SHLVL after ssh login
has changed somehow?
It's 1 like in Cygwin Terminal on the Windows box
Yeah, but maybe it wasn't 1 before, when it still worked for you?
mar
Thomas Wolff wrote on 22.01.21 17:16:
The clear is conditional. Maybe the value of $SHLVL after ssh login has
changed somehow?
It's 1 like in Cygwin Terminal on the Windows box
martyn@linuxbox:~$ ssh Winuser@
Last login: Sat Jan 23 13:34:48 2021 from
Winuser@WINDOWS-BOX ~
$ echo $SHLVL
1
[somehow my previous response did not go to the list]
Am 22.01.2021 um 12:10 schrieb Marco Atzeri via Cygwin:
On 22.01.2021 09:16, Brian Inglis wrote:
On 2021-01-21 09:02, matthew patton via Cygwin wrote:
On Thursday, January 21, 2021, 10:49:14 AM EST, Martyn B wrote:
On 2021-01-21 11:13, Ken
On 1/22/2021 3:16 AM, Brian Inglis wrote:
On 2021-01-21 09:02, matthew patton via Cygwin wrote:
On Thursday, January 21, 2021, 10:49:14 AM EST, Martyn B wrote:
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:
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 Yan
On 22.01.2021 09:16, Brian Inglis wrote:
On 2021-01-21 09:02, matthew patton via Cygwin wrote:
On Thursday, January 21, 2021, 10:49:14 AM EST, Martyn B wrote:
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:
On 2021-01-21 09:02, matthew patton via Cygwin wrote:
On Thursday, January 21, 2021, 10:49:14 AM EST, Martyn B wrote:
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:
$ cat /etc/defaults/etc/bash.bash_logout
[
On 1/21/2021 1:30 PM, Takashi Yano via Cygwin wrote:
On Thu, 21 Jan 2021 13:13:56 -0500
Ken Brown wrote:
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear ] && /usr/bin/clear
fi
That should be the culprit.
Is editing /etc/bash.bas
On Thursday, January 21, 2021, 01:30:41 PM EST, Takashi Yano via Cygwin
wrote:
On Thu, 21 Jan 2021 13:13:56 -0500
Ken Brown wrote:
> # when leaving the console clear the screen to increase privacy
> if [ "$SHLVL" = 1 ]; then
> [ -x /usr/bin/clear ] && /usr/bin/clear
> fi
That should be t
On Thu, 21 Jan 2021 13:13:56 -0500
Ken Brown wrote:
> # when leaving the console clear the screen to increase privacy
> if [ "$SHLVL" = 1 ]; then
>[ -x /usr/bin/clear ] && /usr/bin/clear
> fi
That should be the culprit.
Is editing /etc/bash.bash_logout the right thing?
--
Takashi Yano
--
P
On 1/21/2021 12:28 PM, Takashi Yano via Cygwin wrote:
On Thu, 21 Jan 2021 15:45:28 +0100
Martyn B wrote:
- same behavior if I use "exit" or "logout".
"bash_logout" gives me "command not found"
- shell is /bin/bash on both sides
What does "cat ~/.bash_logout" say?
- the command "cygchec
On Thu, 21 Jan 2021 15:45:28 +0100
Martyn B wrote:
> - same behavior if I use "exit" or "logout".
> "bash_logout" gives me "command not found"
> - shell is /bin/bash on both sides
What does "cat ~/.bash_logout" say?
> - the command "cygcheck -c Cygwin" clears the local lines from
> scre
On Thursday, January 21, 2021, 10:49:14 AM EST, Martyn B
wrote:
> 1) understand why this happens. - Is this the Cygwin standard behavior?
Not in the slightest.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:
Marco Atzeri via Cygwin wrote on 21.01.21 16:13:
very simple:
ssh |& tee /tmp/ssh.log
you can also use screen logging capability
https://stackpointer.io/unix/linux-ssh-session-logging/564/
Thanks for the suggestions. I am aware of tee and screen and might as
well even copy/paste the scree
On 21.01.2021 14:08, Martyn B wrote:
Hi list!
Usually after an ssh session, the lines in my terminal are persistant
after exiting the session. This is what I need.
But at the moment when I exit an ssh session into Cygwin, the terminal
gets cleared and all session information is lost.
How c
Takashi Yano via Cygwin wrote on 21.01.21 14:29:
Takashi Yano via Cygwin wrote:
Please update cygwin to 3.1.7.
Sorry, I might misunderstand your problem.
Does your problem happen when you exit from ssh session to cygwin?
If so, are you using ~/.bash_logout (for bash) or ~/.logout (for tcsh)
On Thu, 21 Jan 2021 22:13:53 +0900
Takashi Yano via Cygwin wrote:
> On Thu, 21 Jan 2021 14:08:45 +0100
> Martyn B wrote:
> > Hi list!
> >
> > Usually after an ssh session, the lines in my terminal are persistant
> > after exiting the session. This is what I need.
> >
> > But at the moment when
On Thu, 21 Jan 2021 14:08:45 +0100
Martyn B wrote:
> Hi list!
>
> Usually after an ssh session, the lines in my terminal are persistant
> after exiting the session. This is what I need.
>
> But at the moment when I exit an ssh session into Cygwin, the terminal
> gets cleared and all session inf
Hi list!
Usually after an ssh session, the lines in my terminal are persistant
after exiting the session. This is what I need.
But at the moment when I exit an ssh session into Cygwin, the terminal
gets cleared and all session information is lost.
How can I change this behavior? I need the
19 matches
Mail list logo