blob: 892f6b244ae8c66b3f6fad62edee579ce5e35b8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# argv: bare `pardes` boots one shell already in tty mode; a FILE argument
# opens it ALONE, filling the window (file:LINE scrolls there) — naming a file
# is asking to read it, not to be handed a shell beside it; a DIRECTORY
# argument becomes the cwd the shell spawns in
lines notes.txt 8
file zmarker.txt x
start 31 100
wait 8000 $
stable 700 20000
text echo ARGV''TTY
key enter
wait 8000 ARGVTTY
stable 700 10000
snap noargs
start 31 100 notes.txt:3
wait 8000 Newcol Joincol
wait 8000 line 3
stable 700 20000
snap filearg
# -n and a FILE are not a combination: the file names the whole boot layout, so
# `-n 3` boots the very same single pane (it always did — the file arm never
# looked at the count; before this it merely also stapled a shell to the right)
start 31 100 -n 3 notes.txt
wait 8000 Newcol Joincol
wait 8000 line 1
stable 700 20000
snap filearg-n3
dirmk sub
file sub/inside.txt marker
start 31 100 sub
wait 8000 Newcol Joincol
wait 8000 inside.txt
stable 700 20000
snap dirarg
|