• How to call TkCon on Linux

    From Helmut Giese@hgiese@ratiosoft.com to comp.lang.tcl on Sat Sep 26 18:43:30 2026
    From Newsgroup: comp.lang.tcl

    Hello out there,
    I have installed Ubuntu-Mate in a VirtualBox on my Windows machine. I
    found there a pre-installed Tcl (8.6.14).
    Q: Where would TkCon be located and how would I call it: As TkCon,
    TKCon, tkcon or ...?
    And, more general: How do I find a particular file on Linux?
    Any help will be greatly appreciated
    Helmut
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From saito@saitology9@gmail.com to comp.lang.tcl on Sat Sep 26 13:46:06 2026
    From Newsgroup: comp.lang.tcl

    On 9/26/2026 12:43 PM, Helmut Giese wrote:
    Hello out there,
    I have installed Ubuntu-Mate in a VirtualBox on my Windows machine. I
    found there a pre-installed Tcl (8.6.14).
    Q: Where would TkCon be located and how would I call it: As TkCon,
    TKCon, tkcon or ...?

    I am not sure tkcon is part of the standard distribution. If present, it
    would most likely be under the /lib of your Tcl installation. If not,
    you can download it and put it anywhere you want:

    Can you run any wish or tclsh from the command line?

    To run tkcon, depending on your shell PATH, try these: "tkcon" or "wish
    tkcon"


    And, more general: How do I find a particular file on Linux?
    Any help will be greatly appreciated
    Helmut

    To find executables, there is a command called "which":

    % which man
    /usr/bin/man

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Helmut Giese@hgiese@ratiosoft.com to comp.lang.tcl on Sun Sep 27 19:25:35 2026
    From Newsgroup: comp.lang.tcl

    Hello saito,
    Can you run any wish or tclsh from the command line?
    yes and using 'info vars' I found 'tcl_library' which led me to /usr/share/tcltk/tcl8.6 which contains some 'tm' modules but no tkcon
    file - but it is a start. I will copy a tkcon there and will see how
    it goes.

    To find executables, there is a command called "which":

    I know about 'which' but I meant /finding any/ file.
    Thanks for responding
    Helmut
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From saito@saitology9@gmail.com to comp.lang.tcl on Sun Sep 27 14:37:44 2026
    From Newsgroup: comp.lang.tcl

    On 9/27/2026 1:25 PM, Helmut Giese wrote:

    To find executables, there is a command called "which":

    I know about 'which' but I meant /finding any/ file.
    Thanks for responding


    Another command named "find" may help you with that. It has many options
    you can look up via the man pages, but here is a simple example to find
    files by names, patterns, extension, etc.

    % cd /
    % find |grep ".txt"

    Of course you can change where you start looking.



    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From greg@gregor.ebbing@gmx.de to comp.lang.tcl on Mon Sep 28 07:02:33 2026
    From Newsgroup: comp.lang.tcl

    Am 26.09.26 um 18:43 schrieb Helmut Giese:
    Hello out there,
    I have installed Ubuntu-Mate in a VirtualBox on my Windows machine. I
    found there a pre-installed Tcl (8.6.14).
    Q: Where would TkCon be located and how would I call it: As TkCon,
    TKCon, tkcon or ...?
    And, more general: How do I find a particular file on Linux?
    Any help will be greatly appreciated
    Helmut


    Hello,


    # various commands in cmd line (bash)

    command -v tkcon
    dpkg -l tkcon
    apt search tkcon

    #Installation in the cmd line
    sudo apt update
    sudo apt install tkcon


    # find
    find ~ -iname '*tkcon*' # Search your home directory
    find /usr -iname '*tkcon*' # Search installed system files

    dpkg -L tkcon # List files belonging to the installed package



    apt and dpkg are used for package management.

    or
    Software Boutique
    Synaptic

    a script example:

    package require Tk
    package require tkcon
    text .txt -wrap word
    pack .txt -fill both -expand 1

    bind .txt <F11> {tkcon show; break}
    bind .txt <F12> {tkcon hide; break}



    best regards
    Gregor
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Helmut Giese@hgiese@ratiosoft.com to comp.lang.tcl on Tue Sep 29 11:06:48 2026
    From Newsgroup: comp.lang.tcl

    saito <saitology9@gmail.com> schrieb:

    On 9/27/2026 1:25 PM, Helmut Giese wrote:

    To find executables, there is a command called "which":

    I know about 'which' but I meant /finding any/ file.
    Thanks for responding


    Another command named "find" may help you with that. It has many options
    you can look up via the man pages, but here is a simple example to find >files by names, patterns, extension, etc.

    % cd /
    % find |grep ".txt"

    Of course you can change where you start looking.


    Thanks saito, that is helpful.
    Helmut
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Helmut Giese@hgiese@ratiosoft.com to comp.lang.tcl on Tue Sep 29 11:10:23 2026
    From Newsgroup: comp.lang.tcl

    Hello Gregor,
    # various commands in cmd line (bash)

    <snip>
    that's more than I asked for, many thanks
    Helmut
    --- Synchronet 3.22a-Linux NewsLink 1.2