{"id":21707822,"url":"https://github.com/flightaware/scotty","last_synced_at":"2025-04-12T16:17:32.622Z","repository":{"id":1471061,"uuid":"1712224","full_name":"flightaware/scotty","owner":"flightaware","description":"A Tcl extension for building network management (SNMP, ICMP, UDP, DNS) applications","archived":false,"fork":false,"pushed_at":"2024-08-18T23:19:41.000Z","size":2628,"stargazers_count":36,"open_issues_count":6,"forks_count":17,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-12T16:17:03.940Z","etag":null,"topics":["c","dns-client","snmp","tcl","tcl-extension","udp-client","udp-server"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flightaware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-06T16:44:26.000Z","updated_at":"2025-02-28T02:11:33.000Z","dependencies_parsed_at":"2022-07-29T17:29:17.216Z","dependency_job_id":null,"html_url":"https://github.com/flightaware/scotty","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fscotty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fscotty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fscotty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fscotty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flightaware","download_url":"https://codeload.github.com/flightaware/scotty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248594191,"owners_count":21130316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","dns-client","snmp","tcl","tcl-extension","udp-client","udp-server"],"created_at":"2024-11-25T22:19:23.958Z","updated_at":"2025-04-12T16:17:32.580Z","avatar_url":"https://github.com/flightaware.png","language":"C","readme":"[![Build Status](https://travis-ci.org/flightaware/scotty.svg?branch=master)](https://travis-ci.org/flightaware/scotty)\n\nWelcome to the _scotty_ Tcl extension for network management\n\nby Juergen Schoenwaelder and many contributors.  Maintained by FlightAware LLC\n\nIntroduction\n============\n\nYou are looking at the source tree of _scotty_, a software package\nwhich allows to build IPv4 network management applications using Tcl\nand Tk.  It consists of two Tcl extensions: _Tnm_ and _Tkined_, two\nrelated applications: `scotty` a Tcl interpreter with _Tnm_ preloaded\nand `tkined` a interactive gui network diagramm editor and monitor.\n\n_scotty_ license terms can be found in `tnm/license.terms` which\nis essentially identical to the\n[Tcl/Tk license](https://www.tcl.tk/software/tcltk/license.html).\n\n\nTnm extension\n-------------\n\nThe Tnm Tcl extension provides the following features:\n\n* Access to Internet protocols: ICMP, DNS, UDP, SUN RPC, SNMP, NTP.\n* Facilitates writing special purpose SNMP agents in Tcl and parse and\n  access SNMP MIB definitions.\n* Access the local network databases: hosts, networks, protocols,\n  services, sunrpcs.\n* Schedule jobs that are to be done regularly.\n* Realize event driven programming on network maps.\n* IP address and networks calculation.\n* Write messages to the system logger.\n\n\ntkined and the Tkined extension\n-------------------------------\n\n`tkined` is a network editor which allows to draw maps showing your\nnetwork configuration. The most important feature of `tkined` is its\nprogramming interface which allows network management applications to\nextend the capabilities of `tkined`. _scotty_ packages several\napplications which allow for network autodetection, node monitoring,\ngeolocation and others.\n\n\nAbout and Status\n----------------\n\nThis source distribution is targetted at the current available\n(February 2017) toolchains and Tcl versions.  The default is to build\nshared libraries with Tcl stubs support.\n\n`tkined` is working fine on all tested platform, except for Debian\njessie 32 bit, where it hangs on the first invocation of `ined`.\n\nScotty currently is only operating correctly on 32 bit platforms.\nThere are several known bugs which surface when running on 64 bit.\n\nNote that the organisation of the source tree has been modified\nheavily, to account for current policies of extension building.  Each\nextension is given its own subdirectory, where they can be built\nindependently.\n\n_Tnm_ tests have been updated and problems singled out and documented\nin the `tnm/TODO` file.  Running `make test` should succeed without\nfailures, except DNS tests which depend on specific network setup and\navailability and might fail on your site.\n\nThe current versions are _Tnm_ 3.1.3 and _Tkined_ 1.6.0. Due to the\nlarge number of files that need to be updated to a new version, there\nare helper scripts tnm.patch and tki.patch in the root directory that\nperform the heavy lifting for you. If you change any file containing\nthe version numbers check whether these files need updating.\n\n\nObtaining and Installing scotty\n===============================\n\n_scotty_ is freely available in source form from several locations.\nThe historical homepage does not exist anymore. FlightAware has done\nsignificant maintenance of the software.  The FlightAware version is\navailable from: \u003chttps://github.com/flightaware/scotty\u003e\n\nThis particlar version, motivated by FlightAware, adapts the build\nsystem to recent versions of operating systems and Tcl/Tk versions and\nis available from: \u003chttps://github.com/jorge-leon/scotty\u003e\n\n\nTested Operating Systems\n------------------------\n\n- Debian GNU/Linux 7.11 (wheezy), 8.7 (jessie) *\n- Ubuntu 16.10 (yakkety) *\n- Alpine Linux (Note: temporarily unavailable)\n- Slackware Linux 14.2\n- FreeBSD 10.3 * and 11\n- NetBSD 7.0.2\n- MacOSX 10.10.5 (Yosemite)\n- Oracle Solaris 11.3\n\nNote: operating systems marked with an * have the best support and\ntest coverage.  See tnm/TODO and tkined/TODO for a list of known\nproblems.\n\n\nTested Tcl/Tk Versions\n----------------------\n\n- 8.5.11 (Debian wheezy)\n- 8.5.17 (Debian jessie)\n- 8.6.2 (Debian jessie)\n- 8.6.4 (MacOSX)\n- 8.6.5 (Slackware)\n- 8.6.6 (FreeBSD, Ubuntu, Alpine, Solaris)\n\n\nCompilation Requirements\n========================\n\n* Tcl/Tk development files.\n* OS specific (libc) development files.\n* C compiler:\n    * GCC\n    * Clang on FreeBSD\n* Make:\n    * GNU Make\n    * PMake on FreeBSD\n* GNU autoconf\n* On Alpine Linux (musl libc):\n    * The libtirpc-dev package.\n    * pkg-config (to find libtirpc)\n\n\nObtain, Compile, Install\n------------------------\n\nClone the repository or download the source as zip archive and unpack\nto any destination directory of your liking.\n\nThere is a convenience Makefile in the top level directory, which\nautomates build, install and uninstall for the tested platforms.  Just\nrun `make` and it will help you.  See the file PORTS for platform\nspecific details.\n\nThe following are detailed build instructions.\n\nEnter the `tnm` directory and run the almost common place:\n```\n./configure\nmake\nsudo make install\nsudo make sinstall\n```\n\nThen enter the `tkined` directory and run:\n```\n./configure\nmake\nsudo make install\n```\n\nAfter this, you should be able to start `scotty` via `scotty.3.0.x`\nwhere 'x' is the respective sub sub version number and tkined as\n`tkined`.\n\nOS X Install\n------------\nThe OS X configure commands most likely require --prefix=/usr/local and --exec-prefix=/usr/local options.\nOS X now prevents installation in /usr/lib and /usr/bin in the System Integrity Protection implementation.\nTEA trys to figure out the install paths from the TCL install. If you are using the OS X TCL, then these\ndirectories will not be writable.\n\nUninstall\n---------\n\nYou can uninstall the _Tnm_ extension and `scotty` by running `make\nuninstall` in the `tnm` directory.\n\nThe _Tkined_ extension and `tkined` are uninstalled by running `make\nuninstall` in the `tkined` directory.\n\n\nDocumentation\n=============\n\nMan files are installed in the respective system locations after\ninstall.  To see what is available see the respective `doc`\nsubdirectory in `tnm` and `tkined`.\n\nFor a starter, look at Tnm(n) which gives an overview over the Tcl\ncommands provided by the Tnm extension and the tkined(1) page which\ndescribes the Tkined network editor. A short description of the API\nwhich is used to write new applications for the Tkined editor is\navailable in the ined(n) man page.\n\nAn overview about the Tnm extension has been presented at the 3rd\nTcl/Tk workshop in 1995. A PostScript copy of this paper is available\nat \u003chttp://www.ibr.cs.tu-bs.de/users/schoenw/papers/tcltk-95.ps.gz\u003e.\n\nSome more general experience from doing this project over several\nyears were presented at the 1st European Tcl/Tk User Meeting\nin 2000. A PostScript copy of this paper is also available at\n\u003chttp://www.ibr.cs.tu-bs.de/users/schoenw/papers/tcltk-eu-2000.ps.gz\u003e\n\nMark Newnham has collected some information about _scotty_ at his\nsourceforge project wiki:\n\u003chttps://sourceforge.net/p/tkined-scotty/wiki/Home\u003e\n\nThe Tclers Wiki has some pages about _scotty_, here the link to the\nmost informative: [Tnm/Scotty/TkInEd](http://wiki.tcl.tk/691).\n\nThe (almost) original README file can be found in the `tnm` sub\ndirectory.  Original build/install was done inside the platform\nspecific directories, you will find a INSTALL instructions file in\n`tnm/unix`.\n\nThe _Tkined_ library and applications have their own change logs in\n`tkined/changes` and `tkined/apps/changes`.\n\nThe file PORTS holds notes about building _scotty_ on different\nplatforms, `tnm/TODO` and `tkined/TODO` list bugs and improvement\nideas for the respective extension, including platform specific ones.\n\n\nCredits\n=======\n\nJürgen has listed meticulously all contributors and benefactors at\nthe end of the original `tnm/README.md` file.\n\nLionel Sambuc has provided all needed bits to compile scotty on\nMINIX3.\n\n\nHistory\n=======\n\nAccording to `tnm/changes` _scotty_ was released on 1993-07-19 as\nversion 0.5, this change log file reports until 2001-12-08.\n\nIn 2005 Jürgens seems to have imported the CVS repository to SVN at\nJakobs University, with the last check in on 2010-09-07.\n\nDavidMcNett at FlightAware imported _scotty_ into GitHub, 'Initial\nimport of sc-scotty from Karl' (Lehenbauer).  Since then, there were\nsmall commits every one to two years on this repository.\n\nMark Newnham imported _scotty_ to GitHub and then in 2015-03-14 to\nsourceforge.  He has mainly worked on the \"Front End\" `tkined`.\n\nUpgraded to the latest TEA version and improvements in UDP and DNS\n2017-02-14 by Georg Lehner \u003cjorge@at.anteris.net\u003e.\n\nRessources remaining from the founders time:\n* [Braunschweig university scotty page](https://www.ibr.cs.tu-bs.de/projects/scotty).\n* Jürgens\n  [SVN repository](https://cnds.eecs.jacobs-university.de/svn/schoenw/src/scotty/)\n  at Jacobs University.\n*\n[Mailing list archive](https://mail.ibr.cs.tu-bs.de/pipermail/tkined/)\nat Braunschweig university.\n\nSome pages on the Tclers Wiki, discussing the status at different\npoints of time:\n\n* [Scotty](http://wiki.tcl.tk/220)\n* [Scotty in 2003](http://wiki.tcl.tk/8437)\n* [Scotty in 2004](http://wiki.tcl.tk/12640)\n\n\n\n# Emacs\n# Local Variables:\n# mode: markdown\n# End:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Fscotty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflightaware%2Fscotty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Fscotty/lists"}