
                           The Star Commander source



  1. What this package contains

  For the latest version of The Star Commander and its source,  please,  visit
the following URL:

  http://sta.c64.org/sc.html

  This is the complete  source  of  The  Star  Commander,  Version  0.83.  The
following files are the main components of the Commander:

  appfunc.pas   Application functions unit (overlay)
  attrib.pas    Function Attrib (overlay)
  base1.pas     Commander base unit #1 (overlay)
  base2.pas     Commander base unit #2
  cfgmenus.pas  Config menu screens (overlay)
  charset.fnt   Normal C64 font
  charset2.fnt  Alternative C64 font (for 80x25 screen modes)
  clipbrd.pas   Clipboard unit
  colors.pas    Palette setup menus (overlay)
  common.pas    Common routines for the viewer, editor and external setup
  compchr.pas   Font compiler software
  compdrv.pas   Drive routine compiler software
  comphlp.pas   Online help compiler software
  config.pas    Main setup screen and configuration menus (overlay)
  constant.pas  Constants unit
  cpdisk.pas    Function Cpdisk (overlay)
  disked.pas    Function Disked (overlay)
  dosshell.pas  DOS shell unit (overlay)
  driveprg.d64  Disk image containing a monitor and the drive routines
  editscr.pas   Sample screen editor software
  extdos.asm    Extended DOS functions
  extfiles.pas  Extended file functions unit
  fcopy.pas     File copy unit (overlay)
  fdelete.pas   File delete unit (overlay)
  frclose.pas   Close input file unit (overlay)
  fread.pas     Read input file unit (overlay)
  frenmov.pas   File rename or move unit (overlay)
  fropen.pas    Open input file unit (overlay)
  fwclose.pas   Close output file unit (overlay)
  fwopen.pas    Open output file unit (overlay)
  fwprep.pas    Prepare output file unit (overlay)
  fwrite.pas    Write output file unit (overlay)
  help.pas      Function Help (overlay)
  help.txt      Online help in formatted text file
  info.pas      Function Info (overlay)
  lowlevel.pas  Low level unit
  mainfn1.pas   Functions View, Edit, Mkdir, Quit, Mkdisk and Mktape (overlay)
  mainfn2.pas   Functions Left/Right drive, Label, Histry and EGA Ln (overlay)
  make.bat      Compiles the complete package
  miscfunc.pas  Commander miscellaneous functions (overlay)
  panel1.pas    Commander panel unit #1
  panel2.pas    Commander panel unit #2
  printhlp.pas  Online help printer software
  reinit.pas    Reinitialization unit (overlay)
  sc.pas        Commander loader
  scedit.pas    Internal editor
  scmain.pas    Commander main unit
  screen?.bin   Sample Commander screens for the external setup
  script.pas    Commander script unit
  scsetup.pas   External setup
  scview.pas    Internal viewer
  shlint.asm    Commander DOS shell interrupt service routines
  shlint2.asm   Commander loader DOS shell interrupt service routines
  smallfn.pas   Commander small menu functions unit (overlay)
  transfer.pas  Functions Copy, Renmov, Delete and Comp (overlay)
  txt2html.pas  Text to HTML converter software
  usrmnu.pas    Function Menu (overlay)
  xferlo.pas    Low-level file transfer routines (overlay)

  The following files are components of the heavily modified Turbo Pascal  7.0
and Turbo  Vision  2.0  run-time  libraries  ((C)  by  Borland  International,
1983-1992):

  app.pas       Turbo Vision Application unit
  dialogs.pas   Turbo Vision Dialogs unit
  drivers.pas   Turbo Vision Drivers unit
  memory.pas    Turbo Vision Memory unit
  menus.pas     Turbo Vision Menus unit
  objects.pas   Turbo Vision Objects unit
  sysint.asm    Turbo Pascal interrupt service routines (for the Commander)
  sysint2.asm   Turbo Pascal interrupt service routines (for the loader)
  validate.pas  Turbo Vision Validate unit
  views.pas     Turbo Vision Views unit

  The following files have been written by other individuals:

  lynxhdr.bin   BASIC program prepended to Lynx archives ((C) by Will Corley)
  ziplist.bin   Filepacked ZipCode archive directory lister  program  ((C)  by
                Darkstar, 1988)
  overxms.*     OverXMS unit ((C) by Wilbert van Leijen, 1992), bugfixed

  To edit the fonts, use FONTMAN ((C) by Horst Schaeffer, 1992-1995). You  can
download a copy of this software from the URL above.

  To compile the source, run MAKE.BAT. You will need the following softwares:

  - Borland Pascal 7.0 or Turbo Pascal 7.0. For the latter, set COMP to  "tpc"
    in MAKE.BAT.

  - Turbo Assembler. It is included in Borland Pascal 7.0 but also distributed
    separately.




  2. Copyright and license

  The Star Commander is copyright (C) by Joe Forster/STA, 1994-2010.

  The complete source of The Star Commander is distributed under the following
restrictions. Please, read them before you start hacking.  Apart  from  these,
you are free to do anything with this source. What you find below  is  not  in
"legalese" because I don't understand such text either. However, I ask you  to
not start thinking ways to  circumvent  them  or  to  find  backdoors:  worthy
programmers don't have to steal others' ideas anyway. If you don't  understand
something in this license and have questions then ask me, instead of making  a
guess.

  This license is, basically, the GNU Public License, which makes  a  software
free: you have the right to see, modify and  recompile  its  source  and  this
right cannot be taken away from you by any  individual  or  company.  However,
this license also adds the other meaning of free: that it may not be sold  for
money.

  You must distribute the original source in the unmodified, original package,
along with this license. You must  distribute  the  original  source  free  of
charge: you may not ask for money above the  fee  of  the  distribution  media
itself. You may distribute the original source to individuals  only;  you  may
not publish it on floppy disks, CD/DVD-ROM's, FTP sites,  WWW  pages,  or  any
other distribution media, include it in a software compilation  or  bundle  it
with other software or hardware  without  prior  permission  of  the  original
author. To make sure you have the original source,  you  should  download  the
package from the author's homepage. If you get a package from  somewhere  else
then make sure that it has the author's authentic verification stamped on it.

  You may use this source for educational purposes: to see how it  works.  You
may reuse this source in parts or whole: incorporate parts of it into your own
softwares, modify it to suit your own needs or derive your own softwares.

  If you reuse this source, in parts or whole,  then  your  documentation  and
your source must briefly describe what parts of this  source  were  reused  in
your software. To avoid the confusion of users of the original  software,  you
may not distribute modified versions of this source or derivative works  under
the name of the original software. Also, the modified versions and  derivative
works must clearly state that they are different from the  original  software.
If you modify this source or use a relevant part of it in  your  own  software
then you must also release your software as free software,  either  by  making
its complete source available for the public or by sending its complete source
to anyone who asks for it. Furthermore, you may not ask for money  for  either
your software or its source. This paragraph  applies  to  all  generations  of
softwares that, directly or indirectly, reuse this source.

  If you think your modifications are useful and you would like to  allow  the
users of the original software to make use of  them  then,  please,  send  the
modified sources with a detailed documentation of  the  modifications  to  the
original author. Your contributions will be  incorporated  into  the  original
software and you will also be given credit.

  The original software remains giftware. To protect  registered  users,  this
source contains no code related to the  registered  version  of  the  original
software. There are no hints about how to create personal keyfiles and if  you
compile this source then the resulting  software  will  show  no  registration
information either, even if you have a valid personal keyfile.

  Along with this source, all the X1541-series cables, that are  supported  by
this software, are also donated  to  the  public  domain.  These  include  the
following cables:

  - XE1541 extended cable ((C) by Nicolas Welte and Wolfgang Moser, 1997)
  - XM1541 multitask cable ((C) by Michael Klein and Nicolas Welte, 2000)
  - XA1541 active cable ((C) by Michael Klein and Nicolas Welte, 2000)
  - XH1541/XH1571 hybrid cables ((C) by Bigfoot, 1997)
  - XP1541/XP1571 parallel cables ((C) by Joe Forster/STA, 1997)

  If you produce and sell cables or adaptors that are  compatible  with  these
cables, you must give credits to the respective copyright owner  or  copyright
owners. If your adaptors are built onto printed circuit boards then  you  must
also make the complete layout available in a format  and  resolution  that  is
suitable for high quality reproduction so that people can build  the  adaptors
themselves, if they want.

  This common license for the cables is an agreement among the cable  authors.
Note that this license does not restrict the use of the original  X1541  cable
((C) by Leopoldo Ghielmetti, 1992) in any  way  because  the  copyright  owner
could not be contacted for an inquiry.

  This source is provided "as is", without a warranty of  any  kind.  You  are
using it at your own risk, the author is not liable for  any  damage  or  data
loss caused by the software or its derivatives. Have fun!

  Joe Forster/STA
  sta@c64.org
