Files
ScreenInit/Readme.md

22 lines
619 B
Markdown
Raw Permalink Normal View History

2021-12-14 08:46:13 +09:00
# Sceen init scripts
Init screens from config files
`screen_init.sh <config>`
## Config file layout
2024-11-20 23:50:29 +09:00
```txt
2021-12-14 09:28:51 +09:00
<screen session name>
<window name>#<command>;<command>;
#
;<ignored line>
2021-12-14 08:46:13 +09:00
```
- `screen session name` is the name you use for gstting the screen session name, see `screen -ls`. Must be Alphanumeric without spaces and cannot be empty
- `window name` is the name for this window
- `command` can be any comamnd sequence separated by `;`. If nothing given default `^C` shell is used
- If there is only a `#` an empty unnamed window is opened
- if a line starts with `;` it is skipped
- empty lines are ignored