tty swtch key
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I could have sworn that I used the tty swtch feature once many years ago and that it sent a special signal to the shell, causing it to be suspended and return you to the parent shell, as if you had entered the suspend command. I can't find the signal in the man pages now, and using stty to set a swtch key and hitting it does nothing. Is this unimplemented on linux, and if so, shouldn't the man page be updated to reflect that?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTMyDFAAoJEI5FoCIzSKrw5/8IAIlrwdqcGiPX3uIjttm1E3sh dltS5nUj9YP+blgsQ4h5uu8m/bzFGp19ocx7OlO3/1qESyuGpnwoNr9wJtzXB8YV xqqbhlsIF+9dxdD9CUIcHkt+hb7Hu6WDh7YfJRfctfbQgYYVNYKbQgQrl9AMrNmK DNtXJy90KUhpwqtR9RuOfbwcLsZUU4AsfyqujQs1zBbhAJm9i3JrUGewBUZ0QFOe M2IW8619AW/qoI//ko1rNVkUBPraZAf4K/XeoQbmT87ch778E+EeWPZhClOlmbM2 QsynEnjy3uUj0r3A5ja97dphjeyGegHI7wpMVLnLs3iR9USOBrlwqll7b2IJYBw= =DP1V
-----END PGP SIGNATURE-----
Quoted 7 lines · Phillip Susi
I could have sworn that I used the tty swtch feature once many years ago and that it sent a special signal to the shell, causing it to be suspended and return you to the parent shell, as if you had entered the suspend command. I can't find the signal in the man pages now, and using stty to set a swtch key and hitting it does nothing. Is this unimplemented on linux, and if so, shouldn't the man page be updated to reflect that?
AFAIK, Linux never had this feature built-in. I'm not quite old enough to have actually used it, but I've read and saved a few Usenet posts that say shl ("shell layers") only existed in very old Unix versions like SVR3, to compete with BSD-style job control.
(Looks like Google Groups removed find-by-Message-ID, unfortunately. I guess I could just attach all of the posts...)
On the other hand, there _is_ a reimplementation of shl for Linux and Solaris, as part of heirloom-toolchest
<http://heirloom.sourceforge.net/tools.html> and
<http://heirloom.sourceforge.net/man/shl.1.html>.
Signature · 1 line
Mantas Mikulėnas <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · Mantas Mikulėnas
On the other hand, there _is_ a reimplementation of shl for Linux and Solaris, as part of heirloom-toolchest
<http://heirloom.sourceforge.net/tools.html> and
<http://heirloom.sourceforge.net/man/shl.1.html>.
How so? It has to be implemented in the kernel tty layer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTNHqMAAoJEI5FoCIzSKrwWIwIAJ1AgQuHn5RMQkWlO11WrA85 Nu1QnJvD/Ubyxchl5L+vbGTXXz2rkb8UKBhzeSZsg4cSO3dTUBL45PunC3+Wh0uk UYNAtdTmaftiJ4P0OHeO7Q20u7OyzEK4y62aUk65ul5t2m5t6zJMViQhyQeTGqHh aE2Yz99H3ZycaixcdaTvvc7DK0hLvwr0Zm4vC1oOvHKGobvAvL2dy+Z+2WzBCZ/+ f52dsIObvhprAAeyBykjvoSHvPPCJpuIz3RXtS7yv9wbBr7vqFG43bNBeyEOZgkV xoZDDAj6o1lrYRjUWmqdyOxbQ6/p8q98kCSk80lLORc4+fr7HdNvRUcIpkOsPeo= =1Xr+
-----END PGP SIGNATURE-----
Quoted 8 lines · Phillip Susi
Quoted 4 lines · Mantas Mikulėnas
On the other hand, there _is_ a reimplementation of shl for Linux and Solaris, as part of heirloom-toolchest
<http://heirloom.sourceforge.net/tools.html> and
<http://heirloom.sourceforge.net/man/shl.1.html>.How so? It has to be implemented in the kernel tty layer.
Not necessarily – remember that screen and tmux and dtach were implemented entirely in user space. Similarly, heirloom's shl appears to be built on top of ptys, probably just intercepting the "switch" key and relaying the rest.
Actually it sounds quite similar to the descriptions of how the old shl worked... (see Message-ID: <[email protected]>)
Signature · 1 line
Mantas Mikulėnas <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 3 lines · Mantas Mikulėnas
Actually it sounds quite similar to the descriptions of how the old shl worked... (see Message-ID:
<[email protected]>)
See that message id where?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTNI6oAAoJEI5FoCIzSKrwgpUH/Ag8tpw3KXBY8Yq3gopJ5kHy xngV/ZmnoplMKttwg/AvZNc3m2bgerUgjZB4TYYlDbAPw+IYvyIfcw48MA169hog bd+tVFiUTtc9nOLzWsPbXRjHn9RYq1OnS90UZvjR+aNytYQTruaE6iOstxVcgJL4 WugWb/b+Oq+H2DtR6RGZL4akR7zM0I+AVGoUNtNaw3g3j/x7uOd8Xg9OEJ0APQmL 2BS8zYLHFbivaITWDx182L6FlDi9SEfBvwp1qDUKEG20o2I0yGjBaHvYhF7brEER Swg5Q6xwHDjgI1mZ4aNB6JHv2kC9ojNp0d4LpRDPneks8IgI7n0XB4dMMqKNSm0= =j8Bt
-----END PGP SIGNATURE-----
A message that is not in the archive (sent off-list or not yet received): [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Quoted 10 lines · Mantas Mikulėnas
Quoted 6 lines · Phillip Susi
Quoted 3 lines · Mantas Mikulėnas
Actually it sounds quite similar to the descriptions of how the old shl worked... (see Message-ID:
<[email protected]>)See that message id where?
The mbox folder attached to the previous message, unless it got lost.
Thanks, I didn't notice the attachment. So it sounds like maybe this should be removed from both stty and the kernel then, since it was never implemented and won't ever be?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCgAGBQJTNNSaAAoJEI5FoCIzSKrw7L8IAJJTMS+LpfUTQHQZRlb6A8zZ MYKSvL7dCTt/BkJmAz7r/+f0qZSVZInuJnySoeyTgmcHD45M6AWSvZrfmNqwH+d5 8L5MSUBG8tdCCP6ByruhbJJD/txheO0BmwabslZlwxA7tNgf46FfiSbG/IQLczqa 4H1fIQc+oWruIWfQ8q0T+bUy0BJJAx9uMu6vkgAW6L5g6pBbFRn6fsppf+fF04f7 rDc51/Uk0FOntRm+cu58al9N+18K+Q9/K9fVcGeEbXsMk2KjCb5E76hQwPWnu0mV QVzWWOck+3mplaITwWPhy2tabsxk1q1TcvyvWyj0GKKaVnmvBioM3E1GMZ8PEr4= =3JZD
-----END PGP SIGNATURE-----
Quoted 8 lines · Mantas Mikulėnas, le Thu 27 Mar 2014 22:12:41 +0200, a écrit :
Quoted 7 lines · Phillip Susi
Quoted 4 lines · Mantas Mikulėnas
On the other hand, there _is_ a reimplementation of shl for Linux and Solaris, as part of heirloom-toolchest
<http://heirloom.sourceforge.net/tools.html> and
<http://heirloom.sourceforge.net/man/shl.1.html>.
Quoted 4 lines
Quoted 1 line
How so? It has to be implemented in the kernel tty layer.
Not necessarily – remember that
screenandtmuxanddtachwere implemented entirely in user space.
Err, no, they have to depend on some kernel features. For instance, you want to be able to ^C a program running in a sudo shell. Only the kernel can do that.
Samuel
Quoted 4 lines
From: Mantas Mikulėnas <[email protected]>
(Looks like Google Groups removed find-by-Message-ID, unfortunately. I guess I could just attach all of the posts...)
It looks like you can fake that.
https://groups.google.com/forum/#!topic/news.software.readers/IdRY8FQh8xE
reports:
Also, you can use Google Groups to point to an article, like this:
https://groups.google.com/forum/#!original/alt.free.newsservers/I6gEnVSP8eI/0Eg5aLNbi0UJ
Which is a link to the source, header and all, unformatted.
⋅AND⋅, when you hit the big "Back Arrow" button,
it places you on the proper article, in the thread/topic, properly formatted, on the proper page of the thread/topic ! !
Dale