aboutsummaryrefslogtreecommitdiff
path: root/teco.c
AgeCommit message (Collapse)AuthorFilesLines
2025-05-04DOS: hopefully fixed wildcard expansions in the drive rootRobin Haberkorn1-1/+2
Apparently "." doesn't always have the S_ISDIR flag in SvarDOS (DR-DOS), so we simply exclude it.
2025-05-03DOS: add `-8` command-line parameter for disabling automatic EOL conversionsRobin Haberkorn1-0/+6
* this preserves CRs in the buffer - they will be echoed like ^M * This is inspired by SciTECO's `-8`/`--8bit` parameter.
2025-05-03DOS: expand glob patterns when opening filesRobin Haberkorn1-11/+28
* This is not done by the shell in DOS. * As a side effect, we support all of the Csh-like constructs like {a,b,c} in contrast to Watcom's fnmatch().
2025-04-27DOS: use backslash directory separators instead of slashRobin Haberkorn1-19/+16
2025-04-23DOS: the ini file is called TECO.INI and is located in the binary's directoryRobin Haberkorn1-7/+19
You can also `set VTECO=...` to the directory of TECO.INI (usually the installation directory). This is helpful if the location of the binary's directory is unreliable.
2025-04-23MS-DOS real-mode (8086) portRobin Haberkorn1-6/+84
It can be cross-compiled or compiled natively on 32-bit DOS with OpenWatcom C v1.9. Compiling on an 8086 might be possible later on - but we would have to add support for some ancient ANSI C compiler.
2025-04-21silence some warnings when compiling under FreeBSD (and probably Linux)Robin Haberkorn1-5/+5
Also avoid old-school function declarations without parameters (`void foo();`). This is unnecessarily loosing type safety.
2011-07-15converted file header and some variable/macro docs to Doxygen formatRobin Haberkorn1-6/+8
* adapted Doxygen config file
2011-07-15revised function's code documentation: every comment has been autoconverted ↵Robin Haberkorn1-101/+78
to Doxygen format and cleaned up manually
2007-12-26Fixed a bunch of the prototypes to allow compilation with the C++ compiler.v6.4paulcantrell1-38/+26
2007-12-10Original checkin with the GPL license.paulcantrell1-17/+18
2007-12-10Initial revisionpaulcantrell1-0/+1888