aboutsummaryrefslogtreecommitdiff
path: root/teccmd.c
AgeCommit message (Collapse)AuthorFilesLines
2025-04-23MS-DOS real-mode (8086) portRobin Haberkorn1-9/+23
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-4/+4
Also avoid old-school function declarations without parameters (`void foo();`). This is unnecessarily loosing type safety.
2011-07-19extensive EC command documentation (doxygen)Robin Haberkorn1-1/+21
2011-07-18add some comments to EC command and clean up filedescriptors after fork()Robin Haberkorn1-14/+21
2011-07-18fixed EC command: care about DOT changeRobin Haberkorn1-18/+55
* undo token for DOT change, necessary if DOT was in EC argument range * use read/buff_insert loop to insert new text so we don't have to tweak DOT to be able to use buff_readfd and can do pipe-specific stuff
2011-07-18revised EC commandRobin Haberkorn1-85/+120
unidirectional pipe with no arguments. with one/two arguments, the buffer content is piped into the process and replaced with its output. * fixed error handling, now the child's exit status matters if everything else is OK, as well * colon modifier has standard behaviour of returning the command status
2011-07-17documented FT command (in Doxygen at least): the FT command performs various ↵Robin Haberkorn1-12/+59
etags/ctags functions
2011-07-15converted file header and some variable/macro docs to Doxygen formatRobin Haberkorn1-4/+6
* adapted Doxygen config file
2011-07-15revised function's code documentation: every comment has been autoconverted ↵Robin Haberkorn1-159/+142
to Doxygen format and cleaned up manually
2011-07-11execute EC commands with /bin/shRobin Haberkorn1-14/+2
* makes special handling of Linux unnecessary * enables the (undocumented) :EC mode where the entire buffer content is written to the process (two pipes are created, both stdin and stdout/stderr are redirected) on Linux
2011-07-11avoid missing sentinel warning on GCCRobin Haberkorn1-1/+1
2011-07-11some errno and error_message() cleanupRobin Haberkorn1-8/+10
* errno was evaluated even though it was in an undefined state * error_message()s written by cmd_writebak() were overwritten by cmd_write()
2011-07-09fixed file backups for HAVE_LONG_FILE_NAMESRobin Haberkorn1-2/+2
* now files can be saved, but the current heuristics of creating a .OLD once and afterwards updating a .BAK might be nonsense * behaviour without HAVE_LONG_FILE_NAMES should work but does not make sense IMHO: will remove support for that case anyways
2007-12-26Fixed a bunch of the prototypes to allow compilation with the C++ compiler.v6.4paulcantrell1-73/+57
2007-12-10Original checkin with the GPL license.paulcantrell1-16/+17
2007-12-10Initial revisionpaulcantrell1-0/+2668