Megatest

Check-in [83e24c295f]
Login
Overview
Comment:Updated transport-mode templates
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.80
Files: files | file ages | folders
SHA1: 83e24c295f449072bd9162121b1247297e232bd7
User & Date: matt on 2023-03-13 08:37:58
Other Links: branch diff | manifest | tags
Context
2023-03-14
08:06
Make server timeout configurable using existing settings check-in: ad08451b0a user: matt tags: v1.80
2023-03-13
12:16
Changed version to 1.8008 check-in: d917a7ad37 user: mmgraham tags: v1.80, v1.8008
08:37
Updated transport-mode templates check-in: 83e24c295f user: matt tags: v1.80
2023-03-12
12:47
Got original sync working again check-in: 21debe6bae user: matt tags: v1.80
Changes

Modified dashboard-transport-mode.scm.template from [11933b2545] to [c59d475c4f].

11
12
13
14
15
16
17
18

19
20
21
22
11
12
13
14
15
16
17

18
19
20
21
22







-
+





;; uncomment this block to test without tcp or inmem
;; (dbfile:sync-method 'none)
;; (dbfile:cache-method 'none)
;; (rmt:transport-mode 'nfs)

;; uncomment this block to test with tcp and inmem
(dbfile:sync-method 'attach)
(dbfile:sync-method 'original)
(dbfile:cache-method 'inmem)
(rmt:transport-mode 'tcp)


Modified transport-mode.scm.template from [11933b2545] to [7b4174ac3b].

11
12
13
14
15
16
17
18

19
20
21
22
11
12
13
14
15
16
17

18
19
20
21
22







-
+





;; uncomment this block to test without tcp or inmem
;; (dbfile:sync-method 'none)
;; (dbfile:cache-method 'none)
;; (rmt:transport-mode 'nfs)

;; uncomment this block to test with tcp and inmem
(dbfile:sync-method 'attach)
(dbfile:sync-method 'original) ;; attach)
(dbfile:cache-method 'inmem)
(rmt:transport-mode 'tcp)


Modified utils/viewscreen from [fe2bbf9f4f] to [fb076cca7f].

14
15
16
17
18
19
20
21

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

14
15
16
17
18
19
20

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

36







-
+














-
+
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#     GNU General Public License for more details.
# 
#     You should have received a copy of the GNU General Public License
#     along with Megatest.  If not, see <http://www.gnu.org/licenses/>.

if ! type screen &> /dev/null;then
  xterm -geometry 180x20 -e "$*;echo Press any key to continue;bash -c 'read -n 1 -s'" &
  xterm -geometry 180x20 -e "$*;echo Press any key to continue;bash -c 'read -n 1 -s'"
  exit
fi

if [[ $(screen -list | egrep 'Attached|Detached'|awk '{print $1}') == "" ]];then
    # echo "No screen found for displaying to. Run \"screen\" in an xterm"
    # exit 1
    xterm -e screen -e^ff &
    sleep 1
    screen -X hardstatus off
    screen -X hardstatus alwayslastline
    screen -X hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W} %c %{g}]'
fi

cmd="cd $PWD;$*"
screen -X screen bash -c "$cmd;echo \"Press any key to continue, ctrl-f <space> to see other windows\";bash -c 'read -n 1 -s'" &
screen -X screen bash -c "$cmd;echo \"Press any key to continue, ctrl-f <space> to see other windows\";bash -c 'read -n 1 -s'"