<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It really helped, Thanks.<br>
<br>
-- Mjbmr<br>
<br>
<div class="moz-cite-prefix">On 11/23/2014 1:18 AM, Krinkle wrote:<br>
</div>
<blockquote
cite="mid:A95F4B82-429A-4CDD-93BF-1C6B6BF9FD2D@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I haven't tried this in labs, but in other cluster I put the
following in bash_profile on most machines behind the same
bastion:
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>screen
-DR</div>
<div><br>
</div>
<div>Then whenever I connect to that host via bastion over ssh
ProxyCommand, it reopens the same screen session (including the
various shell tabs/windows I have within that screen). And when
the connection drops or if I disconnect on purpose, any commands
will keep running in to buffer for when I reconnect.</div>
<div><br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">— Krinkle</div>
</div>
<br>
<div>
<div>On 22 Nov 2014, at 08:06, Mjbmr <<a
moz-do-not-send="true" href="mailto:mjbmri@gmail.com">mjbmri@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hello,<br>
<br>
The article [[Screen]] on Wikitech is only about how to
start a new gnu screen under bash, but is there anyway I can
change my default login shell to use my own compiled gnu
screen?, the difference the this two is when we're
connecting to a bash shell and suddenly the connection
drops, we won't be able to reattach to bash, and it keeps
running, using gnu screen as default login shell makes us
enable to reattach to where we were and it's very easy to
use and it's time saving, we can create another window when
are attached to a window, the future is not possible when
we're connecting to a normal screen under bash unless we
deattach from it and create a new one, the reason I want to
use my own compiled gnu screen is because the default gnu
screen on debian doesn't have some futures like it doesn't
support colors. please let me know if there is a possibility
to have separate login shells for each instance.<br>
<br>
Thank you,<br>
-- Mjbmr<br>
<br>
_______________________________________________<br>
Labs-l mailing list<br>
<a moz-do-not-send="true"
href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.wikimedia.org/mailman/listinfo/labs-l">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Labs-l mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a>
<a class="moz-txt-link-freetext" href="https://lists.wikimedia.org/mailman/listinfo/labs-l">https://lists.wikimedia.org/mailman/listinfo/labs-l</a>
</pre>
</blockquote>
<br>
</body>
</html>