Skip to content

Releases: rhaberkorn/sciteco

Nightly Builds

27 Nov 06:09
Compare
Choose a tag to compare
Nightly Builds Pre-release
Pre-release

These nightly builds represent the repository's HEAD commit but may well be unstable.

When installing the Curses (sciteco-curses_*.deb) or Gtk+ (sciteco-gtk_*.deb) Ubuntu packages, keep in mind that you will also need the corresponding common (sciteco-common_*.deb) package. The Gtk+ binary is called gsciteco, so it can be installed alongside the Curses version. Packages may or may not work on other versions of Ubuntu or Debian variants.

For generic Linux builds, you can try the AppImages (sciteco-*.AppImage). Be sure to add the executable flag after downloading. The Gtk AppImage (sciteco-gtk_*.AppImage) assumes that Gtk+ 3 is already installed on the host system. Since the image's contents are not easily accessible, you are advised to download ~/.teco_ini and customize it afterwards.

Curses builds for Windows (sciteco-pdcurses_nightly_win32.zip) are based on PDCursesMod. The package contains both a console (sciteco.exe) and GDI window version (gsciteco.exe). The Windows Gtk+ version (sciteco-gtk3_nightly_win32.zip) is also shipped as a stand-alone ZIP and does not require installation.

Mac OS X Curses builds (sciteco-curses_nightly_macos_x86_64.pkg) are considered experimental and are not signed. See also Mac OS Support in the wiki. Gtk+ builds for Mac OS are not currently provided.

v2.0.0

19 Jun 20:41
Compare
Choose a tag to compare

The version jumped to v2.0.0, skipping v1.0.0, mainly due to a complete rewrite in plain C. The language is still not considered "stable" (until v3.0). Feature-wise relatively little happened since v0.6.4, but I tried to polish all existing features on all supported platforms. A lot of work also went into CI and nightly builds. The Gtk UI is now for the first time considered ready for work.

When installing the Curses (sciteco-curses_*.deb) or Gtk+ (sciteco-gtk_*.deb) Ubuntu packages, keep in mind that you will also need the corresponding common (sciteco-common_*.deb) package. The Gtk+ binary is called gsciteco, so it can be installed alongside the Curses version. Packages may or may not work on other versions of Ubuntu or Debian variants. Releases have also been uploaded to the Ubuntu PPA.

For generic Linux builds, you can try the AppImages (sciteco-*.AppImage). Be sure to add the executable flag after downloading. The Gtk AppImage (sciteco-gtk_*.AppImage) assumes that Gtk+ 3 is already installed on the host system. Since the image's contents are not easily accessible, you are advised to download ~/.teco_ini and customize it afterwards.

The FreeBSD builds (sciteco-curses_2.0.0_freebsd-13.02_amd64.pkg and sciteco-gtk_2.0.0_freebsd-13.02_amd64.pkg) are fully featured and behave very similar to the Ubuntu builds. However, you do not currently have to download a "common" package - the FreeBSD packages are self-sufficient.

Curses builds for Windows (sciteco-pdcurses_2.0.0_win32.zip) are based on PDCursesMod. The package contains both a console (sciteco.exe) and GDI window version (gsciteco.exe). The Windows Gtk+ version (sciteco-gtk3_2.0.0_win32.zip) is also shipped as a stand-alone ZIP and does not require installation.

The Mac OS X Curses build (sciteco-curses_2.0.0_macos_x86_64.pkg) is considered experimental and is not signed. See also Mac OS Support in the wiki. Gtk+ builds for Mac OS are not currently provided.

Here is the complete change log:

The following change log summarizes changes introduced
by SciTECO releases compared to the preceding release.
Only changes relevant to users (build from source or
using a prebuilt binary) are included.

Entries marked with "(!)" might break macro portability
compared to the preceding release.

Version 2.0.0
~~~~~~~~~~~~~

b65c64a don't set up any margins or indention settings on the unnamed buffer in sample.teco_ini
aa2e96a,
29bf227,
f557af9,
bac1efa fixed <EC> interruptions on Gtk+ and most other platforms.
        On supported platforms the first CTRL+C will try to gracefully kill the
        subprocess, while the second one resorts to a more agressive method.
5470fc3 Curses: do not allow typing any non-ASCII characters - fixes crashes on PDCurses/WinGUI.
        This is a temporary limitation as long as we do not support Unicode.
f0d57d7 added Asciidoc lexer config
85599c7 added Markdown and YAML lexer configs
d10997a improved the C/C++ and Gob lexers
4273088 added lexers for Python and Linux Device Trees
df6c898 CPP lexer: support *.ino files (Arduino IDE sketches)
b8e8cc8 added lexing support for Gob2 (GObject Builder)
9f7f187,
b091d8b The "cpp" lexer configuration has been split into "c.tes" and "cpp.tes"
        effectively improving C support.
2f72665,
a6b5394 fixed crashes after interruptions of commands with string arguments in interactive mode
        It's not clear whether this has been broken in v0.6.4.
60a0913 data installation path is now configurable via --with-scitecodatadir
030e0f5 Allow disabling Lexilla (Lexer) support by specifying --without-lexilla.
        When optimizing for size, this helps saving 50% of the compressed binary size.
ba08753 Fixed rubbing out words (^W) and possible chrashes.
        This has probably been broken in v0.6.4 as well.
cc417af fixed formatting of dates in manpages
9f659ec,
e752a64 fixed grosciteco (and thus building) for newer Groff versions (#11)
ca9de04 sciteco(1) manpage: All UIs support ^C interruptions now
101a868,
73cab56 bumped required PDCursesMod version to v4.3.4 or later
147e53b,
9586a03,
9a5e363,
3706112 Fixed CTRL+C interruptions on all versions of PDCurses
0d3da2c reduced memory use in interactive mode due to undo tokens
d6126b3 fixed rubout of certain constructs like Ifoo$FRX$$
        It's not known whether this bug existed on v0.6.4.
aa00bf1 added ./configure --enable-debug and make sure that NDEBUG is defined properly
4c79d26 Gtk: fixed entering dead keys
1c88da4 Woman pages under Gtk: fixed monospaced example blocks
39490d6 Gtk: default font is now "Monospace" instead of Courier.
        This avoids unexpected ligatures.
f15bc53 Gtk+: fixed interpretation of Alt-Gr-keypresses.
        This bug appeared with newer Gtk+3 versions.
8031da6 Gtk+: Stop memory limiting when idling
18a0543 Gtk: disabled ^Z suspension on Unix for the time being.
        This cannot easily be made working properly.
fdb89d9 GTK: Support for Xembed protocol via --xembed.
        This is useful for instance with tabbed (https://tools.suckless.org/tabbed/):
        $ tabbed sciteco --xembed
6df603d Gtk: fixed message bar's background color
073f5f2 Gtk: The GObject Builder (GOB2) is no longer required.
b21d294 Gtk: Display control characters in titles and autocompletion popups
        like in the text buffer.
45413d0 Gtk UI: popup will now overlay both the Scintilla view and message widgets
e768487 Gtk UI: full color scheme support
cff9fb1,
8627a00 Gtk UI: added option --no-csd to disable client-side decorations
f25f97e Gtk UI: uses header bars now
eed939f install PNG icon and use it to set GTK's window icon
3fd1a19 GTK UI: beep on error
f337481 improved default selection colors and made them configurable via color.tes
3ed4116 fixed building on Mac OS
af16d43 fixed crashes when the Q-Reg stack is non-empty at exit
        This might have been broken in v0.6.4 as well.
8ef010d optimized caret scrolling: this is a costly operation and is now done only once per keypress
8baa1b3 optimized character representation setting
50d63f2 fixed hiding savepoint files on Win32
0267b68 Optimized process spawning (EC) on UNIX
ae913ab Negative searches (<S>) check for multiplication overflows now
9fa78ca Memory limiting fixed on Mac OS X
5167dad guard against too low arguments to <S> by checking whether the memory limit would be exceeded.
        This fixes potential crashes.
e3b2bb7 fixed Clang builds
a2e52ca,
432ad24 Significant internal rewrites.
        * String termination takes string building characters into account, ie. you can use
          the termination character (escape by default) in ^EQ[...].
        * Also, it's now possible to escape it using ^Q/^R, adding yet another way to insert escape
          characters.
        * All strings are 8-bit-clean now. This means you can also use SciTECO as
          a scriptable binary editor.
        * Gtk+ (>= v3.12) interface is usable and stable now.
        * Memory limiting should finally work on Linux, Windows, Mac OS and
          FreeBSD.
        * Glib v2.44 is the minimum required version now.
524bc39 improved Emscripten support: fixed configure-checks, generate *.js and detect EMCurses
90baf34 Automatic case-folding of commands in interactive mode when enabling bit 3 in ED (`0,8ED`)
2491d5f fixed checks for missing left and right operands to binary operators
4038aa2 fixed and optimized piping very large buffers via EC/EG
5069c3b fixed Q-Reg autocompletion for `Q` command
8b00fa8,
6f9705b support NetBSD's curses (--with-interface=netbsd-curses)
af05d38,
f4da329 Significantly reduced memory use for undo tokens (interactive mode)
f90b197,
733e012,
5e84b63,
0ad317e build system portability fixes (FreeBSD compatibility)
c1113c2 fixed table formatting in generated HTML files (sciteco.7.html)
e4d5a99 allow dollar sign ($) as another variant of ^[ (discard all arguments or return)
8460f92 Fixed rubout of the first command after command line termination ($$).
        It's unclear whether this has been an issue in v0.6.4.
0fbbc0d womanpage lexer: fixed popup styling
bece75c updated sample.teco_ini: 2EJ now sets a more or less global memory limit
(!)1cec19d Fixed interpretation of the Q-Register specification "..".
           The parser would allow arbitrarily many dots in front of a local Q-Register
           name. ".." is the local Q-Register "." now.
84ab169 auto-completion of Q-Register names, goto labels and help topics
be39ab9 The manpage generator generator-docs.tes has been renamed to tedoc.tes
b44a4ba standard lib: added getopt.tes for parsing command line options in scripts
cb5e08b It is now possible to write SciTECO scripts with command-line arguments.
e7867fb implemented self-documenting (online) help system.
        You can use `?` for looking up a help topic.
        Documentation is opened as so called "womanpages" which are generated from
        Troff man pages using grosciteco.
        Groff is therefore now a hard compile-time requirement.
c0fe494 fixed segfault when munging empty scripts
(!)9f6cba5 Globbing (EN and EB commands) support character classes now and
           ^EN string building construct can be used to escape glob patterns.
(!)61ff6e9 Integrated clipboard support on Gtk+, PDCurses and ncurses/XTerm.
           The clipboard is exposed as Q-Registers beginning with "~".
16e9b0d Added ^E@ string building character for expanding arbitrary strings
        so they can be parsed from UNIX shells.
        On Windows, you will have to enable UNIX98 shell emulation to make
        use o...
Read more

v0.6.4

18 Mar 05:03
Compare
Choose a tag to compare

A large feature and bug fix release.

  • sciteco-0.6.4.tar.gz is the Automake-generated source tarball. Includes Scintilla and Scinterm.
  • sciteco-0.6.4-pdcurses-win32.zip is a Windows 32-bit console build of SciTECO. Supports anything beginning with Windows 2000, Wine, etc.
  • sciteco-0.6.4-pdcurses-win32a.zip is a Windows 32-bit "windowed" build of SciTECO. It's still a Curses aplication but runs in a GDI window. Has advantages and disadvantages compared to the true-console version. Binaries can be swapped between the two Windows packages.
  • sciteco-curses_0.6.4-5_i386.deb is an i386 Debian package of the ncurses port. This is definitely the best-supported port currently. This may or may not install successfully on your Debian(-based) Linux distribution.
  • Ubuntu users can download pre-built packages for many recent Ubuntu versions from the PPA.

Here is the complete change log:

The following change log summarizes changes introduced
by SciTECO releases compared to the preceding release.
Only changes relevant to users (build from source or
using a prebuilt binary) are included.

Entries marked with "(!)" might break macro portability
compared to the preceding release.

Version 0.6.4

18fe073 added PDCURSES_LIBS ./configure variable to overwrite the check for PDCurses
537b7b5 preliminary support for ncurses/win32. This port is not well
        tested.
64ee414 implemented function key masking (context-sensitive function key macros).
        The command line editing macros in fnkeys.tes will no longer insert
        "garbage" into string parameters.
cb8411d,
c310c7d implemented automatic EOL translation support.
        This means that SciTECO now properly supports editing files with
        different line breaks. It especially simplifies editing files with
        DOS/Windows line breaks and allows you to write portable macros that
        are line break agnostic.
eee4f1a added "EL" command for setting/getting the current document's EOL mode
14ec511 also set window title on ncurses, by querying terminfo capabilities.
        This feature is currently buggy.
34a4c7e ncurses: Fixed batch mode initialization in head-less environments
        (where $TERM is unset). Interactive mode should no longer start in
        headless or broken environments but report an error.
2a4acd6,
2c0e9f7,
4dced2c improved ncurses batch mode initialization.
        Only relevant for UNIX/Linux: When SciTECO is run in batch mode,
        it completely keeps away from the process' terminal device.
        It no longer flashes the screen (was visible e.g. in rxvt-unicode).
7ceabb2 Curses UI: beep on error. This might also perform a visual bell or
        nothing at all (depending on the terminal emulator).
b3acf28,
647e6eb added cool SciTECO icon (on Windows, it is the icon of sciteco.exe)
20cb9a7 added --no-profile command line option
1126007 added the <"I> conditional for checking whether a character is a
        directory separator
(!)a0d1231 always normalize directory separators to "/" in the "*" Q-Register.
           On Windows "*" used to contain Windows directory separators.
           With the new behaviour it is easier to write portable macros.
67b846c added ./configure --enable-static-executables option
e88f9bb,
3db42f8 optimized user interface drawing.
        Should also speed up the GTK+ UI.
10e4e27 fixed displaying of control characters in the "info" line (and window title)
4a4687c improved `sciteco --help` output
2a4e114 fixed m,nXq for m > n: this properly throws an error now instead of crashing
63c88b9 changed save point file format to .teco-<n>-<filename>~
        Users should adapt existing VCS ignore patterns if necessary.
a3a340a fixed TAB completion of files in the current directory beginning with ".".
        Not sure if this bug existed in v0.5.
2cfc358 added function key macro for Shift+DEL to fnkeys.tes:
        Acts as a "reverse" backspace-key (depending on the state of the
        ^G modifier).
800bbd8 fixed function key handling on GTK UI.
        Function keys are now properly ignored until they are enabled by setting
        bit 6 of the ED flags.
a399be7 On UNIX/Linux with glibc, heap memory can be reclaimed
        earlier when terminating a command line.
        This means that your system will recover earlier after it began
        swapping because SciTECO used too much memory.
8178f8d,
4aa51b9,
3373274,
ef82d22,
83ebaea,
482c0e7 Implemented re-insertion of rubbed out command lines.
        This effectively implements SciTECO's version of Redo.
        Rubbed out parts of the command line are still visible in grey.
        The new "^G" immediate editing command can be used to
        toggle the behaviour of the rubout commands from rubout (undo)
        to re-insert (redo).
        The "^G" toggle modifies other immediate editing commands as well.
        It replaces the "^T" immediate editing command with "^G<TAB>^G".
b40fe86 implemented undo stack memory limiting (ticket #3).
        The size of the undo stack is now approximated and limited.
        An error is thrown and the current command fails if more than 500mb
        are used by it. The limit is configurable (see "EJ" command).
        This makes it harder to crash SciTECO by using up all the memory
        due to infinite loops in interactive mode.
611bb22 fixed crashes when loop is closed (>) or continued (F>) without a
        corresponding loop start (<) (ticket #3).
4624eeb,
c7b2da8 work around Scintilla character representation drawing bug.
        This fixes too much space being allocated to control characters in the
        SciTECO buffer view.
1b07f32 Scintilla: fixed tab stop calculation on Curses
        This is included in the Scintilla mirror at https://github.com/rhaberkorn/scintilla-mirror
        and thus in v0.6 source bundles.
(!)d24bc4a implemented support for different indention styles.
           The TAB-command (^I) has been extended to insert indention characters
           according to current Scintilla settings (SCI_SETUSETABS, SCI_SETTABWIDTH).
           TAB has been made an immediate editing command in insertion commands
           ("I", "^I" but also search-and-replace arguments) to insert indention
           characters by the same rules.
           In old macros where "^I" was used for inserting the TAB-character,
           "9I" should be used instead.
574d284 support filename auto completions with forward-slash directory separators on
        Windows. Auto-completions will now use the last directory separator in
        string that has been typed before auto-completing.
        On platforms like Windows where both forward and backward slash separators
        are possible, this makes a difference.
        By default however, the platform-default directory separator is used.
613e8c9 Curses: support cycling through long lists of possible auto-completions
        and optimized screen refreshing/redrawing
52ecff4 Curses: fixed formatting of popup windows
4377770 do not show possible completions for hidden files and directories
        They are ignore during tab completion unless the beginning of the name
        of a hidden file or directory has been typed.
        I.e. "../.<TAB>" will still complete hidden files on UNIX.
(!)ad3d2f4 implemented pQq and :Qq commands
           In other words, the "Q" command can now be used to index the
           string part of a register and query its size without editing it first.
           This breaks macro backward-portability since "Q" will no longer
           ignore existing values on the stack.
           Therefore the expression "QaQbK" must now be written "Qa,QbK".
ebf0440,
abda28b introduced $SCITECOCONFIG env variable, and set different default for
        $SCITECOPATH on Windows.
        $SCITECOCONFIG allows you to reconfigure the path where SciTECO looks
        for the profile macro.
        On Windows, these variables are initialized to paths relative to the
        location of the sciteco.exe file. This keeps SciTECO self-contained on
        Windows (unzip the release and go!) while allowing it to be added to
        $PATH and used from any working directory.
        The environment variables can be set explicitly, e.g. to set up
        SciTECO for a MSYS or Cygwin environment.
        The environment variables are always normalized to absolute paths.
        On Windows, the profile macro is now called ".teco_ini" just like
        on UNIX. You must rename existing "teco.ini" files or - better yet -
        completely rewrite them.
e030c4e fixed memory leak in batch mode
1e5115b Added "E%" command to save a Q-Register's string contents to disk
        without changing the current document.
        "EW" can now also be used to save a Q-Register to disk.
14cc71e added "EI" command as a non-string-building variant of "I"
3e7ebb5 added "EU" command as a variant of the "^U" command with string building
        characters enabled.
a6c13d7 allow setting the numeric part of the "*" register as an alternative to nEB
        Allows a few useful idioms like "1U*" instead of "1EB$" and
        "[* ! temporarily edit another buffer ! ]*"
6e5a611,
5b74ef5,
2900fcb,
d38df48 added a buffer session module (session.tes)
        This can be used handle buffer sessions (i.e. restore the buffer ring
        when starting up again).
        It also includes macros like "session.git", "session.svn" and
        "session.hg" to set up one session per VCS repository automatically.
a37daa8 added "EJ" command: return runtime properties
        This may be used e.g. to query the number of buffers in the
        ring. "EJ" or "1EJ" will return the number of buffers, while
        "0EJ" returns the current user interface. You can use that
        ...
Read more

v0.5 (initial release)

18 Mar 03:42
Compare
Choose a tag to compare

This was the initial release of SciTECO from 2013. It may be interesting for historic reasons.
Some historic builds can also be installed from the PPA.

  • sciteco-0.5-bundle.tar.gz contains SciTECO including Scintilla and Scinterm
  • sciteco-0.5-pdcurses-win32a.zip is a Windows 32-bit application linked against PDCurses/win32a (so it's a windowed console application)
  • sciteco-0.5-pdcurses.zip is a Windows 32-bit application linked against the original PDCurses (a true console application), but I think this binary was broken.

v0 5 Screenshot ncurses/Linux

Download SciTECO