This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Help for those learning Tcl or writing their own scripts.
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Wed Apr 01, 2020 10:16 am
i am try for openbsd not working and i get error
Tcl error [corona:pub]: wrong # args: should be "tls::socket ?options? host port"
how fixed that problem ?
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Thu Apr 02, 2020 3:50 am
you are site is down n i cannot access that site
BLaCkShaDoW
Op
Posts: 120 Joined: Sun Jan 11, 2009 4:50 am
Location: Romania
Contact:
Post
by BLaCkShaDoW » Thu Apr 02, 2020 4:14 am
Code: Select all
If you want to install the latest tls to work :
First remove the tls-tcl (if installed)
sudo apt remove tls-tcl
For Ubuntu/Debian X64
wget http://archive.ubuntu.com/ubuntu/pool/universe/t/tcltls/tcl-tls_1.7.18-2_amd64.deb
For Ubuntu/Debian X86
wget http://archive.ubuntu.com/ubuntu/pool/universe/t/tcltls/tcl-tls_1.7.18-2_i386.deb
Then:
sudo dpkg -i <deb package>
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Thu Apr 02, 2020 4:21 am
if in ubuntu, it will not work when autocovid is activated and I forgot that on Centos 7 64 bit it doesn't work like OpenBSD
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Apr 02, 2020 4:26 am
The package you are looking for is 'tcl-tls' not 'tls-tcl' and you don't need to remove anything, just install it if you don't have it.
On Ubuntu last version is 1.6.7+dfsg-1.2build1.
Oh, and if you are on CentOS then use 'yum install tcl-tls'
Once the game is over, the king and the pawn go back in the same box.
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Thu Apr 02, 2020 5:01 am
caesar wrote: Oh, and if you are on CentOS then use 'yum install tcl-tls'
No package tcl-tls available can u give me link for download
CrazyCat
Revered One
Posts: 1299 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Thu Apr 02, 2020 5:40 am
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Thu Apr 02, 2020 5:52 am
if the package you mentioned I have installed and even upgraded
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Apr 02, 2020 5:59 am
Connect to your shell and type 'tclsh' then 'package require tls' and post here what result you get. Oh, and to exit type 'exit' and press Enter.
You should get something like this:
Once the game is over, the king and the pawn go back in the same box.
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Thu Apr 02, 2020 6:06 am
yes that tls packag version
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Apr 02, 2020 7:30 am
Locate this line:
Code: Select all
http::register https 443 [list ::tls::socket -autoservername true]
and replace it with:
Code: Select all
::http::register https 443 tls:socket
and under the 'package require http' line add this code:
Code: Select all
proc tls:socket args {
set opts [lrange $args 0 end-2]
set host [lindex $args end-1]
set port [lindex $args end]
::tls::socket -servername $host {*}$opts $host $port
}
Once the game is over, the king and the pawn go back in the same box.
abah
Halfop
Posts: 62 Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia
Post
by abah » Thu Apr 02, 2020 8:36 am
work for openbsd that u edit ? or centos
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Apr 02, 2020 8:59 am
I got Ubuntu, can't tell but it should.
Once the game is over, the king and the pawn go back in the same box.