diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/Makefile.am /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/Makefile.am --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/Makefile.am 2024-12-01 15:33:45.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/Makefile.am 2024-12-23 13:42:36.000000000 +0000 @@ -53,5 +53,5 @@ -D 'TSESS_VERSION="$(PACKAGE_VERSION)"' -tsess_LDADD = $(srcdir)/bin/tsess/tsess.ha +tsess_LDADD = $(srcdir)/bin/tsess/ BUILT_SOURCES = $(nodist_tsess_SOURCES) diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/Makefile.in /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/Makefile.in --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/Makefile.in 2024-12-01 15:33:48.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/Makefile.in 2024-12-23 13:42:38.000000000 +0000 @@ -608,5 +608,5 @@ -D 'TSESS_VERSION="$(PACKAGE_VERSION)"' -tsess_LDADD = $(srcdir)/bin/tsess/tsess.ha +tsess_LDADD = $(srcdir)/bin/tsess/ BUILT_SOURCES = $(nodist_tsess_SOURCES) LOG_COMPILER = $(srcdir)/test/ttest diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/bin/gen_env/gen_env.ha /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/bin/gen_env/gen_env.ha --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/bin/gen_env/gen_env.ha 2024-12-01 15:33:45.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/bin/gen_env/gen_env.ha 2024-12-23 13:42:36.000000000 +0000 @@ -67,5 +67,4 @@ }; -// TODO: env_ export let env_args = env { $args diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/bin/tsess/config/edit.ha /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/bin/tsess/config/edit.ha --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/bin/tsess/config/edit.ha 2024-12-01 15:33:45.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/bin/tsess/config/edit.ha 2024-12-23 13:42:36.000000000 +0000 @@ -75,7 +75,4 @@ exec::wait(&proc)?; - // XXX: if empty do nothing - // XXX: 'tsess check' the file and reopen editor - os::move(edit_tmp, path)?; }; diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/bin/tsess/lexer/lex.ha /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/bin/tsess/lexer/lex.ha --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/bin/tsess/lexer/lex.ha 2024-12-01 15:33:45.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/bin/tsess/lexer/lex.ha 2024-12-23 13:42:36.000000000 +0000 @@ -16,6 +16,4 @@ }; -export fn mklexer::foo::bar::baz() void = void; - export fn mklexer(path: str, src: str) lexer = { let scan = text::scan(path, src); diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/example.tsess /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/example.tsess --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/example.tsess 2024-11-15 22:42:22.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/example.tsess 2024-12-23 09:47:44.000000000 +0000 @@ -1,16 +1,18 @@ -# we start with session properties -name = my-session -root = "~/my/working/directory" +# We start with session properties, unknown tsess properties +# fall back to tmux options. +name = tsess-devel +root = "~/src" mouse = off # tmux session option env[GIT_CONFIG_GLOBAL] = "~/.config/git/hobby_config" -# this is a window template +# This is a window template. [@project@] -# below are window properties +# Below are window and pane properties. layout = main-horizontal main-pane-height = '80%' # tmux window option root = "@project@" # relative to the session root -pane.editor.allow-rename = on # tmux pane option +pane.editor.split = above +pane.editor.allow-set-title = on # tmux pane option pane.prompt.send-keys = << EOF git fetch @@ -18,9 +20,11 @@ EOF -# this is a window based on the template +# This is a window based on the template. [project:tsess] env[HARECACHE] = "#{@tsess_win_root}/.harecache" pane.editor.send-keys = 'vim $(find -name "*.ha")' -[project:vclpp] -pane.editor.send-keys = 'vim src/*.rs' +# This is another window. +[project:tmux] +env[CC] = clang +pane.editor.send-keys = 'vim *.[ch]' diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1 /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1 --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1 2024-12-01 15:34:57.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1 2024-12-23 16:25:48.000000000 +0000 @@ -6,5 +6,5 @@ .ad l .\" Begin generated content: -.TH "tsess" "1" "2024-12-01" "tsess 0.6" +.TH "tsess" "1" "2024-12-23" "tsess 0.6" .PP .PP diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1.cksum /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1.cksum --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1.cksum 2024-12-01 15:34:57.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1.cksum 2024-12-23 16:25:48.000000000 +0000 @@ -1 +1 @@ -3957932583 5680 man/tsess.1.scd +1549617789 5550 man/tsess.1.scd diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1.scd /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1.scd --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1.scd 2024-12-01 15:33:49.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1.scd 2024-12-23 16:25:47.000000000 +0000 @@ -167,6 +167,4 @@ name of the file providing *tsess* shell utilities. -; TODO: rename XDG_CONFIG_HOME field to config_dir -; TODO: new 'tsess gc [-d]' subcommand (bikeshed: discard, clea[nr], purge...) *TSESS_DATA_HOME* (_${XDG_DATA_HOME}/tsess_) The directory where the *tsess* bash profile stores files. diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1.scd.in /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1.scd.in --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.1.scd.in 2024-12-01 15:33:45.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.1.scd.in 2024-12-23 13:42:36.000000000 +0000 @@ -63,6 +63,4 @@ name of the file providing *tsess* shell utilities. -; TODO: rename XDG_CONFIG_HOME field to config_dir -; TODO: new 'tsess gc [-d]' subcommand (bikeshed: discard, clea[nr], purge...) *TSESS_DATA_HOME* (_${XDG_DATA_HOME}/tsess_) The directory where the *tsess* bash profile stores files. diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5 /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5 --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5 2024-12-01 15:34:57.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5 2024-12-23 16:25:48.000000000 +0000 @@ -6,5 +6,5 @@ .ad l .\" Begin generated content: -.TH "tsess" "5" "2024-12-01" "tsess 0.6" +.TH "tsess" "5" "2024-12-23" "tsess 0.6" .PP .PP @@ -145,8 +145,10 @@ .SH ENVIRONMENT VARIABLES .PP -Environment variables can contain \fBtmux\fR options that are expanded before the -creation of windows or panes.\& +Environment variables are expanded before the creation of windows and panes.\& +The resulting \fBtsess\fR properties or \fBtmux\fR options can themselves contain +\fBtmux\fR options expanded by \fBtmux\fR itself.\& .PP -The following \fBtmux\fR user options are provided: +For the scope of an individual window or pane, \fBtsess\fR temporarily exports +\fBtmux\fR user options: .PP .PD 0 @@ -163,18 +165,20 @@ .nf .RS 4 -# we start with session properties -name = my-session -root = "~/my/working/directory" +# We start with session properties, unknown tsess properties +# fall back to tmux options\&. +name = tsess-devel +root = "~/src" mouse = off # tmux session option env[GIT_CONFIG_GLOBAL] = "~/\&.config/git/hobby_config" -# this is a window template +# This is a window template\&. [@project@] -# below are window properties +# Below are window and pane properties\&. layout = main-horizontal main-pane-height = \&'80%\&' # tmux window option root = "@project@" # relative to the session root -pane\&.editor\&.allow-rename = on # tmux pane option +pane\&.editor\&.split = above +pane\&.editor\&.allow-set-title = on # tmux pane option pane\&.prompt\&.send-keys = << EOF git fetch @@ -182,16 +186,18 @@ EOF -# this is a window based on the template +# This is a window based on the template\&. [project:tsess] env[HARECACHE] = "#{@tsess_win_root}/\&.harecache" pane\&.editor\&.send-keys = \&'vim $(find -name "*\&.ha")\&' -[project:vclpp] -pane\&.editor\&.send-keys = \&'vim src/*\&.rs\&' +# This is another window\&. +[project:tmux] +env[CC] = clang +pane\&.editor\&.send-keys = \&'vim *\&.[ch]\&' .fi .RE .PP -The \fIpane.\&editor.\&allow-rename\fR property refers to the \fIallow-rename\fR option -for \fBtmux\fR panes.\& +The \fIpane.\&editor.\&allow-set-title\fR property refers to the \fIallow-set-title\fR +option for \fBtmux\fR panes.\& .PP .SH SYNTAX diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5.cksum /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5.cksum --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5.cksum 2024-12-01 15:34:57.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5.cksum 2024-12-23 16:25:48.000000000 +0000 @@ -1 +1 @@ -806218824 8427 man/tsess.5.scd +380575085 8685 man/tsess.5.scd diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5.scd /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5.scd --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5.scd 2024-12-01 15:33:49.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5.scd 2024-12-23 16:25:47.000000000 +0000 @@ -126,8 +126,10 @@ # ENVIRONMENT VARIABLES -Environment variables can contain *tmux* options that are expanded before the -creation of windows or panes. +Environment variables are expanded before the creation of windows and panes. +The resulting *tsess* properties or *tmux* options can themselves contain +*tmux* options expanded by *tmux* itself. -The following *tmux* user options are provided: +For the scope of an individual window or pane, *tsess* temporarily exports +*tmux* user options: ; XXX: generate somehow? @@ -140,18 +142,20 @@ ``` -# we start with session properties -name = my-session -root = "~/my/working/directory" +# We start with session properties, unknown tsess properties +# fall back to tmux options. +name = tsess-devel +root = "~/src" mouse = off # tmux session option env[GIT_CONFIG_GLOBAL] = "~/.config/git/hobby_config" -# this is a window template +# This is a window template. [@project@] -# below are window properties +# Below are window and pane properties. layout = main-horizontal main-pane-height = '80%' # tmux window option root = "@project@" # relative to the session root -pane.editor.allow-rename = on # tmux pane option +pane.editor.split = above +pane.editor.allow-set-title = on # tmux pane option pane.prompt.send-keys = << EOF git fetch @@ -159,15 +163,17 @@ EOF -# this is a window based on the template +# This is a window based on the template. [project:tsess] env[HARECACHE] = "#{@tsess_win_root}/.harecache" pane.editor.send-keys = 'vim $(find -name "*.ha")' -[project:vclpp] -pane.editor.send-keys = 'vim src/*.rs' +# This is another window. +[project:tmux] +env[CC] = clang +pane.editor.send-keys = 'vim *.[ch]' ``` -The _pane.editor.allow-rename_ property refers to the _allow-rename_ option -for *tmux* panes. +The _pane.editor.allow-set-title_ property refers to the _allow-set-title_ +option for *tmux* panes. # SYNTAX diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5.scd.in /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5.scd.in --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/man/tsess.5.scd.in 2024-11-08 22:45:20.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/man/tsess.5.scd.in 2024-12-23 09:50:17.000000000 +0000 @@ -39,8 +39,10 @@ # ENVIRONMENT VARIABLES -Environment variables can contain *tmux* options that are expanded before the -creation of windows or panes. +Environment variables are expanded before the creation of windows and panes. +The resulting *tsess* properties or *tmux* options can themselves contain +*tmux* options expanded by *tmux* itself. -The following *tmux* user options are provided: +For the scope of an individual window or pane, *tsess* temporarily exports +*tmux* user options: ; XXX: generate somehow? @@ -56,6 +58,6 @@ ``` -The _pane.editor.allow-rename_ property refers to the _allow-rename_ option -for *tmux* panes. +The _pane.editor.allow-set-title_ property refers to the _allow-set-title_ +option for *tmux* panes. # SYNTAX diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/test/test_example_sess.sh /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/test/test_example_sess.sh --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/test/test_example_sess.sh 2024-11-28 22:25:09.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/test/test_example_sess.sh 2024-12-23 09:46:34.000000000 +0000 @@ -7,6 +7,6 @@ ttest_tsess_expect out << 'EXAMPLE_TSESS' -name = my-session -root = '~/my/working/directory' +name = tsess-devel +root = '~/src' mouse = off env[GIT_CONFIG_GLOBAL] = '~/.config/git/hobby_config' @@ -18,5 +18,6 @@ env[HARECACHE] = '#{@tsess_win_root}/.harecache' pane.editor.send-keys = 'vim $(find -name "*.ha")' -pane.editor.allow-rename = on +pane.editor.split = above +pane.editor.allow-set-title = on pane.prompt.send-keys = << 'EOF' git fetch @@ -24,10 +25,12 @@ EOF -[vclpp] +[tmux] layout = main-horizontal -root = vclpp +root = tmux main-pane-height = '80%' -pane.editor.send-keys = 'vim src/*.rs' -pane.editor.allow-rename = on +env[CC] = clang +pane.editor.send-keys = 'vim *.[ch]' +pane.editor.split = above +pane.editor.allow-set-title = on pane.prompt.send-keys = << 'EOF' git fetch @@ -41,12 +44,12 @@ tmock_cmd -u -C new-session -f no-output -P -F '#{session_id} #{window_id}' -# my-session +# tsess-devel tmock_ctl -- reply '$1 @1' -tmock_ctl has-session -t my-session -- error "can't find session: session" +tmock_ctl has-session -t tsess-devel -- error "can't find session: session" tmock_ctl set-environment GIT_CONFIG_GLOBAL '~/.config/git/hobby_config' -tmock_ctl set-environment TSESS my-session +tmock_ctl set-environment TSESS tsess-devel tmock_ctl set-option mouse off -sess_root='~/my/working/directory' +sess_root='~/src' # [project:tsess] @@ -67,5 +70,5 @@ tmock_ctl display-message -p '"HARECACHE=#{@tsess_win_root}/.harecache"' -- \ reply HARECACHE=$sess_root/tsess/.harecache -tmock_ctl split-window -c $sess_root/tsess -P -F '"#{pane_pid}"' \ +tmock_ctl split-window -v -b -c $sess_root/tsess -P -F '"#{pane_pid}"' \ -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config \ -e HARECACHE=$sess_root/tsess/.harecache \ @@ -73,5 +76,5 @@ tmock_ctl display-message $sess_root/tsess -- reply $sess_root/tsess tmock_ctl display-message '"#{pane_current_path}"' -- reply $sess_root/tsess -tmock_ctl set-option -p allow-rename on +tmock_ctl set-option -p allow-set-title on tmock_ctl send-keys '"vim $(find -name \"*.ha\")"' C-m @@ -97,37 +100,40 @@ tmock_ctl run-shell '"kill -s winch 456"' -# [project:vclpp] -tmock_ctl set-option @tsess_win_root $sess_root/vclpp +# [project:tmux] +tmock_ctl set-option @tsess_win_root $sess_root/tmux tmock_ctl display-message -p 'GIT_CONFIG_GLOBAL=~/.config/git/hobby_config' -- \ reply 'GIT_CONFIG_GLOBAL=~/.config/git/hobby_config' -tmock_ctl new-window -c $sess_root/vclpp -n vclpp -P -F '"#{pane_id}"' \ - -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config -- reply %4 +tmock_ctl display-message -p 'CC=clang' -- reply 'CC=clang' +tmock_ctl new-window -c $sess_root/tmux -n tmux -P -F '"#{pane_id}"' \ + -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config -e CC=clang -- reply %4 tmock_ctl set-option -w main-pane-height '80%' # pane.editor (PID=789) -tmock_ctl set-option @tsess_pane_root $sess_root/vclpp +tmock_ctl set-option @tsess_pane_root $sess_root/tmux tmock_ctl display-message -p 'GIT_CONFIG_GLOBAL=~/.config/git/hobby_config' -- \ reply 'GIT_CONFIG_GLOBAL=~/.config/git/hobby_config' -tmock_ctl split-window -c $sess_root/vclpp -P -F '"#{pane_pid}"' \ - -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config \ - -e TSESS_WINDOW=vclpp -e TSESS_PANE=editor -- reply 789 -tmock_ctl display-message $sess_root/vclpp -- reply $sess_root/vclpp -tmock_ctl display-message '"#{pane_current_path}"' -- reply $sess_root/vclpp -tmock_ctl set-option -p allow-rename on -tmock_ctl send-keys '"vim src/*.rs"' C-m +tmock_ctl display-message -p 'CC=clang' -- reply 'CC=clang' +tmock_ctl split-window -v -b -c $sess_root/tmux -P -F '"#{pane_pid}"' \ + -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config -e CC=clang \ + -e TSESS_WINDOW=tmux -e TSESS_PANE=editor -- reply 789 +tmock_ctl display-message $sess_root/tmux -- reply $sess_root/tmux +tmock_ctl display-message '"#{pane_current_path}"' -- reply $sess_root/tmux +tmock_ctl set-option -p allow-set-title on +tmock_ctl send-keys '"vim *.[ch]"' C-m # pane.prompt (PID=777) -tmock_ctl set-option @tsess_pane_root $sess_root/vclpp +tmock_ctl set-option @tsess_pane_root $sess_root/tmux tmock_ctl display-message -p 'GIT_CONFIG_GLOBAL=~/.config/git/hobby_config' -- \ reply 'GIT_CONFIG_GLOBAL=~/.config/git/hobby_config' -tmock_ctl split-window -c $sess_root/vclpp -P -F '"#{pane_pid}"' \ - -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config \ - -e TSESS_WINDOW=vclpp -e TSESS_PANE=prompt -- reply 777 -tmock_ctl display-message $sess_root/vclpp -- reply $sess_root/vclpp -tmock_ctl display-message '"#{pane_current_path}"' -- reply $sess_root/vclpp +tmock_ctl display-message -p 'CC=clang' -- reply 'CC=clang' +tmock_ctl split-window -c $sess_root/tmux -P -F '"#{pane_pid}"' \ + -e GIT_CONFIG_GLOBAL=~/.config/git/hobby_config -e CC=clang \ + -e TSESS_WINDOW=tmux -e TSESS_PANE=prompt -- reply 777 +tmock_ctl display-message $sess_root/tmux -- reply $sess_root/tmux +tmock_ctl display-message '"#{pane_current_path}"' -- reply $sess_root/tmux tmock_ctl send-keys '"git fetch"' C-m tmock_ctl send-keys '"git status"' C-m -# [project:vclpp] +# [project:tmux] tmock_ctl kill-pane -t %4 tmock_ctl select-layout main-horizontal @@ -135,5 +141,5 @@ tmock_ctl run-shell '"kill -s winch 777"' -# my-session +# tsess-devel tmock_ctl set-option -u @tsess_pane_root tmock_ctl set-option -u @tsess_win_root @@ -141,10 +147,10 @@ tmock_ctl select-window -n tmock_ctl kill-window -t @1 -tmock_ctl rename-session my-session +tmock_ctl rename-session tsess-devel EOF ttest_mkmock <<'EOF' -tmock_cmd attach-session -c '~/my/working/directory' -t my-session +tmock_cmd attach-session -c '~/src' -t tsess-devel EOF -ttest_tsess -d attach my-session +ttest_tsess -d attach tsess-devel diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/tsess.spec /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/tsess.spec --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/tsess.spec 2024-12-01 15:33:49.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/tsess.spec 2024-12-23 16:25:48.000000000 +0000 @@ -1,2 +1,4 @@ +%global _distro_extra_ldflags -fuse-ld=lld + Name: tsess Version: 0.6 @@ -8,5 +10,7 @@ Source: %{url}/refs/download/%{name}-%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc BuildRequires: hare +BuildRequires: lld BuildRequires: make BuildRequires: pkgconfig(bash-completion) diff -U2 -r /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/tsess.spec.in /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/tsess.spec.in --- /var/lib/copr-rpmbuild/results/tsess/upstream-unpacked/Source0/tsess-0.6/tsess.spec.in 2024-11-06 23:02:06.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/tsess/srpm-unpacked/tsess-0.6.tar.gz-extract/tsess-0.6/tsess.spec.in 2024-12-23 16:25:16.000000000 +0000 @@ -1,2 +1,4 @@ +%global _distro_extra_ldflags -fuse-ld=lld + Name: @PACKAGE@ Version: @VERSION@ @@ -8,5 +10,7 @@ Source: %{url}/refs/download/%{name}-%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc BuildRequires: hare +BuildRequires: lld BuildRequires: make BuildRequires: pkgconfig(bash-completion)