├── .gitignore ├── AlCon ├── .cvsignore ├── Changelog ├── Makefile ├── README ├── copying.gpl ├── examples │ ├── .cvsignore │ ├── ex2.c │ ├── exhello.c │ ├── exkbd.c │ ├── exmouse.c │ └── rom-PC437.016 ├── fonts │ ├── count_down-PC437.014 │ ├── count_down-PC437.016 │ ├── rom-PC437.014 │ └── rom-PC437.016 ├── include │ └── AlCon.h ├── src │ └── AlCon.c └── version.txt ├── LICENSE ├── README.md ├── cal ├── BALUG │ ├── ClosePage.pl │ └── Header.pl ├── Base │ ├── ClosePage.pl │ └── Header.pl ├── Common │ └── Header.pl ├── LEEME.txt ├── Material │ └── index.html ├── cal.pl ├── index.html └── test1.pl └── setedit ├── .gitignore ├── INSTALL.txt ├── Makefile.bcc ├── Makefile.nmk ├── README ├── TODO ├── WinNT ├── .gitignore ├── Makefile ├── Makefile.nmk ├── README ├── bccmake.in ├── configed.h ├── makeinfo │ └── makeinfo.exe ├── msvcmake.in └── objs │ └── delete.me ├── calcu ├── calcu.cc ├── calcu.h ├── large.txt ├── parser.c ├── parser.txt ├── parserbr.c ├── parserml.c └── small.c ├── cfgfiles ├── asm51.pmc ├── clippmac.pmc ├── cpmacros.pmc ├── docbook.pmc ├── editor.tip ├── errors.cle ├── eterm │ ├── Setedit │ │ ├── MAIN │ │ └── Setedit.menu │ ├── readme.txt │ └── xterm-eterm-tv ├── examples.slp ├── htmlmac.pmc ├── macros.slp ├── menubind.smn ├── perlmac.pmc ├── pmacros.pmc ├── redmond.smn ├── simple.dst ├── simple.smn ├── simple.tip ├── syntaxhl.shl ├── test_shl │ └── test.vhdl ├── vhdl.pmc └── wmlmac.pmc ├── change.log ├── change0.log ├── config.pl ├── confignt.pl ├── configset ├── configset.bat ├── configure ├── configure.bat ├── conflib.pl ├── copying.dj ├── copying.gpl ├── copying.lgp ├── copying.rh ├── copyrigh ├── debian ├── README ├── README.debian ├── buildpackage ├── changelog ├── compat ├── control ├── copyright ├── files_to_backup ├── info.ex ├── infview.doc-base ├── infview.menu ├── infview.postinst ├── infview.postrm ├── infview.preinst ├── infview.prerm ├── maintainer.notes ├── rules ├── setedit.config ├── setedit.doc-base ├── setedit.menu ├── setedit.postinst ├── setedit.prerm ├── setedit.templates ├── setedit.templates.es └── watch.ex ├── distrib ├── INSTALL.LINUX ├── INSTALL.MAK ├── REMOVE_UNNEEDED ├── VCSA.SH ├── arranca.bat ├── ask_config.sh ├── calltpc7.zip ├── default.map ├── distrib1.txt ├── distrib2.txt ├── distrib3.txt ├── example.zip ├── examples │ ├── examp1.dst │ ├── examp1.epr │ ├── test1.cc │ └── tvrc ├── infINSTALL.MAK ├── infREMOVE_UNNEEDED ├── kextend.zip ├── linux.faq └── setedit.pif ├── doc ├── .gitignore ├── Makefile.bcc ├── editor.tx ├── gnumake.in ├── infeng.tx ├── infview.man ├── install │ ├── bcc.txt │ ├── cygwin.txt │ ├── djgpp.txt │ ├── linux.txt │ ├── mingwin.txt │ ├── msvc.txt │ ├── tools.txt │ └── unix.txt ├── line.par ├── pre_gen │ ├── infview.inf │ ├── infview.txt │ ├── sdg.inf │ ├── sdg.txt │ ├── setedit.inf │ └── setedit.txt ├── readme.1st ├── rhidemac.htm ├── rhidemac.txi ├── rhidemac.txt ├── sdg.tx ├── sdh.c ├── sdh.gpr ├── set.htm ├── set.txi ├── set.txt └── setedit.man ├── easydiag ├── easydia1.h ├── easydiag.h ├── lablchek.cc ├── lablradi.cc ├── snostate.cc ├── snostate.h ├── tcheck2.cc ├── tcheck2.h ├── test.cc ├── tmiclust.cc ├── tmiclust.h ├── tsbutton.cc ├── tsbutton.h ├── tschkarr.cc ├── tschkarr.h ├── tschkbox.cc ├── tschkbox.h ├── tshscrol.cc ├── tshscrol.h ├── tshzgrp.cc ├── tshzgrp.h ├── tsinplin.cc ├── tsinplin.h ├── tsinplpi.cc ├── tsinplpi.h ├── tslabel.cc ├── tslabel.h ├── tslider.cc ├── tslider.h ├── tslistbo.cc ├── tslistbo.h ├── tsradbot.cc ├── tsradbot.h ├── tssortlb.cc ├── tssortlb.h ├── tssortva.h ├── tssosslb.cc ├── tssosslb.h ├── tstatext.cc ├── tstatext.h ├── tstextsc.cc ├── tstextsc.h ├── tstsorlb.cc ├── tstsorlb.h ├── tsvegrp.cc ├── tsvegrp.h ├── tsview.cc ├── tsview.h ├── tsviewco.cc ├── tsviewco.h ├── ttextscr.cc └── ttextscr.h ├── extra ├── djmdr.s ├── dyncat.cc ├── dyncat.h ├── memmove.s ├── mixer.c ├── mixer.h ├── mixersb.c ├── mixoss.c ├── stackdbg.c ├── stackdbg.h ├── strncpyz.cc └── strndup.cc ├── fonts ├── .gitignore ├── BTerminus.sft ├── Makefile ├── Terminus.sft ├── XFont.sft ├── antique.016 ├── antique.sft ├── boxroun0.000 ├── boxround.cc ├── boxround.sft ├── cntdown.cc ├── cntdown.sft ├── cntdown0.000 ├── common1.h ├── common2.h ├── convpcf1.cc ├── intcode.h ├── let.txt ├── medieval.016 ├── medieval.sft ├── ocr.cc ├── ocr.sft ├── ocr0.000 ├── raw2sft.cc ├── roman.016 ├── roman.sft ├── rombios.cc ├── rombios.sft ├── rombios0.000 ├── thin.cc ├── thin.sft └── thin0.000 ├── fromdos.pl ├── fromunix.pl ├── gettext ├── .gitignore ├── Makefile.in ├── bindtextdom.c ├── config.h ├── dcgettext.c ├── dcigettext.c ├── dcngettext.c ├── dgettext.c ├── djgpp.h ├── dngettext.c ├── explodename.c ├── finddomain.c ├── gettext.c ├── gettext.h ├── gettextP.h ├── hash-string.h ├── intl-compat.c ├── l10nflist.c ├── libgettext.h ├── libgnuintl.h ├── loadinfo.h ├── loadmsgcat.c ├── localcharset.c ├── localealias.c ├── ngettext.c ├── plural.c ├── plural.y └── textdomain.c ├── holidays ├── .gitignore ├── Makefile.in ├── README ├── argentina.c ├── datetools.c ├── datetools.h ├── defholidays.c ├── deutschland.c ├── holidays.conf ├── test.c └── test.mak ├── include ├── .gitignore ├── bufun.h ├── ced_clas.h ├── ced_coma.h ├── ced_exte.h ├── ced_inte.h ├── ced_pcre.h ├── ceditint.h ├── ceditor.h ├── completi.h ├── edmsg.h ├── edspecs.h ├── gzfiles.h ├── keytrans.h ├── loadkbin.h ├── loadshl.h ├── pathtool.h ├── pmcoll.h ├── runprog.h ├── sdginter.h ├── setconst.h ├── sindicat.h ├── slpinter.h ├── splinman.h ├── ssyntax.h ├── tags.h ├── tvsetuti.h ├── ucdefs.h └── vername.h ├── infview ├── change.log ├── include │ ├── inf.h │ ├── infalone.h │ ├── infbase.h │ ├── infbaser.h │ ├── infr.h │ └── manview.h ├── inf.cc ├── infbase.cc ├── infdummy.cc ├── infmain.cc ├── infmenu.cc ├── manview.cc ├── names │ ├── nhiscoll.cc │ ├── ninfview.cc │ ├── ninfwind.cc │ └── nmanwind.cc ├── streams │ ├── sinf.cc │ └── sman.cc └── version.txt ├── install ├── .gitignore ├── create.pl ├── datafile.c ├── install.cc └── readme.txt ├── internac ├── .gitignore ├── colors.cc ├── de.po ├── emptymsg.cc ├── es.po ├── fix.c ├── fix.pl ├── getcolors.cc ├── getids.cc ├── gnumake.in ├── h_de.po ├── h_es.po ├── makelist.pl └── utod.pl ├── libbzip2 ├── .gitignore ├── Makefile.bcc ├── Makefile.nmk ├── blocksort.c ├── bzlib.c ├── bzlib.h ├── bzlib_private.h ├── compress.c ├── crctable.c ├── decompress.c ├── gnumake.in ├── huffman.c ├── license ├── randtable.c └── readme ├── libpcre ├── .gitignore ├── Makefile.bcc ├── Makefile.nmk ├── README ├── dftables.c ├── get.c ├── gnumake.in ├── internal.h ├── licence ├── maketables.c ├── pcre.c ├── pcre.h └── study.c ├── librhuti ├── abstorel.cc ├── back2sl.cc ├── basename.cc ├── expvar.cc ├── fexpand.cc ├── io.cc ├── rhutils.h ├── specs.cc ├── splitfn.cc ├── stricat.cc ├── stridown.cc ├── stridup.cc └── strifree.cc ├── libz ├── .gitignore ├── Makefile.bcc ├── Makefile.nmk ├── README ├── adler32.c ├── compress.c ├── crc32.c ├── deflate.c ├── deflate.h ├── gnumake.in ├── gzio.c ├── infblock.c ├── infblock.h ├── infcodes.c ├── infcodes.h ├── inffast.c ├── inffast.h ├── inffixed.h ├── inflate.c ├── inftrees.c ├── inftrees.h ├── infutil.c ├── infutil.h ├── trees.c ├── trees.h ├── uncompr.c ├── zconf.h ├── zlib.h ├── zutil.c └── zutil.h ├── mainsrc ├── accehtml.cc ├── bufun.cc ├── ceditor.cc ├── completi.cc ├── deedidia.cc ├── doedidia.cc ├── dumpfile.cc ├── edconst.cc ├── editorfo.cc ├── editwind.cc ├── edspecs.cc ├── fstrcmp.c ├── gzfiles.cc ├── keytrans.cc ├── linelen.cc ├── loaddefl.cc ├── loadfunc.cc ├── loadshl.cc ├── loadusew.cc ├── macrocom.cc ├── pathtool.cc ├── pclipper.cc ├── pmacros.cc ├── pperl.cc ├── pphp.cc ├── ppython.cc ├── pvarious.cc ├── pvhdl.cc ├── rhideint.cc ├── sdginter.cc ├── search.cc ├── slpinter.cc ├── splinman.cc ├── ssyntax.cc ├── tags.cc └── tsindica.cc ├── makes ├── .gitignore ├── Makefile ├── allegro.cfg ├── amp3.gpr ├── amp3.imk ├── amp3.umk ├── blink.c ├── common.bmk ├── common.imk ├── common.nmk ├── config.bcc ├── config.nmk ├── djgpp │ ├── compinf.pl │ ├── compress.bat │ └── compress.pl ├── djgppenv.env ├── easydiag.gpr ├── easydiag.imk ├── easydiag.umk ├── editor.bmk ├── editor.gpr ├── editor.imk ├── editor.mkf ├── editor.umk ├── extra.gpr ├── extra.imk ├── extra.umk ├── extrimk.cc ├── genimk.cc ├── includer.bmk ├── includer.imk ├── inffd.gpr ├── inffd.imk ├── inffd.umk ├── infview.bmk ├── infview.gpr ├── infview.imk ├── infview.mkf ├── infview.umk ├── install.gpr ├── install.imk ├── install.mkf ├── install.umk ├── librhuti.gpr ├── librhuti.imk ├── librhuti.umk ├── libset.gpr ├── libset.imk ├── libset.mkf ├── libset.umk ├── line.par ├── linux.env ├── linux │ ├── .gitignore │ ├── compinf.pl │ └── compress.pl ├── linux_set.env ├── lista ├── listaxtr ├── mlink.c ├── obj │ └── delete.me ├── objinf │ └── delete.me ├── objlib │ └── delete.me ├── objsdg │ └── delete.me ├── r.bat ├── readme.txt ├── sdgcline.gpr ├── sdgcline.imk ├── sdgcline.mkf ├── sdgcline.umk ├── settv.gpr ├── settv.imk ├── settv.umk ├── testeasy.gpr ├── testeasy.imk ├── testeasy.mkf ├── testeasy.umk ├── tmp │ ├── delete.me │ └── test.cc ├── try-y.bat ├── yamd-off.bat ├── yamd-on.bat └── yamddos.env ├── miscperl.pl ├── mp3 ├── ampdiag.cc ├── consts.h ├── intermp3.cc ├── intermp3.h ├── libamp │ ├── .gitignore │ ├── amp.h │ ├── audio.h │ ├── audioalg.c │ ├── audioio.h │ ├── audiolib.c │ ├── common.imk │ ├── config.h │ ├── controldata.h │ ├── dump.c │ ├── dump.h │ ├── formats.c │ ├── formats.h │ ├── getbits.c │ ├── getbits.h │ ├── getdata.c │ ├── getdata.h │ ├── guicontr.c │ ├── guicontrol.h │ ├── huffman.c │ ├── huffman.h │ ├── layer2.c │ ├── layer2.h │ ├── layer3.c │ ├── layer3.h │ ├── libamp.gpr │ ├── libamp.h │ ├── libamp.imk │ ├── libamp.mkf │ ├── libamp.umk │ ├── misc2.c │ ├── misc2.h │ ├── obj │ │ └── delete.me │ ├── position.c │ ├── position.h │ ├── proto.h │ ├── readme │ ├── readme.txt │ ├── rtbuf.c │ ├── rtbuf.h │ ├── transfor.c │ ├── transform.h │ └── util.c ├── mp3list.cc ├── mp3play.cc ├── mp3play.h └── mpegsound │ ├── .gitignore │ ├── bitwindow.cc │ ├── common.imk │ ├── fileinput.cc │ ├── fileplayer.cc │ ├── filter.cc │ ├── filter_2.cc │ ├── httpinput.cc │ ├── huffmantable.cc │ ├── mpegsnd.gpr │ ├── mpegsnd.imk │ ├── mpegsnd.mkf │ ├── mpegsnd.umk │ ├── mpegsound.h │ ├── mpegtable.cc │ ├── mpegtoraw.cc │ ├── mpegwtoraw.cc │ ├── mpg_locals.h │ ├── mpglayr1.cc │ ├── mpglayr2.cc │ ├── mpglayr3.cc │ ├── obj │ └── delete.me │ ├── osdisk.cc │ ├── rawplayer.cc │ ├── rawtofile.cc │ ├── rawtowav.cc │ ├── soundinputstream.cc │ ├── soundplayer.cc │ └── wavetoraw.cc ├── names ├── nceditor.cc ├── ndskwasc.cc ├── ndskwcal.cc ├── ndskwcli.cc ├── ndskwclo.cc ├── ndskwedi.cc ├── ndskwhel.cc ├── ndskwman.cc ├── ndskwmes.cc ├── ndskwmp3.cc ├── ndskwprj.cc ├── neditwin.cc ├── nfileedi.cc ├── nsindica.cc └── ntedcol.cc ├── policy.txt ├── redhat ├── .gitignore ├── README ├── config-rpm.sh ├── create-all-rpms.sh ├── create-dirs.sh ├── create-rpms.sh └── setedit.spec.in ├── scrnsave ├── Makefile ├── copying ├── extrscsv.txt ├── fakealle │ ├── fakealle.c │ ├── fakealle.gpr │ ├── fakealle.mak │ ├── include │ │ ├── fakealle.h │ │ ├── putscree.h │ │ └── varios.h │ ├── putscree.c │ └── varios1.c ├── how-to.txt ├── plasma1 │ ├── ps1.c │ ├── ps1.gpr │ └── ps1.mak ├── plasma2 │ ├── ps2.c │ ├── ps2.gpr │ └── ps2.mak ├── plasma3 │ ├── ps3.c │ ├── ps3.gpr │ └── ps3.mak ├── plasma4 │ ├── ps4.c │ ├── ps4.gpr │ └── ps4.mak ├── plasmlib │ ├── include │ │ ├── lissa.h │ │ ├── math1.h │ │ ├── math2.h │ │ ├── math4.h │ │ ├── mixsurf.h │ │ ├── mksurf.h │ │ ├── mksurf4.h │ │ ├── movsurf1.h │ │ ├── movsurf2.h │ │ ├── palette.h │ │ └── plasa1.h │ ├── lissa.c │ ├── math1.c │ ├── math2.c │ ├── math4.c │ ├── mixsfake.gpr │ ├── mixsfake.mak │ ├── mixsurf.c │ ├── mksurf1.c │ ├── mksurf2.c │ ├── mksurf4.c │ ├── movsurf1.c │ ├── movsurf2.c │ ├── obj │ │ └── delete.me │ ├── objfake │ │ └── delete.me │ ├── palette.c │ ├── plasa1.c │ ├── plasa2.c │ ├── plasa2g.c │ ├── plasa3.c │ ├── plasmlib.gpr │ └── plasmlib.mak └── readme.txt ├── sdg ├── bufun2.cc ├── edspecs2.cc ├── gettext.c ├── html.frt ├── include │ ├── mli.h │ ├── mliabase.h │ ├── mliasimp.h │ ├── mlibase.h │ ├── mlicsdg.h │ ├── mlieditd.h │ ├── mliedito.h │ ├── mlisdg.h │ ├── mlisdgi.h │ ├── mlivar.h │ └── txhgen.h ├── mli.cc ├── mliasimp.cc ├── mlicsdg.cc ├── mliediti.cc ├── mliedito.cc ├── mlisdg.cc ├── multi.frt ├── sdg.his ├── tex.frt ├── txhgen-i.htm ├── txhgen-i.txi ├── txhgen-i.txt ├── txhgen.cc ├── txhgen.txt └── txhmain.cc ├── set_insed ├── setedit ├── advice.cc ├── ascii.cc ├── boardmix.cc ├── calendar.cc ├── codepage.cc ├── debug.cc ├── dskascii.cc ├── dskcalen.cc ├── dskclip.cc ├── dskclose.cc ├── dskedito.cc ├── dskhelp.cc ├── dskman.cc ├── dskmessa.cc ├── dskmp3.cc ├── dskwin.cc ├── dstfile.cc ├── edcolor.cc ├── edfonts.cc ├── editdiag.cc ├── editmain.cc ├── editmenu.cc ├── editpale.cc ├── edkeys.cc ├── edmsg.cc ├── edprefs.cc ├── edprint.cc ├── edprj.cc ├── getctxhl.cc ├── holidays.cc ├── include │ ├── advice.h │ ├── ascii.h │ ├── calendar.h │ ├── codepage.h │ ├── debug.h │ ├── dskascii.h │ ├── dskcalen.h │ ├── dskclip.h │ ├── dskclose.h │ ├── dskedito.h │ ├── dskhelp.h │ ├── dskman.h │ ├── dskmessa.h │ ├── dskmp3.h │ ├── dskprj.h │ ├── dskwin.h │ ├── edcollec.h │ ├── editcoma.h │ ├── edprint.h │ ├── loadcle.h │ ├── loadnobkp.h │ ├── pal.h │ ├── palbcc.h │ ├── palconv.h │ ├── paldjd.h │ ├── palfte.h │ ├── palmc.h │ ├── pathlist.h │ ├── setapp.h │ └── tpaltext.h ├── intgrep.cc ├── loadcle.cc ├── loadnobkp.cc ├── menuload.cc ├── msignal.cc ├── pathlist.cc ├── runprog.cc ├── scresave.cc ├── streams │ ├── sdskasci.cc │ ├── sdskcale.cc │ ├── sdskclip.cc │ ├── sdskclos.cc │ ├── sdskedit.cc │ ├── sdskhelp.cc │ ├── sdskman.cc │ ├── sdskmess.cc │ ├── sdskmp3.cc │ ├── sdskprj.cc │ └── sedcolle.cc ├── tedcolle.cc ├── tips.cc ├── tpaltext.cc └── winlistd.cc ├── settvuti ├── diaghelp.cc ├── dktclock.cc ├── fileopen.cc ├── fiopeaid.cc ├── include │ ├── diaghelp.h │ ├── dktclock.h │ ├── edhists.h │ ├── fileopen.h │ ├── fiopeaid.h │ ├── inputsca.h │ ├── nostatex.h │ ├── sarray.cc │ ├── sarray.h │ ├── setstack.h │ ├── settvuti.h │ ├── tdiagaid.h │ ├── tdiagrow.h │ ├── tinppipe.h │ ├── tnocastc.h │ ├── tnosostr.h │ ├── tprogbar.h │ ├── tprogdia.h │ ├── tprogrdi.h │ ├── tprogres.h │ ├── tstringa.h │ ├── tstrlbox.h │ └── viewplus.h ├── inputsca.cc ├── names │ ├── ninputsc.cc │ ├── nprogbar.cc │ ├── nprogres.cc │ ├── ntnocast.cc │ └── ntnosost.cc ├── nostatex.cc ├── setstack.cc ├── streams │ ├── sprogbar.cc │ ├── sprogres.cc │ ├── stnocast.cc │ └── stnonost.cc ├── tdiagaid.cc ├── tdiagrow.cc ├── tinppipe.cc ├── tnocastc.cc ├── tnosostr.cc ├── tprogbar.cc ├── tprogdia.cc ├── tprogrdi.cc ├── tprogres.cc ├── tstrlbox.cc ├── uisarray.cc ├── ussarray.cc └── viewplus.cc ├── snapshot.pl ├── streams ├── sceditor.cc ├── sedhelp.cc └── ssindica.cc ├── tools ├── .gitignore ├── TVpo.pl ├── applycvs.pl ├── cmclist.c ├── conv.cc ├── cvssget ├── cvssput ├── cvssyncget.cc ├── cvssyncput.cc ├── kbv.c ├── lines.pl ├── makediff.bat ├── makediff.pl ├── mapa.cc ├── mft.c ├── mft.gpr ├── mideline.cc ├── moverepo.pl ├── putcopyr.pl ├── sarge.supp ├── symify.cc ├── valgrind.cmd └── woody.supp ├── update ├── update.bat ├── updaterev.pl ├── version.txt ├── windos.faq └── www-site ├── .gitignore ├── ComparativaGCC.html ├── ComparativaGCC_html_m35e8e2b6.jpg ├── Cygwin_install.txt ├── announce.html ├── change.html ├── examples.css ├── iguazu.html ├── index.html ├── infview.html ├── my_file1.html ├── my_file2.html ├── my_file3.html ├── pmoreno.html ├── readme.html ├── readmeinf.html ├── tag_imgs ├── a_project.png ├── advice_tags.png ├── class_child1.png ├── class_list.png ├── d_tag_options.png ├── generate_tags.png ├── jump_symbol.png ├── name_project.png ├── project_open.png ├── sorted.png ├── symbols_example.png ├── tag_options.png ├── this_and_parents.png ├── this_class.png └── w_completion.png ├── tags.html ├── update └── xterm.html /.gitignore: -------------------------------------------------------------------------------- 1 | tvision 2 | setedit/libmigdb 3 | -------------------------------------------------------------------------------- /AlCon/.cvsignore: -------------------------------------------------------------------------------- 1 | *.dst 2 | *.epr 3 | *.gpr 4 | *.gdt 5 | 6 | -------------------------------------------------------------------------------- /AlCon/Changelog: -------------------------------------------------------------------------------- 1 | $Log$ 2 | -------------------------------------------------------------------------------- /AlCon/Makefile: -------------------------------------------------------------------------------- 1 | BPP=32 2 | LIBS=-lAlCon `allegro-config --libs` 3 | #LIBS=-lAlCon `allegro-config --static debug` 4 | DIRLIB=lib 5 | DIROBJ=obj 6 | EXDIR=examples 7 | INCLUDEDIR=include 8 | SRCDIR=src 9 | COMPILE_FLAGS= -O2 10 | #COMPILE_FLAGS= -g 11 | TARGETS=$(DIRLIB)/libAlCon.a $(EXDIR)/exhello $(EXDIR)/ex2 $(EXDIR)/exmouse $(EXDIR)/exkbd 12 | 13 | all: $(TARGETS) 14 | 15 | $(DIRLIB)/libAlCon.a: $(DIROBJ)/AlCon.o 16 | ar r $@ $< 17 | 18 | $(DIROBJ)/AlCon.o: $(SRCDIR)/AlCon.c $(INCLUDEDIR)/AlCon.h 19 | gcc -o $@ -I$(INCLUDEDIR) -DBPP=$(BPP) $(COMPILE_FLAGS) -c $< 20 | 21 | $(EXDIR)/exhello: $(EXDIR)/exhello.c $(DIRLIB)/libAlCon.a 22 | gcc -o $@ -I$(INCLUDEDIR) -L$(DIRLIB) $(COMPILE_FLAGS) $< $(LIBS) 23 | 24 | $(EXDIR)/ex2: $(EXDIR)/ex2.c $(DIRLIB)/libAlCon.a 25 | gcc -o $@ -I$(INCLUDEDIR) -L$(DIRLIB) $(COMPILE_FLAGS) $< $(LIBS) 26 | 27 | $(EXDIR)/exmouse: $(EXDIR)/exmouse.c $(DIRLIB)/libAlCon.a 28 | gcc -o $@ -I$(INCLUDEDIR) -L$(DIRLIB) $(COMPILE_FLAGS) $< $(LIBS) 29 | 30 | $(EXDIR)/exkbd: $(EXDIR)/exkbd.c $(DIRLIB)/libAlCon.a 31 | gcc -o $@ -I$(INCLUDEDIR) -L$(DIRLIB) $(COMPILE_FLAGS) $< $(LIBS) 32 | 33 | clean: 34 | $(RM) -fv $(TARGETS) $(DIROBJ)/*.o 35 | 36 | -------------------------------------------------------------------------------- /AlCon/examples/.cvsignore: -------------------------------------------------------------------------------- 1 | ex2 2 | exhello 3 | exkbd 4 | exmouse 5 | core 6 | *.log 7 | -------------------------------------------------------------------------------- /AlCon/examples/exhello.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2001 by Salvador E. Tropea (SET) 3 | This code is covered by the GPL license. A copy of the license should 4 | be provided in the same package. 5 | */ 6 | #define Uses_AlCon_conio 7 | #include "AlCon.h" 8 | 9 | int main(void) 10 | { 11 | /* Create an 80x25 screen => 640x400 */ 12 | AlCon_Init(80,25); 13 | 14 | /* Set background to blue and foreground to yellow */ 15 | textattr(YELLOW | (BLUE<<4)); 16 | 17 | /* Jump to column 34, row 12 (1,1 is top left) */ 18 | gotoxy(34,12); 19 | 20 | /* Print a message */ 21 | cputs("Hello, world!"); 22 | 23 | /* Wait for a key */ 24 | getch(); 25 | 26 | /* Deinitialize all */ 27 | AlCon_Exit(); 28 | return 0; 29 | } 30 | 31 | END_OF_MAIN(); -------------------------------------------------------------------------------- /AlCon/examples/exmouse.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2001 by Salvador E. Tropea (SET) 3 | This code is covered by the GPL license. A copy of the license should 4 | be provided in the same package. 5 | */ 6 | #define Uses_AlCon_conio 7 | #include "AlCon.h" 8 | 9 | int main(void) 10 | { 11 | int x,y,buttons; 12 | int xa,ya,buttonsa; 13 | 14 | /* Create an 80x25 screen => 640x400 */ 15 | AlCon_Init(80,25); 16 | 17 | /* Set background to blue and foreground to yellow */ 18 | textattr(YELLOW | (BLUE<<4)); 19 | 20 | while (!kbhit()) 21 | { 22 | AlCon_GetMousePos(&x,&y,&buttons); 23 | if (x!=xa || y!=ya || buttons!=buttonsa) 24 | { 25 | gotoxy(5,5); 26 | cprintf("Mouse: X=%2d Y=%2d Buttons: %d",x,y,buttons); 27 | xa=x; ya=y; buttonsa=buttons; 28 | } 29 | } 30 | 31 | /* Deinitialize all */ 32 | AlCon_Exit(); 33 | return 0; 34 | } 35 | 36 | END_OF_MAIN(); -------------------------------------------------------------------------------- /AlCon/examples/rom-PC437.016: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/AlCon/examples/rom-PC437.016 -------------------------------------------------------------------------------- /AlCon/fonts/count_down-PC437.014: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/AlCon/fonts/count_down-PC437.014 -------------------------------------------------------------------------------- /AlCon/fonts/count_down-PC437.016: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/AlCon/fonts/count_down-PC437.016 -------------------------------------------------------------------------------- /AlCon/fonts/rom-PC437.014: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/AlCon/fonts/rom-PC437.014 -------------------------------------------------------------------------------- /AlCon/fonts/rom-PC437.016: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/AlCon/fonts/rom-PC437.016 -------------------------------------------------------------------------------- /AlCon/version.txt: -------------------------------------------------------------------------------- 1 | 0.0.1 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SETEdit and tools 2 | 3 | SETEdit is a text editor with an Text User Interface with '90s style. 4 | Well, it was created in 1996. 5 | 6 | The setedit folder contains the editor. 7 | 8 | AlCon is a conio emulation on top of Allegro library. 9 | 10 | Cal is some bizarre HTML cascade style generator I use for lightweight sites. 11 | 12 | -------------------------------------------------------------------------------- /cal/BALUG/Header.pl: -------------------------------------------------------------------------------- 1 | sub BALUGHeader 2 | { 3 | my ($hash)=@_; 4 | my ($oldKeys); 5 | 6 | $oldKeys=${$hash}{'keywords'}; 7 | ${$hash}{'keywords'}='Linux,Argentina,linux,argentina,Buenos Aires,buenos aires,BALUG,lug,users group,usuarios'; 8 | ${$hash}{'keywords'}.=','.$oldKeys if $oldKeys; 9 | ${$hash}{'css'}='balug.css,black.css:Black guru' unless ${$hash}{'css'}; 10 | ${$hash}{'icon'}='imagenes/micro-tux.png' unless ${$hash}{'icon'}; 11 | 12 | return 1; 13 | } 14 | 1; 15 | -------------------------------------------------------------------------------- /cal/Base/ClosePage.pl: -------------------------------------------------------------------------------- 1 | sub BaseClosePage 2 | { 3 | print FilOut "\n\n"; 4 | return 0; 5 | } 6 | 1; 7 | -------------------------------------------------------------------------------- /cal/Common/Header.pl: -------------------------------------------------------------------------------- 1 | sub CommonHeader 2 | { 3 | my ($hash)=@_; 4 | 5 | ${$hash}{'doctype'}='-//W3C//DTD HTML 4.01//EN' unless ${$hash}{'doctype'}; 6 | ${$hash}{'resource-type'}='document' unless ${$hash}{'resource-type'}; 7 | ${$hash}{'distribution'}='global' unless ${$hash}{'distribution'}; 8 | ${$hash}{'Content-Type'}='text/html; charset=ISO-8859-1' unless ${$hash}{'Content-Type'}; 9 | ${$hash}{'Content-Style-Type'}='text/css' unless ${$hash}{'Content-Style-Type'}; 10 | 11 | return 1; 12 | } 13 | 14 | 1; 15 | -------------------------------------------------------------------------------- /cal/LEEME.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/cal/LEEME.txt -------------------------------------------------------------------------------- /cal/Material/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/cal/Material/index.html -------------------------------------------------------------------------------- /cal/cal.pl: -------------------------------------------------------------------------------- 1 | ###[txh]#################################################################### 2 | # 3 | # Cascade Associations Language => CAL 4 | # Copyright (c) 2002 by Salvador Eduardo Tropea (SET) 5 | # 6 | # Module: CAL 7 | # Comment: 8 | # This should be included by any cal script. 9 | # 10 | ####################################################################[txi]### 11 | 12 | @SkinPriority=('Common','Base'); 13 | $NameHTMLFile='unknown.html'; 14 | 15 | sub Insert 16 | { 17 | my ($rut,$hash)=@_; 18 | my ($a,$module,$ret); 19 | 20 | foreach $a (@SkinPriority) 21 | { 22 | $module=$a.'/'.$rut.'.pl'; 23 | if (-e $module) 24 | { 25 | require $module; 26 | eval("\$ret=$a$rut(\$hash)"); 27 | print "Executing: $a$rut\n"; 28 | return 1 unless $ret; 29 | } 30 | } 31 | die "Unknown module requested: $rut\n"; 32 | } 33 | 34 | sub CreateHTML 35 | { 36 | my ($file)=@_; 37 | 38 | $NameHTMLFile=$file if $file; 39 | open(FilOut,'>'.$NameHTMLFile) || die "Can't create $NameHTMLFile\n"; 40 | } 41 | 1; 42 | -------------------------------------------------------------------------------- /cal/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/cal/index.html -------------------------------------------------------------------------------- /cal/test1.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/cal/test1.pl -------------------------------------------------------------------------------- /setedit/.gitignore: -------------------------------------------------------------------------------- 1 | configure.cache 2 | Makefile 3 | setedit.epr 4 | .desktop_files_bkp 5 | **.o 6 | **.exe 7 | **.a 8 | **.so 9 | -------------------------------------------------------------------------------- /setedit/Makefile.nmk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # 3 | # Copyright (c) 2003-2004 by Salvador E. Tropea 4 | # Covered by the GPL license. 5 | # 6 | # That's the makefile for MSVC compiler. 7 | # 8 | # This file reuses the Makefile.bcc file but defining FOR_NMAKE variable to 9 | # select Microsoft tools. 10 | # 11 | 12 | FOR_NMAKE=1 13 | # Uncomment to generate code with debug information. 14 | #DEBUG=1 15 | !include Makefile.bcc 16 | 17 | -------------------------------------------------------------------------------- /setedit/TODO: -------------------------------------------------------------------------------- 1 | That's a list of things to do in the project: 2 | 3 | * Navigate projects changing the working directory. It should use a stack of 4 | current directories. Each time a subproject is opened the directory is changed 5 | and the old pushed to the stack. When the project is closed a pop should 6 | provide the previous dir and project. If the user breaks the chain by manually 7 | opening another project the stack should by flushed. 8 | It will mostly help Windows users that likes to start an application from a 9 | central icon and then choose the working dir. 10 | 11 | * Add the TV templated suggested by JASC to simplify the code. 12 | 13 | * Backwards search using a line by line aproach. 14 | 15 | * Fix problems with the code pages in Windows versions. Reference report: 16 | 0001.txt. 17 | * Check what can be removed from: 18 | SaveFontLoadedInfo(s); 19 | SavePaletteSystem(s); 20 | s << TScreen::screenMode; 21 | s << UseExternPrgForMode; 22 | s.writeString(ExternalPrgMode); 23 | * Remove: TSetEditorApp::ExternalPrgMode, UseExternPrgForMode 24 | * Clean code page and font code. 25 | * Clean all preferences dialogs. 26 | * Evaluate if the TTextPalette member should test Changed before calling the low level set. 27 | -------------------------------------------------------------------------------- /setedit/WinNT/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /setedit/WinNT/configed.h: -------------------------------------------------------------------------------- 1 | /* Generated automatically by the configure script */ 2 | 3 | /* Allegro library is available */ 4 | /*#define HAVE_ALLEGRO*/ 5 | 6 | /* Perl Compatible Regular Expressions support */ 7 | #define HAVE_PCRE_LIB 1 8 | 9 | /* PCRE version 2.0.6 or newer */ 10 | #define HAVE_PCRE206 1 11 | 12 | /* PCRE version 2.0.6 or newer */ 13 | #define HAVE_BZIP2 1 14 | 15 | #define PCRE_HEADER_NAME 16 | 17 | #define CONFIG_PREFIX "" 18 | 19 | #define SEOS_Win32 20 | #define SEOS_STR "Win32" 21 | #define SEOSf_ 22 | 23 | #if defined(_MSVC) || defined(__MSC_VER) || defined(_MSC_VER) 24 | #define SEComp_MSC 25 | #define SEComp_STR "MSC" 26 | #else 27 | #define SEComp_BCPP 28 | #define SEComp_STR "BCPP" 29 | #endif 30 | 31 | #define SECompf_ 32 | #define SECPU_x86 33 | #define SECPU_STR "x86" 34 | 35 | -------------------------------------------------------------------------------- /setedit/WinNT/makeinfo/makeinfo.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/WinNT/makeinfo/makeinfo.exe -------------------------------------------------------------------------------- /setedit/WinNT/objs/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/calcu/calcu.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | // The history IDs 4 | #include 5 | // The commands and help contexts 6 | #include 7 | 8 | extern void executeCalc(char *startVal); 9 | 10 | -------------------------------------------------------------------------------- /setedit/calcu/large.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/calcu/large.txt -------------------------------------------------------------------------------- /setedit/cfgfiles/docbook.pmc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/cfgfiles/docbook.pmc -------------------------------------------------------------------------------- /setedit/cfgfiles/eterm/Setedit/Setedit.menu: -------------------------------------------------------------------------------- 1 | # Setedit control menu 2 | [menu:Eterm] 3 | 4 | /Font/* 5 | {Normal} ^@\e]50;# 6 | {Larger} ^@\e]50;#+ 7 | {Smaller} ^@\e]50;#- 8 | {-} 9 | {Font 1} ^@\e]50;#1 10 | {Font 2} ^@\e]50;#2 11 | {Font 3} ^@\e]50;#3 12 | {Font 4} ^@\e]50;#4 13 | 14 | /Terminal/* 15 | ./Toggles/* 16 | {Map Alert} ^@\e]6;21\a 17 | {Primary/Secondary Screen} ^@\e[?47t 18 | {Reverse Video} ^@\e[?5t 19 | {Visual Bell} ^@\e]6;20\a 20 | {Xterm Selection Behavior} ^@\e]6;22\a 21 | ../Menubar/* 22 | {Toggle Visibility}{Ctrl-Button3} ^@\e[?10t 23 | {Refresh Menubar} ^@\e[?10h 24 | {Toggle Window Move by Menubar} ^@\e]6;15\a 25 | 26 | / 27 | [show] 28 | [done] 29 | -------------------------------------------------------------------------------- /setedit/cfgfiles/pmacros.pmc: -------------------------------------------------------------------------------- 1 | ; Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | ; see copyrigh file for details 3 | ; 4 | ; 5 | ; That's the global pmacros file here you can put the pmacros that are 6 | ; independent of the file type. 7 | ; For more details look in the cpamcros.pmc file. 8 | ; 9 | 10 | Trigger: "bb" 11 | Mode: 0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1 12 | "\\b: {@0}" 13 | 14 | -------------------------------------------------------------------------------- /setedit/cfgfiles/simple.dst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/cfgfiles/simple.dst -------------------------------------------------------------------------------- /setedit/cfgfiles/syntaxhl.shl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/cfgfiles/syntaxhl.shl -------------------------------------------------------------------------------- /setedit/change.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/change.log -------------------------------------------------------------------------------- /setedit/change0.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/change0.log -------------------------------------------------------------------------------- /setedit/configset.bat: -------------------------------------------------------------------------------- 1 | :@Rem Copyright (C) 1999-2003 by Salvador E. Tropea (SET), 2 | :@Rem see copyrigh file for details 3 | @ 4 | @echo . 5 | @echo This batch file configures the packages using the settings that the 6 | @echo *maintainer* uses for your own needs. 7 | @echo These settings doesn't have to be the same you want. 8 | @echo The most common defaults are obtained by just running configure.bat. 9 | @echo If you want to reconfigure the package first delete configure.cache 10 | @echo . 11 | @pause 12 | @echo off 13 | @del configure.cache 14 | @del Makefile 15 | @set CFLAGS=-O2 -Wall -Werror -gstabs+3 16 | @set CXXFLAGS=-O2 -Wall -Werror -gstabs+3 -fno-exceptions -fno-rtti 17 | @echo "--Xcppflags=-O3 -fomit-frame-pointer -ffast-math -fno-exceptions -fno-rtti" --shipped-intl > perl.parm 18 | @echo --enable-maintainer-mode --libset >> perl.parm 19 | @echo --no-prefix-h %1 %2 %3 %4 %5 %6 %7 %8 %9 >> perl.parm 20 | @perl config.pl @perl.parm 21 | @del perl.parm 22 | 23 | -------------------------------------------------------------------------------- /setedit/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | perl config.pl "$@" 3 | -------------------------------------------------------------------------------- /setedit/configure.bat: -------------------------------------------------------------------------------- 1 | :@Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | :@Rem see copyrigh file for details 3 | @ 4 | @Echo off 5 | @rm -f Makefile 6 | @perl config.pl %1 %2 %3 %4 %5 %6 %7 %8 %9 7 | -------------------------------------------------------------------------------- /setedit/copying.rh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/copying.rh -------------------------------------------------------------------------------- /setedit/copyrigh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/copyrigh -------------------------------------------------------------------------------- /setedit/debian/buildpackage: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | dh_testdir || exit $? 3 | chmod +x debian/rules 4 | dpkg-buildpackage -rfakeroot 5 | 6 | -------------------------------------------------------------------------------- /setedit/debian/compat: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /setedit/debian/copyright: -------------------------------------------------------------------------------- 1 | This package was debianized by Ivan Baldo ibaldo@adinet.com.uy on 2 | Tue, 16 Mar 1999 17:18:48 -0300. 3 | 4 | It was downloaded from 5 | http://setedit.sourceforge.net/. 6 | 7 | Upstream Author: Salvador Eduardo Tropea (SET) 8 | 9 | Copyright: 10 | GPL, on Debian systems, the complete text of the GNU General Public License 11 | can be found in `/usr/share/common-licenses/GPL'. 12 | 13 | -------------------------------------------------------------------------------- /setedit/debian/files_to_backup: -------------------------------------------------------------------------------- 1 | doc/Makefile 2 | gettext/config.h 3 | gettext/Makefile 4 | holidays/Makefile 5 | include/configed.h 6 | internac/de.po 7 | internac/es.po 8 | internac/Makefile 9 | makes/rhide.env 10 | mp3/libamp/rhide.env 11 | mp3/mpegsound/rhide.env 12 | -------------------------------------------------------------------------------- /setedit/debian/info.ex: -------------------------------------------------------------------------------- 1 | # Unfortunately this seems to not work and I don't know why... so done it 2 | # manually, but if someone knows why this method doesn't work, then tell me 3 | # please. 4 | 5 | # This is a configuration files for installing a .info menu 6 | # The Description to be placed into the directory 7 | DESCR="This is a user friendly text editor for programmers." 8 | 9 | # The section this info file should be placed in (Regexp) followed by 10 | # the new section name to be created if the Regexp does not match 11 | # (Optional. If not given the .info will be appended to the directory) 12 | SECTION_MATCH="Text Editors" 13 | SECTION_NAME="Text Editors" 14 | 15 | # The file referred to from the Info directory 16 | # FIXME: I think this info file name could collide with possibly one provided by update-alternatives for editors! But I am not sure since update-alternatives doesn't have good documentation and I don't understand the purpose of the -slave flag! 17 | FILE=setedit.info 18 | 19 | # Optional. The files to be copied to /usr/info 20 | #FILES=*.info 21 | -------------------------------------------------------------------------------- /setedit/debian/infview.doc-base: -------------------------------------------------------------------------------- 1 | Document: infview 2 | Title: SET's InfoViewer documentation 3 | Author: Salvador Eduardo Tropea 4 | Abstract: This is the documentation for SET's InfoViewer, a friendly GNU Info documentation viewer. 5 | Section: Help 6 | 7 | Format: text 8 | Files: /usr/share/doc/infview/infview.txt.gz 9 | 10 | Format: info 11 | Index: /usr/share/info/infview.info.gz 12 | Files: /usr/share/info/infview.* 13 | 14 | -------------------------------------------------------------------------------- /setedit/debian/infview.menu: -------------------------------------------------------------------------------- 1 | ?package(infview):needs="vc" section="Help"\ 2 | title="SET's InfoViewer" command="/usr/bin/infview" 3 | ?package(infview):needs="x11" section="Help"\ 4 | title="SET's InfoViewer" command="/usr/bin/infview" 5 | 6 | -------------------------------------------------------------------------------- /setedit/debian/infview.postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # When upgrading the following doesn't need to be done... 3 | if [ $1 != "upgrade" ] ; then 4 | # Install alternative. The priority is the same as the pinfo package. 5 | update-alternatives --install /usr/bin/infobrowser infobrowser /usr/bin/infview 50 \ 6 | --slave /usr/share/man/man1/infobrowser.1.gz infobrowser.1.gz /usr/share/man/man1/infview.1.gz 7 | 8 | # Doing this manually because the debian/info file doesn't seem to work, take a 9 | # look in debian/info.ex and tell me what is wrong with it! 10 | # We don't need to provide a description, it is provided in the info file itself. 11 | install-info --quiet --section "Documentation" "Documentation" /usr/share/info/infview.info.gz 12 | fi 13 | 14 | #DEBHELPER# 15 | -------------------------------------------------------------------------------- /setedit/debian/infview.postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ remove = "$1" ]; then 4 | dpkg-divert --package infview --remove --rename \ 5 | --divert /usr/share/info/infview-setedit.info.gz /usr/share/info/infview.info.gz 6 | fi 7 | 8 | #DEBHELPER# 9 | 10 | -------------------------------------------------------------------------------- /setedit/debian/infview.preinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ install = "$1" ]; then 3 | dpkg-divert --package infview --add --rename \ 4 | --divert /usr/share/info/infview-setedit.info.gz /usr/share/info/infview.info.gz 5 | fi 6 | 7 | #DEBHELPER# 8 | 9 | -------------------------------------------------------------------------------- /setedit/debian/infview.prerm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # The following isn't necessary for an upgrade... 3 | if [ $1 != "upgrade" ] ; then 4 | update-alternatives --remove infobrowser /usr/bin/infview 5 | install-info --quiet --remove infview 6 | fi 7 | 8 | #DEBHELPER# 9 | -------------------------------------------------------------------------------- /setedit/debian/setedit.config: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . /usr/share/debconf/confmodule 4 | 5 | # DebConf is not a registry, so we try to get the values from the real 6 | # source... 7 | cfgfile="/usr/share/setedit/install.log" 8 | if grep 'CentralDesktopFile=0' $cfgfile >/dev/null 2>&1 ; then 9 | db_set setedit/central_desktop_file 'Create a desktop file in each directory' 10 | fi 11 | if grep 'CentralDesktopFile=1' $cfgfile >/dev/null 2>&1 ; then 12 | db_set setedit/central_desktop_file 'Use a central desktop file' 13 | fi 14 | if grep 'TabsForIndent=0' $cfgfile >/dev/null 2>&1 ; then 15 | db_set setedit/tabs_for_indent 'Spaces' 16 | fi 17 | if grep 'TabsForIndent=1' $cfgfile >/dev/null 2>&1 ; then 18 | db_set setedit/tabs_for_indent 'Tabs' 19 | fi 20 | if grep 'CreateBackUps=0' $cfgfile >/dev/null 2>&1 ; then 21 | db_set setedit/create_backups 'No' 22 | fi 23 | if grep 'CreateBackUps=1' $cfgfile >/dev/null 2>&1 ; then 24 | db_set setedit/create_backups 'Yes' 25 | fi 26 | 27 | # Ask the questions now... 28 | db_beginblock 29 | db_input low setedit/central_desktop_file 30 | db_input low setedit/tabs_for_indent 31 | db_input low setedit/create_backups 32 | db_endblock 33 | db_go 34 | 35 | 36 | -------------------------------------------------------------------------------- /setedit/debian/setedit.doc-base: -------------------------------------------------------------------------------- 1 | Document: setedit 2 | Title: SET's Editor documentation 3 | Author: Salvador Eduardo Tropea 4 | Abstract: This is the documentation for SET's Editor, a friendly text editor. 5 | Section: Apps/Editors 6 | 7 | Format: text 8 | Files: /usr/share/doc/setedit/setedit.txt.gz 9 | 10 | Format: info 11 | Index: /usr/share/info/setedit.info.gz 12 | Files: /usr/share/info/setedit.* 13 | 14 | -------------------------------------------------------------------------------- /setedit/debian/setedit.menu: -------------------------------------------------------------------------------- 1 | ?package(setedit):needs="vc" section="Apps/Editors"\ 2 | title="SET's Editor" command="/usr/bin/setedit" 3 | ?package(setedit):needs="x11" section="Apps/Editors"\ 4 | title="SET's Editor" command="/usr/bin/setedit" 5 | 6 | -------------------------------------------------------------------------------- /setedit/debian/setedit.prerm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # The following isn't necessary for an upgrade... 3 | if [ $1 != "upgrade" ] ; then 4 | update-alternatives --remove editor /usr/bin/setedit 5 | install-info --quiet --remove setedit 6 | fi 7 | 8 | # We have to remove the installation configuration file in case of a purge: 9 | cfgfile="/usr/share/setedit/install.log" 10 | if [ "$1" = "purge" -a -e $cfgfile ]; then 11 | rm -f $cfgfile 12 | fi 13 | 14 | #DEBHELPER# 15 | -------------------------------------------------------------------------------- /setedit/debian/setedit.templates.es: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/debian/setedit.templates.es -------------------------------------------------------------------------------- /setedit/debian/watch.ex: -------------------------------------------------------------------------------- 1 | # Example watch control file for uscan 2 | # Rename this file to "watch" and then you can run the "uscan" command 3 | # to check for upstream updates and more. 4 | # Site Directory Pattern Version Script 5 | sunsite.unc.edu /pub/Linux/Incomingu setedit-*.tar.gz debian uupdate 6 | -------------------------------------------------------------------------------- /setedit/distrib/INSTALL.MAK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/INSTALL.MAK -------------------------------------------------------------------------------- /setedit/distrib/REMOVE_UNNEEDED: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # It removes files from previous versions not needed anymore 4 | # 5 | rm -f @@pref@@/info/editor.inf 6 | rm -f @@pref@@/info/infview.inf 7 | rm -f @@pref@@/info/sdg.inf 8 | rm -f @@pref@@/info/editor.info 9 | rm -f @@pref@@/info/infview.info 10 | rm -f @@pref@@/info/sdg.info 11 | rm -f @@pref@@/info/editor.info.gz 12 | rm -f @@pref@@/doc/setedit/*.txt 13 | 14 | 15 | -------------------------------------------------------------------------------- /setedit/distrib/VCSA.SH: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script can be used to create a new group 4 | # called 'vcsa' and change the goup owner of the 5 | # vcsa devices to 'vcsa' and setting rw permission 6 | # to that devices for the group vcsa. 7 | # 8 | # You can use this, if you don't want to have RHIDE or setedit 9 | # and it's related programs to be a root setuid program. 10 | # In that case you can make them a vcsa setgid program. 11 | 12 | # create the new group 13 | groupadd vcsa 14 | 15 | for i in /dev/vcsa[1-9] /dev/vcsa[1-9][0-9] 16 | do 17 | echo "chgrp vcsa $i; chmod 660 $i" 18 | chgrp vcsa $i; chmod 660 $i 19 | done -------------------------------------------------------------------------------- /setedit/distrib/arranca.bat: -------------------------------------------------------------------------------- 1 | @Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | @Rem see copyrigh file for details 3 | @ 4 | @Echo Off 5 | setedit %1 %2 %3 %4 %5 %6 %7 %8 %9 6 | if not errorlevel 255 goto end 7 | @Echo Error!, please look in the file %SET_FILES%/erXXXXXX, 8 | @Echo you can recover unsaved data from this file. Please send the file 9 | @Echo to salvador@inti.gov.ar 10 | @Echo Additionally try to explain me what actions triggered this error. 11 | @Echo . 12 | @Echo Note: The files aren't deleted and XXXXXX are letters to create a 13 | @Echo unique file. 14 | pause 15 | :end 16 | -------------------------------------------------------------------------------- /setedit/distrib/ask_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/ask_config.sh -------------------------------------------------------------------------------- /setedit/distrib/calltpc7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/calltpc7.zip -------------------------------------------------------------------------------- /setedit/distrib/distrib1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/distrib1.txt -------------------------------------------------------------------------------- /setedit/distrib/example.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/example.zip -------------------------------------------------------------------------------- /setedit/distrib/examples/examp1.dst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/examples/examp1.dst -------------------------------------------------------------------------------- /setedit/distrib/examples/examp1.epr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/examples/examp1.epr -------------------------------------------------------------------------------- /setedit/distrib/examples/test1.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/examples/test1.cc -------------------------------------------------------------------------------- /setedit/distrib/examples/tvrc: -------------------------------------------------------------------------------- 1 | [TV] 2 | { 3 | [Linux] 4 | { 5 | UseSecondaryFont=1 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /setedit/distrib/infINSTALL.MAK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/infINSTALL.MAK -------------------------------------------------------------------------------- /setedit/distrib/infREMOVE_UNNEEDED: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # It removes files from previous versions not needed anymore 4 | # 5 | rm -f @@pref@@/info/infview.inf 6 | rm -f @@pref@@/info/infview.info 7 | 8 | 9 | -------------------------------------------------------------------------------- /setedit/distrib/kextend.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/kextend.zip -------------------------------------------------------------------------------- /setedit/distrib/setedit.pif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/distrib/setedit.pif -------------------------------------------------------------------------------- /setedit/doc/.gitignore: -------------------------------------------------------------------------------- 1 | editor.inf 2 | editor.htm 3 | editor.html 4 | editor.num 5 | editor.txt 6 | infeng.inf 7 | infeng.htm 8 | infeng.html 9 | infeng.num 10 | infeng.txt 11 | sdg.txt 12 | sdg.num 13 | sdg.htm 14 | sdg.html 15 | sdg.inf 16 | setedit.1 17 | infview.1 18 | Makefile 19 | *.ps 20 | *.dvi 21 | *.log 22 | -------------------------------------------------------------------------------- /setedit/doc/gnumake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/gnumake.in -------------------------------------------------------------------------------- /setedit/doc/line.par: -------------------------------------------------------------------------------- 1 | -ot -i sdg -c -n Index cindex.idx cindex.tdx -n "Index of variables and commands" vindex.idx vindex.tdx -I . 2 | -------------------------------------------------------------------------------- /setedit/doc/pre_gen/infview.inf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/pre_gen/infview.inf -------------------------------------------------------------------------------- /setedit/doc/pre_gen/infview.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/pre_gen/infview.txt -------------------------------------------------------------------------------- /setedit/doc/pre_gen/sdg.inf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/pre_gen/sdg.inf -------------------------------------------------------------------------------- /setedit/doc/pre_gen/sdg.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/pre_gen/sdg.txt -------------------------------------------------------------------------------- /setedit/doc/pre_gen/setedit.inf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/pre_gen/setedit.inf -------------------------------------------------------------------------------- /setedit/doc/pre_gen/setedit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/pre_gen/setedit.txt -------------------------------------------------------------------------------- /setedit/doc/readme.1st: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/readme.1st -------------------------------------------------------------------------------- /setedit/doc/rhidemac.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/rhidemac.htm -------------------------------------------------------------------------------- /setedit/doc/rhidemac.txi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/rhidemac.txi -------------------------------------------------------------------------------- /setedit/doc/rhidemac.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/rhidemac.txt -------------------------------------------------------------------------------- /setedit/doc/sdh.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/sdh.gpr -------------------------------------------------------------------------------- /setedit/doc/set.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/set.htm -------------------------------------------------------------------------------- /setedit/doc/set.txi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/set.txi -------------------------------------------------------------------------------- /setedit/doc/set.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/doc/set.txt -------------------------------------------------------------------------------- /setedit/easydiag/lablchek.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2007 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSLabelCheck 4 | #define Uses_TSCheckBoxes 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | TSLabel *TSLabelCheck(const char *name, ...) 11 | { 12 | const char *s; 13 | va_list arg; 14 | va_start(arg,name); 15 | 16 | TSItem *first=0,*last=0,*aux; 17 | while ((s=va_arg(arg,const char *))!=NULL) 18 | { 19 | aux=new TSItem(s,NULL); 20 | if (!first) 21 | first=aux; 22 | if (last) 23 | last->next=aux; 24 | last=aux; 25 | } 26 | va_end(arg); 27 | return new TSLabel(name,new TSCheckBoxes(first)); 28 | } 29 | 30 | TSLabel *TSLabelCheck(int columns, const char *name, ...) 31 | { 32 | const char *s; 33 | va_list arg; 34 | va_start(arg,name); 35 | 36 | TSItem *first=0,*last=0,*aux; 37 | while ((s=va_arg(arg,const char *))!=NULL) 38 | { 39 | aux=new TSItem(s,NULL); 40 | if (!first) 41 | first=aux; 42 | if (last) 43 | last->next=aux; 44 | last=aux; 45 | } 46 | va_end(arg); 47 | return new TSLabel(name,new TSCheckBoxes(first,-1,columns)); 48 | } 49 | -------------------------------------------------------------------------------- /setedit/easydiag/lablradi.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2007 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSLabelRadio 4 | #define Uses_TSRadioButtons 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | TSLabel *TSLabelRadio(const char *name, ...) 11 | { 12 | const char *s; 13 | va_list arg; 14 | va_start(arg,name); 15 | 16 | TSItem *first=0,*last=0,*aux; 17 | while ((s=va_arg(arg,const char *))!=NULL) 18 | { 19 | aux=new TSItem(s,NULL); 20 | if (!first) 21 | first=aux; 22 | if (last) 23 | last->next=aux; 24 | last=aux; 25 | } 26 | va_end(arg); 27 | return new TSLabel(name,new TSRadioButtons(first)); 28 | } 29 | 30 | TSLabel *TSLabelRadio(int columns, const char *name, ...) 31 | { 32 | const char *s; 33 | va_list arg; 34 | va_start(arg,name); 35 | 36 | TSItem *first=0,*last=0,*aux; 37 | while ((s=va_arg(arg,const char *))!=NULL) 38 | { 39 | aux=new TSItem(s,NULL); 40 | if (!first) 41 | first=aux; 42 | if (last) 43 | last->next=aux; 44 | last=aux; 45 | } 46 | va_end(arg); 47 | return new TSLabel(name,new TSRadioButtons(first,-1,columns)); 48 | } 49 | 50 | -------------------------------------------------------------------------------- /setedit/easydiag/snostate.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSNoStaticText 4 | #include 5 | #include 6 | #include 7 | 8 | /**[txh]******************************************************************** 9 | 10 | Description: 11 | SView wrapper for the no static text object just pass the string. 12 | 13 | ***************************************************************************/ 14 | 15 | TSNoStaticText::TSNoStaticText(const char *aText) : 16 | TSView() 17 | { 18 | int lines=1; 19 | int max_w=0,cur_w=0; 20 | stTVIntl *cache=NULL; 21 | const char *s=TVIntl::getText(aText,cache); 22 | 23 | while (*s) 24 | { 25 | if (*s==3) 26 | { 27 | s++; 28 | continue; 29 | } 30 | if (*s=='\n') 31 | { 32 | lines++; 33 | cur_w=0; 34 | s++; 35 | continue; 36 | } 37 | cur_w++; 38 | if (cur_w>max_w) 39 | max_w=cur_w; 40 | s++; 41 | } 42 | w=max_w; 43 | h=lines; 44 | view=new TNoStaticText(TRect(0,0,w,h),aText,cache); 45 | } 46 | 47 | -------------------------------------------------------------------------------- /setedit/easydiag/snostate.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSNoStaticText) && !defined(__TSNoStaticText_Defined__) 4 | #define __TSNoStaticText_Defined__ 5 | 6 | class TSNoStaticText : public TSView 7 | { 8 | public: 9 | TSNoStaticText(const char *aText); 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /setedit/easydiag/tcheck2.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCheckBoxesArray 4 | #include 5 | #include 6 | #include 7 | 8 | const char *TCheckBoxesArray::button=" [ ] "; 9 | 10 | void TCheckBoxesArray::draw() 11 | { 12 | drawBox( button, 'X' ); 13 | } 14 | 15 | Boolean TCheckBoxesArray::mark(int item) 16 | { 17 | return Boolean( (value & (uint64(1)< 5 | #include 6 | #include 7 | 8 | TSCheckBoxesArray::TSCheckBoxesArray(int xNum, int yNum) 9 | { 10 | fill(xNum,yNum); 11 | } 12 | 13 | TSCheckBoxesArray::TSCheckBoxesArray(int xNum, int yNum, int (*pressCB)(int)) 14 | { 15 | TCheckBoxesArray *p=fill(xNum,yNum); 16 | p->pressCallBack=pressCB; 17 | } 18 | 19 | TCheckBoxesArray *TSCheckBoxesArray::fill(int xNum, int yNum) 20 | { 21 | w=xNum*4+1; 22 | h=yNum; 23 | TCheckBoxesArray *p=new TCheckBoxesArray(TRect(0,0,w,h),xNum*yNum); 24 | view=p; 25 | return p; 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /setedit/easydiag/tschkarr.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSCheckBoxesArray) && !defined(__TSCheckBoxesArray_Defined__) 4 | #define __TSCheckBoxesArray_Defined__ 5 | 6 | class TSCheckBoxesArray : public TSView 7 | { 8 | public: 9 | TSCheckBoxesArray(int xNum, int yNum); 10 | TSCheckBoxesArray(int xNum, int yNum, int (*pressCB)(int)); 11 | TCheckBoxesArray *fill(int xNum, int yNum); 12 | }; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /setedit/easydiag/tschkbox.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSCheckBoxes 4 | #include 5 | #include 6 | #include 7 | 8 | TSCheckBoxes::TSCheckBoxes(TSItem *aStrings, int wForced, int Columns) 9 | { 10 | TSItem *itemAux=aStrings; 11 | int items=0; 12 | 13 | while (itemAux) 14 | { 15 | items++; 16 | itemAux=itemAux->next; 17 | } 18 | h=items/Columns; 19 | if (items%Columns) h++; 20 | 21 | #ifdef Clusters32Bits 22 | TCheckBoxes *cb=new TCheckBoxes32(TRect(0,0,w,h),aStrings); 23 | #else 24 | TCheckBoxes *cb=new TCheckBoxes(TRect(0,0,w,h),aStrings); 25 | #endif 26 | view=cb; 27 | if (wForced>=0) 28 | { 29 | w=wForced; 30 | } 31 | else 32 | { 33 | int wMax=0,l,item,itY; 34 | 35 | w=0; 36 | for (item=itY=0; itemgetItemText(item))+6; 39 | if (l>wMax) wMax=l; 40 | itY++; 41 | if (itY==h) 42 | { 43 | itY=0; 44 | w+=wMax; 45 | wMax=0; 46 | } 47 | } 48 | if (wMax) w+=wMax; 49 | } 50 | } 51 | 52 | 53 | -------------------------------------------------------------------------------- /setedit/easydiag/tschkbox.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSCheckBoxes) && !defined(__TSCheckBoxes_Defined__) 4 | #define __TSCheckBoxes_Defined__ 5 | 6 | class TSCheckBoxes : public TSView 7 | { 8 | public: 9 | TSCheckBoxes(TSItem *aStrings, int wForced=-1, int Columns=1); 10 | }; 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /setedit/easydiag/tshscrol.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSHScrollBar 4 | #include 5 | #include 6 | #include 7 | 8 | TSHScrollBar::TSHScrollBar(int width, int max) : 9 | TSView() 10 | { 11 | w=width+2; 12 | h=1; 13 | sb=new TScrollBar(TRect(0,0,w,1)); 14 | view=sb; 15 | setMax(max); 16 | } 17 | 18 | void TSHScrollBar::setMax(int max) 19 | { 20 | sb->setParams(0,0,max,(int)(max/(double)(w-2)+0.5),1); 21 | } 22 | -------------------------------------------------------------------------------- /setedit/easydiag/tshscrol.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSHScrollBar) && !defined(__TSHScrollBar_Defined__) 4 | #define __TSHScrollBar_Defined__ 5 | 6 | class TSHScrollBar : public TSView 7 | { 8 | public: 9 | TSHScrollBar(int width, int max=100); 10 | void setValue(int value) { sb->setValue(value); }; 11 | void setMax(int max); 12 | 13 | TScrollBar *sb; 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /setedit/easydiag/tshzgrp.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSHzGroup) && !defined(__TSHzGroup_Defined__) 4 | #define __TSHzGroup_Defined__ 5 | 6 | class TSHzGroup : public TSView 7 | { 8 | public: 9 | TSHzGroup(TSView *este, TSView *ant,int sep=1); 10 | virtual ~TSHzGroup(); 11 | virtual void insert(TDialog *); 12 | virtual void setWidth(int aW); 13 | virtual int howManyHz(); 14 | virtual void setGrowMode(unsigned val); 15 | int sepa; 16 | TSView *Este,*Ant; 17 | }; 18 | 19 | TSHzGroup *MakeHzGroup(TSView *este, TSView *ant, ...); 20 | TSHzGroup *MakeHzGroup(int sepa, TSView *este, TSView *ant, ...); 21 | #endif 22 | -------------------------------------------------------------------------------- /setedit/easydiag/tsinplpi.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSInputLinePiped) && !defined(__TSInputLinePiped_Defined__) 4 | #define __TSInputLinePiped_Defined__ 5 | 6 | class TSInputLinePiped : public TSView 7 | { 8 | public: 9 | TSInputLinePiped(int MaxLen, int haveID, ushort ID, int wForce, unsigned flags=0) 10 | {fill(MaxLen,haveID,ID,wForce,flags); }; 11 | TSInputLinePiped(int MaxLen, int wForce, unsigned flags=0); 12 | TSInputLinePiped(int MaxLen, ushort ID, unsigned flags=0); 13 | TSInputLinePiped(int MaxLen, unsigned flags=0); 14 | void fill(int MaxLen, int haveID, ushort ID, int wForce, unsigned flags); 15 | virtual void insert(TDialog *d); 16 | 17 | THistory *hist; 18 | }; 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /setedit/easydiag/tslabel.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSLabel) && !defined(__TSLabel_Defined__) 4 | #define __TSLabel_Defined__ 5 | 6 | class TSLabel : public TSView 7 | { 8 | public: 9 | TSLabel(const char *aText, TSView *link); 10 | virtual ~TSLabel() { delete linked; }; 11 | virtual void insert(TDialog *); 12 | virtual void setWidth(int aW); 13 | virtual void setGrowMode(unsigned val); 14 | TSView *linked; 15 | }; 16 | 17 | class TSHzLabel : public TSView 18 | { 19 | public: 20 | TSHzLabel(const char *aText, TSView *link, int separation=1) 21 | { init(aText,link,NULL,separation); } 22 | TSHzLabel(const char *aText, TSView *link, stTVIntl *cache, int separation=1) 23 | { init(aText,link,cache,separation); } 24 | virtual ~TSHzLabel() { delete linked; }; 25 | virtual void insert(TDialog *); 26 | virtual void setWidth(int aW); 27 | virtual void setGrowMode(unsigned val); 28 | TSView *linked; 29 | int xSecond; 30 | 31 | protected: 32 | void init(const char *aText, TSView *link, stTVIntl *cache, int separation); 33 | }; 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /setedit/easydiag/tsradbot.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSRadioButtons) && !defined(__TSRadioButtons_Defined__) 4 | #define __TSRadioButtons_Defined__ 5 | 6 | class TSRadioButtons : public TSView 7 | { 8 | public: 9 | TSRadioButtons(TSItem *aStrings, int wForced=-1, int Columns=1); 10 | void setEnableMask(uint32 *masks, TSView **views, int cViews); 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /setedit/easydiag/tssortlb.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSSortedListBox 4 | #include 5 | #include 6 | #include 7 | 8 | ListBoxImplement(SortedListBox); 9 | 10 | -------------------------------------------------------------------------------- /setedit/easydiag/tssortlb.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSSortedListBox) && !defined(__TSSortedListBox_Defined__) 4 | #define __TSSortedListBox_Defined__ 5 | 6 | ListBoxSpecialize(TSSortedListBox); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /setedit/easydiag/tssortva.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSSortedListBox_Var) && !defined(__TSSortedListBox_Var_Defined__) 4 | #define __TSSortedListBox_Var_Defined__ 5 | 6 | const int tsslbNo=0,tsslbVertical=1,tsslbHorizontal=2; 7 | 8 | #define ListBoxSpecialize(newClass) \ 9 | TView *newClass##Make(const TRect& bounds, unsigned aNumCols, \ 10 | TScrollBar *aHScrollBar, TScrollBar *aVScrollBar); \ 11 | class newClass : public TSListBox \ 12 | { \ 13 | public: \ 14 | newClass(int width, int height, int scrolls=tsslbNo, int cols=1, int aHSRange=0) : \ 15 | TSListBox(width,height,scrolls,cols,aHSRange,newClass##Make) {}; \ 16 | } 17 | 18 | #define ListBoxImplement(className) \ 19 | TView *TS##className##Make(const TRect& bounds, unsigned aNumCols,\ 20 | TScrollBar *aHScrollBar, TScrollBar *aVScrollBar)\ 21 | {\ 22 | return new T##className(bounds,aNumCols,aHScrollBar,aVScrollBar,True);\ 23 | } 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /setedit/easydiag/tssosslb.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSSOSSortedListBox 4 | #include 5 | #include 6 | #include 7 | 8 | ListBoxImplement(SOSSortedListBox); 9 | -------------------------------------------------------------------------------- /setedit/easydiag/tssosslb.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSSOSSortedListBox) && !defined(__TSSOSSortedListBox_Defined__) 4 | #define __TSSOSSortedListBox_Defined__ 5 | 6 | ListBoxSpecialize(TSSOSSortedListBox); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /setedit/easydiag/tstatext.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSStaticText) && !defined(__TSStaticText_Defined__) 4 | #define __TSStaticText_Defined__ 5 | 6 | class TSStaticText : public TSView 7 | { 8 | public: 9 | TSStaticText(const char *aText); 10 | TSStaticText(const char *aText, int wrapCol); 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /setedit/easydiag/tstextsc.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSTextScroller) && !defined(__TSTextScroller_Defined__) 4 | #define __TSTextScroller_Defined__ 5 | 6 | class TSTextScroller : public TSView 7 | { 8 | public: 9 | TSTextScroller(int width, int height, TNSCollection *str, 10 | int haveHoriz=0, int haveVert=0, int XLimit=-1); 11 | virtual void insert(TDialog *); 12 | 13 | int horiz,vert; 14 | TScrollBar *hS,*vS; 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /setedit/easydiag/tstsorlb.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSStringableListBox 4 | #include 5 | #include 6 | #include 7 | 8 | ListBoxImplement(StringableListBox); 9 | -------------------------------------------------------------------------------- /setedit/easydiag/tstsorlb.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSStringableListBox) && !defined(__TSStringableListBox_Defined__) 4 | #define __TSStringableListBox_Defined__ 5 | 6 | ListBoxSpecialize(TSStringableListBox); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /setedit/easydiag/tsvegrp.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSVeGroup) && !defined(__TSVeGroup_Defined__) 4 | #define __TSVeGroup_Defined__ 5 | 6 | class TSVeGroup : public TSView 7 | { 8 | public: 9 | TSVeGroup(TSView *este, TSView *ant,int sep=1); 10 | virtual ~TSVeGroup(); 11 | virtual void insert(TDialog *); 12 | virtual void setWidth(int aW); 13 | void makeSameW() { setWidth(w); }; 14 | virtual void setGrowMode(unsigned val); 15 | int sepa; 16 | TSView *Este,*Ant; 17 | }; 18 | 19 | const int tsveMakeSameW=0x8000; 20 | TSVeGroup *MakeVeGroup(TSView *este, TSView *ant, ...); 21 | TSVeGroup *MakeVeGroup(int sepa, TSView *este, TSView *ant, ...); 22 | #endif 23 | -------------------------------------------------------------------------------- /setedit/easydiag/tsview.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSView) && !defined(__TSView_Defined__) 4 | #define __TSView_Defined__ 5 | 6 | const int xTSCenter=-1,xTSLeft=-2,xTSRight=-3,xTSLeftOf=-4,xTSRightOf=-5; 7 | const int yTSCenter=-1,yTSUp=-2,yTSDown=-3,yTSOver=-4,yTSUnder=-5,yTSUpSep=-6; 8 | const int wSpan=1; 9 | 10 | 11 | class TSView 12 | { 13 | public: 14 | TSView() { xSep=xDefSep; ySep=yDefSep; Flags=0; }; 15 | virtual ~TSView() {}; 16 | int w,h,x,y; 17 | int xSep,ySep; 18 | unsigned Flags; 19 | TView *view; 20 | virtual void insert(TDialog *); 21 | virtual void setWidth(int aW) { w=aW; }; 22 | virtual int howManyHz() { return 1; }; 23 | virtual void setGrowMode(unsigned val) { view->growMode=val; }; 24 | // Used to make two objects of the same width when they aren't part of a 25 | // vertical group. 26 | static void makeSameW(TSView *o1, TSView *o2); 27 | static int xDefSep,yDefSep; 28 | }; 29 | 30 | 31 | int EDMaxWidth(TSView *first, ...); 32 | void EDForceSameWidth(TSView *first, ...); 33 | #endif 34 | -------------------------------------------------------------------------------- /setedit/easydiag/tsviewco.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSViewCol) && !defined(__TSViewCol_Defined__) 4 | #define __TSViewCol_Defined__ 5 | 6 | typedef struct 7 | { 8 | TSView *view; 9 | TSView *refX; 10 | TSView *refY; 11 | } SViewNode; 12 | 13 | 14 | class TSViewCol : public TNSCollection 15 | { 16 | public: 17 | TSViewCol(TDialog *aDialog) : TNSCollection(5,5), d(aDialog) {}; 18 | TSViewCol(const char *name); 19 | ~TSViewCol() { freeAll(); }; 20 | void insert(int x, int y, TSView *view, TSView *refX=0, TSView *refY=0); 21 | TDialog *doIt(TDeskTop *dkt=0); 22 | TDialog *doItCenter(int context=0); 23 | ushort exec(void *data, int center=1); 24 | virtual void freeItem(void *item); 25 | 26 | TDialog *d; 27 | }; 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /setedit/easydiag/ttextscr.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TTextScroller) && !defined(__TTextScroller_Defined__) 4 | #define __TTextScroller_Defined__ 5 | 6 | class TTextScroller : public TScroller 7 | { 8 | public: 9 | TTextScroller(const TRect& bounds, TScrollBar *aHScrollBar, 10 | TScrollBar *aVScrollBar, TNSCollection *str); 11 | virtual void draw(); 12 | virtual TPalette& getPalette() const; 13 | virtual void handleEvent(TEvent& event); 14 | 15 | private: 16 | TNSCollection *text; 17 | }; 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /setedit/extra/dyncat.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2005 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #ifndef __DYNCAT_H__ 4 | #define __DYNCAT_H__ 5 | typedef struct 6 | { 7 | int len; 8 | char *str; 9 | } DynStrCatStruct; 10 | 11 | void DynStrCatInit(DynStrCatStruct *Struct, const char *str=NULL, int len=-1); 12 | void DynStrCat(DynStrCatStruct *Struct, const char *str, int len=-1); 13 | 14 | // Another useful stuff 15 | char *newStrL(const char *start, int len); 16 | int SplitStr(char *str, int copy, const char *delimiters, 17 | void (*adder)(const char *, void *), void *data); 18 | #endif 19 | -------------------------------------------------------------------------------- /setedit/extra/memmove.s: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ 2 | #ifdef __DJGPP__ 3 | .file "memmove.s" 4 | .globl _memmove 5 | _memmove: 6 | pushl %ebp 7 | movl %esp,%ebp 8 | pushl %esi 9 | pushl %edi 10 | movl 8(%ebp),%edi 11 | movl 12(%ebp),%esi 12 | movl 16(%ebp),%ecx 13 | jecxz L2 14 | 15 | cmpl %esi,%edi 16 | jb L3 17 | 18 | call ___dj_movedata_rev 19 | jmp L2 20 | L3: 21 | call ___dj_movedata 22 | 23 | L2: 24 | cld 25 | popl %edi 26 | popl %esi 27 | movl 8(%ebp),%eax 28 | leave 29 | ret 30 | #endif 31 | -------------------------------------------------------------------------------- /setedit/extra/stackdbg.h: -------------------------------------------------------------------------------- 1 | #ifndef STACKDBG_H_INCLUDED 2 | #define STACKDBG_H_INCLUDED 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* Strategies */ 9 | /* Dump the stack, no symbol translations */ 10 | #define DBGST_DUMP_STACK 0 11 | /* No action */ 12 | #define DBGST_DO_NOTHING 1 13 | /* Try to get as many information as possible */ 14 | #define DBGST_INFORMATIVE 2 15 | /* Start the debuger to get information about the crash */ 16 | #define DBGST_DEBUG 3 17 | 18 | extern char DebugStackInstall(char aStrategy, const char *processname); 19 | extern void DebugStack(const char *redirect); 20 | extern int DebugStackSeparateTerminalWillBeUsed(); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | #endif // STACKDBG_H_INCLUDED 27 | -------------------------------------------------------------------------------- /setedit/extra/strncpyz.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2009 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | char *strncpyZ(char *dest, const char *orig, int size) 4 | { 5 | if (size) 6 | size--; 7 | for (;orig && *orig && size; size--,dest++,orig++) 8 | *dest=*orig; 9 | *dest=0; 10 | return dest; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /setedit/extra/strndup.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include 4 | 5 | /**[txh]******************************************************************** 6 | 7 | Description: 8 | Creates a copy of an string copying at most len characters. The allocated 9 | string have len+1 bytes and is ever ASCIIZ. 10 | 11 | ***************************************************************************/ 12 | 13 | char *strndup(char *source, int len) 14 | { 15 | char *s=new char[len+1]; 16 | strncpy(s,source,len); 17 | s[len]=0; 18 | return s; 19 | } 20 | -------------------------------------------------------------------------------- /setedit/fonts/.gitignore: -------------------------------------------------------------------------------- 1 | raw2sft 2 | -------------------------------------------------------------------------------- /setedit/fonts/BTerminus.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/BTerminus.sft -------------------------------------------------------------------------------- /setedit/fonts/Makefile: -------------------------------------------------------------------------------- 1 | font_names=boxround cntdown ocr rombios thin 2 | 3 | %.exe: %.cc common1.h common2.h 4 | gcc -o $@ $< 5 | 6 | fonts: $(addsuffix .exe,$(font_names)) 7 | 8 | all: fonts 9 | 10 | -------------------------------------------------------------------------------- /setedit/fonts/Terminus.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/Terminus.sft -------------------------------------------------------------------------------- /setedit/fonts/XFont.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/XFont.sft -------------------------------------------------------------------------------- /setedit/fonts/antique.016: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/antique.016 -------------------------------------------------------------------------------- /setedit/fonts/antique.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/antique.sft -------------------------------------------------------------------------------- /setedit/fonts/boxroun0.000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/boxroun0.000 -------------------------------------------------------------------------------- /setedit/fonts/boxround.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include "common1.h" 4 | #include "boxroun0.000" 5 | 6 | Font BoxRound16={0,NUM_FONTS,16,BR16}; 7 | Font BoxRound14={0,NUM_FONTS,14,BR14}; 8 | 9 | char *Name="Box Rounded"; 10 | 11 | #define PREFIX BR 12 | #define PREFIXS "BR" 13 | #define NAME_FONT "boxround.sft" 14 | #define ARRAY1 BoxRound16 15 | #define ARRAY2 BoxRound14 16 | #define NAME_PART "boxroun%d.%03d" 17 | 18 | #include "common2.h" 19 | -------------------------------------------------------------------------------- /setedit/fonts/boxround.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/boxround.sft -------------------------------------------------------------------------------- /setedit/fonts/cntdown.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include "common1.h" 4 | #include "cntdown0.000" 5 | 6 | Font BoxRound16={0,NUM_FONTS,16,BR16}; 7 | Font BoxRound14={0,NUM_FONTS,14,BR14}; 8 | 9 | char *Name="Count Down"; 10 | 11 | #define PREFIX BR 12 | #define PREFIXS "BR" 13 | #define NAME_FONT "cntdown.sft" 14 | #define ARRAY1 BoxRound16 15 | #define ARRAY2 BoxRound14 16 | #define NAME_PART "cntdown%d.%03d" 17 | 18 | #include "common2.h" 19 | -------------------------------------------------------------------------------- /setedit/fonts/cntdown.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/cntdown.sft -------------------------------------------------------------------------------- /setedit/fonts/cntdown0.000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/cntdown0.000 -------------------------------------------------------------------------------- /setedit/fonts/common1.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include 4 | #include 5 | #include 6 | //#include 7 | 8 | // 0 - NUM_FONTS! 9 | #define NUM_FONTS 632 10 | typedef struct 11 | { 12 | int first, last, lines; 13 | unsigned char *font; 14 | } Font; 15 | 16 | char *Signature="SET's editor font\x1A"; 17 | 18 | -------------------------------------------------------------------------------- /setedit/fonts/let.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/let.txt -------------------------------------------------------------------------------- /setedit/fonts/medieval.016: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/medieval.016 -------------------------------------------------------------------------------- /setedit/fonts/medieval.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/medieval.sft -------------------------------------------------------------------------------- /setedit/fonts/ocr.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include "common1.h" 4 | #include "ocr0.000" 5 | 6 | Font BoxRound16={0,NUM_FONTS,16,BR16}; 7 | Font BoxRound14={0,NUM_FONTS,14,BR14}; 8 | 9 | char *Name="OCR style"; 10 | 11 | #define PREFIX BR 12 | #define PREFIXS "BR" 13 | #define NAME_FONT "ocr.sft" 14 | #define ARRAY1 BoxRound16 15 | #define ARRAY2 BoxRound14 16 | #define NAME_PART "ocr%d.%03d" 17 | 18 | #include "common2.h" 19 | -------------------------------------------------------------------------------- /setedit/fonts/ocr.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/ocr.sft -------------------------------------------------------------------------------- /setedit/fonts/ocr0.000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/ocr0.000 -------------------------------------------------------------------------------- /setedit/fonts/roman.016: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/roman.016 -------------------------------------------------------------------------------- /setedit/fonts/roman.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/roman.sft -------------------------------------------------------------------------------- /setedit/fonts/rombios.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include "common1.h" 4 | #include "rombios0.000" 5 | 6 | Font RomBIOS16={0,NUM_FONTS,16,BR16}; 7 | Font RomBIOS14={0,NUM_FONTS,14,BR14}; 8 | 9 | char *Name="ROM BIOS"; 10 | 11 | #define PREFIX BR 12 | #define PREFIXS "BR" 13 | #define NAME_FONT "rombios.sft" 14 | #define ARRAY1 RomBIOS16 15 | #define ARRAY2 RomBIOS14 16 | #define NAME_PART "rombios%d.%03d" 17 | 18 | #include "common2.h" 19 | -------------------------------------------------------------------------------- /setedit/fonts/rombios.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/rombios.sft -------------------------------------------------------------------------------- /setedit/fonts/rombios0.000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/rombios0.000 -------------------------------------------------------------------------------- /setedit/fonts/thin.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include "common1.h" 4 | #include "thin0.000" 5 | 6 | Font BoxRound16={0,NUM_FONTS,16,BR16}; 7 | Font BoxRound14={0,NUM_FONTS,14,BR14}; 8 | 9 | char *Name="Thin letters"; 10 | 11 | #define PREFIX BR 12 | #define PREFIXS "BR" 13 | #define NAME_FONT "thin.sft" 14 | #define ARRAY1 BoxRound16 15 | #define ARRAY2 BoxRound14 16 | #define NAME_PART "thin%d.%03d" 17 | 18 | #include "common2.h" 19 | -------------------------------------------------------------------------------- /setedit/fonts/thin.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/thin.sft -------------------------------------------------------------------------------- /setedit/fonts/thin0.000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/fonts/thin0.000 -------------------------------------------------------------------------------- /setedit/fromunix.pl: -------------------------------------------------------------------------------- 1 | # Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | # see copyrigh file for details 3 | # 4 | open(FI,"makes/lista") || die "Can't open lista"; 5 | 6 | while ($a=) 7 | { 8 | chop($a); 9 | 10 | $b=substr($a,0,1); 11 | if ($b eq "*") 12 | { 13 | $conv=1; 14 | $a=substr($a,1); 15 | } 16 | else 17 | { 18 | $conv=0; 19 | if (($b eq "-") or ($b eq "+")) 20 | { 21 | $a=substr($a,1); 22 | } 23 | } 24 | 25 | if ($conv and length($a)) 26 | { 27 | &ToDOS($a) || die "Failed to convert $a"; 28 | } 29 | } 30 | system('cp makes/djgppenv.env makes/rhide.env'); 31 | 32 | 33 | sub ToDOS 34 | { 35 | local $/; 36 | my $b; 37 | my $a=$_[0]; 38 | 39 | print "Processing $a\n"; 40 | open(FIL,$a) || return 0; 41 | $b=; 42 | $b =~ s/[!\r]\n/\r\n/g; 43 | close(FIL); 44 | 45 | open(FIL,">$a") || return 0; 46 | print FIL ($b); 47 | close(FIL); 48 | } 49 | -------------------------------------------------------------------------------- /setedit/gettext/.gitignore: -------------------------------------------------------------------------------- 1 | libintl.h 2 | config.h 3 | Makefile 4 | 5 | -------------------------------------------------------------------------------- /setedit/holidays/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | 3 | -------------------------------------------------------------------------------- /setedit/holidays/Makefile.in: -------------------------------------------------------------------------------- 1 | CC=@CC@ 2 | CFLAGS=@CFLAGS@ 3 | dyndir=@dyndir@ 4 | dynversion=.1.0.0 5 | 6 | LIBS=argentina deutschland datetools defholidays 7 | 8 | all: $(addsuffix .so,$(LIBS)) 9 | 10 | libs: $(addsuffix .so,$(LIBS)) 11 | 12 | %.o: %.c 13 | $(CC) -c -fPIC $(CFLAGS) $< 14 | 15 | %.so: %.o 16 | $(CC) -o $@ $< -shared -Wl,-soname,$(basename $@).so$(dynversion) 17 | 18 | %.ins: %.so 19 | install -d $(dyndir) 20 | -install $< $(dyndir)/$@ 21 | 22 | install: libs $(addsuffix .ins,$(LIBS)) 23 | 24 | clean: 25 | rm -f *.o *.so 26 | 27 | -------------------------------------------------------------------------------- /setedit/holidays/argentina.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/holidays/argentina.c -------------------------------------------------------------------------------- /setedit/holidays/datetools.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/holidays/datetools.c -------------------------------------------------------------------------------- /setedit/holidays/datetools.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | extern int Day2Number(int d, int m, int y); 6 | extern int WeekDay(int d, int m, int y); 7 | extern void Number2Day(int nNumber, int *day, int *month, int *year); 8 | extern void Easter(int nY, int *nThursday, int *nFriday); 9 | 10 | struct dayMonth 11 | { 12 | int day,month; 13 | const char *description; 14 | }; 15 | 16 | #ifdef __cplusplus 17 | }; 18 | 19 | // This is exported to SETEdit, not available for the plug-ins 20 | extern struct dayMonth *GetHolidays(int year, int &cant); 21 | extern char *HolidaysGetLastError(); 22 | extern void ConfigureHolidays(); 23 | extern void CleanUpHolidays(); 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /setedit/holidays/deutschland.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/holidays/deutschland.c -------------------------------------------------------------------------------- /setedit/holidays/holidays.conf: -------------------------------------------------------------------------------- 1 | 3 2 | es_AR "Argentina" argentina.so 3 | de_DE "Deutschland" deutschland.so 4 | * "Default" defholidays.so 5 | 6 | -------------------------------------------------------------------------------- /setedit/holidays/test.c: -------------------------------------------------------------------------------- 1 | /**[txh]******************************************************************** 2 | 3 | Copyright (c) 2009 by Salvador E. Tropea 4 | Covered by the GPL license, see the see copyrigh file for details. 5 | 6 | Description: 7 | Simple test program to test any of the holidays modules. I.e. 8 | gcc -o test test.c datetools.c deutschland.c 9 | 10 | ***************************************************************************/ 11 | 12 | #include 13 | #include 14 | #include "datetools.h" 15 | 16 | extern struct dayMonth *GetListOfHolidays(int year, int *holidays); 17 | 18 | int main(int argc, char *argv[]) 19 | { 20 | int i, c, y; 21 | struct dayMonth *d; 22 | 23 | if (argc!=2) 24 | { 25 | printf("Usage: test year\n"); 26 | return 1; 27 | } 28 | y=atoi(argv[1]); 29 | printf("Computing holidays for %d:\n",y); 30 | d=GetListOfHolidays(y,&c); 31 | for (i=0; i=8 25 | #define PCRE_MATCHES(count,compiled,ret_fail) \ 26 | if (pcre_fullinfo(compiled,NULL,PCRE_INFO_CAPTURECOUNT,&count)) \ 27 | return ret_fail; \ 28 | else \ 29 | count=(count+1)*3 30 | #else 31 | #define PCRE_MATCHES(count,compiled,ret_fail) count=(pcre_info(compiled,0,0)+1)*3 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /setedit/include/completi.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2005 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | char *CompletionChoose(char *options, const char *delimiter, int x, int y, unsigned ops); 4 | char *CompletionChooseFromList(TStringCollection *list, int cant, int len, 5 | int xC, int yC, unsigned ops, int lPartial=0, 6 | Boolean aNewStr=True); 7 | 8 | const unsigned cmplDontAddEndChar=1; 9 | -------------------------------------------------------------------------------- /setedit/include/loadkbin.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /**[txh]******************************************************************** 4 | 5 | Description: 6 | This header is shared by keytrans.cc and edkeys.cc. 7 | The name comes from the old loadkbin.cc no longer used. 8 | 9 | ***************************************************************************/ 10 | 11 | int KeyBindEdit(void); 12 | int SaveKeyBind(char *name); 13 | void ShowKeyBindError(void); 14 | int KeyBackToDefault(Boolean ask=True); 15 | void SeeScanCodes(void); 16 | int AltKeysSetUp(void); 17 | int KeyPadSetUp(void); 18 | 19 | -------------------------------------------------------------------------------- /setedit/include/pmcoll.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2005 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TPMCollection) && !defined(__TPMCollection__) 4 | #define __TPMCollection__ 5 | typedef struct 6 | { 7 | char trigger[4]; 8 | uint32 flags; 9 | char *str; 10 | char *name; 11 | TNSCollection *vars; 12 | TNSCollection *defaults; 13 | unsigned mLenVar; 14 | } PMacroStr; 15 | 16 | class TPMCollection : public TStringCollection, public TStringable 17 | { 18 | public: 19 | TPMCollection(ccIndex aLimit, ccIndex aDelta) : 20 | TStringCollection(aLimit,aDelta) {}; 21 | virtual void *keyOf(void *); 22 | virtual void freeItem(void *); 23 | virtual ccIndex insert(void *item); 24 | PMacroStr *searchByNamePointer(void *name); 25 | // TStringable: 26 | virtual void getText(char *dest, unsigned item, int maxLen); 27 | virtual unsigned GetCount(void) { return getCount(); }; 28 | }; 29 | #endif 30 | -------------------------------------------------------------------------------- /setedit/include/runprog.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2010 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | // Include for runprog.cc 4 | const unsigned repDontShowDialog=1,repDontShowAsMessage=2,repRestoreScreen=4, 5 | repDontFork=8,repRedirIn=16,repNoRedirOut=32, 6 | repFlagsFromOps=64,repStopDebug=128; 7 | 8 | char *RunExternalProgramGetFile(int &len); 9 | void RunExternalProgram(char *Program=0, unsigned flags=repFlagsFromOps, 10 | const char *compiler=0); 11 | void RunExternalProgramKillFile(void); 12 | pid_t RunExternalProgramGetChildPid(); 13 | Boolean RunExternalProgramRunning(); 14 | void RunExternalProgramIncParse(); 15 | Boolean RunExternalProgramNotRunning(); 16 | void RunExternalProgramStopChild(); 17 | void RunExternalProgramSetInRedir(const char *buffer, unsigned len); 18 | void RunExternalProgramRemoveInRedir(); 19 | void RunExternalProgramFreeMemory(); 20 | #ifdef DEF_PARSE_FUNC 21 | char *ParseFun(char *buf, FileInfo &fI, char *&fileName); 22 | #endif 23 | -------------------------------------------------------------------------------- /setedit/include/sdginter.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void SDGInterfaceRun(void); 4 | void SDGInterfaceDialog(void); 5 | void SDGInterfaceSaveData(fpstream *f); 6 | void SDGInterfaceReadData(fpstream *f); 7 | 8 | -------------------------------------------------------------------------------- /setedit/include/setconst.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | 4 | /* 5 | InfView: cmInfHelp=0x2100 to cmInfTop=0x2109; 6 | TSetEditorApp: Base=0x2500 7 | TCEditor: Base=0x258 (600) 8 | MP3: cmaUpdateTime=0x22A0 (+15) 9 | More in editcoma.h 10 | */ 11 | const int 12 | cmApplyAll = cmYes; 13 | 14 | -------------------------------------------------------------------------------- /setedit/include/sindicat.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined( Uses_TSIndicator ) && !defined( __TSIndicator ) 4 | #define __TSIndicator 5 | 6 | class TRect; 7 | class TPoint; 8 | class TCEditor; 9 | 10 | class TSIndicator : public TIndicator 11 | { 12 | public: 13 | TSIndicator(const TRect &bounds) : 14 | TIndicator(bounds) {}; 15 | 16 | virtual void draw(); 17 | TCEditor *editor; 18 | 19 | private: 20 | virtual const char *streamableName() const 21 | { return name; } 22 | 23 | protected: 24 | TSIndicator( StreamableInit ); 25 | 26 | public: 27 | static const char * const name; 28 | static TStreamable *build(); 29 | }; 30 | 31 | inline ipstream& operator >> ( ipstream& is, TSIndicator& cl ) 32 | { return is >> (TStreamable&)cl; } 33 | inline ipstream& operator >> ( ipstream& is, TSIndicator*& cl ) 34 | { return is >> (void *&)cl; } 35 | 36 | inline opstream& operator << ( opstream& os, TSIndicator& cl ) 37 | { return os << (TStreamable&)cl; } 38 | inline opstream& operator << ( opstream& os, TSIndicator* cl ) 39 | { return os << (TStreamable *)cl; } 40 | 41 | #endif // Uses_TSIndicator 42 | 43 | 44 | -------------------------------------------------------------------------------- /setedit/include/slpinter.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | extern void SLPInterfaceRun(TCEditor *ed); 4 | extern void SLPInterfaceInit(char *file); 5 | extern void SLPInterfaceReRun(TCEditor *ed); 6 | extern int SLPSearchMacro(TCEditor *ed, char *name, Boolean verbose); 7 | extern void SLPInterfaceRunSelection(TCEditor *ed); 8 | extern void SLPInterfaceRunAsk(TCEditor *ed, char *code=0); 9 | extern int SLPInterfaceRunString(TCEditor *ed, char *code, Boolean verbose); 10 | 11 | const int maxRunAskCode=1024; 12 | 13 | -------------------------------------------------------------------------------- /setedit/include/ssyntax.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | int SyntaxSearch_Search(char *word, char *&FileName, char *&NodeName, 4 | char *&VisibleName); 5 | int SyntaxSearch_Load(fpstream &s); 6 | int SyntaxSearch_Save(fpstream &s); 7 | int SyntaxSearch_InitWithDefaults(void); 8 | void SyntaxSearch_EditFilesList(void); 9 | void SyntaxSearch_EditSettings(void); 10 | void SyntaxSearch_ShutDown(void); 11 | int SyntaxSearch_GetJumpOption(void); 12 | -------------------------------------------------------------------------------- /setedit/include/ucdefs.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /* The following macros are defined to avoid passing negative values to 4 | the ctype functions in the common case: isxxxx(char). 5 | They are suitable for x86 DOS and Linux, perhaps not for others */ 6 | #define ucisalnum(a) isalnum((unsigned char)a) 7 | #define ucisalpha(a) isalpha((unsigned char)a) 8 | #define ucisascii(a) isascii((unsigned char)a) 9 | #define uciscntrl(a) iscntrl((unsigned char)a) 10 | #define ucisdigit(a) isdigit((unsigned char)a) 11 | #define ucisgraph(a) isgraph((unsigned char)a) 12 | #define ucislower(a) islower((unsigned char)a) 13 | #define ucisprint(a) isprint((unsigned char)a) 14 | #define ucispunct(a) ispunct((unsigned char)a) 15 | #define ucisspace(a) isspace((unsigned char)a) 16 | #define ucisupper(a) isupper((unsigned char)a) 17 | #define ucisxdigit(a) isxdigit((unsigned char)a) 18 | #define uctoascii(a) toascii((unsigned char)a) 19 | #define uctolower(a) tolower((unsigned char)a) 20 | #define uctoupper(a) toupper((unsigned char)a) 21 | -------------------------------------------------------------------------------- /setedit/include/vername.h: -------------------------------------------------------------------------------- 1 | #define VERSION_NAME "Glaciar P.Moreno II" 2 | #define VERSION_REV 1311 3 | 4 | -------------------------------------------------------------------------------- /setedit/infview/change.log: -------------------------------------------------------------------------------- 1 | $Log$ 2 | Revision 1.3 2001/10/01 23:28:42 root 3 | * Merged with SourceForge (patches from Ivan and last minute adjustements). 4 | 5 | Revision 1.1.1.1 2001/09/11 13:58:46 set 6 | Imported sources 7 | 8 | Revision 1.2 1999/07/18 19:30:43 root 9 | * Fixed: The main class wasn't destroyed at exit so the temporal files of 10 | InfView weren't deleted. 11 | 12 | Revision 1.1 1999/07/18 16:09:11 set 13 | * Modified: Now a lot of actions can be triggered by commands. 14 | * Added: All the commands to the menu so the user can see them. 15 | * Added: About. 16 | * Added: Now the search of cross references is done first with the visible 17 | names and if it fails with the node names (when searching command line 18 | specified stuff). 19 | . 20 | -------------------------------------------------------------------------------- /setedit/infview/include/infbaser.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_stdio 4 | #define Uses_TNoCaseSOSStringCollection 5 | -------------------------------------------------------------------------------- /setedit/infview/include/infr.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | 4 | #define Uses_TStreamable 5 | #define Uses_TObject 6 | #define Uses_TPoint 7 | #define Uses_TRect 8 | #define Uses_TEvent 9 | #define Uses_TScroller 10 | #define Uses_TScrollBar 11 | #define Uses_TWindow 12 | #define Uses_TCollection 13 | #define Uses_TListBox 14 | #define Uses_TDialog 15 | #define Uses_TNoCaseStringCollection 16 | #include 17 | -------------------------------------------------------------------------------- /setedit/infview/inf.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/infview/inf.cc -------------------------------------------------------------------------------- /setedit/infview/infbase.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/infview/infbase.cc -------------------------------------------------------------------------------- /setedit/infview/infdummy.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | const char * GetVariable(const char *) { return 0;}; 4 | void InsertEnvironmentVar(char *,char *) {}; 5 | -------------------------------------------------------------------------------- /setedit/infview/manview.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/infview/manview.cc -------------------------------------------------------------------------------- /setedit/infview/names/nhiscoll.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(THisCollection); 6 | -------------------------------------------------------------------------------- /setedit/infview/names/ninfview.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TInfViewer); 6 | -------------------------------------------------------------------------------- /setedit/infview/names/ninfwind.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TInfWindow); 6 | -------------------------------------------------------------------------------- /setedit/infview/names/nmanwind.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TManWindow); 6 | n(TManPageView); 7 | -------------------------------------------------------------------------------- /setedit/infview/streams/sman.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2017 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TWindow 5 | #define Uses_TScroller 6 | #define Uses_TNSCollection 7 | #include 8 | #define Uses_TManWindow 9 | #define Uses_TManPageView 10 | #define Uses_TEnhancedText 11 | #include 12 | #include 13 | 14 | __link( RView ) 15 | __link( RWindow ) 16 | __link( RScrollBar ) 17 | __link( RScroller ) 18 | 19 | s(ManWindow); 20 | s(ManPageView); 21 | -------------------------------------------------------------------------------- /setedit/infview/version.txt: -------------------------------------------------------------------------------- 1 | 0.2.8 2 | -------------------------------------------------------------------------------- /setedit/install/.gitignore: -------------------------------------------------------------------------------- 1 | *.dat 2 | -------------------------------------------------------------------------------- /setedit/install/install.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/install/install.cc -------------------------------------------------------------------------------- /setedit/install/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains the DOS installer program. 2 | 3 | The file Copyright 1999-2001 by Salvador Eduardo Tropea and is part of the 4 | setedit so is distributed under the same terms. 5 | 6 | The installer isn't very easy to create and isn't basically needed for 7 | people compiling from sources. 8 | 9 | To compile it you'll need some extra tools: 10 | 11 | * upx: executable compressor. 12 | http://cdata.tvnet.hu/~ml/upx.html 13 | * Allegro 3.1, if you use other version you could need to remove the 14 | datfile.c from the project and use gpr2mak to generate the makefile. 15 | http://www.talula.demon.co.uk/allegro/ 16 | * dat: dat files packager from Allegro. 17 | * exedat: to attach dat file to executables (also from Allegro). 18 | * pmodstub: PMODE/DJ stub. 19 | ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/ 20 | * cwsdpmi: DPMI Host for DOS. 21 | ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/ 22 | * Perl 5.x 23 | ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/ 24 | * libwin 0.1.2 by Richard Dawe and RegDos Group: 25 | http://www.bigfoot.com/~richdawe/ 26 | 27 | To generate the installer run "make installer" in the makes directory. 28 | 29 | 30 | -------------------------------------------------------------------------------- /setedit/internac/.gitignore: -------------------------------------------------------------------------------- 1 | *.mo 2 | po_list 3 | potfiles.po 4 | Makefile 5 | emptymsg 6 | getids -------------------------------------------------------------------------------- /setedit/internac/de.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/internac/de.po -------------------------------------------------------------------------------- /setedit/internac/es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/internac/es.po -------------------------------------------------------------------------------- /setedit/internac/fix.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Copyright (C) 2001 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | # This script adds a propper header to the .po files. 6 | # 7 | require "../miscperl.pl"; 8 | 9 | $header=$ARGV[0]; 10 | $input =$ARGV[1]; 11 | $output=$ARGV[2]; 12 | 13 | $h=cat($header); 14 | die "Empty header!\n" unless $h; 15 | $i=cat($input); 16 | die "Empty input file!\n" unless $i; 17 | 18 | # Remove all header 19 | $i=~s/(\#((.*)\n)+\# End of header\n)//; 20 | 21 | # Update header 22 | GetVersion('../'); 23 | $h=~s/\@\@VERSION\@\@/$Version/; 24 | # Use GMT time because in Perl is hard to know the time zone! (modules needed) 25 | ($seg,$min,$hora,$dmes,$mes,$ano,$dsem,$dano,$flg)=gmtime; 26 | $Now=sprintf "%d-%02d-%02d %02d:%02d-0000",$ano+1900,$mes+1,$dmes,$hora,$min; 27 | $h=~s/\@\@DATE\@\@/$Now/; 28 | 29 | $h.=$i; 30 | 31 | replace($output,$h); 32 | 33 | 1; 34 | -------------------------------------------------------------------------------- /setedit/internac/getcolors.cc: -------------------------------------------------------------------------------- 1 | /**[txh]******************************************************************** 2 | 3 | Copyright (c) 2003 by Salvador E. Tropea 4 | Part of setedit package. 5 | Covered by the GPL license. 6 | 7 | Description: 8 | Generates a fake C source containing the names of the colors and groups 9 | of colors for gettext. 10 | 11 | ***************************************************************************/ 12 | 13 | #include 14 | #include 15 | #undef S 16 | #undef SS 17 | #define S(index,foreground,background,name) \ 18 | puts("__(\"" #name "\")"); 19 | #define SS(index,foreground,background,name,_group) \ 20 | puts("__(\"" #name "\")"); \ 21 | puts("\nGroup: __(\"" #_group "\")"); 22 | 23 | int main() 24 | { 25 | SE_cpColor 26 | return 0; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /setedit/internac/getids.cc: -------------------------------------------------------------------------------- 1 | /**[txh]******************************************************************** 2 | 3 | Copyright (c) 2003 by Salvador E. Tropea 4 | Part of setedit package. 5 | Covered by the GPL license. 6 | 7 | Description: 8 | Program to extract the msgids from a file. 9 | Used to create tvision.cc. 10 | 11 | ***************************************************************************/ 12 | 13 | #include 14 | #include 15 | 16 | int main(int argc, char *argv[]) 17 | { 18 | FILE *f=fopen(argv[1],"rt"); 19 | char b[200],*s; 20 | while (fgets(b,199,f)) 21 | { 22 | if (strncmp(b,"msgid",5)==0) 23 | { 24 | for (s=b+6; *s!='\n' && *s!='\r'; s++); *s=0; 25 | printf("__(%s",b+6); 26 | while (fgets(b,199,f)) 27 | { 28 | if (strncmp(b,"msgstr",6)==0) 29 | { 30 | printf(")\n"); 31 | break; 32 | } 33 | else 34 | { 35 | for (s=b+6; *s!='\n' && *s!='\r'; s++); *s=0; 36 | printf("\n%s",b); 37 | } 38 | } 39 | } 40 | } 41 | return 0; 42 | } 43 | -------------------------------------------------------------------------------- /setedit/internac/h_de.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/internac/h_de.po -------------------------------------------------------------------------------- /setedit/internac/h_es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/internac/h_es.po -------------------------------------------------------------------------------- /setedit/internac/makelist.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | # This script scans all the C++ files in the source tree looking for files 6 | # with internationalization strings and generates a list called po_list 7 | # 8 | require "../miscperl.pl"; 9 | 10 | # Open the list of files 11 | open(FIL,'../makes/lista'); 12 | @files=; 13 | close(FIL); 14 | $po_list=''; 15 | foreach $i (@files) 16 | { 17 | chop($i); 18 | $a=substr($i,0,1); 19 | if (($a eq '-') or ($a eq '+') or ($a eq '*')) 20 | { 21 | $i=substr($i,1); 22 | } 23 | $name='../'.$i; 24 | if ($name=~/\.cc$/) 25 | { 26 | $r=cat($name); 27 | if ($r=~/\W_{1,2}\(/) 28 | { 29 | $po_list.="$name\n"; 30 | } 31 | } 32 | } 33 | replace('po_list',$po_list); 34 | -------------------------------------------------------------------------------- /setedit/internac/utod.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Copyright (C) 2001 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | 6 | require "../miscperl.pl"; 7 | 8 | $a=cat($ARGV[0]); 9 | if ($a!~/\r\n/) 10 | { 11 | $a=~s/\n/\r\n/g; 12 | $a=~s/charset\=CP850/charset\=ISO\-8859\-1/; 13 | } 14 | replace($ARGV[1],$a); 15 | 16 | -------------------------------------------------------------------------------- /setedit/libbzip2/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /setedit/libbzip2/Makefile.nmk: -------------------------------------------------------------------------------- 1 | # Makefile for bzip2.lib for compiling by MSVC 2 | 3 | !ifndef _SUBMAKE 4 | 5 | #clean default extension list 6 | .SUFFIXES: 7 | #append extensions to list 8 | .SUFFIXES: .cc .cpp .c 9 | 10 | CC = cl /nologo 11 | CXX = $(CC) /TP 12 | LD = $(CXX) 13 | 14 | CFLAGS = -O2 $(INC) /GR- /GX- 15 | LDFLAGS = 16 | 17 | !endif 18 | 19 | O = .o 20 | 21 | # variables 22 | OBJ = blocksort$(O) huffman$(O) crctable$(O) randtable$(O) compress$(O) \ 23 | decompress$(O) bzlib$(O) 24 | 25 | all:: bzip2.lib 26 | 27 | blocksort.o: blocksort.c 28 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 29 | 30 | huffman.o: huffman.c 31 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 32 | 33 | crctable.o: crctable.c 34 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 35 | 36 | randtable.o: randtable.c 37 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 38 | 39 | compress.o: compress.c 40 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 41 | 42 | decompress.o: decompress.c 43 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 44 | 45 | bzlib.o: bzlib.c 46 | $(CC) -c $(CFLAGS) $*.c -Fo$*.o 47 | 48 | bzip2.lib: $(OBJ) 49 | -del bzip2.lib 50 | lib /OUT:bzip2.lib $(OBJ) 51 | 52 | clean: 53 | del *.o 54 | del *.lib 55 | -------------------------------------------------------------------------------- /setedit/libpcre/.gitignore: -------------------------------------------------------------------------------- 1 | dftables 2 | chartables.c 3 | Makefile 4 | 5 | -------------------------------------------------------------------------------- /setedit/librhuti/abstorel.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/abstorel.cc -------------------------------------------------------------------------------- /setedit/librhuti/back2sl.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/back2sl.cc -------------------------------------------------------------------------------- /setedit/librhuti/basename.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/basename.cc -------------------------------------------------------------------------------- /setedit/librhuti/expvar.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/expvar.cc -------------------------------------------------------------------------------- /setedit/librhuti/fexpand.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/fexpand.cc -------------------------------------------------------------------------------- /setedit/librhuti/io.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/io.cc -------------------------------------------------------------------------------- /setedit/librhuti/rhutils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/rhutils.h -------------------------------------------------------------------------------- /setedit/librhuti/specs.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/specs.cc -------------------------------------------------------------------------------- /setedit/librhuti/splitfn.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/splitfn.cc -------------------------------------------------------------------------------- /setedit/librhuti/stricat.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/stricat.cc -------------------------------------------------------------------------------- /setedit/librhuti/stridown.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/stridown.cc -------------------------------------------------------------------------------- /setedit/librhuti/stridup.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/stridup.cc -------------------------------------------------------------------------------- /setedit/librhuti/strifree.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/librhuti/strifree.cc -------------------------------------------------------------------------------- /setedit/libz/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | 3 | -------------------------------------------------------------------------------- /setedit/libz/infcodes.h: -------------------------------------------------------------------------------- 1 | /* infcodes.h -- header to use infcodes.c 2 | * Copyright (C) 1995-1998 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | struct inflate_codes_state; 12 | typedef struct inflate_codes_state FAR inflate_codes_statef; 13 | 14 | extern inflate_codes_statef *inflate_codes_new OF(( 15 | uInt, uInt, 16 | inflate_huft *, inflate_huft *, 17 | z_streamp )); 18 | 19 | extern int inflate_codes OF(( 20 | inflate_blocks_statef *, 21 | z_streamp , 22 | int)); 23 | 24 | extern void inflate_codes_free OF(( 25 | inflate_codes_statef *, 26 | z_streamp )); 27 | 28 | -------------------------------------------------------------------------------- /setedit/libz/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-1998 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | extern int inflate_fast OF(( 12 | uInt, 13 | uInt, 14 | inflate_huft *, 15 | inflate_huft *, 16 | inflate_blocks_statef *, 17 | z_streamp )); 18 | -------------------------------------------------------------------------------- /setedit/mainsrc/accehtml.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mainsrc/accehtml.cc -------------------------------------------------------------------------------- /setedit/mainsrc/dumpfile.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mainsrc/dumpfile.cc -------------------------------------------------------------------------------- /setedit/mainsrc/editorfo.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mainsrc/editorfo.cc -------------------------------------------------------------------------------- /setedit/mainsrc/fstrcmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mainsrc/fstrcmp.c -------------------------------------------------------------------------------- /setedit/mainsrc/pphp.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mainsrc/pphp.cc -------------------------------------------------------------------------------- /setedit/makes/.gitignore: -------------------------------------------------------------------------------- 1 | *.mak 2 | rhide.env 3 | ed.tags 4 | mapita 5 | 6 | -------------------------------------------------------------------------------- /setedit/makes/allegro.cfg: -------------------------------------------------------------------------------- 1 | [sound] 2 | sb_freq = 45454 3 | quality = 1 4 | -------------------------------------------------------------------------------- /setedit/makes/amp3.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/amp3.gpr -------------------------------------------------------------------------------- /setedit/makes/amp3.umk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # Automatically generated from RHIDE projects, don't edit 3 | # 4 | 5 | obj/ampdiag$(ExOBJ):: ../mp3/ampdiag.cc 6 | $(RHIDE_COMPILE_CC) 7 | 8 | obj/intermp3$(ExOBJ):: ../mp3/intermp3.cc 9 | $(RHIDE_COMPILE_CC) 10 | 11 | obj/mp3list$(ExOBJ):: ../mp3/mp3list.cc 12 | $(RHIDE_COMPILE_CC) 13 | 14 | obj/mp3play$(ExOBJ):: ../mp3/mp3play.cc 15 | $(RHIDE_COMPILE_CC) 16 | 17 | -------------------------------------------------------------------------------- /setedit/makes/common.imk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | 3 | # 4 | # Any configurable detail should come from here. 5 | # 6 | include rhide.env 7 | 8 | vpath %.c $(vpath_src) 9 | vpath %.s $(vpath_src) 10 | vpath %.cc $(vpath_src) 11 | vpath_obj=obj 12 | vpath %.o $(vpath_obj) 13 | vpath %.h $(INCLUDE_DIRS) 14 | 15 | # These files changes the compilation process so they are important 16 | # dependencies. 17 | MAKEFILE_DEPS=rhide.env common.imk 18 | # Extensions used by GNU tools 19 | ExOBJ=.o 20 | ExEXE=.exe 21 | ExLIB=.a 22 | 23 | RHIDE_AS=$(RHIDE_GCC) 24 | SOURCE_NAME=$< 25 | OUTFILE=$@ 26 | ALL_PREREQ=$^ 27 | RHIDE_COMPILE_ASM_FORCE=$(RHIDE_AS) $(RHIDE_INCLUDES) $(C_DEBUG_FLAGS)\ 28 | $(C_OPT_FLAGS) $(C_WARN_FLAGS) $(C_EXTRA_FLAGS) -x assembler-with-cpp\ 29 | $(LOCAL_OPT) -c $(SOURCE_NAME) -o $(OUTFILE) 30 | RHIDE_INCLUDES=$(SPECIAL_CFLAGS) $(addprefix -I,$(INCLUDE_DIRS)) 31 | LIB_DIRS=$(RHIDE_OS_LIBS_PATH) -L. 32 | RHIDE_ARFLAGS=rcs 33 | RHIDE_COMPILE_ARCHIVE=$(RHIDE_AR) $(RHIDE_ARFLAGS) $(OUTFILE)\ 34 | $(ALL_PREREQ) 35 | 36 | -------------------------------------------------------------------------------- /setedit/makes/config.nmk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # 3 | # Copyright (c) 2003-2005 by Salvador E. Tropea 4 | # Covered by the GPL license. 5 | # 6 | # This file contains the definitions that configures the compilation. 7 | # They include the C and C++ options and linker options. 8 | # 9 | 10 | TVISION_INC=-I..\..\tvision\winnt\include -I..\..\tvision\include 11 | TVLIBDIR=..\..\tvision\makes 12 | 13 | !ifdef DEBUG 14 | # Options to debug 15 | CFLAGS = /nologo -D_WIN32 -DFOR_EDITOR /GX /Zi 16 | LDFLAGS = /DEBUG 17 | !else 18 | # Options for optimization (production) 19 | CFLAGS = /nologo -O2 -D_WIN32 -DFOR_EDITOR /GX 20 | #CFLAGS = /nologo -O2 -D_WIN32 -DFOR_EDITOR /GR- /GX- 21 | LDFLAGS = /verbose 22 | !endif 23 | CXXFLAGS = /TP $(CFLAGS) 24 | 25 | RHIDE_GCC=cl 26 | RHIDE_GXX=cl 27 | RHIDE_LD=mlink 28 | 29 | # Sets the variables for the sub-makes 30 | EXTRALIB_MAKE_ARGS=_SUBMAKE=1 CC="$(RHIDE_GCC)" LD="$(RHIDE_LD)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" -f Makefile.nmk 31 | 32 | MK_EXT=.nmk 33 | MKF_EXT=.nmk 34 | 35 | -------------------------------------------------------------------------------- /setedit/makes/djgpp/compress.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 3 | Rem see copyrigh file for details 4 | 5 | set lfn=y 6 | perl compress.pl %1 %2 %3 %4 %5 %6 %7 %8 %9 7 | -------------------------------------------------------------------------------- /setedit/makes/easydiag.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/easydiag.gpr -------------------------------------------------------------------------------- /setedit/makes/editor.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/editor.gpr -------------------------------------------------------------------------------- /setedit/makes/extra.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/extra.gpr -------------------------------------------------------------------------------- /setedit/makes/extra.imk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # Automatically generated from RHIDE projects, don't edit 3 | # 4 | 5 | obj/djmdr$(ExOBJ):: ../extra/djmdr.s \ 6 | $(MAKEFILE_DEPS) 7 | $(RHIDE_COMPILE_ASM_FORCE) 8 | 9 | obj/dyncat$(ExOBJ):: ../extra/dyncat.cc \ 10 | configed.h \ 11 | dyncat.h \ 12 | $(MAKEFILE_DEPS) 13 | $(RHIDE_COMPILE_CC) 14 | 15 | obj/memmove$(ExOBJ):: ../extra/memmove.s \ 16 | $(MAKEFILE_DEPS) 17 | $(RHIDE_COMPILE_ASM_FORCE) 18 | 19 | obj/mixer$(ExOBJ):: ../extra/mixer.c \ 20 | configed.h \ 21 | mixer.h \ 22 | $(MAKEFILE_DEPS) 23 | $(RHIDE_COMPILE_C) 24 | 25 | obj/mixersb$(ExOBJ):: ../extra/mixersb.c \ 26 | configed.h \ 27 | $(MAKEFILE_DEPS) 28 | $(RHIDE_COMPILE_C) 29 | 30 | obj/mixoss$(ExOBJ):: ../extra/mixoss.c \ 31 | configed.h \ 32 | mixer.h \ 33 | $(MAKEFILE_DEPS) 34 | $(RHIDE_COMPILE_C) 35 | 36 | obj/stackdbg$(ExOBJ):: ../extra/stackdbg.c \ 37 | compatlayer.h \ 38 | configed.h \ 39 | stackdbg.h \ 40 | tv/configtv.h \ 41 | $(MAKEFILE_DEPS) 42 | $(RHIDE_COMPILE_C) 43 | 44 | obj/strncpyz$(ExOBJ):: ../extra/strncpyz.cc \ 45 | $(MAKEFILE_DEPS) 46 | $(RHIDE_COMPILE_CC) 47 | 48 | obj/strndup$(ExOBJ):: ../extra/strndup.cc \ 49 | $(MAKEFILE_DEPS) 50 | $(RHIDE_COMPILE_CC) 51 | 52 | -------------------------------------------------------------------------------- /setedit/makes/extra.umk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # Automatically generated from RHIDE projects, don't edit 3 | # 4 | 5 | obj/djmdr$(ExOBJ):: ../extra/djmdr.s 6 | $(RHIDE_COMPILE_ASM_FORCE) 7 | 8 | obj/dyncat$(ExOBJ):: ../extra/dyncat.cc 9 | $(RHIDE_COMPILE_CC) 10 | 11 | obj/memmove$(ExOBJ):: ../extra/memmove.s 12 | $(RHIDE_COMPILE_ASM_FORCE) 13 | 14 | obj/mixer$(ExOBJ):: ../extra/mixer.c 15 | $(RHIDE_COMPILE_C) 16 | 17 | obj/mixersb$(ExOBJ):: ../extra/mixersb.c 18 | $(RHIDE_COMPILE_C) 19 | 20 | obj/mixoss$(ExOBJ):: ../extra/mixoss.c 21 | $(RHIDE_COMPILE_C) 22 | 23 | obj/stackdbg$(ExOBJ):: ../extra/stackdbg.c 24 | $(RHIDE_COMPILE_C) 25 | 26 | obj/strncpyz$(ExOBJ):: ../extra/strncpyz.cc 27 | $(RHIDE_COMPILE_CC) 28 | 29 | obj/strndup$(ExOBJ):: ../extra/strndup.cc 30 | $(RHIDE_COMPILE_CC) 31 | 32 | -------------------------------------------------------------------------------- /setedit/makes/extrimk.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/extrimk.cc -------------------------------------------------------------------------------- /setedit/makes/includer.bmk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # This file is to absorve the difference between GNU Make's include directive 3 | # and Borland's !include directive. :-( 4 | # 5 | !ifdef INCLUDE00 6 | !include $(INCLUDE00) 7 | !endif 8 | !ifdef INCLUDE01 9 | !include $(INCLUDE01) 10 | !endif 11 | !ifdef INCLUDE02 12 | !include $(INCLUDE02) 13 | !endif 14 | !ifdef INCLUDE03 15 | !include $(INCLUDE03) 16 | !endif 17 | !ifdef INCLUDE04 18 | !include $(INCLUDE04) 19 | !endif 20 | !ifdef INCLUDE05 21 | !include $(INCLUDE05) 22 | !endif 23 | !ifdef INCLUDE06 24 | !include $(INCLUDE06) 25 | !endif 26 | !ifdef INCLUDE07 27 | !include $(INCLUDE07) 28 | !endif 29 | !ifdef INCLUDE08 30 | !include $(INCLUDE08) 31 | !endif 32 | !ifdef INCLUDE09 33 | !include $(INCLUDE09) 34 | !endif 35 | 36 | -------------------------------------------------------------------------------- /setedit/makes/includer.imk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # This file is to absorve the difference between GNU Make's include directive 3 | # and Borland's !include directive. :-( 4 | # 5 | ifdef INCLUDE00 6 | include $(INCLUDE00) 7 | endif 8 | ifdef INCLUDE01 9 | include $(INCLUDE01) 10 | endif 11 | ifdef INCLUDE02 12 | include $(INCLUDE02) 13 | endif 14 | ifdef INCLUDE03 15 | include $(INCLUDE03) 16 | endif 17 | ifdef INCLUDE04 18 | include $(INCLUDE04) 19 | endif 20 | ifdef INCLUDE05 21 | include $(INCLUDE05) 22 | endif 23 | ifdef INCLUDE06 24 | include $(INCLUDE06) 25 | endif 26 | ifdef INCLUDE07 27 | include $(INCLUDE07) 28 | endif 29 | ifdef INCLUDE08 30 | include $(INCLUDE08) 31 | endif 32 | ifdef INCLUDE09 33 | include $(INCLUDE09) 34 | endif 35 | 36 | -------------------------------------------------------------------------------- /setedit/makes/inffd.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/inffd.gpr -------------------------------------------------------------------------------- /setedit/makes/inffd.umk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # Automatically generated from RHIDE projects, don't edit 3 | # 4 | 5 | obj/inf$(ExOBJ):: ../infview/inf.cc 6 | $(RHIDE_COMPILE_CC) 7 | 8 | obj/infbase$(ExOBJ):: ../infview/infbase.cc 9 | $(RHIDE_COMPILE_CC) 10 | 11 | obj/manview$(ExOBJ):: ../infview/manview.cc 12 | $(RHIDE_COMPILE_CC) 13 | 14 | obj/nhiscoll$(ExOBJ):: ../infview/names/nhiscoll.cc 15 | $(RHIDE_COMPILE_CC) 16 | 17 | obj/ninfview$(ExOBJ):: ../infview/names/ninfview.cc 18 | $(RHIDE_COMPILE_CC) 19 | 20 | obj/ninfwind$(ExOBJ):: ../infview/names/ninfwind.cc 21 | $(RHIDE_COMPILE_CC) 22 | 23 | obj/nmanwind$(ExOBJ):: ../infview/names/nmanwind.cc 24 | $(RHIDE_COMPILE_CC) 25 | 26 | obj/sinf$(ExOBJ):: ../infview/streams/sinf.cc 27 | $(RHIDE_COMPILE_CC) 28 | 29 | obj/sman$(ExOBJ):: ../infview/streams/sman.cc 30 | $(RHIDE_COMPILE_CC) 31 | 32 | -------------------------------------------------------------------------------- /setedit/makes/infview.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/infview.gpr -------------------------------------------------------------------------------- /setedit/makes/install.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/install.gpr -------------------------------------------------------------------------------- /setedit/makes/librhuti.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/librhuti.gpr -------------------------------------------------------------------------------- /setedit/makes/libset.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/libset.gpr -------------------------------------------------------------------------------- /setedit/makes/line.par: -------------------------------------------------------------------------------- 1 | ../settvuti/setstack.cc 2 | ../settvuti/tinppipe.cc 3 | ../settvuti/tdiagrow.cc 4 | ../setedit/dskwin.cc 5 | ../setedit/tedcollec.cc 6 | -------------------------------------------------------------------------------- /setedit/makes/linux/.gitignore: -------------------------------------------------------------------------------- 1 | setedit-* 2 | infview-* 3 | result 4 | resultInf 5 | libncurses.a 6 | -------------------------------------------------------------------------------- /setedit/makes/listaxtr: -------------------------------------------------------------------------------- 1 | makes/*.imk 2 | makes/*.umk 3 | mp3/libamp/libamp.imk 4 | mp3/libamp/libamp.umk 5 | mp3/mpegsound/mpegsnd.imk 6 | mp3/mpegsound/mpegsnd.umk 7 | -------------------------------------------------------------------------------- /setedit/makes/obj/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/makes/objinf/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/makes/objlib/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/makes/objsdg/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/makes/r.bat: -------------------------------------------------------------------------------- 1 | Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | Rem see copyrigh file for details 3 | 4 | Rem That's normally true: 5 | SET TVISION=../../tvision 6 | 7 | Rem I use this redirection to catch RHIDE bugs 8 | redir -e errorrh.bak rhide editor.gpr 9 | -------------------------------------------------------------------------------- /setedit/makes/sdgcline.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/sdgcline.gpr -------------------------------------------------------------------------------- /setedit/makes/settv.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/settv.gpr -------------------------------------------------------------------------------- /setedit/makes/testeasy.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/makes/testeasy.gpr -------------------------------------------------------------------------------- /setedit/makes/testeasy.umk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | # Automatically generated from RHIDE projects, don't edit 3 | # 4 | 5 | OBJFILES=\ 6 | obj/test$(ExOBJ) 7 | 8 | LIBRARIES=\ 9 | libsettv$(ExLIB) \ 10 | libeasyd$(ExLIB) 11 | 12 | test$(ExEXE):: \ 13 | libeasyd$(ExLIB) \ 14 | libsettv$(ExLIB) \ 15 | obj/test$(ExOBJ) \ 16 | $(MAKEFILE_DEPS) 17 | $(RHIDE_COMPILE_LINK) 18 | 19 | INCLUDE00=easydiag$(ExIMK) 20 | 21 | obj/test$(ExOBJ):: ../easydiag/test.cc 22 | $(RHIDE_COMPILE_CC) 23 | 24 | -------------------------------------------------------------------------------- /setedit/makes/tmp/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/makes/tmp/test.cc: -------------------------------------------------------------------------------- 1 | char *s="$Id$"; 2 | -------------------------------------------------------------------------------- /setedit/makes/try-y.bat: -------------------------------------------------------------------------------- 1 | @Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | @Rem see copyrigh file for details 3 | @ 4 | redir -e error.txt editor --no-redirect --no-signal 5 | gsymify -i error.txt -o error.rep editor.exe 6 | gsymify -i yamd.log -o yamd.sym editor.exe 7 | -------------------------------------------------------------------------------- /setedit/makes/yamd-off.bat: -------------------------------------------------------------------------------- 1 | @Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | @Rem see copyrigh file for details 3 | @ 4 | set YAMD_ENABLE=0 5 | 6 | -------------------------------------------------------------------------------- /setedit/makes/yamd-on.bat: -------------------------------------------------------------------------------- 1 | @Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | @Rem see copyrigh file for details 3 | @ 4 | set YAMD_ENABLE=1 5 | set YAMD_LOGFILE_NAME=yamd.log 6 | set YAMD_LOGLEVEL=2 7 | set YAMD_FOR_GSYMIFY=1 8 | 9 | -------------------------------------------------------------------------------- /setedit/miscperl.pl: -------------------------------------------------------------------------------- 1 | # Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | # see copyrigh file for details 3 | # 4 | # Version is stored in the root directory in a file called version.txt. 5 | # It contains the version in Major.Middle.Minor format followed by only one 6 | # line feed. 7 | sub GetVersion 8 | { 9 | $Version=cat($_[0].'version.txt'); 10 | if (!$Version) 11 | { 12 | die "Missing version file! ($_[0]version.txt)\n"; 13 | } 14 | chop $Version; 15 | $Version=~/(\d+)\.(\d+)\.(\d+)/; 16 | $VersionMajor =$1; 17 | $VersionMiddle=$2; 18 | $VersionMinor =$3; 19 | $Version="$1.$2.$3"; 20 | } 21 | 22 | sub replace 23 | { 24 | my $b=$_[1]; 25 | 26 | open(FIL,">$_[0]") || return 0; 27 | print FIL ($b); 28 | close(FIL); 29 | } 30 | 31 | sub cat 32 | { 33 | local $/; 34 | my $b; 35 | 36 | open(FIL,$_[0]) || return 0; 37 | $b=; 38 | close(FIL); 39 | 40 | $b; 41 | } 42 | 43 | 1; 44 | -------------------------------------------------------------------------------- /setedit/mp3/consts.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | const int cmaBase=0x22A0; 4 | 5 | #define h(a,b) const int cma##a=cmaBase+b,hc##a=cmaBase+b; 6 | 7 | h(UpdateTime,0) 8 | h(IsAmpDiagThere,1) 9 | h(UpdateFile,2) 10 | h(MP3Play,3) 11 | h(MP3Stop,4) 12 | h(MP3Pause,5) 13 | h(MP3Ffw,6) 14 | h(MP3Rew,7) 15 | h(ReflectStatus,8) 16 | h(AddMP3,9) 17 | h(InsertMP3,10) 18 | h(DeleteMP3,11) 19 | h(SaveMP3List,12) 20 | h(LoadMP3List,13) 21 | h(MP3Prev,14) 22 | h(MP3Next,15) 23 | 24 | #undef h 25 | 26 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/.gitignore: -------------------------------------------------------------------------------- 1 | *.mak 2 | rhide.env 3 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/audioio.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /* AUSUZ should be the amount of data your audio device will accept after it 4 | * has said it is ready to receive data. ie when the device is ready for data it 5 | * will accept it without blocking. It must also be a multiple of 128 6 | */ 7 | 8 | #ifdef OS_AIX 9 | #define AUSIZ 32768 10 | #endif 11 | 12 | #ifdef OS_Linux 13 | extern int AUSIZ; 14 | #endif 15 | 16 | #ifdef OS_BSD 17 | #define AUSIZ 32768 18 | #endif 19 | 20 | #if defined(OS_IRIX) || defined(OS_IRIX64) 21 | #define AUSIZ 32768 22 | #endif 23 | 24 | #ifdef OS_HPUX 25 | #define AUSIZ 4096 26 | #endif 27 | 28 | #ifdef OS_SunOS 29 | #define AUSIZ 4096 30 | #endif 31 | 32 | 33 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/common.imk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | 3 | vpath %.c $(vpath_src) 4 | vpath %.s $(vpath_src) 5 | vpath %.cc $(vpath_src) 6 | vpath_obj=obj 7 | vpath %.o $(vpath_obj) 8 | 9 | # These files changes the compilation process so they are important 10 | # dependencies. 11 | MAKEFILE_DEPS=rhide.env common.imk 12 | # Extensions used by GNU tools 13 | ExOBJ=.o 14 | ExEXE=.exe 15 | ExLIB=.a 16 | 17 | RHIDE_AS=$(RHIDE_GCC) 18 | SOURCE_NAME=$< 19 | OUTFILE=$@ 20 | ALL_PREREQ=$^ 21 | RHIDE_COMPILE_ASM_FORCE=$(RHIDE_AS) $(RHIDE_INCLUDES) $(C_DEBUG_FLAGS)\ 22 | $(C_OPT_FLAGS) $(C_WARN_FLAGS) $(C_EXTRA_FLAGS) -x assembler-with-cpp\ 23 | $(LOCAL_OPT) -c $(SOURCE_NAME) -o $(OUTFILE) 24 | RHIDE_INCLUDES=$(SPECIAL_CFLAGS) $(addprefix -I,$(INCLUDE_DIRS)) 25 | LIB_DIRS=$(RHIDE_OS_LIBS_PATH) . 26 | RHIDE_LIBDIRS=$(addprefix -L,$(LIB_DIRS)) 27 | RHIDE_LIBS=$(addprefix -l,$(LIBS) $(RHIDE_TYPED_LIBS) $(RHIDE_OS_LIBS)) 28 | RHIDE_ARFLAGS=rcs 29 | RHIDE_COMPILE_ARCHIVE=$(RHIDE_AR) $(RHIDE_ARFLAGS) $(OUTFILE)\ 30 | $(ALL_PREREQ) 31 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/dump.h: -------------------------------------------------------------------------------- 1 | /* this file is a part of amp software, (C) tomislav uzelac 1996,1997 2 | */ 3 | /* dump.h 4 | * 5 | * Last modified by: tomislav uzelac May 31 1997 6 | */ 7 | 8 | extern void dump(int *length); 9 | extern void show_header(struct AUDIO_HEADER *header); 10 | 11 | #ifdef DUMP 12 | void dump(int *length); 13 | void show_header(struct AUDIO_HEADER *header); 14 | /* 15 | static char *t_modes[] = { 16 | "stereo","joint_stereo","dual_channel","single_channel"}; 17 | */ 18 | #endif /* DUMP */ 19 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/formats.h: -------------------------------------------------------------------------------- 1 | /* this file is a part of amp software, (C) tomislav uzelac 1996,1997 2 | */ 3 | 4 | /* formats.h 5 | * 6 | * Created by: tomislav uzelac Dec 22 1996 7 | */ 8 | extern void wav_end(struct AUDIO_HEADER *header); 9 | extern void wav_begin(void); 10 | 11 | #ifdef FORMATS 12 | void wav_end(struct AUDIO_HEADER *header); 13 | void wav_begin(void); 14 | #endif /* FORMATS */ 15 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/guicontr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mp3/libamp/guicontr.c -------------------------------------------------------------------------------- /setedit/mp3/libamp/guicontrol.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void gui_control(void); 4 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/layer3.h: -------------------------------------------------------------------------------- 1 | /* this file is a part of amp software, (C) tomislav uzelac 1996,1997 2 | */ 3 | 4 | /* layer3.h 5 | * 6 | * Created by: tomislav uzelac Mar 1 97 7 | * Last modified by: 8 | */ 9 | 10 | extern int layer3_frame(struct AUDIO_HEADER *header,int cnt); 11 | 12 | #ifdef LAYER3 13 | 14 | int layer3_frame(struct AUDIO_HEADER *header,int cnt); 15 | 16 | #endif /* LAYER3 */ 17 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/libamp.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mp3/libamp/libamp.gpr -------------------------------------------------------------------------------- /setedit/mp3/libamp/libamp.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /* libamp header */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | extern int amp_bitrate,amp_samprat; 9 | extern int amp_mpg_ver,amp_layer,amp_stereo,amp_pollsize; 10 | extern int amp_playing,amp_loaded,amp_reverse_phase; 11 | extern int amp_dec_frame,amp_dec_time; 12 | extern int amp_frame,amp_time; 13 | 14 | extern unsigned short*amp_buf_left,*amp_buf_right; 15 | extern int amp_buf_len; 16 | 17 | extern unsigned short*amp_play_left,*amp_play_right; 18 | extern int amp_play_len; 19 | 20 | int install_amp(void); 21 | int load_amp(char*filename,int loop); 22 | int poll_amp(void); 23 | int run_amp(void); 24 | int replay_amp(void); 25 | int seek_amp_abs(int frame); 26 | int seek_amp_rel(int framecnt); 27 | int unload_amp(void); 28 | int stop_amp(void); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/libamp.mkf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | 3 | ########################################################################################## 4 | # 5 | # Beggining of maintained lines 6 | # 7 | ########################################################################################## 8 | # 9 | # Source directories 10 | # 11 | vpath_src= 12 | # 13 | # Include directories 14 | # 15 | MP3_PREV_DIR=.. 16 | MP3_MAIN_DIR=../../include 17 | INCLUDE_DIRS=. $(MP3_PREV_DIR) $(MP3_MAIN_DIR) 18 | 19 | ########################################################################################## 20 | # 21 | # Beggining of fixed part 22 | # 23 | ########################################################################################## 24 | 25 | # 26 | # Any configurable detail should come from here. 27 | # 28 | include rhide.env 29 | 30 | # 31 | # Common rules used by RHIDE. 32 | # 33 | include common.imk 34 | 35 | # 36 | # All the RHIDE data should come from here. 37 | # 38 | include libamp.imk 39 | 40 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/obj/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/position.h: -------------------------------------------------------------------------------- 1 | /* this file is a part of amp software, (C) tomislav uzelac 1996,1997 2 | */ 3 | 4 | extern int ffwd(struct AUDIO_HEADER *header, int nframes); 5 | extern int rew(struct AUDIO_HEADER *header, int nframes); 6 | 7 | #ifdef POSITION 8 | int ffwd(struct AUDIO_HEADER *header, int nframes); 9 | int rew(struct AUDIO_HEADER *header, int nframes); 10 | #endif 11 | -------------------------------------------------------------------------------- /setedit/mp3/libamp/proto.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /* From: util.c */ 4 | void die(char *, ...); 5 | void warn(char *, ...); 6 | void msg(char *, ...); 7 | void debugSetup(char *); 8 | void debugOptions(); 9 | 10 | /* From: audioIO_.c */ 11 | void audioOpen(int frequency, int stereo, int volume); 12 | void audioSetVolume(int); 13 | void audioFlush(); 14 | void audioClose(); 15 | int audioWrite(char *, int); 16 | int getAudioFd(); 17 | void audioBufferOn(int); 18 | 19 | /* From: buffer.c */ 20 | void printout(void); 21 | int audioBufferOpen(int, int, int); 22 | void audioBufferClose(); 23 | void audioBufferWrite(char *, int); 24 | void audioBufferFlush(); 25 | 26 | /* From: audio.c */ 27 | void displayUsage(); 28 | -------------------------------------------------------------------------------- /setedit/mp3/mp3list.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mp3/mp3list.cc -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/.gitignore: -------------------------------------------------------------------------------- 1 | *.mak 2 | rhide.env 3 | 4 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/common.imk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | 3 | vpath %.c $(vpath_src) 4 | vpath %.s $(vpath_src) 5 | vpath %.cc $(vpath_src) 6 | vpath_obj=obj 7 | vpath %.o $(vpath_obj) 8 | 9 | # These files changes the compilation process so they are important 10 | # dependencies. 11 | MAKEFILE_DEPS=rhide.env common.imk 12 | # Extensions used by GNU tools 13 | ExOBJ=.o 14 | ExEXE=.exe 15 | ExLIB=.a 16 | 17 | RHIDE_AS=$(RHIDE_GCC) 18 | SOURCE_NAME=$< 19 | OUTFILE=$@ 20 | ALL_PREREQ=$^ 21 | RHIDE_COMPILE_ASM_FORCE=$(RHIDE_AS) $(RHIDE_INCLUDES) $(C_DEBUG_FLAGS)\ 22 | $(C_OPT_FLAGS) $(C_WARN_FLAGS) $(C_EXTRA_FLAGS) -x assembler-with-cpp\ 23 | $(LOCAL_OPT) -c $(SOURCE_NAME) -o $(OUTFILE) 24 | RHIDE_INCLUDES=$(SPECIAL_CFLAGS) $(addprefix -I,$(INCLUDE_DIRS)) 25 | LIB_DIRS=$(RHIDE_OS_LIBS_PATH) . 26 | RHIDE_LIBDIRS=$(addprefix -L,$(LIB_DIRS)) 27 | RHIDE_LIBS=$(addprefix -l,$(LIBS) $(RHIDE_TYPED_LIBS) $(RHIDE_OS_LIBS)) 28 | RHIDE_ARFLAGS=rcs 29 | RHIDE_COMPILE_ARCHIVE=$(RHIDE_AR) $(RHIDE_ARFLAGS) $(OUTFILE)\ 30 | $(ALL_PREREQ) 31 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/mpegsnd.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mp3/mpegsound/mpegsnd.gpr -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/mpegsnd.mkf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make 2 | 3 | ########################################################################################## 4 | # 5 | # Beggining of maintained lines 6 | # 7 | ########################################################################################## 8 | # 9 | # Source directories 10 | # 11 | vpath_src= 12 | # 13 | # Include directories 14 | # 15 | MP3_PREV_DIR=.. 16 | MP3_MAIN_DIR=../../include 17 | INCLUDE_DIRS=. $(MP3_PREV_DIR) $(MP3_MAIN_DIR) 18 | 19 | ########################################################################################## 20 | # 21 | # Beggining of fixed part 22 | # 23 | ########################################################################################## 24 | 25 | # 26 | # Any configurable detail should come from here. 27 | # 28 | include rhide.env 29 | 30 | # 31 | # Common rules used by RHIDE. 32 | # 33 | include common.imk 34 | 35 | # 36 | # All the RHIDE data should come from here. 37 | # 38 | include mpegsnd.imk 39 | 40 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/obj/delete.me: -------------------------------------------------------------------------------- 1 | Delete this file, is here just to include this directory in the package. 2 | I know that's need for some un/compressors and is needed by my scripts too. 3 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/osdisk.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "mpegsound.h" 5 | 6 | mode_t Mpegsound_DefaultCreateMode=0644; 7 | 8 | int Mpegsound_creat(const char *filename) 9 | { 10 | #ifdef __DJGPP__ 11 | int oldmode=_fmode; 12 | _fmode=O_BINARY; 13 | #endif 14 | int ret=creat(filename,Mpegsound_DefaultCreateMode); 15 | #ifdef __DJGPP__ 16 | _fmode=oldmode; 17 | #endif 18 | return ret; 19 | } 20 | 21 | FILE *Mpegsound_fopenR(const char *filename) 22 | { 23 | return fopen(filename,"rb"); 24 | } 25 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/rawplayer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/mp3/mpegsound/rawplayer.cc -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/rawtofile.cc: -------------------------------------------------------------------------------- 1 | /* MPEG/WAVE Sound library 2 | 3 | (C) 1997 by Jung woo-jae */ 4 | 5 | // Rawtofile.cc 6 | // Output raw data to file. 7 | 8 | #ifdef HAVE_CONFIG_H 9 | #include "config.h" 10 | #endif 11 | 12 | #include 13 | #include 14 | 15 | #include "mpegsound.h" 16 | 17 | // Rawplayer class 18 | Rawtofile::~Rawtofile() 19 | { 20 | close(filehandle); 21 | } 22 | 23 | bool Rawtofile::initialize(const char *filename) 24 | { 25 | if(filename==NULL)filehandle=1; 26 | else if((filehandle=Mpegsound_creat(filename))==-1) 27 | return seterrorcode(SOUND_ERROR_DEVOPENFAIL); 28 | 29 | return true; 30 | } 31 | 32 | bool Rawtofile::setsoundtype(int stereo,int samplesize,int speed) 33 | { 34 | rawstereo=stereo; 35 | rawsamplesize=samplesize; 36 | rawspeed=speed; 37 | 38 | return true; 39 | } 40 | 41 | bool Rawtofile::putblock(void *buffer,int size) 42 | { 43 | return (write(filehandle,buffer,size)==size); 44 | }; 45 | 46 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/soundinputstream.cc: -------------------------------------------------------------------------------- 1 | /* MPEG/WAVE Sound library 2 | 3 | (C) 1997 by Woo-jae Jung */ 4 | 5 | // Soundinputstream.cc 6 | // Abstractclass of inputstreams 7 | 8 | #ifdef HAVE_CONFIG_H 9 | #include "config.h" 10 | #endif 11 | 12 | #include 13 | 14 | #include "mpegsound.h" 15 | 16 | Soundinputstream::Soundinputstream() 17 | { 18 | __errorcode=SOUND_ERROR_OK; 19 | canseek=false; 20 | }; 21 | 22 | Soundinputstream::~Soundinputstream() 23 | { 24 | // Nothing... 25 | }; 26 | 27 | /********************/ 28 | /* File & Http open */ 29 | /********************/ 30 | Soundinputstream *Soundinputstream::hopen(char *filename,int *errorcode) 31 | { 32 | Soundinputstream *st; 33 | 34 | if(filename==NULL)st=new Soundinputstreamfromfile; 35 | #ifdef HAVE_SOCKET 36 | else if(strstr(filename,"://"))st=new Soundinputstreamfromhttp; 37 | #endif 38 | else st=new Soundinputstreamfromfile; 39 | 40 | if(st==NULL) 41 | { 42 | *errorcode=SOUND_ERROR_MEMORYNOTENOUGH; 43 | return NULL; 44 | } 45 | 46 | if(!st->open(filename)) 47 | { 48 | *errorcode=st->geterrorcode(); 49 | delete st; 50 | return NULL; 51 | } 52 | 53 | return st; 54 | } 55 | 56 | 57 | -------------------------------------------------------------------------------- /setedit/mp3/mpegsound/soundplayer.cc: -------------------------------------------------------------------------------- 1 | /* MPEG/WAVE Sound library 2 | 3 | (C) 1997 by Jung woo-jae */ 4 | 5 | // Soundplayer.cc 6 | // Superclass of Rawplayer and Rawtofile 7 | // It's used for set player of Mpegtoraw & Wavetoraw 8 | 9 | #ifdef HAVE_CONFIG_H 10 | #include "config.h" 11 | #endif 12 | 13 | #include "mpegsound.h" 14 | 15 | /*********************/ 16 | /* Soundplayer class */ 17 | /*********************/ 18 | Soundplayer::~Soundplayer() 19 | { 20 | // Nothing... 21 | } 22 | 23 | void Soundplayer::abort(void) 24 | { 25 | // Nothing.... 26 | } 27 | 28 | int Soundplayer::getprocessed(void) 29 | { 30 | return 0; 31 | } 32 | bool Soundplayer::resetsoundtype(void) 33 | { 34 | return true; 35 | } 36 | 37 | int Soundplayer::getblocksize(void) 38 | { 39 | return 1024; // Default value 40 | } 41 | -------------------------------------------------------------------------------- /setedit/names/nceditor.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TCEditor) 6 | 7 | 8 | -------------------------------------------------------------------------------- /setedit/names/ndskwasc.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinASCII); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwcal.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinCalendar); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwcli.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinClipboard); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwclo.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinClosed); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwedi.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinEditor); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwhel.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinHelp); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwman.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinMan); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwmes.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinMessage); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwmp3.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinMP3); 6 | -------------------------------------------------------------------------------- /setedit/names/ndskwprj.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TDskWinPrj); 6 | -------------------------------------------------------------------------------- /setedit/names/neditwin.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TCEditWindow); 6 | 7 | -------------------------------------------------------------------------------- /setedit/names/nfileedi.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TCFileEditor); 6 | -------------------------------------------------------------------------------- /setedit/names/nsindica.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TSIndicator) 6 | 7 | 8 | -------------------------------------------------------------------------------- /setedit/names/ntedcol.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include 4 | n2(TEditorCollection,TEdCol); 5 | -------------------------------------------------------------------------------- /setedit/redhat/.gitignore: -------------------------------------------------------------------------------- 1 | *.spec 2 | -------------------------------------------------------------------------------- /setedit/redhat/config-rpm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ "$SET_RPM_DIR" ]; then 3 | SET_RPM_DIR="$SET_RPM_DIR"; 4 | else 5 | SET_RPM_DIR="$HOME"; 6 | fi 7 | echo "%_topdir " $SET_RPM_DIR/rpm > ~/.rpmmacros 8 | 9 | -------------------------------------------------------------------------------- /setedit/redhat/create-all-rpms.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2003 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | # This file executes the steps needed to create the Turbo Vision and SETEdit 6 | # RPM files. It doesn't check for errors and is really simple. 7 | # It assumes both tarballs were uncompressed in the same directory and that 8 | # you are running the script from ../ 9 | # 10 | cd ../tvision 11 | chmod +x redhat/create-rpms.sh 12 | redhat/create-rpms.sh 13 | cd ../setedit 14 | chmod +x redhat/create-rpms.sh 15 | redhat/create-rpms.sh 16 | 17 | -------------------------------------------------------------------------------- /setedit/redhat/create-dirs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ "$SET_RPM_DIR" ]; then 3 | SET_RPM_DIR="$SET_RPM_DIR"; 4 | else 5 | SET_RPM_DIR="$HOME"; 6 | fi 7 | mkdir $SET_RPM_DIR/rpm 8 | mkdir $SET_RPM_DIR/rpm/BUILD 9 | mkdir $SET_RPM_DIR/rpm/RPMS 10 | mkdir $SET_RPM_DIR/rpm/RPMS/i386 11 | mkdir $SET_RPM_DIR/rpm/SOURCES 12 | mkdir $SET_RPM_DIR/rpm/SPECS 13 | mkdir $SET_RPM_DIR/rpm/SRPMS 14 | -------------------------------------------------------------------------------- /setedit/redhat/create-rpms.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2003 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | # This file executes the steps needed to create the RPM files. It doesn't 6 | # check for errors and is really simple. 7 | # It temporally changes the ~/.rpmmacros file, but the file is restored 8 | # before exiting. If you stop the script you can recover the original file 9 | # using the move located at the end. 10 | # The file should be executed from the ../ 11 | # 12 | if [ "$SET_RPM_DIR" ]; then 13 | SET_RPM_DIR="$SET_RPM_DIR"; 14 | else 15 | SET_RPM_DIR="$HOME"; 16 | fi 17 | ./configure --just-spec 18 | chmod +x redhat/create-dirs.sh 19 | chmod +x redhat/config-rpm.sh 20 | redhat/create-dirs.sh 21 | mv ~/.rpmmacros redhat/.rpmmacros-backup~ 22 | redhat/config-rpm.sh 23 | cd makes/linux; perl compress.pl --use-bzip2 --only-source --dir-version; cd ../.. 24 | mv makes/linux/result/setedit-`cat version.txt`.tar.bz2 $SET_RPM_DIR/rpm/SOURCES 25 | rpmbuild -bb redhat/setedit-`cat version.txt`.spec 26 | mv redhat/.rpmmacros-backup~ ~/.rpmmacros 27 | 28 | -------------------------------------------------------------------------------- /setedit/scrnsave/copying: -------------------------------------------------------------------------------- 1 | All the files here are distributed under the GPL license. This license is 2 | shipped with the editor in the main directory in a file called: copying.gpl. 3 | If you distribute the plasma library alone or use it for another project be 4 | sure you read the GPL license carefully and you are not violating it. 5 | If for some strange reason you lost this file you can get a copy. 6 | 7 | Copyright (C) 1997-2000 by Salvador E. Tropea 8 | 9 | This program is free software; you can redistribute it and/or modify 10 | it under the terms of the GNU General Public License as published by 11 | the Free Software Foundation; either version 2 of the License, or 12 | (at your option) any later version. 13 | 14 | This program is distributed in the hope that it will be useful, 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | GNU General Public License for more details. 18 | 19 | You should have received a copy of the GNU General Public License 20 | along with this program; if not, write to the Free Software 21 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 22 | 23 | SET 24 | 25 | -------------------------------------------------------------------------------- /setedit/scrnsave/extrscsv.txt: -------------------------------------------------------------------------------- 1 | Plasma sin/cos 2 | ps1.exe 3 | Plasma mixsurf 1 4 | ps2.exe 5 | Plasma mixsurf 2 6 | ps3.exe 7 | Plasma mixsurf random 8 | ps4.exe 9 | -------------------------------------------------------------------------------- /setedit/scrnsave/fakealle/fakealle.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/fakealle/fakealle.gpr -------------------------------------------------------------------------------- /setedit/scrnsave/fakealle/include/putscree.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void PS_FullBlitLinear(BITMAP *bmp,BITMAP *scr); 4 | -------------------------------------------------------------------------------- /setedit/scrnsave/fakealle/include/varios.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void AllegroInit(void); 4 | void AllegroSetMode(void); 5 | void CalcuInit(void); 6 | void CalcuCallBack(void); 7 | void CalcuDeInit(void); 8 | 9 | -------------------------------------------------------------------------------- /setedit/scrnsave/fakealle/putscree.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1999,2000 by Salvador E. Tropea (SET), 2 | see copying file for details */ 3 | #include 4 | 5 | void PS_FullBlitLinear(BITMAP *bmp, BITMAP *src) 6 | { 7 | blit(bmp); 8 | } 9 | -------------------------------------------------------------------------------- /setedit/scrnsave/fakealle/varios1.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1999,2000 by Salvador E. Tropea (SET), 2 | see copying file for details */ 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | void AllegroInit(void) 9 | { 10 | MA1_CreateLookUp(); 11 | allegro_init(); 12 | 13 | set_gfx_mode(GFX_VGA,320,200,0,0); 14 | } 15 | 16 | void AllegroSetMode(void) 17 | { 18 | set_gfx_mode(GFX_VGA,320,200,0,0); 19 | } 20 | 21 | void CalcuInit(void) 22 | { 23 | printf("Calculating ..."); 24 | printf("Please wait a little "); 25 | } 26 | 27 | void CalcuCallBack(void) 28 | { 29 | printf("."); 30 | } 31 | 32 | void CalcuDeInit(void) 33 | { 34 | } 35 | -------------------------------------------------------------------------------- /setedit/scrnsave/plasma1/ps1.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/plasma1/ps1.gpr -------------------------------------------------------------------------------- /setedit/scrnsave/plasma2/ps2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/plasma2/ps2.c -------------------------------------------------------------------------------- /setedit/scrnsave/plasma2/ps2.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/plasma2/ps2.gpr -------------------------------------------------------------------------------- /setedit/scrnsave/plasma3/ps3.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/plasma3/ps3.gpr -------------------------------------------------------------------------------- /setedit/scrnsave/plasma4/ps4.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/plasma4/ps4.gpr -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/include/math2.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | // 64Kb 4 | #define RandomTableSize 0x10000 5 | extern unsigned char RandomTable[RandomTableSize]; 6 | // short to wrap in the table 7 | extern unsigned short RandomTablePos; 8 | #define MA2_GetRand8() RandomTable[RandomTablePos++] 9 | void MA2_InitRTable(void); 10 | -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/include/mksurf.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void MKS_DistCentS(int w, int h, unsigned char *s, int sw, int sh, 4 | void (*CallBack)()); 5 | void MKS_SinDisCentS(int w, int h, unsigned char *s, int sw, int sh, 6 | double Bsize, void (*CallBack)()); 7 | 8 | void MKS_SinDisCentSf(int w, int h, unsigned char *s, int sw, int sh, 9 | double Bsize, void (*CallBack)()); 10 | void MKS_C2ySySiCx(int w, int h, unsigned char *s, void (*CallBack)()); 11 | void MKS_SxCxSyCySxyCh(int w, int h, unsigned char *s, void (*CallBack)(void)); 12 | void MKS_SxCxSyCySxy(int w, int h, unsigned char *s, void (*CallBack)(void)); 13 | 14 | -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/include/mksurf4.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | int MKS_RamdomFrac1(BITMAP *bmp, unsigned char adj, void (*CallBack)()); 4 | -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/include/movsurf1.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | typedef struct 4 | { 5 | fix8_8 c1,c2,c3,c4,c5,c6,c7,c8; // 8 angles 6 | fix8_8 i1,i2,i3,i4,i5,i6,i7,i8; // 8 increments 7 | char *s1,*s2,*s3,*s4; // 4 surfaces 8 | } MVS_4struct; 9 | 10 | extern MVS_4struct MVS_4; 11 | void MVS_4SurfSC(void); 12 | 13 | -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/include/movsurf2.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | typedef struct 4 | { 5 | int cont; // starting point 6 | int cant; // number of points 7 | unsigned *Tray; // trajectory 8 | char *s1,*s2; // Surfaces 9 | } MVS_2Astruct; 10 | 11 | extern MVS_2Astruct MVS_2A; 12 | void MVS_2SurfA(void); 13 | -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/mixsfake.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/scrnsave/plasmlib/mixsfake.gpr -------------------------------------------------------------------------------- /setedit/scrnsave/plasmlib/mksurf1.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copying file for details */ 3 | #include 4 | 5 | #define uchar unsigned char 6 | 7 | void MKS_DistCentS(int w, int h, unsigned char *s, int sw, int sh, void (*CallBack)()) 8 | { 9 | int d1,i,j; 10 | 11 | for (i=0; i. 6 | All the files here are distributed under the GPL license as the rest of the 7 | editor. 8 | The directory plasmlib contains a reduced version of my plasma library, it 9 | have various interesting routines. The code is optimized for Cyrix 5x86 and 10 | gcc 2.7.2, I didn't have time to tune it for Pentium or other gcc versions. 11 | The directory fakealle contains some routines that are called like the 12 | Allegro library function but that just works for 320x200 video modes. I used 13 | it to make the screen savers really small (35 to 40Kb compressed with UPX) 14 | but the code was original written for Allegro 3. 15 | 16 | -------------------------------------------------------------------------------- /setedit/sdg/gettext.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | char *gettext__(char *s) {return s;}; 4 | -------------------------------------------------------------------------------- /setedit/sdg/html.frt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/html.frt -------------------------------------------------------------------------------- /setedit/sdg/include/mliabase.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TMLIArrayBase) && !defined(__TMLIArrayBase__) 4 | #define __TMLIArrayBase__ 5 | class TLispVar; 6 | 7 | class TMLIArrayBase 8 | { 9 | public: 10 | TMLIArrayBase() {firstfree=0;}; 11 | virtual ~TMLIArrayBase() {}; 12 | virtual void Push(TLispVar *) = 0; 13 | virtual TLispVar *Get(int ) = 0; 14 | virtual TLispVar *FreeItems(int ) = 0; 15 | virtual void ReplaceItem(int , TLispVar *) = 0; 16 | int GetCount() { return firstfree;}; 17 | 18 | int firstfree; 19 | }; 20 | #endif 21 | -------------------------------------------------------------------------------- /setedit/sdg/include/mliasimp.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TMLIArraySimple) && !defined(__TMLIArraySimple__) 4 | #define __TMLIArraySimple__ 5 | 6 | class TMLIArraySimple : public TMLIArrayBase 7 | { 8 | public: 9 | TMLIArraySimple(int start, int delt); 10 | virtual ~TMLIArraySimple(); 11 | virtual void Push(TLispVar *v); 12 | virtual TLispVar *Get(int pos); 13 | virtual TLispVar *FreeItems(int cant); 14 | virtual void ReplaceItem(int pos, TLispVar *o); 15 | 16 | private: 17 | int size; 18 | int delta; 19 | int nextsize; 20 | TLispVar **array; 21 | }; 22 | #endif 23 | -------------------------------------------------------------------------------- /setedit/sdg/include/mlicsdg.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TMLISDG) && !defined(__TMLISDG__) 4 | #define __TMLISDG__ 5 | const int MLISDGCommands=1; 6 | 7 | class TMLISDG : public TMLIBase 8 | { 9 | public: 10 | TMLISDG(TMLIArrayBase *a, TLispVariableCol *v, FILE *f) : TMLIBase(a,v,f) {}; 11 | void SetGetVar(getVarFunction gv) { getVar=gv; }; 12 | virtual int ParseSymbol(int &Params,int &Commands); 13 | virtual int MLIBooleanValOf(TLispVar *var); 14 | virtual Command WhatCommand(char *s); 15 | 16 | private: 17 | static const char *cNames[MLISDGCommands]; 18 | static Command cComms[MLISDGCommands]; 19 | getVarFunction getVar; 20 | }; 21 | #endif 22 | -------------------------------------------------------------------------------- /setedit/sdg/include/mlisdg.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TLispSDGstring) && !defined(__TLispSDGstring__) 4 | #define __TLispSDGstring__ 5 | 6 | class TLispSDGstring : public TLispVar 7 | { 8 | public: 9 | TLispSDGstring(char *st,char *en,int flgs) 10 | { start=st; end=en; flags=flgs; type=MLITypeSDGvar; }; 11 | virtual ~TLispSDGstring(); 12 | virtual int print(FILE *s); 13 | virtual char *toStr(); 14 | 15 | int flags; 16 | char *start,*end; 17 | }; 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /setedit/sdg/include/mlisdgi.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TMLISDGDefs) && !defined(__TMLISDGDefs__) 4 | #define __TMLISDGDefs__ 5 | typedef int (*getVarFunction)(int,char *&,char *&,int &); 6 | extern char *InterpretLispCode(char *s,getVarFunction getVar,FILE *f); 7 | 8 | // Default: Don't free it, belongs to the generator 9 | #define sdgFreeIt 1 10 | // Default: Out it expanding 11 | #define sdgSimpleString 2 12 | // Default: end marks the end 13 | #define sdgASCIIZ 4 14 | 15 | extern int MLISDGError; 16 | extern const char *MLISDGTypeError; 17 | extern const char *MLISDGErrorName; 18 | extern const char *MLISDGErrorCode; 19 | #endif 20 | -------------------------------------------------------------------------------- /setedit/sdg/multi.frt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/multi.frt -------------------------------------------------------------------------------- /setedit/sdg/sdg.his: -------------------------------------------------------------------------------- 1 | That's the history file of the SET's Documentation Generator: 2 | 3 | 29/07/97 4 | First alpha release sent to: Laszlo Molnar, Robert Hoehne and George Foot 5 | v0.0.1 6 | 30/07/97 7 | Enhanced the reported errors. 8 | 01/08/97 9 | Defined the interface to SDG to be modular. 10 | 02-03/08/97 11 | Added left, right, substr, gstr, sstr, setv and eval to the Lisp 12 | interpreter 13 | Added vars and CR constant to the interpreter. 14 | 04/08/97 15 | Cleaned the includes and made through a distributor file. 16 | Sent to DWI the Alpha 0.0.1. 17 | Moved from the under-development dir to the sdg dir. 18 | 05/08/97 19 | Interface with the editor. 20 | Sent to StarLost the Alpha 0.0.1 21 | Changed the extern copy to one internal (Robert's sugestion). 22 | Fixed wrong references in HTML files with multi.frt (Robert's report). 23 | Added Up and Previous in info files but not in the right way ( " " ). 24 | 06/08/97 25 | Messages in the editor. 26 | Dialog to set the parameters. 27 | Save/Restore values. 28 | TXHFilesDir to allow the search of .frt files in other directory. 29 | Added ~90 in the command lines to allow -I TXHFilesDir. 30 | -------------------------------------------------------------------------------- /setedit/sdg/tex.frt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/tex.frt -------------------------------------------------------------------------------- /setedit/sdg/txhgen-i.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/txhgen-i.htm -------------------------------------------------------------------------------- /setedit/sdg/txhgen-i.txi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/txhgen-i.txi -------------------------------------------------------------------------------- /setedit/sdg/txhgen-i.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/txhgen-i.txt -------------------------------------------------------------------------------- /setedit/sdg/txhgen.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/txhgen.cc -------------------------------------------------------------------------------- /setedit/sdg/txhgen.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/sdg/txhgen.txt -------------------------------------------------------------------------------- /setedit/set_insed: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This script is used to just install the editor without stripping 3 | # 4 | make EXTRA_INS_OPS=--no-strip install-editor 5 | -------------------------------------------------------------------------------- /setedit/setedit/edprint.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/setedit/edprint.cc -------------------------------------------------------------------------------- /setedit/setedit/include/advice.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2005 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | const int 4 | gadvUserScreen =0, 5 | gadvAbsolutePath=1, 6 | gadvDeleteFile0 =2, 7 | gadvFOShiftCase =3, 8 | gadvFOShFuzzy =4, 9 | gadvFOShiftDirs =5, 10 | gadvTabsOps =6, 11 | gadvTagsOld =7, 12 | gadvNoTags =8, 13 | gadvDiffModOpts =9, 14 | gadvDbgNoPrj =10, 15 | gadvDbgDestSes =11, 16 | gadvDbgSesActive=12, 17 | gadvDbgKillPrg =13, 18 | gadvDbgLinuxTTY =14, 19 | gadvGPG =15; 20 | 21 | int GiveAdvice(int number); 22 | void AdviceManager(); 23 | -------------------------------------------------------------------------------- /setedit/setedit/include/ascii.h: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------------------*/ 2 | /* */ 3 | /* Turbo Vision 1.0 */ 4 | /* Copyright (c) 1991 by Borland International */ 5 | /* */ 6 | /* Ascii.h: Header file for Ascii.cpp */ 7 | /*-------------------------------------------------------*/ 8 | 9 | #if !defined( __ASCII_H ) 10 | #define __ASCII_H 11 | 12 | const int cmAsciiTableCmdBase = 590; 13 | const int cmCharFocused = 0; 14 | 15 | 16 | class TTable : public TView 17 | { 18 | public: 19 | TTable( TRect& r ); 20 | virtual void draw(); 21 | virtual void handleEvent( TEvent& event ); 22 | void charFocused(); 23 | 24 | }; 25 | 26 | 27 | class TReport : public TView 28 | { 29 | public: 30 | TReport( TRect& r ); 31 | virtual void draw(); 32 | virtual void handleEvent( TEvent& event ); 33 | 34 | private: 35 | unsigned char asciiChar; 36 | }; 37 | 38 | class TAsciiChart : public TWindow 39 | { 40 | public: 41 | TAsciiChart(); 42 | }; 43 | 44 | #endif // __ASCII_H 45 | -------------------------------------------------------------------------------- /setedit/setedit/include/codepage.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2002 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | class TStringCollection; 4 | extern void RemapCharactersFor(int id); 5 | void RemapStringCodePage(uchar *n, uchar *o, ushort *map); 6 | void RemapNStringCodePage(uchar *n, uchar *o, ushort *map, int len); 7 | #ifdef Uses_fpstream 8 | void SaveConvCPOptions(fpstream& s); 9 | void LoadConvCPOptions(fpstream& s); 10 | #endif 11 | 12 | //const unsigned rbgDontRemapLow32=1, rbgOnlySelected=2; 13 | -------------------------------------------------------------------------------- /setedit/setedit/include/dskascii.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | 4 | class TDskWinASCII : public TDskWin 5 | { 6 | public: 7 | 8 | TDskWinASCII(); 9 | ~TDskWinASCII(); 10 | 11 | char *GetText(char *dest, short maxLen); 12 | int Compare(void *p,int t) { return (t==dktASCII) && p==(void *)view; }; 13 | 14 | void write(opstream& os); 15 | void *read(ipstream& is); 16 | 17 | const char *streamableName() const 18 | { return name; } 19 | 20 | protected: 21 | 22 | TDskWinASCII( StreamableInit ) { type=dktASCII; CanBeSaved=1; CanBeDeletedFromDisk=0; }; 23 | 24 | public: 25 | 26 | static const char * const name; 27 | static TStreamable *build(); 28 | }; 29 | 30 | inline ipstream& operator >> ( ipstream& is, TDskWinASCII& cl ) 31 | { return is >> (TStreamable&)cl; } 32 | inline ipstream& operator >> ( ipstream& is, TDskWinASCII*& cl ) 33 | { return is >> (void *&)cl; } 34 | 35 | inline opstream& operator << ( opstream& os, TDskWinASCII& cl ) 36 | { return os << (TStreamable&)cl; } 37 | inline opstream& operator << ( opstream& os, TDskWinASCII* cl ) 38 | { return os << (TStreamable *)cl; } 39 | 40 | -------------------------------------------------------------------------------- /setedit/setedit/include/edprint.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void PrintSetup(void); 4 | int PrintSource(char *b, char *FileName, unsigned tabSize); 5 | void PrintSetDefaults(void); 6 | void SavePrintSetUp(opstream* s); 7 | void LoadPrintSetUp(ipstream* s); 8 | 9 | -------------------------------------------------------------------------------- /setedit/setedit/include/loadnobkp.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #ifndef LOADNOBKP_H_INCLUDED 4 | #define LOADNOBKP_H_INCLUDED 5 | 6 | const int NBKPMaxLineLen=1024; 7 | 8 | void NBKPSetFileName(const char *name, unsigned ctxHelp); 9 | void NBKPSetSaveFileName(const char *save); 10 | int NBKPMakeIt(const char *name); 11 | void UnloadNBKP(); 12 | void NBKPEdit(void); 13 | 14 | #endif // LOADNOBKP_H_INCLUDED 15 | -------------------------------------------------------------------------------- /setedit/setedit/include/pathlist.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2001-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | class fpstream; 4 | 5 | void PathListEdit(int which, unsigned hCtx); 6 | void PathListSave(fpstream& s); 7 | void PathListLoad(fpstream& s); 8 | int PathListGetItem(ccIndex pos, char *buffer, int which); 9 | void PathListUnLoad(); 10 | void PathListAdd(int which, const char *path); 11 | void PathListAddPathFor(void *item, int which); 12 | 13 | const int paliInclude=0, paliSource=1, paliLists=2; 14 | -------------------------------------------------------------------------------- /setedit/setedit/scresave.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/setedit/scresave.cc -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskasci.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TStreamable 5 | #include 6 | #include 7 | #include 8 | 9 | TStreamableClass RDskWinASCII( TDskWinASCII::name, 10 | TDskWinASCII::build, 11 | __DELTA(TDskWinASCII) 12 | ); 13 | 14 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskcale.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TStreamable 5 | #include 6 | #include 7 | #include 8 | 9 | TStreamableClass RDskWinCalendar( TDskWinCalendar::name, 10 | TDskWinCalendar::build, 11 | __DELTA(TDskWinCalendar) 12 | ); 13 | 14 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskclip.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCEditWindow 4 | #define Uses_TWindow 5 | 6 | #define Uses_TStreamableClass 7 | #define Uses_TStreamable 8 | #include 9 | #include 10 | #include 11 | 12 | TStreamableClass RDskWinClipboard( TDskWinClipboard::name, 13 | TDskWinClipboard::build, 14 | __DELTA(TDskWinClipboard) 15 | ); 16 | 17 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskclos.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCEditWindow 4 | #define Uses_TWindow 5 | 6 | #define Uses_TStreamableClass 7 | #define Uses_TStreamable 8 | #define Uses_string 9 | #include 10 | #include 11 | #include 12 | 13 | TStreamableClass RDskWinClosed( TDskWinClosed::name, 14 | TDskWinClosed::build, 15 | __DELTA(TDskWinClosed) 16 | ); 17 | 18 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskedit.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCEditWindow 4 | #define Uses_TWindow 5 | 6 | #define Uses_TStreamableClass 7 | #define Uses_TStreamable 8 | #include 9 | #include 10 | #include 11 | 12 | TStreamableClass RDskWinEditor( TDskWinEditor::name, 13 | TDskWinEditor::build, 14 | __DELTA(TDskWinEditor) 15 | ); 16 | 17 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskhelp.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCEditWindow 4 | #define Uses_TWindow 5 | 6 | #define Uses_TStreamableClass 7 | #define Uses_TStreamable 8 | #define Uses_string 9 | // InfView requests 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | TStreamableClass RDskWinHelp( TDskWinHelp::name, 16 | TDskWinHelp::build, 17 | __DELTA(TDskWinHelp) 18 | ); 19 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskman.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TStreamable 5 | #include 6 | #include 7 | #include 8 | 9 | TStreamableClass RDskWinMan( TDskWinMan::name, 10 | TDskWinMan::build, 11 | __DELTA(TDskWinMan) 12 | ); 13 | 14 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskmess.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCEditWindow 4 | #define Uses_TWindow 5 | 6 | #define Uses_TStreamableClass 7 | #define Uses_TStreamable 8 | #include 9 | #include 10 | #include 11 | 12 | TStreamableClass RDskWinPrj( TDskWinMessage::name, 13 | TDskWinMessage::build, 14 | __DELTA(TDskWinMessage) 15 | ); 16 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskmp3.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TStreamable 5 | #include 6 | #include 7 | #include 8 | 9 | TStreamableClass RDskWinMP3( TDskWinMP3::name, 10 | TDskWinMP3::build, 11 | __DELTA(TDskWinMP3) 12 | ); 13 | 14 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sdskprj.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TCEditWindow 4 | #define Uses_TWindow 5 | 6 | #define Uses_TStreamableClass 7 | #define Uses_TStreamable 8 | #include 9 | #include 10 | #include 11 | 12 | TStreamableClass RDskWinMessage( TDskWinPrj::name, 13 | TDskWinPrj::build, 14 | __DELTA(TDskWinPrj) 15 | ); 16 | -------------------------------------------------------------------------------- /setedit/setedit/streams/sedcolle.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TWindow 5 | #define Uses_TListBox 6 | #define Uses_TCEditWindow 7 | #include 8 | #include 9 | #include 10 | 11 | TStreamableClass REditorCollection( TEditorCollection::name, 12 | TEditorCollection::build, 13 | __DELTA(TEditorCollection) 14 | ); 15 | 16 | -------------------------------------------------------------------------------- /setedit/settvuti/fiopeaid.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/settvuti/fiopeaid.cc -------------------------------------------------------------------------------- /setedit/settvuti/include/diaghelp.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2004 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | class TDialog; 4 | ushort execDialogNoDestroy(TDialog *d, void *data, char &lSet); 5 | void AddOKCancel(TDialog *d); 6 | ushort messageBoxDSA(const char *msg, ushort aOptions, const char *var, ushort defComm); 7 | ushort messageBoxDSA(const char *msg, ushort aOptions, const char *var, 8 | unsigned mask, ushort defComm); 9 | int GetDeskTopCols(); 10 | int GetDeskTopRows(); 11 | TRect GetDeskTopSize(); 12 | 13 | extern __inline__ 14 | void MoveRectBut(TRect &r,int len,int sep) 15 | { 16 | r.a.x=r.b.x+sep; 17 | r.b.x=r.a.x+len; 18 | } 19 | 20 | #define Destroy(p) { CLY_destroy(p); p=0; } 21 | -------------------------------------------------------------------------------- /setedit/settvuti/include/dktclock.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TDeskTopClock) && !defined( __TDeskTopClock__ ) 4 | #define __TDeskTopClock__ 5 | 6 | class TDeskTopClock : public TView 7 | { 8 | public: 9 | TDeskTopClock(const TRect & r); 10 | void update(void); 11 | virtual void draw(); 12 | static int mode; // 1 => 24hs 0 => AM/PM 13 | 14 | protected: 15 | time_t curTime; 16 | char putSeparator; 17 | }; 18 | #endif 19 | -------------------------------------------------------------------------------- /setedit/settvuti/include/fiopeaid.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #ifndef FIOPEAID_H__ 4 | #define FIOPEAID_H__ 5 | class fpstream; 6 | 7 | typedef struct 8 | { 9 | int id; 10 | char *dir; 11 | char *mask; 12 | int helpCtx; 13 | int ax,ay,bx,by; 14 | } AsoID; 15 | 16 | AsoID *GetFileIDDirBuffer(int id); 17 | void SetFileIDDirValue(int id, char *dir, char *mask=0); 18 | int GenericFileDialog(const char *title, char *file, const char *mask, int id, unsigned flags=0); 19 | void LoadFileIDDirs(fpstream &s, Boolean isLocal); 20 | void SaveFileIDDirs(fpstream &s); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /setedit/settvuti/include/nostatex.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2005 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TNoStaticText) && !defined(__TNoStaticText_Defined__) 4 | #define __TNoStaticText_Defined__ 5 | 6 | class TNoStaticText : public TStaticText 7 | { 8 | public: 9 | TNoStaticText(const TRect& bounds, const char *aText); 10 | TNoStaticText(const TRect& bounds, const char *aText, stTVIntl *cache); 11 | void setText(const char *s); 12 | int getStartLen() { return startLen; }; 13 | 14 | protected: 15 | int startLen; 16 | }; 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /setedit/settvuti/include/sarray.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TSArray_Def) && !defined(__Uses_TSArray_Def__) 4 | #define __Uses_TSArray_Def__ 5 | template 6 | class TSArray 7 | { 8 | public: 9 | TSArray(int initSize, int aDelta); 10 | ~TSArray(); 11 | 12 | void resize(int i); 13 | T& operator[](int i); 14 | T& operator()(int i); 15 | 16 | private: 17 | T *array; 18 | int curSize; 19 | int delta; 20 | }; 21 | #endif 22 | -------------------------------------------------------------------------------- /setedit/settvuti/include/tdiagrow.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /***************************************************************************** 4 | 5 | Class TGrowDialog 6 | 7 | *****************************************************************************/ 8 | 9 | #if defined(Uses_TGrowDialog) && !defined(__TGrowDialog__) 10 | #define __TGrowDialog__ 11 | 12 | class TGrowDialog : public TDialog 13 | { 14 | public: 15 | 16 | TGrowDialog( TRect r, const char *name, int extraOptions=0 ) : 17 | TWindowInit( &TGrowDialog::initFrame ), 18 | TDialog(r,name) 19 | { 20 | growMode = gfGrowAll; 21 | flags |= wfGrow | wfZoom; 22 | options |= extraOptions; 23 | minSize = r.b-r.a; 24 | }; 25 | void sizeLimits(TPoint& min, TPoint& max); 26 | 27 | TPoint minSize; 28 | }; 29 | 30 | const int gfMoveBottomCorner = gfGrowHiX | gfGrowHiY; 31 | const int gfMoveAccording = gfGrowAll; 32 | 33 | #endif // defined(Uses_TGrowDialog) && !defined(__TGrowDialog__) 34 | 35 | -------------------------------------------------------------------------------- /setedit/settvuti/include/tprogbar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/settvuti/include/tprogbar.h -------------------------------------------------------------------------------- /setedit/settvuti/include/tprogdia.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void ProgBar_Init(const char *title, int max, const char *comment1=0, const char *comment2=0); 4 | void ProgBar_DeInit(void); 5 | void ProgBar_UpDate(int pos); 6 | void ProgBar_SetComments(const char *comment1, const char *comment2=0); 7 | // Default value, to be remapped if needed and then copied to current 8 | extern char ProgBar_DefaultChar; 9 | // Currently used 10 | extern char ProgBar_CurrentChar; 11 | 12 | -------------------------------------------------------------------------------- /setedit/settvuti/include/tprogrdi.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | void Progress_Init(const char *title, const char *comment); 4 | void Progress_DeInit(void); 5 | void Progress_UpDate(void); 6 | 7 | -------------------------------------------------------------------------------- /setedit/settvuti/include/tprogres.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined( Uses_TProgress ) && !defined( __TProgress ) 4 | #define __TProgress 5 | 6 | class TRect; 7 | 8 | class TProgress : public TView 9 | { 10 | public: 11 | TProgress(const TRect& r, const char *aMessage); 12 | ~TProgress(); 13 | virtual void draw(); 14 | virtual TPalette& getPalette() const; 15 | virtual void update(); 16 | 17 | protected: 18 | char *message; 19 | int state; 20 | static char states[4]; 21 | int len; 22 | 23 | SetDefStreamMembersCommon(TProgress,TView) 24 | }; 25 | 26 | SetDefStreamOperators(TProgress) 27 | #endif // defined( Uses_TProgress ) && !defined( __TProgress ) 28 | -------------------------------------------------------------------------------- /setedit/settvuti/include/tstringa.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #if defined(Uses_TStringable) && !defined(TSTRINGA_H_INCLUDED) 4 | #define TSTRINGA_H_INCLUDED 5 | class TStringable 6 | { 7 | public: 8 | TStringable() {}; 9 | virtual ~TStringable() {}; 10 | 11 | virtual void getText(char *dest, unsigned item, int maxLen)=0; 12 | virtual unsigned GetCount() { return Count; }; 13 | virtual Boolean taggingSupported() { return False; }; 14 | virtual Boolean isTagged(unsigned ) { return False; }; 15 | virtual Boolean setTag(unsigned , Boolean state) { return False; }; 16 | 17 | protected: 18 | unsigned Count; 19 | }; 20 | #endif // TSTRINGA_H_INCLUDED 21 | -------------------------------------------------------------------------------- /setedit/settvuti/include/viewplus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/settvuti/include/viewplus.h -------------------------------------------------------------------------------- /setedit/settvuti/names/ninputsc.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TInputScanKey); 6 | 7 | -------------------------------------------------------------------------------- /setedit/settvuti/names/nprogbar.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TProgressBar); 6 | 7 | 8 | -------------------------------------------------------------------------------- /setedit/settvuti/names/nprogres.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TProgress); 6 | 7 | 8 | -------------------------------------------------------------------------------- /setedit/settvuti/names/ntnocast.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TNoCaseStringCollection); 6 | n(TStringCollectionW); 7 | -------------------------------------------------------------------------------- /setedit/settvuti/names/ntnosost.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2001 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_n 4 | #include 5 | n(TNoSortedStringCollection); 6 | 7 | 8 | -------------------------------------------------------------------------------- /setedit/settvuti/nostatex.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2005 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_string 4 | 5 | #define Uses_TNoStaticText 6 | #include 7 | 8 | TNoStaticText::TNoStaticText(const TRect& bounds, const char *aText) : 9 | TStaticText(bounds,aText) 10 | { 11 | startLen=strlen(getText()); 12 | } 13 | 14 | TNoStaticText::TNoStaticText(const TRect& bounds, const char *aText, 15 | stTVIntl *cache) : 16 | TStaticText(bounds,aText,cache) 17 | { 18 | startLen=strlen(getText()); 19 | } 20 | 21 | void TNoStaticText::setText(const char *s) 22 | { 23 | if (0) 24 | {// Old behavior, I don't think it really helps 25 | int l=strlen(s); 26 | int copy=min(startLen,l); 27 | memcpy((char *)text,s,copy); 28 | int rest=startLen-copy; 29 | if (rest) 30 | memset((char *)text+copy,' ',rest); 31 | } 32 | else 33 | {// New behavior, the draw() member will limit the size and also pad with 34 | // spaces. 35 | delete[] text; 36 | text=newStr(s); 37 | startLen=strlen(getText()); 38 | } 39 | 40 | TVIntl::freeSt(intlText); // Invalidate i18n cache 41 | draw(); 42 | } 43 | -------------------------------------------------------------------------------- /setedit/settvuti/streams/sprogbar.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TProgressBar 5 | #include 6 | 7 | s(ProgressBar); 8 | 9 | -------------------------------------------------------------------------------- /setedit/settvuti/streams/sprogres.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TProgress 5 | #include 6 | 7 | s(Progress); 8 | 9 | -------------------------------------------------------------------------------- /setedit/settvuti/streams/stnocast.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /*------------------------------------------------------------*/ 4 | /* filename - snocastc.cc */ 5 | /* */ 6 | /* Registeration objects for the following classes: */ 7 | /* TNoCaseStringCollection */ 8 | /*------------------------------------------------------------*/ 9 | 10 | /*------------------------------------------------------------*/ 11 | /* */ 12 | /* Needed to write the objects to a stream. */ 13 | /* */ 14 | /*------------------------------------------------------------*/ 15 | 16 | #define Uses_TStreamableClass 17 | #define Uses_TNoCaseStringCollection 18 | #define Uses_TStringCollectionW 19 | #include 20 | 21 | s(NoCaseStringCollection); 22 | s(StringCollectionW); 23 | 24 | -------------------------------------------------------------------------------- /setedit/settvuti/streams/stnonost.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TNoSortedStringCollection 5 | #include 6 | 7 | s(NoSortedStringCollection); 8 | 9 | 10 | -------------------------------------------------------------------------------- /setedit/settvuti/tnosostr.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TNoSortedStringCollection 5 | #include 6 | 7 | __link(RNoSortedStringCollection) 8 | 9 | void TNoSortedStringCollection::writeItem( void *obj, opstream& os ) 10 | { 11 | os.writeString( (const char *)obj ); 12 | } 13 | 14 | void *TNoSortedStringCollection::readItem( ipstream& is ) 15 | { 16 | return is.readString(); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /setedit/settvuti/tprogbar.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/settvuti/tprogbar.cc -------------------------------------------------------------------------------- /setedit/settvuti/tprogdia.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/settvuti/tprogdia.cc -------------------------------------------------------------------------------- /setedit/settvuti/tprogrdi.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996-2003 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_string 4 | #define Uses_TProgress 5 | #define Uses_TDialog 6 | #define Uses_TRect 7 | #define Uses_TProgram 8 | #define Uses_TDeskTop 9 | #define Uses_TNoStaticText 10 | #include 11 | 12 | static TDialog *d; 13 | static TProgress *pbar; 14 | static TView *prevFocus; 15 | 16 | void Progress_Init(const char *title, const char *comment) 17 | { 18 | prevFocus=TProgram::deskTop->current; 19 | int l=strlen(_(comment))+2; 20 | 21 | d=new TDialog(TRect(0,0,l+6,5),title); 22 | // Don't allow the user close it 23 | d->flags&=~wfClose; 24 | d->options|=ofCentered; 25 | 26 | pbar=new TProgress(TRect(3,2,l+3,3),comment); 27 | d->insert(pbar); 28 | 29 | TProgram::deskTop->insert(d); 30 | } 31 | 32 | void Progress_DeInit(void) 33 | { 34 | TProgram::deskTop->remove(d); 35 | if (prevFocus) 36 | prevFocus->setState(sfActive,True); 37 | } 38 | 39 | void Progress_UpDate() 40 | { 41 | pbar->update(); 42 | } 43 | 44 | 45 | -------------------------------------------------------------------------------- /setedit/settvuti/uisarray.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSArray_Dec 4 | #include 5 | 6 | // That's an unsigned int array, the following line is expanded to the 7 | // full class. Acts just like a macro. 8 | template class TSArray; 9 | -------------------------------------------------------------------------------- /setedit/settvuti/ussarray.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TSArray_Dec 4 | #include 5 | 6 | // That's an unsigned short array, the following line is expanded to the 7 | // full class. Acts just like a macro. 8 | template class TSArray; 9 | -------------------------------------------------------------------------------- /setedit/settvuti/viewplus.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/settvuti/viewplus.cc -------------------------------------------------------------------------------- /setedit/streams/ssindica.cc: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #define Uses_TStreamableClass 4 | #define Uses_TSIndicator 5 | #include 6 | __link( RView ) 7 | 8 | TStreamableClass RSIndicator( TSIndicator::name, 9 | TSIndicator::build, 10 | __DELTA(TSIndicator) 11 | ); 12 | 13 | -------------------------------------------------------------------------------- /setedit/tools/.gitignore: -------------------------------------------------------------------------------- 1 | cvssyncget 2 | cvssyncput 3 | symify 4 | 5 | -------------------------------------------------------------------------------- /setedit/tools/TVpo.pl: -------------------------------------------------------------------------------- 1 | open(FIL,'tvision.po') || die; 2 | 3 | print "// This is a fake file containing the strings that should be 4 | // internationalized and are defined in Turbo Vision (outside 5 | // setedit). 6 | 7 | "; 8 | 9 | while ($a=) 10 | { 11 | if ($a=~/msgid \"(.*)\"/) 12 | { 13 | print "__(\"$1\")\n"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /setedit/tools/cmclist.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /* 4 | Este programa lo use para generar la lista ordenada alfabeticamente de los 5 | comandos del editor. 6 | */ 7 | #include 8 | #include 9 | #include 10 | 11 | typedef struct 12 | { 13 | char *name; 14 | int val; 15 | } str; 16 | 17 | int compara(const void *e1, const void *e2) 18 | { 19 | return strcmp(((str *)e1)->name,((str *)e2)->name); 20 | } 21 | 22 | int main(void) 23 | { 24 | FILE *f; 25 | int cant=0,i; 26 | char *s; 27 | char buf[80]; 28 | str Lista[255]; 29 | 30 | f=fopen("menubind.h","rt"); 31 | fgets(buf,80,f); 32 | while (!feof(f)) 33 | { 34 | s=strtok(buf," "); 35 | Lista[cant].name=strdup(s+3); 36 | s=strtok(NULL," "); 37 | Lista[cant].val=atoi(s); 38 | cant++; 39 | fgets(buf,80,f); 40 | } 41 | fclose(f); 42 | qsort(Lista,cant,sizeof(str),compara); 43 | for (i=0; i cvsdiff 3 | gzip -9 cvsdiff 4 | echo "cvsdiff.gz and files.tar.gz generated" 5 | echo "Now tag this to be able to generate another delta in the future" 6 | 7 | -------------------------------------------------------------------------------- /setedit/tools/cvssput: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | gzip -d cvsdiff.gz 3 | tools/cvssyncput cvsdiff files.tar.gz 4 | echo "CVS synchronized (I hope ;-)" 5 | echo "Now tag this for future reference" 6 | 7 | -------------------------------------------------------------------------------- /setedit/tools/kbv.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | /* 4 | Este programa lo use para convertir los cmbXXXX en keybind.h a cmcXXXXX 5 | en menubind.h 6 | */ 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | int main(void) 13 | { 14 | FILE *f,*d; 15 | int val; 16 | char buffer[200],*def; 17 | 18 | f=fopen("keybind.h","rt"); 19 | d=fopen("keybind.hv","wt"); 20 | while (!feof(f)) 21 | { 22 | fgets(buffer,200,f); 23 | if (!ucisspace(buffer[0]) && !feof(f)) 24 | { 25 | strtok(buffer," "); 26 | def=strtok(NULL," "); 27 | def[2]='c'; 28 | val=atoi(strtok(NULL," "))+600; 29 | fprintf(d,"#define %s %d\n",def,val); 30 | } 31 | } 32 | 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /setedit/tools/lines.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | require "../miscperl.pl"; 4 | open(FIL,"<../makes/lista") || die; 5 | $c=''; 6 | while ($a=) 7 | { 8 | $b=substr($a,0,1); 9 | chomp $a; 10 | $a=substr($a,1) if ($b eq '+' || $b eq '-' || $b eq '*'); 11 | if ($a=~/\.c$/ || $a=~/\.cc$/ || $a=~/\.h$/ || $a=~/\.pl$/) 12 | { 13 | if (!($a=~/^gettext/ || $a=~/^libbzip2/ || $a=~/^libpcre/ || 14 | $a=~/^libz/ || $a=~/^mp3\/libamp/ || $a=~/^mp3\/mpegsound/)) 15 | { 16 | #print "$a\n"; 17 | $c.="../$a "; 18 | } 19 | } 20 | } 21 | system("wc $c"); 22 | -------------------------------------------------------------------------------- /setedit/tools/makediff.bat: -------------------------------------------------------------------------------- 1 | Rem Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | Rem see copyrigh file for details 3 | 4 | redir -e pp perl makediff.pl 5 | 6 | -------------------------------------------------------------------------------- /setedit/tools/mft.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET), 2 | see copyrigh file for details */ 3 | #include 4 | #include 5 | #include 6 | 7 | int extra; 8 | 9 | int func(const char *path, struct stat *stbuf, int flag) 10 | { 11 | if (flag==FTW_F) 12 | { 13 | printf("%s\n",path+extra+1); 14 | } 15 | return 0; 16 | } 17 | 18 | int main(int argc, char *argv[]) 19 | { 20 | int i; 21 | if (argc!=2) 22 | { 23 | printf("Use: mft path\n"); 24 | return 1; 25 | } 26 | extra=strlen(argv[1]); 27 | ftw(argv[1],func,1); 28 | return 0; 29 | } 30 | -------------------------------------------------------------------------------- /setedit/tools/mft.gpr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/tools/mft.gpr -------------------------------------------------------------------------------- /setedit/tools/mideline.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/tools/mideline.cc -------------------------------------------------------------------------------- /setedit/tools/moverepo.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | $newRoot=":ext:set\@setedit.cvs.sourceforge.net:/cvsroot/setedit\n"; 3 | $maxDe=5; 4 | $pat='CVS/Root'; 5 | while ($maxDe--) 6 | { 7 | @a=(@a,glob($pat)); 8 | $pat='*/'.$pat; 9 | } 10 | 11 | print scalar(@a)." Root's found\nCross your fingers ...\n"; 12 | foreach $b (@a) 13 | { 14 | print "$b\n"; 15 | open(FIL,">$b") || die "Can't create '$b' \n"; 16 | print FIL ($newRoot); 17 | close(FIL); 18 | } 19 | print "Ok, all changed\n"; 20 | 21 | 22 | -------------------------------------------------------------------------------- /setedit/tools/valgrind.cmd: -------------------------------------------------------------------------------- 1 | valgrind --tool=memcheck --leak-check=yes --gen-suppressions=yes --suppressions=/usr/src/setedit/tools/woody.supp --show-reachable=yes --num-callers=40 /usr/src/setedit/makes/editor.exe 2 | -------------------------------------------------------------------------------- /setedit/update: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2003 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | # This file updates the sources from CVS. I redirect the stderr to null 6 | # because I don't want to fill the screen with the directory names. You 7 | # must be careful because the errors are discarded. 8 | # The -d option updates new directories, without it they aren't 9 | # created. 10 | # The -P option purges empty directories, they are no longer used 11 | # directories that CVS keeps to allow recovering old tree structures. 12 | # 13 | echo 14 | echo Updating from CVS. Errors are discarded! 15 | echo 16 | cvs -z3 update -dP 2> /dev/null 17 | -------------------------------------------------------------------------------- /setedit/update.bat: -------------------------------------------------------------------------------- 1 | :@Rem Copyright (C) 2003 by Salvador E. Tropea (SET), 2 | :@Rem see copyrigh file for details 3 | :@Rem 4 | :@Rem This file updates the sources from CVS. I redirect the stderr to null 5 | :@Rem because I don't want to fill the screen with the directory names. You 6 | :@Rem must be careful because the errors are discarded. 7 | :@Rem The -d option updates new directories, without it they aren't 8 | :@Rem created. 9 | :@Rem The -P option purges empty directories, they are no longer used 10 | :@Rem directories that CVS keeps to allow recovering old tree structures. 11 | :@Rem 12 | @echo . 13 | @echo Updating from CVS. Errors are discarded! 14 | @echo . 15 | @redir -e /dev/null cvs update -dP | less 16 | -------------------------------------------------------------------------------- /setedit/updaterev.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Copyright (C) 2003 by Salvador E. Tropea (SET), 3 | # see copyrigh file for details 4 | # 5 | # This script extracts the revision number from the change.log and puts the 6 | # value in the include/vername.h file. 7 | # 8 | 9 | require "./miscperl.pl"; 10 | 11 | # The time stamp is checked by the Makefile 12 | #if (-M 'change.log' < -M 'include/vername.h') 13 | 14 | print "Updating revision number\n"; 15 | $vername=cat('include/vername.h'); 16 | $changelog=cat('change.log'); 17 | $changelog=~/Revision \d\.(\d*) /; 18 | $revision=$1; 19 | die "Can't determine the revision number\n" unless $revision; 20 | # Source Forge CVS was created around revision 1.515 21 | $revision+=514 unless $changelog=~/Revision 1\.926 2003\/06\/17 22\:09\:57 set/; 22 | $vername=~s/VERSION_REV\s+\d+/VERSION_REV $revision/; 23 | replace('include/vername.h',$vername); 24 | 25 | -------------------------------------------------------------------------------- /setedit/version.txt: -------------------------------------------------------------------------------- 1 | 0.5.8 2 | -------------------------------------------------------------------------------- /setedit/www-site/.gitignore: -------------------------------------------------------------------------------- 1 | tag_imgs 2 | -------------------------------------------------------------------------------- /setedit/www-site/ComparativaGCC_html_m35e8e2b6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/ComparativaGCC_html_m35e8e2b6.jpg -------------------------------------------------------------------------------- /setedit/www-site/change.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/change.html -------------------------------------------------------------------------------- /setedit/www-site/iguazu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/iguazu.html -------------------------------------------------------------------------------- /setedit/www-site/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/index.html -------------------------------------------------------------------------------- /setedit/www-site/pmoreno.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/pmoreno.html -------------------------------------------------------------------------------- /setedit/www-site/readme.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/readme.html -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/a_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/a_project.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/advice_tags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/advice_tags.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/class_child1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/class_child1.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/class_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/class_list.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/d_tag_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/d_tag_options.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/generate_tags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/generate_tags.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/jump_symbol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/jump_symbol.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/name_project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/name_project.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/project_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/project_open.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/sorted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/sorted.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/symbols_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/symbols_example.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/tag_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/tag_options.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/this_and_parents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/this_and_parents.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/this_class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/this_class.png -------------------------------------------------------------------------------- /setedit/www-site/tag_imgs/w_completion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/set-soft/setedit/a92215bbbd5f0b4ee7ec982834ec9c6c76278fff/setedit/www-site/tag_imgs/w_completion.png -------------------------------------------------------------------------------- /setedit/www-site/update: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | scp *.html *.txt *.css set,setedit@web.sourceforge.net:htdocs 3 | 4 | --------------------------------------------------------------------------------