GithubHelp home page GithubHelp logo

fdos / edit Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 2.0 153 KB

Allow editting of text documents

License: GNU General Public License v2.0

C 99.02% Batchfile 0.02% Makefile 0.96%

edit's Introduction

FreeDOS Edit 0.7b

Based on DFLAT TUI toolkit as described in Dr. Dobbs Journal (DDJ)
See DFLAT.TXT for more information.

Compiling:
Tested with Borland's Turbo C 2.01 (TC2), Turbo C++ 1.01 (TC++1), 
Turbo C/C++ 3.0 (TC3), and Borland C/C++ 3.1 (TC3/BC3)
Should also work with later versions.

QUICKSTART:
- flicker control in video.c used assembly language, removed this.
  TASM is no longer needed.
- calendar "day of week" calculations and other mktime() things
  are now done by a builtin function. Turbo C 2.01 did not have
  mktime and you had to compile without calendar there formerly.
  The strftime() function is no longer necessary either.
- you can now (EDIT 0.7) use either the old shift-ins/del, ctrl-ins
  and alt-backspace or the new ctrl-v/x, ctrl-c and ctrl-z keys.
  Their meanings are, respectively: paste, cut, copy, undo. The
  ctrl-ins and alt-backspace keys do not work on XT 84 key systems.
- the /B (force monochrome) and /H (force high resolution mode)
  options now work (EDIT 0.7b) :-). You also have /R global read-
  only mode now, inspired by Joe's EDIT 0.8 / 0.81 / 0.82 version.

Details:

To compile, 1st edit MAKEFILE to match your compiler, followed by
running 'make'.  You may wish to then run clean to remove object
files and lib files, the executables (*.exe) will still be available.
(If compiling with TC3 or earlier? under NT, you may need to ensure
your environment space is not to cluttered, i.e. unset unneeded
environment variables, e.g. 'set PROCESSOR_IDENTIER=', etc. before make.)

Once compiled you may wish to compress with an executable compressor
such as UPX.  If upx.exe is in your path, after make or instead of
'make all' you may run 'make upx' to build and then compress edit.exe


Known Issues:

- When reading or writing a file, tabs are converted to spaces. Since
  0.6d, you can select to read and keep tabs as normal unexpanded chars.

- The beep() function in console.c produces warnings with TC3 if outp
  macro is defined (you can #undef outp to remove them for TC3, but
  TC++1 does not have an outp function only the macro). Very lowlevel!

- No support for Ctrl-Del in 0.6a..e series and 0.7a..b series.
  No support for Alt-BackSpace in 0.6a..e series and 0.7, fixed in 0.7a.
  Characters 0x89 and 0x8c (\t and \f | 0x80) were treated specially in
  the display code, a leftover from special-tab mode of Joe's EDIT 0.6-
  0.8x, fixed in 0.7c (edit 0.6a..0.7c does not use special-tab mode).

- See http://www.freedos.org/bugs/bugzilla/ to find or report other bugs!

20021129 (describing 0.5d)
20031118 (describing 0.6b)
20031128 (describing 0.6c)
20031129 (describing 0.6d)
20031201 (describing 0.6e)
20031202 (describing 0.7)
20042301 (describing 0.7a)
20052504 (describing 0.7b)
20051405 (describing 0.7c)

edit's People

Contributors

perditionc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.