Article View: news.software.readers
Article #263983Re: Syncing article status across computers
From: Eli the Bearded
Date: Sat, 23 May 2020 19:02
Date: Sat, 23 May 2020 19:02
27 lines
2008 bytes
2008 bytes
In news.software.readers, Rob <nomail@example.com> wrote:
> I know screen and I use it for other purposes, but in this case it
> is not convenient because the window sizes on the different systems
> are not the same (due to having different display resolution).
That's true for me too. I use the "detach other" option and then it
is treated like a window size change (as if I had reshaped my xterm[*]).
In my ksh .profile:
if whence screen >/dev/null; then
printf "screen: "
screen -ls
alias SRD="screen -R -D"
fi
if whence tmux >/dev/null; then
printf "tmux: "
tmux list-sessions
alias TRD="tmux attach -d || tmux new-session "
fi
In ksh, "whence" is a built-in that acts like "which" but understands
aliases and shell functions. Use "which" in bash instead.
Elijah
------
[*] I usually uses xterms, but on the phone it is termux
Technical Details
Message-ID:
<eli$2005231502@qaz.wtf>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ra36bl$n67$1@dont-email.me> <slrnrcgffv.5m6.nomail@xs9.xs4all.nl> <eli$2005221856@qaz.wtf> <slrnrchnp6.5mc.nomail@xs9.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <eli$2005231502@qaz.wtf> Subject: Re: Syncing article status across computers Date: Sat, 23 May 2020 19:02:54 +0000 From: Eli the Bearded <*@eli.users.panix.com> References: <ra36bl$n67$1@dont-email.me> <slrnrcgffv.5m6.nomail@xs9.xs4all.nl> <eli$2005221856@qaz.wtf> <slrnrchnp6.5mc.nomail@xs9.xs4all.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail X-Us-Congress: Moronic Fucks. Organization: Some absurd concept Nntp-Posting-Host: panix5.panix.com X-Liz: It's actually happened, the entire Internet is a massive game of Redcode X-Complaints-To: abuse@panix.com User-Agent: Vectrex rn 2.1 (beta) Newsgroups: news.software.readers,news.software.nntp X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix Xfrom: is a real address Encrypted: double rot-13 Lines: 27 X-Attribution: EtB X-Trace: reader1.panix.com 1590260574 7024 166.84.1.5 (23 May 2020 19:02:54 GMT) Nntp-Posting-Date: Sat, 23 May 2020 19:02:54 +0000 (UTC)