This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
пакет_screen [2016/09/08 10:41] val [Пакет screen] |
пакет_screen [2023/12/26 13:47] (current) val [Пакет screen] |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[http://hlabs.spb.ru/development/screen|Возможности Screen]] | * [[http://hlabs.spb.ru/development/screen|Возможности Screen]] | ||
* [[https://youtu.be/YXSC7KeIq3E|Видео урок]] | * [[https://youtu.be/YXSC7KeIq3E|Видео урок]] | ||
+ | * [[http://www.dayid.org/comp/tm.html|tmux & screen cheat-sheet]] | ||
+ | * [[https://unix.stackexchange.com/questions/200637/save-all-the-terminal-output-to-a-file|Save all the terminal output to a file]] | ||
===== Установка ===== | ===== Установка ===== | ||
Line 26: | Line 28: | ||
$ screen -r longtask | $ screen -r longtask | ||
+ | |||
+ | $ screen -d -r longtask | ||
</code> | </code> | ||
Line 38: | Line 42: | ||
#shell /bin/csh | #shell /bin/csh | ||
</code><code> | </code><code> | ||
+ | user1$ chsh | ||
+ | ... | ||
+ | или | ||
root# usermod -s /usr/bin/screen user1 | root# usermod -s /usr/bin/screen user1 | ||
или | или | ||
Line 74: | Line 81: | ||
===== Подключение к терминальному устройству ===== | ===== Подключение к терминальному устройству ===== | ||
<code> | <code> | ||
- | # screen /dev/tty.usbmodemfa2321 115200 | + | linux# screen /dev/tty.usbmodemfa2321 115200 |
+ | |||
+ | macosx# screen /dev/tty.PL2303* 9600 | ||
Ctrl-a k | Ctrl-a k | ||
</code> | </code> |