diff --git a/callbacks/parameters.tcl b/callbacks/parameters.tcl index 4ce6a52c..23846816 100644 --- a/callbacks/parameters.tcl +++ b/callbacks/parameters.tcl @@ -29,7 +29,8 @@ namespace eval shellspy::parameters { proc commonset {logtag paramdict} { #timeout for launched process - dict set paramdict -timeout 60000 + #dict set paramdict -timeout 60000 + dict set paramdict -timeout 5000 #prefix for each stdout line - for debugging if this output being mixed with some other dict set paramdict -outprefix "" #prefix for each stderr line - also usually best left blank diff --git a/scriptlib/cmd2.exe b/scriptlib/cmd2.exe deleted file mode 100644 index 5f395865..00000000 Binary files a/scriptlib/cmd2.exe and /dev/null differ diff --git a/scriptlib/j3.zip b/scriptlib/j3.zip deleted file mode 100644 index 0c18c52e..00000000 Binary files a/scriptlib/j3.zip and /dev/null differ diff --git a/scriptlib/packages.tcl b/scriptlib/packages.tcl index 5fafd9b4..45f1c970 100644 --- a/scriptlib/packages.tcl +++ b/scriptlib/packages.tcl @@ -1,3 +1,4 @@ +set ::tclsh(evalinput) 1 set sep [string repeat - 30] puts stdout $sep puts stdout "tcl::tm::list" diff --git a/scriptlib/showargsplus.tcl b/scriptlib/showargsplus.tcl index 9833034b..b735eba0 100644 --- a/scriptlib/showargsplus.tcl +++ b/scriptlib/showargsplus.tcl @@ -1,3 +1,4 @@ +set ::tclsh(evalinput) 1 puts stdout "argc: $::argc" puts stdout "argv one arg per line, each line followed by dotted line." foreach a $::argv { diff --git a/src/scriptapps/xxx.txt b/src/scriptapps/xxx.txt deleted file mode 100644 index 1c742a17..00000000 --- a/src/scriptapps/xxx.txt +++ /dev/null @@ -1 +0,0 @@ -julz \ No newline at end of file diff --git a/src/testansi/ANSIDEMO.BAT b/src/testansi/ANSIDEMO.BAT new file mode 100644 index 00000000..909fff54 --- /dev/null +++ b/src/testansi/ANSIDEMO.BAT @@ -0,0 +1,47 @@ +@ECHO OFF +REM ANSIDEMO.BAT, Version 2.00 +REM Demonstrates the use of ANSI to control +REM text attributes and cursor positioning. +REM Written by Rob van der Woude +REM http://www.robvanderwoude.com + +REM "" is the Escape character, "[" is the Escape character followed by "[" +REM How they will be displayed completely depends on the editor/viewer or +REM browser you use and the selected codepage. + +REM See http://www.robvanderwoude.com/ansi.html for a detailed description +REM of ANSI sequences. + +ECHO Demo of ANSI sequences in batch filesCursor positioning... +FOR %%A IN (6 8 10 12 14 16 18 20) DO ECHO [%%A;%%AH%%A +PAUSE +ECHO Text attributes... +FOR %%A IN (8 10 12 14 16 18 20) DO ECHO [%%A;%%AH%%A +ECHO  +PAUSE +ECHO  +FOR %%A IN (0 1 2 3 4 5 6) DO ECHO [1%%A;1%%AH[0;3%%A;47mForeground color 3%%A +ECHO Foreground color 37 +PAUSE +ECHO N O R M A L F O R E G R O U N D +FOR %%A IN (0 1 2 3 4 5 6 7) DO %COMSPEC% /C FOR %%B IN (0 1 2 3 4 5 6 7) DO ECHO [1%%A;%%B1H[3%%A;4%%Bm 3%%A on 4%%B  +ECHO  +PAUSE +ECHO B R I G H T F O R E G R O U N D +FOR %%A IN (0 1 2 3 4 5 6 7) DO %COMSPEC% /C FOR %%B IN (0 1 2 3 4 5 6 7) DO ECHO [1%%A;%%B1H[3%%A;4%%Bm 3%%A on 4%%B  +ECHO  +PAUSE +ECHO 0 = Normal text1 = Bright text +ECHO 2 = Bright attribute off? probably not, this hardly ever works +ECHO 4 = Underlined or blue5 = Blinking text or bright background +ECHO 7 = Reversed text8 = Invisible text (invisible, except on b/w screen prints) +ECHO  +PAUSE +ECHO  +ECHO. +ECHO As you probably noticed, all kind of "nonsense" is displayed on your screen. +ECHO You obviously need to load ANSI.SYS first and then run this demo again. +ECHO. +ECHO See http://www.robvanderwoude.com/ansi.html for more details +ECHO. +ECHO See http://www.robvanderwoude.com/ansi.html for more details diff --git a/src/testansi/AN_APPLE.ANS b/src/testansi/AN_APPLE.ANS new file mode 100644 index 00000000..0f096e0e --- /dev/null +++ b/src/testansi/AN_APPLE.ANS @@ -0,0 +1,52 @@ +Date: 06 Oct 92 15:57:00 From: Chris Blanton +To: All Subj: Good entry + +  +  +    +    +  +      + +   +   + +    +      +  +      +   +  +   +   +   + +   + +  +  +  + + +  + +  +   +  +  +  +   + +  +  +  +  +  + +   +  +  + +   + + diff --git a/src/testansi/AN_APPLE.GIF b/src/testansi/AN_APPLE.GIF new file mode 100644 index 00000000..967ae005 Binary files /dev/null and b/src/testansi/AN_APPLE.GIF differ diff --git a/src/testansi/Mario_wide.ans b/src/testansi/Mario_wide.ans new file mode 100644 index 00000000..20f01d4e --- /dev/null +++ b/src/testansi/Mario_wide.ans @@ -0,0 +1,18 @@ + MARIO000 TOP1200 LUIGI000 ]8;;http://www.phm.lu/PHM.lu]8;; +  _ _  +   +  () ()  +       +     +   CAN YOU KICK OFF   +   ALL THE PESTS ?   +     +   PHASE 1   +     +   []   +   _ _   +     +   + +Mario Bros. (arcade, wide composition) +by Philippe Majerus (www.phm.lu) diff --git a/src/testansi/MiniColorsWheel.ans b/src/testansi/MiniColorsWheel.ans new file mode 100644 index 00000000..41576f14 --- /dev/null +++ b/src/testansi/MiniColorsWheel.ans @@ -0,0 +1,9 @@ + . -- . + / \ / \ +. _ _\/_ _ . +' /\ ' + \ / \ / + ' -- ' + +Mini RGB Colors Wheel +by Philippe Majerus (www.phm.lu) diff --git a/src/testansi/MorseCode.ans b/src/testansi/MorseCode.ans new file mode 100644 index 00000000..fb236fd4 --- /dev/null +++ b/src/testansi/MorseCode.ans @@ -0,0 +1,22 @@ + + International Morse Code + + ________ dot | - dash _______ + / \ + _______ E _______ ______ T ______ + / \ / (or 0) \ + __ I __ __ A __ _ N _ __ M __ + / \ / \ / \ / \ + S U _ R _ W D K G O + / \ / \ / \ / \ / \ / \ / \ / \ + H V F  L  P J B X C Y Z Q  CH + / \ \ / / \ \ / \ \ / \ / \ / / \ / / \ + 5 4 3 o 2 o + o 1 6 = / o ( 7 o 8 9 0 + / \ / \ / / \ / \ \ \ / + ? _ " . @ ' - ; ! ) , : + ]8;;http://www.phm.lu/PHM.lu]8;; + +International Morse Code binary tree +by Philippe Majerus (www.phm.lu) + +Nodes in dark gray ( CH _ ; !) are not part of ITU M.1677 standard. diff --git a/src/testansi/SonicGreenHillZone.ans b/src/testansi/SonicGreenHillZone.ans new file mode 100644 index 00000000..bad4ad21 --- /dev/null +++ b/src/testansi/SonicGreenHillZone.ans @@ -0,0 +1,24 @@ +  + () () () ]8;;http://www.phm.lu/PHM.lu]8;;  +  +  +  +  +   +   +     +. ' ... +_ _  '_   "_  _' '"  "_   +(_)(#)()(#)(_)(#)()(#)(_)()(#) +* * + +-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + - _ - _ - _ - _ - _ - _ - _ - _ -_ - _ - + - - -  -- -  + + + + + +Sonic the hedgehog - Green Hill Zone (16 colors version) +by Philippe Majerus (www.phm.lu) diff --git a/src/testansi/SonicGreenHillZone256.ans b/src/testansi/SonicGreenHillZone256.ans new file mode 100644 index 00000000..cd1ab6d8 --- /dev/null +++ b/src/testansi/SonicGreenHillZone256.ans @@ -0,0 +1,24 @@ +  + () () () ]8;;http://www.phm.lu/PHM.lu]8;;  +  +  +  +  +   +   +     +. ' ... +_ _  '_   "_  _' '"  "_   +(_)(#)()(#)(_)(#)()(#)(_)()(#) +* * + +-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ +- _ - _ - _ - _ - _ - _ - _ - _ -_ - _ - +-  -  -   --  -  + + + + + +Sonic the hedgehog - Green Hill Zone (256 colors version) +by Philippe Majerus (www.phm.lu) diff --git a/src/testansi/Win10PowerToys.ans b/src/testansi/Win10PowerToys.ans new file mode 100644 index 00000000..ff783874 --- /dev/null +++ b/src/testansi/Win10PowerToys.ans @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/testansi/WindowsTerminal.ans b/src/testansi/WindowsTerminal.ans new file mode 100644 index 00000000..b586be18 --- /dev/null +++ b/src/testansi/WindowsTerminal.ans @@ -0,0 +1,7 @@ +        +  \  \\ /                   +  /   VV   ) (  ( ) \\/ ',  (`    )   ) .ij  + + +Microsoft Windows Terminal 1.0 logo +ANSI-art version by Philippe Majerus, May 2020. diff --git a/src/testansi/Windows_Terminal_octants.txt b/src/testansi/Windows_Terminal_octants.txt new file mode 100644 index 00000000..f0cbff97 --- /dev/null +++ b/src/testansi/Windows_Terminal_octants.txt @@ -0,0 +1,4 @@ + ▄▄▄▄▄▄▄▄▄                                               + █𜷠𜵀𜶫█████  ▝▖ ▖ ▞𜵲𜺠𜺠𜺣 ▂𜷕 ▂𜺣𜺠 𜺣𜺠 ▂  𜺫𜶘🮂𜺠▂ ▂𜺠▂𜺠𜺣𜵲𜺠𜺠𜺣 ▂𜺣▐  + █𜷊𜷌𜷥𜷊𜶺𜶺██   𜴠𜵙𜴠𜵙𜺨▐▐𜺨▐▐ ▐▐ ▐𜴡𜵙𜴠𜵛𜵲𜴜𜴶  ▐ 𜵏𜴆𜴺▌▐ ▌▐▐▐𜺨▐▗𜴆𜶛▐  + ▀▀▀▀▀▀▀▀▀    𜺨 𜺨 𜺫𜺫 𜺫 🮂🮂 🮂𜺨 𜺨 𜺨 🮂   𜺫 𜺫🮂 𜺨𜺫 𜺨𜺫𜺫𜺫 𜺫 🮂🮂𜺫  diff --git a/src/testansi/error_overtype.txt b/src/testansi/error_overtype.txt deleted file mode 100644 index f79a845d..00000000 --- a/src/testansi/error_overtype.txt +++ /dev/null @@ -1,28 +0,0 @@ -----DEBUG----- -looplimit 9932 reached -test_mode:1 -data_mode:0 -prev_row :62 -prev_col :1421359 -result ␛[m[38;5;69;48;5;16m⢸⢿⣧␛[38;5;146;48;5;16m⡤⠤â ⦇P2⦈␛[38;5;69;48;5;16m⣙␛[0m -visualwidth 77 -instruction  -stringlen 85 -overflow_right_column 79 -overflow_right ⣭⣾⣿⣿⣿⣿⣿⣿␛[39;48;5;16mâ ⦇PD⦈â ⦇PD⦈␛[38;5;69;48;5;16mâ¢⦇PD⦈⣴⣿⣿⣿⣿⣦⣯␛[38;5;146;48;5;16mâ ¹â ⦇SC⦈␛[38;5;69;48;5;16m⣿â -unapplied  -unapplied_list  -insert_mode 0 -autowrap_mode 1 -insert_lines_above 0 -insert_lines_below 0 -cursor_saved_position  -cursor_saved_attributes  -cursor_column 1421503 -cursor_row 62 -opt_overflow 0 -replay_codes ␛[m -replay_codes_underlay ␛[m -replay_codes_overlay  --------------- -