├── .travis.yml ├── CHANGES ├── COPYRIGHT ├── ChangeLog ├── FEATURES ├── INSTALL ├── Makefile ├── README.md ├── README.old ├── README.resources.html ├── TODO ├── XKeysymDB ├── app-defaults.color ├── config.h ├── docs └── resources.html ├── documents.menu ├── libXmx ├── Makefile ├── Makefile.in ├── Makefile.orig ├── Xmx.c ├── Xmx.h ├── Xmx2.c ├── XmxP.h └── descrip.mms ├── libdtm ├── Makefile ├── Makefile.orig ├── README ├── anim.h ├── arch.h ├── callback.c ├── col.h ├── com.h ├── convert.c ├── craycvt.c ├── crayinit.f ├── crayrtns.f ├── db.h ├── debug.h ├── deccvt.c ├── dtm.c ├── dtm.h ├── dtmf77.c ├── dtminit.c ├── dtmint.h ├── dtmmisc.c ├── dtmnserv.c ├── dtmnserv.h ├── exec.h ├── fatal.c ├── linux-uio.h ├── make.depend ├── mdd.c ├── mdd.h ├── ninit.c ├── nmsg.c ├── ris.c ├── ris.h ├── rwrtns.c ├── sdl.c ├── sdl.h ├── sds.c ├── sds.h ├── sdsF.c ├── socket.c ├── srv.h ├── text.h ├── uio.h ├── vaxcvt.c ├── vdata.c ├── vdata.h └── x.c ├── libhtmlw ├── AnchoredImage.xbm ├── DelayedImage.xbm ├── DrawingArea.c ├── DrawingArea.h ├── DrawingAreaP.h ├── HTML-PSformat.c ├── HTML-PSformat.c.org ├── HTML.c ├── HTML.h ├── HTMLP.h ├── HTMLamp.h ├── HTMLformat.c ├── HTMLimages.c ├── HTMLjot.c ├── HTMLlists.c ├── HTMLparse.c ├── HTMLtable.c ├── HTMLwidgets.c ├── Makefile ├── Makefile.in ├── Makefile.orig ├── NoImage.xbm ├── NoImage.xbm-backup ├── descrip.mms ├── inkstore.h ├── list.c ├── list.h └── listP.h ├── libnet ├── Makefile ├── Makefile.orig ├── collage.h ├── doodle.h ├── list.c ├── list.h ├── listP.h ├── mesg.c ├── net.c ├── net.h ├── netP.h ├── netdata.c └── netdata.h ├── libnut ├── Makefile ├── Makefile.in ├── Makefile.orig ├── descrip.mms ├── ellipsis.c ├── mm.c ├── mm.h ├── str-tools.c ├── str-tools.h ├── system.c ├── system.h ├── url-utils.c └── url-utils.h ├── libwww2 ├── CUkerb.c ├── HTAABrow.c ├── HTAABrow.h ├── HTAAFile.c ├── HTAAFile.h ├── HTAAProt.c ├── HTAAProt.h ├── HTAAServ.c ├── HTAAServ.h ├── HTAAUtil.c ├── HTAAUtil.h ├── HTACL.c ├── HTACL.h ├── HTAccess.c ├── HTAccess.h ├── HTAlert.c ├── HTAlert.h ├── HTAnchor.c ├── HTAnchor.h ├── HTAssoc.c ├── HTAssoc.h ├── HTAtom.c ├── HTAtom.h ├── HTAuth.c ├── HTAuth.h ├── HTChunk.c ├── HTChunk.h ├── HTCompressed.c ├── HTCompressed.h ├── HTFTP.c ├── HTFTP.h ├── HTFWriter.c ├── HTFWriter.h ├── HTFile.c ├── HTFile.h ├── HTFormat.c ├── HTFormat.h ├── HTGopher.c ├── HTGopher.h ├── HTGroup.c ├── HTGroup.h ├── HTIcon.c ├── HTInit.c ├── HTInit.h ├── HTLex.c ├── HTLex.h ├── HTList.c ├── HTList.h ├── HTMIME.c ├── HTMIME.h ├── HTML.c ├── HTML.h ├── HTMLDTD.c ├── HTMLDTD.h ├── HTMLGen.c ├── HTMLGen.h ├── HTMailto.c ├── HTMosaicHTML.c ├── HTMosaicHTML.h ├── HTNews.c ├── HTNews.h ├── HTParse.c ├── HTParse.h ├── HTPasswd.c ├── HTPasswd.h ├── HTPlain.c ├── HTPlain.h ├── HTSort.c ├── HTSort.h ├── HTStream.h ├── HTString.c ├── HTString.h ├── HTTCP.c ├── HTTCP.h ├── HTTP.c ├── HTTP.h ├── HTTelnet.c ├── HTTelnet.h ├── HTUU.c ├── HTUU.h ├── HTUtils.h ├── HTWAIS.c ├── HTWAIS.h ├── HTWSRC.c ├── HTWSRC.h ├── HTWriter.c ├── HTWriter.h ├── HText.h ├── Makefile ├── Makefile.in ├── Makefile.orig ├── SGML.c ├── SGML.h └── tcp.h ├── makefiles └── Makefile.linux ├── mosaic-spoof-agents ├── mosaic-user-defs ├── mosaic.desktop ├── platform-configs └── config.linux └── src ├── Makefile ├── Makefile.in ├── Makefile.orig ├── accept.c ├── accept.h ├── annotate.c ├── annotate.h ├── audan.c ├── audan.h ├── bitmaps ├── annotate.xbm ├── busy_1.xbm ├── busy_1_mask.xbm ├── busy_2.xbm ├── busy_2_mask.xbm ├── busy_3.xbm ├── busy_3_mask.xbm ├── busy_4.xbm ├── busy_4_mask.xbm ├── busy_5.xbm ├── busy_5_mask.xbm ├── busy_6.xbm ├── busy_6_mask.xbm ├── busy_7.xbm ├── busy_7_mask.xbm ├── busy_8.xbm ├── busy_8_mask.xbm ├── busy_9.xbm ├── busy_9_mask.xbm ├── gopher_binary.xbm ├── gopher_ftp.xbm ├── gopher_image.xbm ├── gopher_index.xbm ├── gopher_menu.xbm ├── gopher_movie.xbm ├── gopher_sound.xbm ├── gopher_telnet.xbm ├── gopher_text.xbm ├── gopher_unknown.xbm ├── hotlist.xbm ├── iconify.xbm ├── iconify_mask.xbm ├── security.xbm ├── xmosaic.xbm ├── xmosaic_down.xbm ├── xmosaic_left.xbm ├── xmosaic_plain.xbm └── xmosaic_right.xbm ├── bla.c ├── bla.h ├── cci.h ├── cciBindings.c ├── cciBindings.h ├── cciBindings2.c ├── cciBindings2.h ├── cciServer.c ├── cciServer.h ├── child.c ├── child.h ├── comment.c ├── comment.h ├── copyright.tmpl ├── gifread.c ├── gifread.h ├── globalhist.c ├── globalhist.h ├── grpan-www.c ├── grpan-www.h ├── grpan.c ├── grpan.h ├── gui-dialogs.c ├── gui-dialogs.h ├── gui-documents.c ├── gui-documents.h ├── gui-extras.c ├── gui-extras.h ├── gui-ftp.c ├── gui-ftp.h ├── gui-menubar.c ├── gui-menubar.h ├── gui-news.c ├── gui-news.h ├── gui-popup.c ├── gui-popup.h ├── gui.c ├── gui.h ├── hdf-browse.c ├── hdf-browse.h ├── history.c ├── history.h ├── hotfile.c ├── hotfile.h ├── hotlist.c ├── hotlist.h ├── img.c ├── img.h ├── international.h ├── kcms.c ├── kcms.h ├── list.h ├── listP.h ├── mailto.c ├── mailto.h ├── main.c ├── main.h ├── md5.c ├── md5.h ├── medcut.c ├── medcut.h ├── memStuffForPipSqueeks.h ├── mo-dtm.c ├── mo-dtm.h ├── mo-hdf.c ├── mo-hdf.h ├── mo-www.c ├── mo-www.h ├── mosaic.h ├── newsrc.c ├── newsrc.h ├── pan.c ├── pan.h ├── picread.c ├── picread.h ├── pixmaps.c ├── pixmaps.h ├── pixmaps ├── icon.1.xpm ├── icon.10.xpm ├── icon.11.xpm ├── icon.12.xpm ├── icon.13.xpm ├── icon.14.xpm ├── icon.15.xpm ├── icon.16.xpm ├── icon.17.xpm ├── icon.18.xpm ├── icon.19.xpm ├── icon.2.xpm ├── icon.20.xpm ├── icon.21.xpm ├── icon.22.xpm ├── icon.23.xpm ├── icon.24.xpm ├── icon.25.xpm ├── icon.3.xpm ├── icon.4.xpm ├── icon.5.xpm ├── icon.6.xpm ├── icon.7.xpm ├── icon.8.xpm ├── icon.9.xpm ├── larry.1.xpm ├── larry.2.xpm ├── larry.3.xpm ├── larry.4.xpm ├── lock_basic.xpm ├── lock_domain.xpm ├── lock_kerberos4.xpm ├── lock_kerberos5.xpm ├── lock_login.xpm ├── lock_md5.xpm ├── mag.1.xpm ├── mag.10.xpm ├── mag.11.xpm ├── mag.12.xpm ├── mag.13.xpm ├── mag.14.xpm ├── mag.15.xpm ├── mag.16.xpm ├── mag.17.xpm ├── mag.18.xpm ├── mag.19.xpm ├── mag.2.xpm ├── mag.20.xpm ├── mag.21.xpm ├── mag.3.xpm ├── mag.4.xpm ├── mag.5.xpm ├── mag.6.xpm ├── mag.7.xpm ├── mag.8.xpm ├── mag.9.xpm ├── not_secure.xpm ├── s_icon.1.xpm ├── s_icon.10.xpm ├── s_icon.11.xpm ├── s_icon.12.xpm ├── s_icon.13.xpm ├── s_icon.14.xpm ├── s_icon.15.xpm ├── s_icon.16.xpm ├── s_icon.17.xpm ├── s_icon.18.xpm ├── s_icon.19.xpm ├── s_icon.2.xpm ├── s_icon.20.xpm ├── s_icon.21.xpm ├── s_icon.22.xpm ├── s_icon.23.xpm ├── s_icon.24.xpm ├── s_icon.25.xpm ├── s_icon.3.xpm ├── s_icon.4.xpm ├── s_icon.5.xpm ├── s_icon.6.xpm ├── s_icon.7.xpm ├── s_icon.8.xpm ├── s_icon.9.xpm ├── splash.xpm ├── tearh.xpm ├── tearv.xpm ├── toolbar_back_1.xpm ├── toolbar_clone_window_1.xpm ├── toolbar_close_window_1.xpm ├── toolbar_followup_1.xpm ├── toolbar_forw_1.xpm ├── toolbar_ftp_mkdir_1.xpm ├── toolbar_ftp_put_1.xpm ├── toolbar_home_1.xpm ├── toolbar_hotlist.xpm ├── toolbar_hotlist_1.xpm ├── toolbar_news_groups_1.xpm ├── toolbar_news_list_1.xpm ├── toolbar_news_rev.xpm ├── toolbar_next_art_1.xpm ├── toolbar_next_thr_1.xpm ├── toolbar_open_1.xpm ├── toolbar_open_window_1.xpm ├── toolbar_post_1.xpm ├── toolbar_prev_art_1.xpm ├── toolbar_prev_thr_1.xpm ├── toolbar_print_1.xpm ├── toolbar_reload_1.xpm ├── toolbar_save_1.xpm ├── toolbar_search_1.xpm ├── toolbar_window_1.xpm ├── unlock_none.xpm ├── unlock_unknown.xpm ├── xm_error.xpm ├── xm_information.xpm ├── xm_question.xpm └── xm_warning.xpm ├── port.h ├── prefs.c ├── prefs.h ├── prefs_defs.h ├── proxy-dialogs.c ├── proxy-dialogs.h ├── proxy-misc.c ├── proxy-misc.h ├── proxy.h ├── readJPEG.c ├── readJPEG.h ├── readPNG.c ├── readPNG.h ├── support.c ├── support.h ├── toolbar.h ├── whine.c ├── xpm.h ├── xpmhash.c ├── xpmhash.h ├── xpmread.c ├── xpmread.h └── xresources.h /.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | compiler: gcc 3 | sudo: require 4 | dist: trusty 5 | 6 | install: 7 | - sudo apt-get -y install libmotif-dev libjpeg62-dev libpng12-dev x11proto-print-dev libxmu-headers libxpm-dev libxmu-dev 8 | 9 | script: 10 | - make linux 11 | - mkdir -p appdir/usr/bin 12 | - mkdir -p appdir/usr/share/{applications,pixmaps} 13 | - cp src/Mosaic appdir/usr/bin 14 | - cp mosaic.desktop appdir/usr/share/applications/ 15 | - convert src/bitmaps/xmosaic.xbm appdir/usr/share/pixmaps/mosaic.png 16 | 17 | after_success: 18 | - wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" 19 | - chmod a+x linuxdeployqt*.AppImage 20 | - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH 21 | - ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs 22 | - ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage 23 | - find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq 24 | - curl --upload-file ./N*.AppImage https://transfer.sh/NCSA_Mosaic-git.$(git rev-parse --short HEAD)-x86_64.AppImage 25 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | Mosaic 2.7b6 2 | 3 | * ported to modern Linux 4 | * added info tag to gopher 5 | * fixed text/html; iso xxxxx bug 6 | * moved all startup files into .mosaic directory 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | NCSA Mosaic AppImage [![Build Status](https://travis-ci.org/AppImage/NCSA-Mosaic-AppImage.svg?branch=master)](https://travis-ci.org/AppImage/NCSA-Mosaic-AppImage) 2 | =========== 3 | 4 | ![GitHub viewed with Mosaic](http://github.com/downloads/alandipert/ncsa-mosaic/github.png "GitHub with Mosaic") 5 | 6 | This is NCSA Mosaic 2.7, one of the first graphical web browsers. 7 | If you're on Ubuntu, Fedora, openSUSE or something like it, your time machine is fueled 8 | up and ready to go. [Download](https://github.com/probonopd/ncsa-mosaic/releases) the AppImage, set the executable bit, and run. 9 | 10 | ![NCSA Mosaic AppImage](https://user-images.githubusercontent.com/2480569/26963474-01eb3dda-4ced-11e7-81be-4b385bb01b4b.png) 11 | 12 | Many thanks to [Sean MacLennan and Alan Wylie](http://seanm.ca/mosaic/) for doing the heavy lifting. And, of course, hats off to Marc Andreessen, Eric Bina, and the rest of the [NCSA](http://www.ncsa.illinois.edu/) team for kicking things off for us. Thanks! 13 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | - create .mosaic dir if necessary! 2 | 3 | - XmFontListCreate obsolete 4 | -------------------------------------------------------------------------------- /XKeysymDB: -------------------------------------------------------------------------------- 1 | ! 2 | ! OSF Keysyms 3 | ! 4 | osfBackSpace :1004FF08 5 | osfInsert :1004FF63 6 | osfDelete :1004FFFF 7 | osfCopy :1004FF02 8 | osfCut :1004FF03 9 | osfPaste :1004FF04 10 | 11 | osfAddMode :1004FF31 12 | osfPrimaryPaste :1004FF32 13 | osfQuickPaste :1004FF33 14 | 15 | osfPageUp :1004FF41 16 | osfPageDown :1004FF42 17 | 18 | osfEndLine :1004FF57 19 | osfBeginLine :1004FF58 20 | 21 | osfActivate :1004FF44 22 | 23 | osfMenuBar :1004FF45 24 | 25 | osfClear :1004FF0B 26 | osfCancel :1004FF69 27 | osfHelp :1004FF6A 28 | osfMenu :1004FF67 29 | osfSelect :1004FF60 30 | osfUndo :1004FF65 31 | 32 | osfLeft :1004FF51 33 | osfUp :1004FF52 34 | osfRight :1004FF53 35 | osfDown :1004FF54 36 | 37 | ! DEC specific keysyms 38 | ! 39 | DRemove :1000FF00 40 | -------------------------------------------------------------------------------- /config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppImageCommunity/NCSA-Mosaic-AppImage/0269655b4e6ac6022c8994581e4ed6a0e02d4601/config.h -------------------------------------------------------------------------------- /documents.menu: -------------------------------------------------------------------------------- 1 | NCSA Mosaic Resources: Multimedia 2 | http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/resources.html#multimedia 3 | Unsupported versions of Mosaic 4 | http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/faq-machines.html#contribs 5 | Questions regarding font errors 6 | http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/faq-interface.html 7 | ---- 8 | A LaTeX to HTML Translator 9 | http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html 10 | The Ohio State HTML converters 11 | http://www.cis.ohio-state.edu:80/hypertext/about_this_cobweb.html 12 | An RTF to HTML converter 13 | ftp://ftp.primate.wisc.edu/pub/RTF 14 | The Motif FAQ 15 | http://www.cis.ohio-state.edu:80/hypertext/faq/usenet/motif-faq/top.html 16 | The HTML Widget Docs 17 | http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/htmlwidget.html 18 | 19 | -------------------------------------------------------------------------------- /libXmx/Makefile: -------------------------------------------------------------------------------- 1 | # You shouldn't need to edit below here. 2 | 3 | LIBTARGET = libXmx.a 4 | 5 | all: $(LIBTARGET) 6 | 7 | CFILES = Xmx.c Xmx2.c 8 | 9 | OBJS = $(CFILES:.c=.o) 10 | 11 | $(LIBTARGET): $(OBJS) 12 | -rm -f $(LIBTARGET) 13 | ar rv $(LIBTARGET) $(OBJS) 14 | $(RANLIB) $(LIBTARGET) 15 | 16 | Xmx.o: Xmx.c Xmx.h XmxP.h 17 | Xmx2.o: Xmx2.c Xmx.h XmxP.h 18 | 19 | clean: 20 | -rm $(LIBTARGET) *.o 21 | tags: 22 | etags -t *.[ch] 23 | -------------------------------------------------------------------------------- /libXmx/Makefile.in: -------------------------------------------------------------------------------- 1 | # @configure_output@ 2 | # This file is used by Autoconf to make the real Makefile. 3 | # DO NOT EDIT THIS FILE! 4 | # If you want to change something do it to the Makefile autoconf 5 | # creates. You should never have to edit this file. 6 | 7 | CC= @CC@ 8 | LIBS = @LIBS@ 9 | CFLAGS = @CFLAGS@ 10 | RANLIB = @RANLIB@ 11 | 12 | # You shouldn't need to edit below here. 13 | 14 | LIBTARGET = libXmx.a 15 | 16 | all: $(LIBTARGET) 17 | 18 | CFILES = Xmx.c Xmx2.c 19 | 20 | OBJS = $(CFILES:.c=.o) 21 | 22 | $(LIBTARGET): $(OBJS) 23 | -rm -f $(LIBTARGET) 24 | ar rv $(LIBTARGET) $(OBJS) 25 | $(RANLIB) $(LIBTARGET) 26 | 27 | Xmx.o: Xmx.c Xmx.h XmxP.h 28 | Xmx2.o: Xmx2.c Xmx.h XmxP.h 29 | 30 | clean: 31 | -rm $(LIBTARGET) *.o 32 | tags: 33 | etags -t *.[ch] 34 | -------------------------------------------------------------------------------- /libXmx/Makefile.orig: -------------------------------------------------------------------------------- 1 | # You shouldn't need to edit below here. 2 | 3 | LIBTARGET = libXmx.a 4 | 5 | all: $(LIBTARGET) 6 | 7 | CFILES = Xmx.c Xmx2.c 8 | 9 | OBJS = $(CFILES:.c=.o) 10 | 11 | $(LIBTARGET): $(OBJS) 12 | -rm -f $(LIBTARGET) 13 | ar rv $(LIBTARGET) $(OBJS) 14 | $(RANLIB) $(LIBTARGET) 15 | 16 | Xmx.o: Xmx.c Xmx.h XmxP.h 17 | Xmx2.o: Xmx2.c Xmx.h XmxP.h 18 | 19 | clean: 20 | -rm $(LIBTARGET) *.o 21 | tags: 22 | etags -t *.[ch] 23 | -------------------------------------------------------------------------------- /libXmx/descrip.mms: -------------------------------------------------------------------------------- 1 | ! MMS description file for LIBXMX 2 | ! Bjorn S. Nilsson, Aleph, CERN, 20-Nov-1993 3 | ! (Mosaic version 2.0) 4 | ! Motif 1.2 support added on 3-Jun-1994 5 | ! Mosaic 2.4 20-Aug-1994 6 | ! 7 | ! Usage: 8 | ! $ MMS for DEC/UCX 9 | ! $ MMS/MACRO=(MULTINET=1) for MultiNet 10 | ! Add a DEBUG=1 MACRO when debugging. 11 | ! Add a DECC=1 MACRO when compiling with DEC C. 12 | ! Add a MOTIF1_2=1 MACRO when compiling with Motif 1.2 13 | ! 14 | ! You may have to use the /IGNORE=WARNING qualifier to make MMS run all 15 | ! the way through if you get (acceptable) compilation warnings. 16 | ! 17 | 18 | WDIR = [.$(WORK)] 19 | 20 | LIBTARGET = $(WDIR)libxmx.olb 21 | 22 | .IFDEF DECC 23 | .IFDEF PATHWAY 24 | .INCLUDE [-.TWG]DECC_PREFIX_RULES.MMS 25 | CQUALC=/DECC $(CC_PREFIX_NO_SIN) 26 | .ELSE 27 | .IFDEF MULTINET 28 | CQUALC=/DECC/Prefix=ANSI 29 | .ELSE 30 | CQUALC=/DECC/Prefix=ALL 31 | .ENDIF 32 | .ENDIF 33 | .ELSE ! Not DEC C 34 | .IFDEF DECCVAXC 35 | CQUALC=/VAXC 36 | .ELSE 37 | CQUALC= 38 | .ENDIF 39 | .ENDIF 40 | 41 | .IFDEF MOTIF1_2 42 | MOTIF = MOTIF1_2 43 | .ELSE 44 | MOTIF = MOTIF1_1 45 | .ENDIF 46 | 47 | .IFDEF MULTINET 48 | TCPIP = ,MULTINET 49 | .ELSE 50 | .IFDEF PATHWAY 51 | TCPIP = ,WIN_TCP 52 | .ELSE 53 | TCPIP = 54 | .ENDIF 55 | .ENDIF 56 | 57 | .IFDEF DEBUG 58 | CFLAGS = $(CQUALC)/Define=($(MOTIF)$(TCPIP))/NoOpt/Debug 59 | .ELSE 60 | CFLAGS = $(CQUALC)/Define=($(MOTIF)$(TCPIP)) 61 | .ENDIF 62 | 63 | OBJECTS = Odir:xmx.obj Odir:xmx2.obj 64 | 65 | .FIRST 66 | @ If F$Search("$(LIBTARGET)") .EQS. "" Then Library/Create $(LIBTARGET) 67 | @ Define/NoLog Odir $(WDIR) 68 | .IFDEF PATHWAY 69 | @ @[-.TWG]def 70 | .ENDIF 71 | 72 | $(LIBTARGET) : $(LIBTARGET)($(OBJECTS)) 73 | @ Write SYS$Output "Library libXmx.olb built." 74 | 75 | Odir:xmx.obj : xmx.c 76 | Odir:xmx2.obj : xmx2.c 77 | 78 | .c.obj : 79 | $(CC)$(CFLAGS)/OBJECT=$@ $< 80 | 81 | .obj.olb 82 | $(LIBR) $(LIBRFLAGS) $(MMS$TARGET) $(MMS$SOURCE) 83 | 84 | clean : 85 | Delete/Log $(WDIR)*.OBJ;* 86 | Delete/Log $(LIBTARGET);* 87 | 88 | -------------------------------------------------------------------------------- /libdtm/README: -------------------------------------------------------------------------------- 1 | This is version 2.3r2 of NCSA DTM. 2 | 3 | See Makefile for build instructions; e.g. 4 | make sgi 5 | make sun 6 | 7 | -------------------------------------------------------------------------------- /libdtm/anim.h: -------------------------------------------------------------------------------- 1 | #define ANIMclass "ANIM" 2 | #define ANIMtag "ANIMATION" 3 | #define ANIMtitle "TTL" 4 | #define ANIMframeNumber "FRN" 5 | #define ANIMfunc "FNC" 6 | #define ANIMid "ID" 7 | #define ANIMskip "SKIP" 8 | #define ANIMRunType "RType" 9 | #define ANIMExpandX "XEXPAND" 10 | #define ANIMExpandY "YEXPAND" 11 | 12 | #define ANIM_FUNC_STOP 1 13 | #define ANIM_FUNC_FPLAY 2 /* forward play */ 14 | #define ANIM_FUNC_RPLAY 3 /* reverse play */ 15 | 16 | #define ANIM_RUN_TYPE_SINGLE 1 /* single play */ 17 | #define ANIM_RUN_TYPE_CONT 2 /* continuous play in one direction*/ 18 | #define ANIM_RUN_TYPE_BOUNCE 3 /* continuous play alternating direction*/ 19 | 20 | #define ANIMsetClass(h) dtm_set_class(h,ANIMclass) 21 | #define ANIMcompareClass(h) dtm_compare_class(h,ANIMclass) 22 | 23 | #define ANIMsetTitle dtm_set_title 24 | #define ANIMgetTitle dtm_get_title 25 | 26 | #define ANIMsetID(h,s) dtm_set_char(h,ANIMid,s) 27 | #define ANIMgetID(h,s,l) dtm_get_char(h,ANIMid,s,l) 28 | 29 | #define ANIMsetFunc(h,i) dtm_set_int(h,ANIMfunc,i) 30 | #define ANIMgetFunc(h,i) dtm_get_int(h,ANIMfunc,i) 31 | 32 | #define ANIMsetRunType(h,i) dtm_set_int(h,ANIMRunType,i) 33 | #define ANIMgetRunType(h,i) dtm_get_int(h,ANIMRunType,i) 34 | 35 | #define ANIMsetFrame(h,i) dtm_set_int(h,ANIMframeNumber,i) 36 | #define ANIMgetFrame(h,i) dtm_get_int(h,ANIMframeNumber,i) 37 | 38 | #define ANIMsetFrameSkip(h,i) dtm_set_int(h,ANIMskip,i) 39 | #define ANIMgetFrameSkip(h,i) dtm_get_int(h,ANIMskip,i) 40 | 41 | /* used to mark SDS as animation frame */ 42 | #define ANIMmarkAnimation(h) dtm_set_int(h,ANIMtag,1) 43 | #define ANIMisAnimation(h,i) ((dtm_get_int(h,ANIMtag,&(i)) == -1)?0:1) 44 | 45 | #define ANIMsetExpansion(h,x,y) {dtm_set_float(h,ANIMExpandX,x); \ 46 | dtm_set_float(h,ANIMExpandY,y); } 47 | 48 | #define ANIMgetExpansion(h,x,y) {if (-1 == dtm_get_float(h,ANIMExpandX,x)) \ 49 | { (*(x)) = 1.0; (*(y)) = 1.0;} \ 50 | if (-1 == dtm_get_float(h,ANIMExpandY,y)) \ 51 | { (*(x)) = 1.0; (*(y)) = 1.0;} \ 52 | } 53 | -------------------------------------------------------------------------------- /libdtm/col.h: -------------------------------------------------------------------------------- 1 | #define COL_TRIPLET DTM_TRIPLET 2 | 3 | #define COLclass "COL" 4 | #define COLtitle "TTL" 5 | #define COLdims "DIM" 6 | #define COLwidth "WTH" 7 | #define COLfunc "FNC" 8 | #define COLsel "SEL" 9 | #define COLid "ID" 10 | #define COLviewType "ViewType" 11 | #define COLassociated "ASSOCIATED" 12 | 13 | #define COL_POINT 1 14 | #define COL_LINE 2 15 | #define COL_AREA 3 16 | #define COL_DOODLE_CONT 4 17 | #define COL_DOODLE_DISC 5 18 | 19 | #ifndef V_RASTER 20 | # define V_RASTER 1 21 | # define V_WHITEBOARD 2 22 | # define V_SHEET 3 23 | # define V_TEXT 4 24 | #endif /* ! V_RASTER */ 25 | 26 | #ifdef DTM1 27 | #define COLsetClass(h) DTMsetClass(h,COLclass) 28 | #define COLcompareClass(h) DTMcompareClass(h,COLclass) 29 | #else 30 | #define COLsetClass(h) dtm_set_class(h,COLclass) 31 | #define COLcompareClass(h) dtm_compare_class(h,COLclass) 32 | #endif 33 | 34 | #ifdef DTM1 35 | #define COLsetTitle DTMsetTitle 36 | #define COLgetTitle DTMgetTitle 37 | #else 38 | #define COLsetTitle dtm_set_title 39 | #define COLgetTitle dtm_get_title 40 | #endif 41 | 42 | #define COLsetID(h,i) dtm_set_char(h,COLid,i) 43 | #define COLgetID(h,s,l) dtm_get_char(h,COLid,s,l) 44 | 45 | #define COLsetFunc(h,f,s) { dtm_set_char(h,COLfunc,f); \ 46 | dtm_set_int(h,COLsel,s); } 47 | 48 | /* COLgetFunc(char *header, char *function, int length, int *selType) */ 49 | #define COLgetFunc(h,f,l,i) ( dtm_get_char(h,COLfunc,f,l) || \ 50 | dtm_get_int(h,COLsel,i) ) 51 | 52 | #define COLsetDimension(h,i) dtm_set_int(h,COLdims,i) 53 | #define COLgetDimension(h,i) dtm_get_int(h,COLdims,i) 54 | 55 | #define COLsetWidth(h,i) dtm_set_int(h,COLwidth,i) 56 | #define COLgetWidth(h,i) dtm_get_int(h,COLwidth,i) 57 | 58 | #define COLsetView(h, v) dtm_set_int((h), COLviewType, (v)) 59 | #define COLgetView(h, v) (*(v) = 0, dtm_get_int((h), COLviewType, (v))) 60 | 61 | #define COLsetAssoc(h, a) dtm_set_char(h, COLassociated, a) 62 | #define COLgetAssoc(h, a, l) dtm_get_char(h, COLassociated, a, l) 63 | -------------------------------------------------------------------------------- /libdtm/com.h: -------------------------------------------------------------------------------- 1 | #define COMclass "COM" 2 | #define COMid "ID" 3 | #define COMdomain "COMDOMAIN" 4 | #define COMmesg "COMMAND" 5 | 6 | #define COMsetClass(h) dtm_set_class(h,COMclass) 7 | #define COMcompareClass(h) dtm_compare_class(h,COMclass) 8 | 9 | #define COMsetID(h,s) dtm_set_char(h,COMid,s) 10 | #define COMgetID(h,s,l) dtm_get_char(h,COMid,s,l) 11 | 12 | #define COMsetDomain(h,s) dtm_set_char(h,COMdomain,s) 13 | #define COMgetDomain(h,s,l) dtm_get_char(h,COMdomain,s,l) 14 | 15 | #define COMsetMesg(h,s) dtm_set_char(h,COMmesg,s) 16 | #define COMgetMesg(h,s,l) dtm_get_char(h,COMmesg,s,l) 17 | -------------------------------------------------------------------------------- /libdtm/crayinit.f: -------------------------------------------------------------------------------- 1 | C NCSA DTM version 2.0 2 | C June 10, 1991 3 | C 4 | C NCSA DTM Version 2.0 source code and documentation are in the public 5 | C domain. Specifically, we give to the public domain all rights for future 6 | C licensing of the source code, all resale rights, and all publishing rights. 7 | C 8 | C We ask, but do not require, that the following message be included in all 9 | C derived works: 10 | C 11 | C Portions developed at the National Center for Supercomputing Applications at 12 | C the University of Illinois at Urbana-Champaign. 13 | C 14 | C THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE 15 | C SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION, 16 | C WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE 17 | C 18 | 19 | C $Header: /X11/mosaic/cvsroot/xmosaic3/libdtm/crayinit.f,v 1.1.1.1 1995/01/11 00:02:57 alanb Exp $ 20 | 21 | C $Log: crayinit.f,v $ 22 | C Revision 1.1.1.1 1995/01/11 00:02:57 alanb 23 | C New CVS source tree, Mosaic 2.5 beta 4 24 | C 25 | c Revision 2.5 1994/12/29 23:39:23 alanb 26 | c I'm committing with a new symbolic revision number. 27 | c 28 | c Revision 1.1.1.1 1994/12/28 21:37:30 alanb 29 | c 30 | c Revision 1.1.1.1 1993/07/04 00:03:09 marca 31 | c Mosaic for X version 2 distribution 32 | c 33 | c Revision 1.1 1993/01/18 21:50:07 marca 34 | c I think I got it now. 35 | c 36 | c Revision 1.2 1993/01/18 21:46:45 marca 37 | c Plugging DTM in... 38 | c 39 | c Revision 1.3 91/06/13 21:23:57 jefft 40 | c added type of function to prevent returning of a float 41 | c 42 | c Revision 1.2 1991/06/11 15:21:54 sreedhar 43 | c disclaimer added 44 | c 45 | c Revision 1.1 1990/11/08 16:29:43 jefft 46 | c Initial revision 47 | c 48 | 49 | integer function DTMINIT() 50 | integer i, tmp, pcnt 51 | integer DTMMIP, DTMMOP 52 | character*64 portname 53 | 54 | pcnt = 0 55 | 56 | do 10 i = 1, iargc() 57 | 58 | call getarg(i, portname) 59 | if (index(portname, '-DTMIN') .NE. 0) then 60 | call getarg(i+1, portname) 61 | tmp = DTMMIP(portname) 62 | pcnt = pcnt + 1 63 | elseif (index(portname, '-DTMOUT') .NE. 0) then 64 | call getarg(i+1, portname) 65 | tmp = DTMMOP(portname) 66 | pcnt = pcnt + 1 67 | elseif (index(portname, '-DTM') .NE. 0) then 68 | call getarg(i+1, portname) 69 | tmp = DTMMOP(portname) 70 | pcnt = pcnt + 1 71 | endif 72 | 73 | 10 continue 74 | 75 | DTMINIT = pcnt 76 | return 77 | end 78 | -------------------------------------------------------------------------------- /libdtm/db.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * NCSA DTM version 2.3 4 | * May 1, 1992 5 | * 6 | * NCSA DTM Version 2.3 source code and documentation are in the public 7 | * domain. Specifically, we give to the public domain all rights for future 8 | * licensing of the source code, all resale rights, and all publishing rights. 9 | * 10 | * We ask, but do not require, that the following message be included in all 11 | * derived works: 12 | * 13 | * Portions developed at the National Center for Supercomputing Applications at 14 | * the University of Illinois at Urbana-Champaign. 15 | * 16 | * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE 17 | * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION, 18 | * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE 19 | * 20 | *****************************************************************************/ 21 | 22 | /* 23 | ** 24 | ** Database Message Headers 25 | ** 26 | ** 27 | */ 28 | 29 | #define DBclass "DB" 30 | #define DBsize 1024 31 | 32 | #define DBfile "DBF" 33 | #define DBauthor "AUTH" 34 | #define DBscience "SCI" 35 | #define DBtitle "TITLE" 36 | #define DBdatatype "DT" 37 | #define DBkeywords "KEYS" 38 | 39 | #define DBrecsize "RS" 40 | #define DBmatch "MATCH" 41 | 42 | 43 | #define DBsetClass(h) DTMsetClass(h, DBclass) 44 | #define DBcompareClass(h) DTMcompareClass(h, DBclass) 45 | 46 | #define DBsetDB(h, s) dtm_set_char(h, DBfile, s) 47 | #define DBgetDB(h, s, l) dtm_get_char(h, DBfile, s, l) 48 | 49 | #define DBsetAuthor(h, s) dtm_set_char(h, DBauthor, s) 50 | #define DBgetAuthor(h, s, l) dtm_get_char(h, DBauthor, s, l) 51 | 52 | #define DBsetTitle(h, s) dtm_set_char(h, DBtitle, s) 53 | #define DBgetTitle(h, s, l) dtm_get_char(h, DBtitle, s, l) 54 | 55 | #define DBsetScience(h, s) dtm_set_char(h, DBscience, s) 56 | #define DBgetScience(h, s, l) dtm_get_char(h, DBscience, s, l) 57 | 58 | #define DBsetKeywords(h, s) dtm_set_char(h, DBkeywords, s) 59 | #define DBgetKeywords(h, s, l) dtm_get_char(h, DBkeywords, s, l) 60 | 61 | #define DBsetDatatype(h, s) dtm_set_char(h, DBdatatype, s) 62 | #define DBgetDatatype(h, s, l) dtm_get_char(h, DBdatatype, s, l) 63 | 64 | #define DBsetRecordSize(h, i) dtm_set_int(h, DBrecsize, i) 65 | #define DBgetRecordSize(h, ip) dtm_get_int(h, DBrecsize, ip) 66 | 67 | #define DBsetMatches(h, i) dtm_set_int(h, DBmatch, i) 68 | #define DBgetMatches(h, ip) dtm_get_int(h, DBmatch, ip) 69 | -------------------------------------------------------------------------------- /libdtm/dtmnserv.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * NCSA DTM version 2.3 4 | * May 1, 1992 5 | * 6 | * NCSA DTM Version 2.3 source code and documentation are in the public 7 | * domain. Specifically, we give to the public domain all rights for future 8 | * licensing of the source code, all resale rights, and all publishing rights. 9 | * 10 | * We ask, but do not require, that the following message be included in all 11 | * derived works: 12 | * 13 | * Portions developed at the National Center for Supercomputing Applications at 14 | * the University of Illinois at Urbana-Champaign. 15 | * 16 | * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE 17 | * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION, 18 | * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE 19 | * 20 | *****************************************************************************/ 21 | 22 | /********************************************************************* 23 | ** 24 | ** $Header: /X11/mosaic/cvsroot/xmosaic3/libdtm/dtmnserv.h,v 1.3 1995/01/12 02:33:34 spowers Exp $ 25 | ** 26 | **********************************************************************/ 27 | 28 | /* 29 | * Revision 1.1.1.1 1993/07/04 00:03:12 marca 30 | * Mosaic for X version 2 distribution 31 | * 32 | * Revision 1.1 1993/01/18 21:50:23 marca 33 | * I think I got it now. 34 | * 35 | * Revision 1.5 92/04/30 20:27:05 jplevyak 36 | * Changed Version to 2.3 37 | * 38 | */ 39 | 40 | 41 | /* 42 | Purpose : Header file for name server interaction 43 | Notes : 44 | 45 | Message format: 46 | 47 | Portid - nethostid:portid 48 | Header - opcode 49 | 50 | DTM to nameserver 51 | 52 | Send message length. 53 | 54 | Mreg - Header refname portname Portid 55 | Mackroute - Header refname portname 56 | 57 | Nameserver to DTM 58 | 59 | Send message length. 60 | 61 | Mroute - Header delcount addcount Portid1 Portid2 ... 62 | 63 | Ports to be deleted should be before ports to be added. 64 | 65 | Nethostid is in dotted decimal notation of internet. 66 | */ 67 | 68 | #define MREGID "REGISTER" 69 | #define MREG "%s %s %s %s:%d" 70 | #define MROUTEID "ROUTE" 71 | #define MROUTE "%s %d %d" /* %s:%d %s:%d .... */ 72 | #define MACKROUTEID "ROUTE_ACK" 73 | #define MACKROUTE "%s %s %s" 74 | #define MDISCARDID "DISCARD" 75 | #define MDISCARD "%s %d" 76 | -------------------------------------------------------------------------------- /libdtm/exec.h: -------------------------------------------------------------------------------- 1 | #define EXECclass "EXEC" 2 | #define EXECid "ID" 3 | #define EXECtime "TIME" 4 | #define EXECaddress "ADDRESS" 5 | #define EXECauth "AUTHENTICATION" 6 | #define EXECtype "TYPE" 7 | 8 | #define EXEC_HOST_STATUS_QUERY 1 9 | #define EXEC_HOST_STATUS_RETURN 2 10 | #define EXEC_EXECUTE 3 11 | #define EXEC_EXECUTE_RETURN 4 12 | #define EXEC_PROC_STATUS_QUERY 5 13 | #define EXEC_PROC_STATUS_RETURN 6 14 | #define EXEC_FILE_PUT 7 15 | #define EXEC_FILE_GET 8 16 | 17 | #define EXEC_HS_LOAD1 "LOAD1" 18 | #define EXEC_HS_LOAD5 "LOAD5" 19 | #define EXEC_HS_LOAD15 "LOAD15" 20 | #define EXEC_HS_NUM_USERS "NUMUSERS" 21 | 22 | 23 | #define EXECsetClass(h) dtm_set_class(h,EXECclass) 24 | #define EXECcompareClass(h) dtm_compare_class(h,EXECclass) 25 | 26 | #define EXECsetID(h,s) dtm_set_char(h,EXECid,s) 27 | #define EXECgetID(h,s,l) dtm_get_char(h,EXECid,s,l) 28 | 29 | #define EXECsetAddress(h,s) dtm_set_char(h,EXECaddress,s) 30 | #define EXECgetAddress(h,s,l) dtm_get_char(h,EXECaddress,s,l) 31 | 32 | #define EXECsetTimeStamp(h,s) dtm_set_char(h,EXECtime,s) 33 | #define EXECgetTimeStamp(h,s,l) dtm_get_char(h,EXECtime,s,l) 34 | 35 | #define EXECsetAuthentication(h,s) dtm_set_char(h,EXECauth,s) 36 | #define EXECgetAuthentication(h,s,l) dtm_get_char(h,EXECauth,s,l) 37 | 38 | #define EXECsetType(h,i) dtm_set_int(h,EXECtype,i) 39 | #define EXECgetType(h,i) dtm_get_int(h,EXECtype,i) 40 | 41 | 42 | /*************************/ 43 | /* if type is EXEC_HOST_STATUS_RETURN */ 44 | 45 | #define EXECsetLoad1(h,f) dtm_set_float(h,EXEC_HS_LOAD1,f) 46 | #define EXECgetLoad1(h,f) dtm_get_float(h,EXEC_HS_LOAD1,f) 47 | 48 | #define EXECsetLoad5(h,f) dtm_set_float(h,EXEC_HS_LOAD5,f) 49 | #define EXECgetLoad5(h,f) dtm_get_float(h,EXEC_HS_LOAD5,f) 50 | 51 | #define EXECsetLoad15(h,f) dtm_set_float(h,EXEC_HS_LOAD15,f) 52 | #define EXECgetLoad15(h,f) dtm_get_float(h,EXEC_HS_LOAD15,f) 53 | 54 | #define EXECsetNumUsers(h,i) dtm_set_int(h,EXEC_HS_NUM_USERS,i) 55 | #define EXECgetNumUsers(h,i) dtm_get_int(h,EXEC_HS_NUM_USERS,i) 56 | 57 | /*************************/ 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /libdtm/linux-uio.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * NCSA DTM version 2.3 4 | * May 1, 1992 5 | * 6 | * NCSA DTM Version 2.3 source code and documentation are in the public 7 | * domain. Specifically, we give to the public domain all rights for future 8 | * licensing of the source code, all resale rights, and all publishing rights. 9 | * 10 | * We ask, but do not require, that the following message be included in all 11 | * derived works: 12 | * 13 | * Portions developed at the National Center for Supercomputing Applications at 14 | * the University of Illinois at Urbana-Champaign. 15 | * 16 | * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE 17 | * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION, 18 | * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE 19 | * 20 | *****************************************************************************/ 21 | 22 | #ifndef UIO_H 23 | #define UIO_H 24 | 25 | #include 26 | 27 | struct iovec { 28 | caddr_t iov_base; 29 | long int iov_len; 30 | }; 31 | 32 | struct uio { 33 | struct iovec *uio_iov; 34 | long int uio_iovcnt; 35 | off_t uio_offset; 36 | long int uio_segflg; 37 | short uio_fmode; 38 | int uio_resid; 39 | }; 40 | 41 | struct msghdr { 42 | caddr_t msg_name; /* optional address */ 43 | long int msg_namelen; /* size of address */ 44 | struct iovec *msg_iov; /* scatter/gather array */ 45 | long int msg_iovlen; /* # elements in msg_iov */ 46 | caddr_t msg_accrights; /* access rights sent/received */ 47 | long int msg_accrightslen; 48 | }; 49 | 50 | #ifndef EFAULT 51 | #define EFAULT 14 /* for UNIX compability */ 52 | #endif 53 | 54 | enum uio_rw { UIO_READ, UIO_WRITE }; 55 | 56 | /* 57 | * Segment flag values (should be enum). 58 | */ 59 | #define UIO_USERSPACE 0 /* from user data space */ 60 | #define UIO_SYSSPACE 1 /* from system space */ 61 | #define UIO_USERISPACE 2 /* from user I space */ 62 | 63 | #if defined(__STDC__) | defined (_STDC_) 64 | extern long int readv(int ,struct iovec *,int ); 65 | extern long int writev(int ,struct iovec *,int ); 66 | 67 | extern long int recvmsg(int ,struct msghdr *,int ); 68 | extern long int sendmsg(int ,struct msghdr *,int ); 69 | #endif /* defined(__STDC__) */ 70 | 71 | #endif /* UIO_H */ 72 | 73 | -------------------------------------------------------------------------------- /libdtm/make.depend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AppImageCommunity/NCSA-Mosaic-AppImage/0269655b4e6ac6022c8994581e4ed6a0e02d4601/libdtm/make.depend -------------------------------------------------------------------------------- /libdtm/text.h: -------------------------------------------------------------------------------- 1 | #define TXTclass "TXT" 2 | #define TXTid "ID" 3 | #define TXTdims "DIM" 4 | #define TXTip "IPT" /* Insertion Point */ 5 | #define TXTncr "NCR" /* Number of characters to Replace */ 6 | #define TXTra "TRA" /* Text should replace entire file*/ 7 | #define TXTsl "TSL" /* Text selection left position */ 8 | #define TXTsr "TSR" /* Text selection right position */ 9 | 10 | /* TXTsetClass(char *header) */ 11 | #ifdef DTM1 12 | #define TXTsetClass(h) DTMsetClass((h), TXTclass) 13 | #define TXTcompareClass(h) DTMcompareClass((h), TXTclass) 14 | #else 15 | #define TXTsetClass(h) dtm_set_class((h), TXTclass) 16 | #define TXTcompareClass(h) dtm_compare_class((h), TXTclass) 17 | #endif 18 | 19 | 20 | /* TXTsetTitle(char *header,char *title) */ 21 | /* TXTgetTitle(char *header,char *title, int maxTitleLength) */ 22 | #ifdef DTM1 23 | #define TXTsetTitle DTMsetTitle 24 | #define TXTgetTitle DTMgetTitle 25 | #else 26 | #define TXTsetTitle dtm_set_title 27 | #define TXTgetTitle dtm_get_title 28 | #endif 29 | 30 | 31 | /* TXTsetID(char *header,char *id) */ 32 | /* TXTgetID(char *header,char *id, int maxIdLength) */ 33 | #define TXTsetID(h,s) dtm_set_char(h,TXTid,s) 34 | #define TXTgetID(h,s,l) dtm_get_char(h,TXTid,s,l) 35 | 36 | /* TXTsetInsertionPt(char *header,int InsertionPoint) */ 37 | /* TXTsetInsertionPt(char *header,int &InsertionPoint) */ 38 | #define TXTsetInsertionPt(h,i) dtm_set_int(h,TXTip,i) 39 | #define TXTgetInsertionPt(h,i) dtm_get_int(h,TXTip,i) 40 | 41 | /* TXTsetNumReplace(char *header,int numberToReplace) */ 42 | /* if (numberToReplace == 0) then no replace just insert */ 43 | /* TXTgetNumReplace(char *header,int &numberToReplace) */ 44 | #define TXTsetNumReplace(h,i) dtm_set_int(h,TXTncr,i) 45 | #define TXTgetNumReplace(h,i) dtm_get_int(h,TXTncr,i) 46 | 47 | /* TXTsetReplaceAll(char *header) */ 48 | /* Boolean TXTshouldReplaceAll(char *header,int garbage) */ 49 | #define TXTsetReplaceAll(h) dtm_set_int(h,TXTra,1) 50 | #define TXTshouldReplaceAll(h,i) (dtm_get_int(h,TXTra,&(i)) == -1)?0:1 51 | 52 | /* TXTsetDimension(char *header,int numBytes) */ 53 | /* TXTgetDimension(char *header,int &numBytes) */ 54 | #define TXTsetDimension(h,i) dtm_set_int(h,TXTdims,i) 55 | #define TXTgetDimension(h,i) dtm_get_int(h,TXTdims,i) 56 | 57 | /* TXTsetSelectionLeft(char *header, int leftPosition) */ 58 | /* TXTsetSelectionLeft(char *header, int &leftPosition) */ 59 | #define TXTsetSelectionLeft(h,i) dtm_set_int(h,TXTsl,i) 60 | #define TXTgetSelectionLeft(h,i) dtm_get_int(h,TXTsl,i) 61 | 62 | /* TXTsetSelectionRight(char *header, int rightPosition) */ 63 | /* TXTsetSelectionRight(char *header, int &rightPosition) */ 64 | #define TXTsetSelectionRight(h,i) dtm_set_int(h,TXTsr,i) 65 | #define TXTgetSelectionRight(h,i) dtm_get_int(h,TXTsr,i) 66 | 67 | #define TXTheaderLength dtm_header_length 68 | #define TXTHL(h) dtm_header_length 69 | 70 | -------------------------------------------------------------------------------- /libdtm/vdata.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "dtm.h" 3 | #include "vdata.h" 4 | 5 | #ifndef MALLOC 6 | #define MALLOC(x) malloc(x) 7 | #define FREE(x) free(x) 8 | #endif 9 | 10 | int VDATAsetPath(header,magicPath,pathLength) 11 | char *header; 12 | VdataPathElement **magicPath; 13 | int pathLength; 14 | { 15 | int x; 16 | char pathString[DTM_MAX_HEADER]; 17 | char idString[DTM_MAX_HEADER]; 18 | char buff[80]; 19 | 20 | pathString[0]='\0'; 21 | for (x=0; x < pathLength; x++) { 22 | strcat(pathString,magicPath[x]->nodeName); 23 | strcat(pathString," "); 24 | } 25 | 26 | idString[0]='\0'; 27 | for (x=0; x < pathLength; x++) { 28 | sprintf(buff,"%d ",magicPath[x]->nodeID); 29 | strcat(idString,buff); 30 | } 31 | dtm_set_int(header,VDATApathLength,pathLength); 32 | dtm_set_char(header,VDATApathName,pathString); 33 | dtm_set_char(header,VDATApathID,idString); 34 | return(1); 35 | } 36 | 37 | 38 | int VDATAgetPath(header,magicPath,pathLength) 39 | char *header; 40 | VdataPathElement **magicPath; 41 | int *pathLength; 42 | { 43 | char pathString[DTM_MAX_HEADER]; 44 | char pathID[DTM_MAX_HEADER]; 45 | int numPath; 46 | int integer[10]; 47 | char pathStep[DTM_MAX_HEADER]; 48 | char *ptr; 49 | int x; 50 | 51 | dtm_get_int(header,VDATApathLength,&numPath); 52 | dtm_get_char(header,VDATApathName,pathString,DTM_MAX_HEADER); 53 | dtm_get_char(header,VDATApathID,pathID,DTM_MAX_HEADER); 54 | 55 | numPath = (numPath > *pathLength)? (*pathLength) : numPath; 56 | *pathLength = numPath; 57 | 58 | ptr = pathID; 59 | for (x = 0; x < numPath; x++) { 60 | sscanf(ptr,"%s ",integer); 61 | ptr += (strlen(ptr) + 1); 62 | magicPath[x]->nodeID = atoi(integer); 63 | } 64 | 65 | ptr = pathString; 66 | for (x = 0; x < numPath; x++) { 67 | sscanf(ptr,"%s ",pathStep); 68 | ptr += (strlen(ptr) + 1); 69 | if (!(magicPath[x]->nodeName = (char *) 70 | MALLOC( strlen(pathStep) + 1))) { 71 | fprintf(stderr,"VDATAgetPath: Out of Memory\n"); 72 | return(-1); 73 | } 74 | strcpy(magicPath[x]->nodeName,pathStep); 75 | } 76 | return(1); 77 | } 78 | 79 | 80 | -------------------------------------------------------------------------------- /libdtm/vdata.h: -------------------------------------------------------------------------------- 1 | #ifndef VDATA_DTM_INCLUDE_BEFORE 2 | #define VDATA_DTM_INCLUDE_BEFORE 3 | 4 | #define VDATAclass "VDATA" 5 | #define VDATAid "ID" 6 | #define VDATApathLength "PLEN" 7 | #define VDATApathName "PNAME" 8 | #define VDATApathID "PID" 9 | #define VDATAnodeID "NID" 10 | #define VDATAnodeName "NNAME" 11 | #define VDATAfield "FIELD" 12 | #define VDATAnumRec "NREC" 13 | #define VDATAnumElem "NELEM" 14 | 15 | #define VDATAsetClass(h) dtm_set_class(h,VDATAclass) 16 | #define VDATAcompareClass(h) dtm_compare_class(h,VDATAclass) 17 | 18 | #define VDATAsetTitle dtm_set_title 19 | #define VDATAgetTitle dtm_get_title 20 | 21 | #define VDATAsetID(h,s) dtm_set_char(h,VDATAid,s) 22 | #define VDATAgetID(h,s,l) dtm_get_char(h,VDATAid,s,l) 23 | 24 | #define VDATAsetType dtm_set_type 25 | #define VDATAgetType dtm_get_type 26 | 27 | #define VDATAgetPathLength(h,i) dtm_get_int(h,VDATApathLength,i) 28 | 29 | #define VDATAsetNodeID(h,i) dtm_set_int(h,VDATAnodeID,i); 30 | #define VDATAgetNodeID(h,i) dtm_get_int(h,VDATAnodeID,i); 31 | 32 | #define VDATAsetNodeName(h,s) dtm_set_char(h,VDATAnodeName,s) 33 | #define VDATAgetNodeName(h,s,l) dtm_get_char(h,VDATAnodeName,s,l) 34 | 35 | #define VDATAsetField(h,s) dtm_set_char(h,VDATAfield,s) 36 | #define VDATAgetField(h,s,l) dtm_get_char(h,VDATAfield,s,l) 37 | 38 | #define VDATAsetNumRecords(h,i) dtm_set_int(h,VDATAnumRec,i); 39 | #define VDATAgetNumRecords(h,i) dtm_get_int(h,VDATAnumRec,i); 40 | 41 | #define VDATAsetNumElements(h,i) dtm_set_int(h,VDATAnumElem,i); 42 | #define VDATAgetNumElements(h,i) dtm_get_int(h,VDATAnumElem,i); 43 | 44 | typedef struct { 45 | int nodeID; 46 | char *nodeName; 47 | } VdataPathElement; 48 | 49 | #endif /* VDATA_DTM_INCLUDE_BEFORE */ 50 | -------------------------------------------------------------------------------- /libhtmlw/AnchoredImage.xbm: -------------------------------------------------------------------------------- 1 | #define AnchoredImage_width 40 2 | #define AnchoredImage_height 10 3 | static char AnchoredImage_bits[] = { 4 | 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 5 | 0x00, 0x80, 0x07, 0xfc, 0xff, 0xff, 0xff, 0x0f, 0xfc, 0xff, 0xff, 0xff, 6 | 0x1f, 0xfc, 0xff, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0xff, 0x0f, 0x00, 7 | 0x00, 0x00, 0x80, 0x07, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x00, 8 | 0x80, 0x01}; 9 | -------------------------------------------------------------------------------- /libhtmlw/DelayedImage.xbm: -------------------------------------------------------------------------------- 1 | #define DelayedImage_width 40 2 | #define DelayedImage_height 30 3 | static char DelayedImage_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 5 | 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x00, 0xfc, 6 | 0x01, 0xfe, 0x3f, 0x00, 0xfe, 0x03, 0xfe, 0x3f, 0x00, 0xff, 0x07, 0xfe, 7 | 0x3f, 0x80, 0xff, 0x0f, 0xfe, 0x3f, 0xc0, 0xff, 0x1f, 0xfe, 0x3f, 0xe0, 8 | 0xff, 0x3f, 0xfe, 0x3f, 0xf0, 0xff, 0x7f, 0xfe, 0x3f, 0x00, 0x00, 0x00, 9 | 0xfe, 0x3f, 0x00, 0x00, 0x00, 0xfe, 0x3f, 0x00, 0x00, 0x00, 0xfe, 0x3f, 10 | 0xc0, 0x07, 0x00, 0xfe, 0x3f, 0xf0, 0x1f, 0x00, 0xfe, 0x3f, 0xf8, 0x3f, 11 | 0x00, 0xfe, 0x3f, 0xfc, 0x7f, 0x00, 0xfe, 0x3f, 0xfc, 0x7f, 0x00, 0x00, 12 | 0x00, 0xfe, 0xff, 0x00, 0x00, 0x00, 0xfe, 0xff, 0x00, 0x00, 0x00, 0xfe, 13 | 0xff, 0x00, 0x00, 0x00, 0xfe, 0xff, 0x00, 0x00, 0x00, 0xfe, 0xff, 0x00, 14 | 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0x00, 15 | 0xf8, 0x3f, 0x00, 0x00, 0x00, 0xf0, 0x1f, 0x00, 0x00, 0x00, 0xc0, 0x07, 16 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; 17 | -------------------------------------------------------------------------------- /libhtmlw/DrawingArea.h: -------------------------------------------------------------------------------- 1 | #ifndef _XawDrawingArea_h 2 | #define _XawDrawingArea_h 3 | 4 | /* #include */ 5 | /*********************************************************************** 6 | * 7 | * DrawingArea Widget 8 | * 9 | ***********************************************************************/ 10 | 11 | /* Parameters: 12 | 13 | Name Class RepType Default Value 14 | ---- ----- ------- ------------- 15 | background Background Pixel XtDefaultBackground 16 | border BorderColor Pixel XtDefaultForeground 17 | borderWidth BorderWidth Dimension 1 18 | defaultDistance Thickness int 4 19 | destroyCallback Callback Pointer NULL 20 | height Height Dimension computed at realize 21 | mappedWhenManaged MappedWhenManaged Boolean True 22 | sensitive Sensitive Boolean True 23 | width Width Dimension computed at realize 24 | x Position Position 0 25 | y Position Position 0 26 | 27 | */ 28 | 29 | 30 | typedef struct _DrawingAreaClassRec *DrawingAreaWidgetClass; 31 | typedef struct _DrawingAreaRec *DrawingAreaWidget; 32 | 33 | extern WidgetClass drawingAreaWidgetClass; 34 | 35 | #endif /* _XawDrawingArea_h */ 36 | -------------------------------------------------------------------------------- /libhtmlw/DrawingAreaP.h: -------------------------------------------------------------------------------- 1 | 2 | /* DrawingArea widget private definitions */ 3 | 4 | #ifndef _XawDrawingAreaP_h 5 | #define _XawDrawingAreaP_h 6 | 7 | #include "DrawingArea.h" 8 | #include 9 | 10 | #define XtInheritLayout ((Boolean (*)())_XtInherit) 11 | 12 | typedef struct { 13 | int dummy; 14 | } DrawingAreaClassPart; 15 | 16 | 17 | typedef struct _DrawingAreaClassRec { 18 | CoreClassPart core_class; 19 | CompositeClassPart composite_class; 20 | ConstraintClassPart constraint_class; 21 | DrawingAreaClassPart drawingArea_class; 22 | } DrawingAreaClassRec; 23 | 24 | extern DrawingAreaClassRec drawingAreaClassRec; 25 | 26 | typedef struct _DrawingAreaPart { 27 | int dummy; 28 | } DrawingAreaPart; 29 | 30 | typedef struct _DrawingAreaRec { 31 | CorePart core; 32 | CompositePart composite; 33 | ConstraintPart constraint; 34 | DrawingAreaPart drawingArea; 35 | } DrawingAreaRec; 36 | 37 | typedef struct _DrawingAreaConstraintsPart { 38 | int dummy; 39 | } DrawingAreaConstraintsPart; 40 | 41 | typedef struct _DrawingAreaConstraintsRec { 42 | int dummy; 43 | } DrawingAreaConstraintsRec, *DrawingAreaConstraints; 44 | 45 | #endif /* _XawDrawingAreaP_h */ 46 | -------------------------------------------------------------------------------- /libhtmlw/Makefile: -------------------------------------------------------------------------------- 1 | LIBTARGET = libhtmlw.a 2 | 3 | all: $(LIBTARGET) 4 | 5 | CFILES = HTML.c HTMLlists.c HTMLformat.c HTMLparse.c HTMLimages.c HTMLwidgets.c HTML-PSformat.c DrawingArea.c HTMLjot.c HTMLtable.c list.c 6 | 7 | OBJS = $(CFILES:.c=.o) 8 | $(OBJS): HTML.h HTMLP.h 9 | 10 | 11 | $(LIBTARGET): $(OBJS) 12 | -rm -f $(LIBTARGET) 13 | ar rv $(LIBTARGET) $(OBJS) 14 | $(RANLIB) $(LIBTARGET) 15 | 16 | HTMLimages.o: AnchoredImage.xbm DelayedImage.xbm 17 | 18 | clean: 19 | -rm $(LIBTARGET) *.o 20 | tags: 21 | etags -t *.[ch] 22 | -------------------------------------------------------------------------------- /libhtmlw/Makefile.in: -------------------------------------------------------------------------------- 1 | # @configure_output@ 2 | # This file is used by Autoconf to make the real Makefile. 3 | # DO NOT EDIT THIS FILE! 4 | # If you want to change something do it to the Makefile autoconf 5 | # creates. You should never have to edit this file. 6 | 7 | CC= @CC@ 8 | LIBS = @LIBS@ 9 | CFLAGS = @CFLAGS@ 10 | 11 | RANLIB = @RANLIB@ 12 | 13 | LIBTARGET = libhtmlw.a 14 | 15 | all: $(LIBTARGET) 16 | 17 | CFILES = HTML.c HTMLlists.c HTMLformat.c HTMLparse.c HTMLimages.c HTMLwidgets.c HTML-PSformat.c DrawingArea.c HTMLjot.c HTMLtable.c list.c 18 | 19 | OBJS = $(CFILES:.c=.o) 20 | $(OBJS): HTML.h HTMLP.h 21 | 22 | 23 | $(LIBTARGET): $(OBJS) 24 | -rm -f $(LIBTARGET) 25 | ar rv $(LIBTARGET) $(OBJS) 26 | $(RANLIB) $(LIBTARGET) 27 | 28 | HTMLimages.o: AnchoredImage.xbm DelayedImage.xbm 29 | 30 | clean: 31 | -rm $(LIBTARGET) *.o 32 | tags: 33 | etags -t *.[ch] 34 | -------------------------------------------------------------------------------- /libhtmlw/Makefile.orig: -------------------------------------------------------------------------------- 1 | LIBTARGET = libhtmlw.a 2 | 3 | all: $(LIBTARGET) 4 | 5 | CFILES = HTML.c HTMLlists.c HTMLformat.c HTMLparse.c HTMLimages.c HTMLwidgets.c HTML-PSformat.c DrawingArea.c HTMLjot.c HTMLtable.c list.c 6 | 7 | OBJS = $(CFILES:.c=.o) 8 | $(OBJS): HTML.h HTMLP.h 9 | 10 | 11 | $(LIBTARGET): $(OBJS) 12 | -rm -f $(LIBTARGET) 13 | ar rv $(LIBTARGET) $(OBJS) 14 | $(RANLIB) $(LIBTARGET) 15 | 16 | HTMLimages.o: AnchoredImage.xbm DelayedImage.xbm 17 | 18 | clean: 19 | -rm $(LIBTARGET) *.o 20 | tags: 21 | etags -t *.[ch] 22 | -------------------------------------------------------------------------------- /libhtmlw/list.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | typedef struct LISTSTRUCT *List; 16 | 17 | extern List ListCreate(); 18 | extern void ListDestroy(); 19 | extern int ListAddEntry(); 20 | extern int ListDeleteEntry(); 21 | extern int ListMakeEntryCurrent(); 22 | extern int ListCount(); 23 | 24 | extern char *ListHead(); 25 | extern char *ListTail(); 26 | extern char *ListCurrent(); 27 | extern char *ListNext(); 28 | extern char *ListPrev(); 29 | extern char *ListGetIndexedEntry(); 30 | -------------------------------------------------------------------------------- /libhtmlw/listP.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | #ifndef ___HAS_LIST_STUFF_BEEN_INCLUDED_BEFORE___ 16 | #define ___HAS_LIST_STUFF_BEEN_INCLUDED_BEFORE___ 17 | 18 | #include 19 | #include "list.h" 20 | 21 | struct LISTINSTANCE { 22 | char *value; 23 | struct LISTINSTANCE *next; 24 | struct LISTINSTANCE *prev; 25 | }; 26 | 27 | struct LISTSTRUCT { 28 | struct LISTINSTANCE *head; 29 | struct LISTINSTANCE *tail; 30 | struct LISTINSTANCE *current; 31 | int listCount; 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /libnet/Makefile: -------------------------------------------------------------------------------- 1 | LIBTARGET = libnet.a 2 | 3 | all: $(LIBTARGET) 4 | 5 | CFILES = net.c netdata.c list.c mesg.c 6 | 7 | OBJS = $(CFILES:.c=.o) 8 | 9 | $(LIBTARGET): $(OBJS) 10 | -rm -f $(LIBTARGET) 11 | ar rv $(LIBTARGET) $(OBJS) 12 | $(RANLIB) $(LIBTARGET) 13 | 14 | clean: 15 | -rm $(LIBTARGET) *.o 16 | tags: 17 | etags -t *.[ch] 18 | -------------------------------------------------------------------------------- /libnet/Makefile.orig: -------------------------------------------------------------------------------- 1 | LIBTARGET = libnet.a 2 | 3 | all: $(LIBTARGET) 4 | 5 | CFILES = net.c netdata.c list.c mesg.c 6 | 7 | OBJS = $(CFILES:.c=.o) 8 | 9 | $(LIBTARGET): $(OBJS) 10 | -rm -f $(LIBTARGET) 11 | ar rv $(LIBTARGET) $(OBJS) 12 | $(RANLIB) $(LIBTARGET) 13 | 14 | clean: 15 | -rm $(LIBTARGET) *.o 16 | tags: 17 | etags -t *.[ch] 18 | -------------------------------------------------------------------------------- /libnet/collage.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | /* $Id: collage.h,v 1.1.1.1 1995/01/11 00:03:37 alanb Exp $ */ 14 | 15 | #ifndef HAS_COLLAGE_H_BEEN_INCLUDED_BEFORE 16 | #define HAS_COLLAGE_H_BEEN_INCLUDED_BEFORE 17 | 18 | #include 19 | 20 | #if defined __STDC__ 21 | #ifndef FUNCPROTO 22 | #define FUNCPROTO 23 | #endif 24 | #define CONST const 25 | #define VOLATILE volatile 26 | #define SIGNED signed 27 | #else /* ! defined __STDC__ */ 28 | #define CONST 29 | #define VOLATILE 30 | #define SIGNED 31 | #endif /* defined __STDC__ */ 32 | 33 | #ifdef FUNCPROTO 34 | #define AND , 35 | #define PARAMS(paramlist) paramlist 36 | #define DEFUN(name, arglist, args) name(args) 37 | #define DEFUN_VOID(name) name(void) 38 | #else 39 | #define AND ; 40 | #define PARAMS(paramlist) () 41 | #define DEFUN(name, arglist, args) name arglist args; 42 | #define DEFUN_VOID(name) name() 43 | #endif /* FUNCPROTO */ 44 | 45 | #ifndef MALLOC 46 | #if defined(SUN) && defined(LINT) 47 | union { char *c; void *vp } mal_r_ptr; 48 | # define MALLOC(SIZE) (mal_r_ptr.c = malloc(SIZE), mal_r_ptr.vp) 49 | #else 50 | # define MALLOC malloc 51 | #endif 52 | #define FREE free 53 | #endif /* ! MALLOC */ 54 | 55 | typedef union _i_or_f_ { 56 | int i; 57 | float f; 58 | } IntOrFloat; 59 | 60 | #ifdef NOVOIDPTR 61 | typedef char *GenericPtr; 62 | #else 63 | typedef void *GenericPtr; 64 | #endif 65 | 66 | #endif /* ! HAS_COLLAGE_H_BEEN_INCLUDED_BEFORE */ 67 | -------------------------------------------------------------------------------- /libnet/doodle.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | /* $Id: doodle.h,v 1.1.1.1 1995/01/11 00:03:37 alanb Exp $ */ 14 | 15 | #ifndef HAS_DOODLE_DOT_H_BEEN_INCLUDED_BEFORE 16 | #define HAS_DOODLE_DOT_H_BEEN_INCLUDED_BEFORE 17 | 18 | #define MAXDRAWDOODLE 10000 19 | 20 | typedef struct { 21 | short x,y; 22 | } POINT; 23 | 24 | typedef struct { 25 | POINT *doodle; 26 | int length; 27 | } charRec; 28 | 29 | typedef struct DoodleColor { 30 | short red, green, blue; 31 | } DColor; 32 | #endif /* ! HAS_DOODLE_DOT_H_BEEN_INCLUDED_BEFORE */ 33 | -------------------------------------------------------------------------------- /libnet/list.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | typedef struct LISTSTRUCT *List; 16 | 17 | extern List ListCreate(); 18 | extern void ListDestroy(); 19 | extern int ListAddEntry(); 20 | extern int ListDeleteEntry(); 21 | extern int ListMakeEntryCurrent(); 22 | 23 | extern char *ListHead(); 24 | extern char *ListTail(); 25 | extern char *ListCurrent(); 26 | extern char *ListNext(); 27 | extern char *ListPrev(); 28 | -------------------------------------------------------------------------------- /libnet/listP.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | #ifndef ___HAS_LIST_STUFF_BEEN_INCLUDED_BEFORE___ 16 | #define ___HAS_LIST_STUFF_BEEN_INCLUDED_BEFORE___ 17 | 18 | #include 19 | #include "list.h" 20 | 21 | struct LISTINSTANCE { 22 | char *value; 23 | struct LISTINSTANCE *next; 24 | struct LISTINSTANCE *prev; 25 | }; 26 | 27 | struct LISTSTRUCT { 28 | struct LISTINSTANCE *head; 29 | struct LISTINSTANCE *tail; 30 | struct LISTINSTANCE *current; 31 | }; 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /libnet/mesg.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | #include 16 | 17 | WriteMesg(s) 18 | char *s; 19 | { 20 | printf("%s",s); 21 | fflush(stdout); 22 | } 23 | 24 | WarningMesg(s) 25 | char *s; 26 | { 27 | fprintf(stderr,"%s",s); 28 | } 29 | 30 | ErrMesg(s) 31 | char *s; 32 | { 33 | fprintf(stderr,"%s",s); 34 | } 35 | -------------------------------------------------------------------------------- /libnet/netP.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | /* $Id: netP.h,v 1.1.1.1 1995/01/11 00:03:39 alanb Exp $ */ 14 | 15 | 16 | #include "net.h" 17 | 18 | /****************************/ 19 | 20 | typedef struct { 21 | float load1; 22 | float load5; 23 | float load15; 24 | int numUsers; 25 | } ExecHostStatusReturn; 26 | 27 | typedef union { 28 | ExecHostStatusReturn hsReturn; 29 | } ExecRetInfo; 30 | 31 | typedef struct { 32 | char *id; 33 | char *retAddress; 34 | char *authentication; 35 | char *timeStamp; 36 | int type; 37 | ExecRetInfo info; /* addition info depending on type */ 38 | } Exec; 39 | /****************************/ 40 | 41 | static void NetFreeDataCB PARAMS((GenericPtr data, caddr_t cbData)); 42 | -------------------------------------------------------------------------------- /libnut/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile for libnut (NCSA Unix Tools Library) 3 | # 4 | 5 | CC=gcc 6 | CFLAGS=-g -O 7 | ODIR=./objs 8 | OBJDIR=objs 9 | LIB=libnut.a 10 | ####Set in main Mosaic Makefile -- uncomment if not compiled under Mosaic 11 | #RANLIB=ranlib 12 | OBJ=$(ODIR)/mm.o \ 13 | $(ODIR)/str-tools.o \ 14 | $(ODIR)/system.o \ 15 | $(ODIR)/url-utils.o \ 16 | $(ODIR)/ellipsis.o 17 | 18 | all: objs $(LIB) 19 | 20 | $(LIB): $(OBJ) 21 | -rm -f $(LIB) 22 | ar rv $(LIB) $(OBJ) 23 | $(RANLIB) $(LIB) 24 | 25 | $(ODIR)/mm.o: mm.c mm.h 26 | $(CC) $(CFLAGS) -c mm.c -o $(ODIR)/mm.o 27 | 28 | $(ODIR)/str-tools.o: str-tools.c 29 | $(CC) $(CFLAGS) -c str-tools.c -o $(ODIR)/str-tools.o 30 | 31 | $(ODIR)/system.o: system.c system.h 32 | $(CC) $(CFLAGS) -c system.c -o $(ODIR)/system.o 33 | 34 | $(ODIR)/url-utils.o: url-utils.c url-utils.h 35 | $(CC) $(CFLAGS) -c url-utils.c -o $(ODIR)/url-utils.o 36 | 37 | $(ODIR)/ellipsis.o: ellipsis.c 38 | $(CC) $(CFLAGS) -c ellipsis.c -o $(ODIR)/ellipsis.o 39 | 40 | objs: 41 | mkdir objs 42 | 43 | clean: 44 | rm -f $(LIB) $(OBJ) 45 | -------------------------------------------------------------------------------- /libnut/Makefile.in: -------------------------------------------------------------------------------- 1 | # @configure_output@ 2 | # This file is used by Autoconf to make the real Makefile. 3 | # DO NOT EDIT THIS FILE! 4 | # If you want to change something do it to the Makefile autoconf 5 | # creates. You should never have to edit this file. 6 | 7 | CC= @CC@ 8 | LIBS = @LIBS@ 9 | CFLAGS = @CFLAGS@ 10 | RANLIB = @RANLIB@ 11 | 12 | # 13 | # Makefile for libnut (NCSA Unix Tools Library) 14 | # 15 | 16 | ODIR=./objs 17 | OBJDIR=objs 18 | LIB=libnut.a 19 | ####Set in main Mosaic Makefile -- uncomment if not compiled under Mosaic 20 | 21 | OBJ=$(ODIR)/mm.o \ 22 | $(ODIR)/str-tools.o \ 23 | $(ODIR)/system.o \ 24 | $(ODIR)/url-utils.o \ 25 | $(ODIR)/ellipsis.o 26 | 27 | all: objs $(LIB) 28 | 29 | $(LIB): $(OBJ) 30 | -rm -f $(LIB) 31 | ar rv $(LIB) $(OBJ) 32 | $(RANLIB) $(LIB) 33 | 34 | $(ODIR)/mm.o: mm.c mm.h 35 | $(CC) $(CFLAGS) -c mm.c -o $(ODIR)/mm.o 36 | 37 | $(ODIR)/str-tools.o: str-tools.c 38 | $(CC) $(CFLAGS) -c str-tools.c -o $(ODIR)/str-tools.o 39 | 40 | $(ODIR)/system.o: system.c system.h 41 | $(CC) $(CFLAGS) -c system.c -o $(ODIR)/system.o 42 | 43 | $(ODIR)/url-utils.o: url-utils.c url-utils.h 44 | $(CC) $(CFLAGS) -c url-utils.c -o $(ODIR)/url-utils.o 45 | 46 | $(ODIR)/ellipsis.o: ellipsis.c 47 | $(CC) $(CFLAGS) -c ellipsis.c -o $(ODIR)/ellipsis.o 48 | 49 | objs: 50 | mkdir objs 51 | 52 | clean: 53 | rm -f $(LIB) $(OBJ) 54 | -------------------------------------------------------------------------------- /libnut/Makefile.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile for libnut (NCSA Unix Tools Library) 3 | # 4 | 5 | CC=gcc 6 | CFLAGS=-g -O 7 | ODIR=./objs 8 | OBJDIR=objs 9 | LIB=libnut.a 10 | ####Set in main Mosaic Makefile -- uncomment if not compiled under Mosaic 11 | #RANLIB=ranlib 12 | OBJ=$(ODIR)/mm.o \ 13 | $(ODIR)/str-tools.o \ 14 | $(ODIR)/system.o \ 15 | $(ODIR)/url-utils.o \ 16 | $(ODIR)/ellipsis.o 17 | 18 | all: objs $(LIB) 19 | 20 | $(LIB): $(OBJ) 21 | -rm -f $(LIB) 22 | ar rv $(LIB) $(OBJ) 23 | $(RANLIB) $(LIB) 24 | 25 | $(ODIR)/mm.o: mm.c mm.h 26 | $(CC) $(CFLAGS) -c mm.c -o $(ODIR)/mm.o 27 | 28 | $(ODIR)/str-tools.o: str-tools.c 29 | $(CC) $(CFLAGS) -c str-tools.c -o $(ODIR)/str-tools.o 30 | 31 | $(ODIR)/system.o: system.c system.h 32 | $(CC) $(CFLAGS) -c system.c -o $(ODIR)/system.o 33 | 34 | $(ODIR)/url-utils.o: url-utils.c url-utils.h 35 | $(CC) $(CFLAGS) -c url-utils.c -o $(ODIR)/url-utils.o 36 | 37 | $(ODIR)/ellipsis.o: ellipsis.c 38 | $(CC) $(CFLAGS) -c ellipsis.c -o $(ODIR)/ellipsis.o 39 | 40 | objs: 41 | mkdir objs 42 | 43 | clean: 44 | rm -f $(LIB) $(OBJ) 45 | -------------------------------------------------------------------------------- /libnut/descrip.mms: -------------------------------------------------------------------------------- 1 | ! MMS description file for libnut (NCSA Unix Tools Library) 2 | ! George E. Cook, WVNET, 14-Feb-1996 3 | ! Mosaic 2.6-2 4 | ! 5 | ! You may have to use the /IGNORE=WARNING qualifier to make MMS run all 6 | ! the way through if you get (acceptable) compilation warnings. 7 | ! 8 | 9 | WDIR = [.$(WORK)] 10 | 11 | LIBTARGET = $(WDIR)libnut.olb 12 | 13 | .IFDEF DECC 14 | .IFDEF PATHWAY 15 | .INCLUDE [-.TWG]DECC_PREFIX_RULES.MMS 16 | CQUALC=/DECC $(CC_PREFIX_NO_SIN) 17 | .ELSE 18 | .IFDEF MULTINET 19 | CQUALC=/DECC/Prefix=ANSI/Define=(MULTINET) 20 | .ELSE 21 | CQUALC=/DECC/Prefix=ALL 22 | .ENDIF 23 | .ENDIF 24 | .ELSE ! Not DEC C 25 | .IFDEF DECCVAXC 26 | CQUALC=/VAXC 27 | .ELSE 28 | CQUALC= 29 | .ENDIF 30 | .ENDIF 31 | 32 | .IFDEF DEBUG 33 | CFLAGS = $(CQUALC)/NoOpt/Debug 34 | .ELSE 35 | CFLAGS = $(CQUALC) 36 | .ENDIF 37 | 38 | OBJECTS = Odir:mm.obj Odir:str-tools.obj Odir:system.obj Odir:url-utils.obj \ 39 | Odir:ellipsis.obj 40 | 41 | .FIRST 42 | @ If F$Search("$(LIBTARGET)") .EQS. "" Then Library/Create $(LIBTARGET) 43 | @ Define/NoLog Odir $(WDIR) 44 | .IFDEF PATHWAY 45 | @ @[-.TWG]def 46 | .ENDIF 47 | 48 | $(LIBTARGET) : $(LIBTARGET)($(OBJECTS)) 49 | @ Write SYS$Output "Library libnut.olb built." 50 | 51 | Odir:mm.obj : mm.c 52 | Odir:str-tools.obj : str-tools.c 53 | Odir:system.obj : system.c 54 | Odir:url-utils.obj : url-utils.c 55 | Odir:ellipsis.obj : ellipsis.c 56 | 57 | .c.obj 58 | $(CC)$(CFLAGS)/OBJECT=$@ $< 59 | 60 | .obj.olb 61 | $(LIBR) $(LIBRFLAGS) $(MMS$TARGET) $(MMS$SOURCE) 62 | 63 | clean : 64 | Delete/Log $(WDIR)*.OBJ;* 65 | Delete/Log $(LIBTARGET);* 66 | 67 | -------------------------------------------------------------------------------- /libnut/str-tools.h: -------------------------------------------------------------------------------- 1 | int compact_string(char *main_string, char *ellipsis_string, int num_chars, int mode, int eLength); 2 | char *getFileName(char *file_src); 3 | char *strcasechr(char *src, char srch); 4 | char *strrcasechr(char *src, char srch); 5 | char *strstrdup(char *src, char *srch, char *rplc); 6 | char **string_to_token_array(char *str, char *delimiter); 7 | char *my_strndup(char *str, int num); 8 | char *my_chop(char *str); 9 | int my_strcasecmp(char *, char *); 10 | int my_strncasecmp(char *, char *, int); 11 | -------------------------------------------------------------------------------- /libnut/system.h: -------------------------------------------------------------------------------- 1 | #define SYS_SUCCESS 0 2 | #define SYS_NO_COMMAND 1 3 | #define SYS_FORK_FAIL 2 4 | #define SYS_PROGRAM_FAILED 3 5 | #define SYS_NO_RETBUF 4 6 | #define SYS_FCNTL_FAILED 5 7 | #define SYS_NO_SRC_FILE 6 8 | #define SYS_NO_DEST_FILE 7 9 | #define SYS_DEST_EXISTS 8 10 | #define SYS_NO_MEMORY 9 11 | #define SYS_SRC_OPEN_FAIL 10 12 | #define SYS_DEST_OPEN_FAIL 11 13 | #define SYS_READ_FAIL 12 14 | #define SYS_WRITE_FAIL 13 15 | #define SYS_INTERNAL_FAIL 14 16 | 17 | int my_system(char *cmd, char *retBuf, int bufsize); 18 | int my_move(char *src, char *dest, char *retBuf, int bufsize, int overwrite); 19 | char *my_strerror(int errornum); 20 | char **buildArgv(char *cmd, int *new_argc); 21 | int my_copy(char *, char *, char *, int, int); 22 | int file_exists(char *); 23 | int get_home(char **); 24 | -------------------------------------------------------------------------------- /libnut/url-utils.h: -------------------------------------------------------------------------------- 1 | 2 | void getword(char *word, char *line, char stop); 3 | char *makeword(char *line, char stop); 4 | char *fmakeword(FILE *f, char stop, int *cl); 5 | char x2c(char *what); 6 | void unescape_url(char *url); 7 | void plustospace(char *str); 8 | int rind(char *s, char c); 9 | void send_fd(FILE *f, FILE *fd); 10 | int ind(char *s, char c); 11 | void escape_shell_cmd(char *cmd); 12 | -------------------------------------------------------------------------------- /libwww2/HTAlert.c: -------------------------------------------------------------------------------- 1 | /* Displaying messages and getting input for LineMode Browser 2 | ** ========================================================== 3 | ** 4 | ** REPLACE THIS MODULE with a GUI version in a GUI environment! 5 | ** 6 | ** History: 7 | ** Jun 92 Created May 1992 By C.T. Barker 8 | ** Feb 93 Simplified, portablised (ha!) TBL 9 | ** 10 | */ 11 | 12 | #include "../config.h" 13 | #include "HTAlert.h" 14 | 15 | #include "tcp.h" /* for TOUPPER */ 16 | #include /* for toupper - should be in tcp.h */ 17 | 18 | #include "../src/mosaic.h" 19 | #include "../src/gui.h" 20 | 21 | PUBLIC void HTAlert ARGS1(WWW_CONST char *, Msg) 22 | { 23 | mo_gui_notify_progress (Msg); 24 | return; 25 | } 26 | 27 | PUBLIC void HTProgress ARGS1(WWW_CONST char *, Msg) 28 | { 29 | mo_gui_notify_progress (Msg); 30 | return; 31 | } 32 | 33 | PUBLIC void HTMeter ARGS2(WWW_CONST int, level, WWW_CONST char *, text) 34 | { 35 | mo_gui_update_meter(level,text); 36 | return; 37 | } 38 | 39 | PUBLIC int HTCheckActiveIcon ARGS1(int, twirl) 40 | { 41 | int ret; 42 | 43 | ret = mo_gui_check_icon (twirl); 44 | return(ret); 45 | } 46 | 47 | PUBLIC void HTClearActiveIcon NOARGS 48 | { 49 | mo_gui_clear_icon (); 50 | return; 51 | } 52 | 53 | PUBLIC void HTDoneWithIcon NOARGS 54 | { 55 | mo_gui_done_with_icon (); 56 | return; 57 | } 58 | 59 | PUBLIC BOOL HTConfirm ARGS1(WWW_CONST char *, Msg) 60 | { 61 | extern int prompt_for_yes_or_no (char *); 62 | 63 | if (prompt_for_yes_or_no (Msg)) 64 | return(YES); 65 | else 66 | return(NO); 67 | } 68 | 69 | PUBLIC char * HTPrompt ARGS2(WWW_CONST char *, Msg, WWW_CONST char *, deflt) 70 | { 71 | extern char *prompt_for_string (char *); 72 | char *Tmp = prompt_for_string (Msg); 73 | char *rep = 0; 74 | 75 | StrAllocCopy (rep, (Tmp && *Tmp) ? Tmp : deflt); 76 | return rep; 77 | } 78 | 79 | PUBLIC char * HTPromptPassword ARGS1(WWW_CONST char *, Msg) 80 | { 81 | extern char *prompt_for_password (char *); 82 | char *Tmp = prompt_for_password (Msg); 83 | 84 | return Tmp; 85 | } 86 | -------------------------------------------------------------------------------- /libwww2/HTAlert.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* Displaying messages and getting input for WWW Library 4 | ** ===================================================== 5 | ** 6 | ** May 92 Created By C.T. Barker 7 | ** Feb 93 Portablized etc TBL 8 | */ 9 | 10 | #include "HTUtils.h" 11 | #include "tcp.h" 12 | 13 | /* Display a message and get the input 14 | ** 15 | ** On entry, 16 | ** Msg is the message. 17 | ** 18 | ** On exit, 19 | ** Return value is malloc'd string which must be freed. 20 | */ 21 | extern char * HTPrompt PARAMS((WWW_CONST char * Msg, WWW_CONST char * deflt)); 22 | extern char * HTPromptPassword PARAMS((WWW_CONST char * Msg)); 23 | 24 | 25 | /* Display a message, don't wait for input 26 | ** 27 | ** On entry, 28 | ** The input is a list of parameters for printf. 29 | */ 30 | extern void HTAlert PARAMS((WWW_CONST char * Msg)); 31 | extern void HTDoneWithIcon NOPARAMS; 32 | 33 | /* Display a progress message for information (and diagnostics) only 34 | ** 35 | ** On entry, 36 | ** The input is a list of parameters for printf. 37 | */ 38 | extern void HTProgress PARAMS((WWW_CONST char * Msg)); 39 | extern void HTMeter PARAMS((WWW_CONST int, WWW_CONST char *)); 40 | extern int HTCheckActiveIcon PARAMS((int twirl)); 41 | extern void HTClearActiveIcon NOPARAMS; 42 | 43 | 44 | /* Display a message, then wait for 'yes' or 'no'. 45 | ** 46 | ** On entry, 47 | ** Takes a list of parameters for printf. 48 | ** 49 | ** On exit, 50 | ** If the user enters 'YES', returns TRUE, returns FALSE 51 | ** otherwise. 52 | */ 53 | extern BOOL HTConfirm PARAMS ((WWW_CONST char * Msg)); 54 | /* 55 | 56 | */ 57 | -------------------------------------------------------------------------------- /libwww2/HTAssoc.c: -------------------------------------------------------------------------------- 1 | 2 | /* MODULE HTAssoc.c 3 | ** ASSOCIATION LIST FOR STORING NAME-VALUE PAIRS. 4 | ** NAMES NOT CASE SENSITIVE, AND ONLY COMMON LENGTH 5 | ** IS CHECKED (allows abbreviations; well, length is 6 | ** taken from lookup-up name, so if table contains 7 | ** a shorter abbrev it is not found). 8 | ** AUTHORS: 9 | ** AL Ari Luotonen luotonen@dxcern.cern.ch 10 | ** 11 | ** HISTORY: 12 | ** 13 | ** 14 | ** BUGS: 15 | ** 16 | ** 17 | */ 18 | #include "../config.h" 19 | 20 | #include 21 | #include "../libnut/str-tools.h" 22 | #include "HTAAUtil.h" 23 | #include "HTAssoc.h" 24 | #include "HTString.h" 25 | 26 | #ifndef DISABLE_TRACE 27 | extern int www2Trace; 28 | #endif 29 | 30 | PUBLIC HTAssocList *HTAssocList_new NOARGS 31 | { 32 | return HTList_new(); 33 | } 34 | 35 | 36 | PUBLIC void HTAssocList_delete ARGS1(HTAssocList *, alist) 37 | { 38 | if (alist) { 39 | HTAssocList *cur = alist; 40 | HTAssoc *assoc; 41 | while (NULL != (assoc = (HTAssoc*)HTList_nextObject(cur))) { 42 | if (assoc->name) free(assoc->name); 43 | if (assoc->value) free(assoc->value); 44 | free(assoc); 45 | } 46 | HTList_delete(alist); 47 | } 48 | } 49 | 50 | 51 | PUBLIC void HTAssocList_add ARGS3(HTAssocList *, alist, 52 | WWW_CONST char *, name, 53 | WWW_CONST char *, value) 54 | { 55 | HTAssoc *assoc; 56 | 57 | if (alist) { 58 | if (!(assoc = (HTAssoc*)malloc(sizeof(HTAssoc)))) 59 | outofmem(__FILE__, "HTAssoc_add"); 60 | assoc->name = NULL; 61 | assoc->value = NULL; 62 | 63 | if (name) StrAllocCopy(assoc->name, name); 64 | if (value) StrAllocCopy(assoc->value, value); 65 | HTList_addObject(alist, (void*)assoc); 66 | } 67 | #ifndef DISABLE_TRACE 68 | else if (www2Trace) fprintf(stderr, "HTAssoc_add: ERROR: assoc list NULL!!\n"); 69 | #endif 70 | } 71 | 72 | 73 | PUBLIC char *HTAssocList_lookup ARGS2(HTAssocList *, alist, 74 | WWW_CONST char *, name) 75 | { 76 | HTAssocList *cur = alist; 77 | HTAssoc *assoc; 78 | 79 | while (NULL != (assoc = (HTAssoc*)HTList_nextObject(cur))) { 80 | if (!my_strncasecmp(assoc->name, name, strlen(name))) 81 | return assoc->value; 82 | } 83 | return NULL; 84 | } 85 | 86 | -------------------------------------------------------------------------------- /libwww2/HTAssoc.h: -------------------------------------------------------------------------------- 1 | /* ASSOCIATION LIST FOR STORING NAME-VALUE PAIRS 2 | 3 | Lookups from assosiation list are not case-sensitive. 4 | 5 | */ 6 | 7 | #ifndef HTASSOC_H 8 | #define HTASSOC_H 9 | 10 | #include "HTUtils.h" 11 | #include "HTList.h" 12 | 13 | 14 | #ifdef SHORT_NAMES 15 | #define HTAL_new HTAssocList_new 16 | #define HTAL_del HTAssocList_delete 17 | #define HTAL_add HTAssocList_add 18 | #define HTAL_lup HTAssocList_lookup 19 | #endif /*SHORT_NAMES*/ 20 | 21 | typedef HTList HTAssocList; 22 | 23 | typedef struct { 24 | char * name; 25 | char * value; 26 | } HTAssoc; 27 | 28 | 29 | PUBLIC HTAssocList *HTAssocList_new NOPARAMS; 30 | PUBLIC void HTAssocList_delete PARAMS((HTAssocList * alist)); 31 | 32 | PUBLIC void HTAssocList_add PARAMS((HTAssocList * alist, 33 | WWW_CONST char * name, 34 | WWW_CONST char * value)); 35 | 36 | PUBLIC char *HTAssocList_lookup PARAMS((HTAssocList * alist, 37 | WWW_CONST char * name)); 38 | 39 | #endif /* not HTASSOC_H */ 40 | /* 41 | 42 | End of file HTAssoc.h. */ 43 | -------------------------------------------------------------------------------- /libwww2/HTAtom.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* Atoms: Names to numbers HTAtom.h 4 | ** ======================= 5 | ** 6 | ** Atoms are names which are given representative pointer values 7 | ** so that they can be stored more efficiently, and compaisons 8 | ** for equality done more efficiently. 9 | ** 10 | ** HTAtom_for(string) returns a representative value such that it 11 | ** will always (within one run of the program) return the same 12 | ** value for the same given string. 13 | ** 14 | ** Authors: 15 | ** TBL Tim Berners-Lee, WorldWideWeb project, CERN 16 | ** 17 | ** (c) Copyright CERN 1991 - See Copyright.html 18 | ** 19 | */ 20 | 21 | #ifndef HTATOM_H 22 | #define HTATOM_H 23 | 24 | typedef struct _HTAtom HTAtom; 25 | struct _HTAtom { 26 | HTAtom * next; 27 | char * name; 28 | }; /* struct _HTAtom */ 29 | 30 | 31 | #ifdef __STDC__ 32 | extern HTAtom * HTAtom_for(char * string); 33 | #else 34 | extern HTAtom * HTAtom_for(); 35 | #endif 36 | 37 | #ifdef __STDC__ 38 | extern HTAtom * HTAtom_exists(char * string); 39 | #else 40 | extern HTAtom * HTAtom_exists(); 41 | #endif 42 | 43 | #define HTAtom_name(a) ((a)->name) 44 | 45 | #endif /* HTATOM_H */ 46 | /* 47 | 48 | */ 49 | -------------------------------------------------------------------------------- /libwww2/HTAuth.h: -------------------------------------------------------------------------------- 1 | /* AUTHENTICATION MODULE 2 | 3 | This is the authentication module. By modifying the function HTAA_authenticate() it can 4 | be made to support external authentication methods. 5 | 6 | */ 7 | 8 | #ifndef HTAUTH_H 9 | #define HTAUTH_H 10 | 11 | #include "HTUtils.h" 12 | #include "HTAAUtil.h" 13 | #include "HTAAProt.h" 14 | 15 | 16 | #ifdef SHORT_NAMES 17 | #define HTAAauth HTAA_authenticate 18 | #endif /* SHORT_NAMES */ 19 | 20 | 21 | /* 22 | ** Server's representation of a user (fields in authentication string) 23 | */ 24 | typedef struct { 25 | HTAAScheme scheme; /* Scheme used to authenticate this user */ 26 | char * username; 27 | char * password; 28 | char * inet_addr; 29 | char * timestamp; 30 | char * secret_key; 31 | } HTAAUser; 32 | /* 33 | 34 | User Authentication 35 | 36 | */ 37 | 38 | /* SERVER PUBLIC HTAA_authenticate() 39 | ** AUTHENTICATE USER 40 | ** ON ENTRY: 41 | ** scheme used authentication scheme. 42 | ** scheme_specifics the scheme specific parameters 43 | ** (authentication string for Basic and 44 | ** Pubkey schemes). 45 | ** prot is the protection information structure 46 | ** for the file. 47 | ** 48 | ** ON EXIT: 49 | ** returns NULL, if authentication failed. 50 | ** Otherwise a pointer to a structure 51 | ** representing authenticated user, 52 | ** which should not be freed. 53 | */ 54 | PUBLIC HTAAUser *HTAA_authenticate PARAMS((HTAAScheme scheme, 55 | char * scheme_specifics, 56 | HTAAProt * prot)); 57 | /* 58 | 59 | */ 60 | 61 | #endif /* not HTAUTH_H */ 62 | /* 63 | 64 | End of file HTAuth.h. */ 65 | -------------------------------------------------------------------------------- /libwww2/HTChunk.c: -------------------------------------------------------------------------------- 1 | /* Chunk handling: Flexible arrays 2 | ** =============================== 3 | ** 4 | */ 5 | #include "../config.h" 6 | #include "HTUtils.h" 7 | #include "HTChunk.h" 8 | #include 9 | 10 | /* Create a chunk with a certain allocation unit 11 | ** -------------- 12 | */ 13 | PUBLIC HTChunk * HTChunkCreate ARGS1 (int,grow) 14 | { 15 | HTChunk * ch = (HTChunk *) malloc(sizeof(HTChunk)); 16 | if (ch == NULL) outofmem(__FILE__, "cretion of chunk"); 17 | 18 | ch->data = 0; 19 | ch->growby = grow; 20 | ch->size = 0; 21 | ch->allocated = 0; 22 | return ch; 23 | } 24 | 25 | 26 | /* Clear a chunk of all data 27 | ** -------------------------- 28 | */ 29 | PUBLIC void HTChunkClear ARGS1 (HTChunk *,ch) 30 | { 31 | if (ch->data) { 32 | free(ch->data); 33 | ch->data = 0; 34 | } 35 | ch->size = 0; 36 | ch->allocated = 0; 37 | } 38 | 39 | 40 | /* Free a chunk 41 | ** ------------ 42 | */ 43 | PUBLIC void HTChunkFree ARGS1 (HTChunk *,ch) 44 | { 45 | if (ch->data) free(ch->data); 46 | free(ch); 47 | } 48 | 49 | 50 | /* Append a character 51 | ** ------------------ 52 | */ 53 | PUBLIC void HTChunkPutc ARGS2 (HTChunk *,ch, char,c) 54 | { 55 | if (ch->size >= ch->allocated) { 56 | ch->allocated = ch->allocated + ch->growby; 57 | ch->data = ch->data ? (char *)realloc(ch->data, ch->allocated) 58 | : (char *)malloc(ch->allocated); 59 | if (!ch->data) outofmem(__FILE__, "HTChunkPutc"); 60 | } 61 | ch->data[ch->size++] = c; 62 | } 63 | 64 | 65 | /* Ensure a certain size 66 | ** --------------------- 67 | */ 68 | PUBLIC void HTChunkEnsure ARGS2 (HTChunk *,ch, int,needed) 69 | { 70 | if (needed <= ch->allocated) return; 71 | ch->allocated = needed-1 - ((needed-1) % ch->growby) 72 | + ch->growby; /* Round up */ 73 | ch->data = ch->data ? (char *)realloc(ch->data, ch->allocated) 74 | : (char *)malloc(ch->allocated); 75 | if (ch->data == NULL) outofmem(__FILE__, "HTChunkEnsure"); 76 | } 77 | 78 | 79 | /* Terminate a chunk 80 | ** ----------------- 81 | */ 82 | PUBLIC void HTChunkTerminate ARGS1 (HTChunk *,ch) 83 | { 84 | HTChunkPutc(ch, (char)0); 85 | } 86 | 87 | 88 | /* Append a string 89 | ** --------------- 90 | */ 91 | PUBLIC void HTChunkPuts ARGS2 (HTChunk *,ch, WWW_CONST char *,s) 92 | { 93 | WWW_CONST char * p; 94 | for (p=s; *p; p++) 95 | HTChunkPutc(ch, *p); 96 | } 97 | -------------------------------------------------------------------------------- /libwww2/HTCompressed.h: -------------------------------------------------------------------------------- 1 | #ifndef HTCOMPRESSED_H 2 | #define HTCOMPRESSED_H 3 | 4 | extern void HTCompressedFileToFile (char *fnam, int compressed); 5 | extern void HTCompressedHText (HText *text, int compressed, int plain); 6 | 7 | #endif /* not HTCOMPRESSED_H */ 8 | -------------------------------------------------------------------------------- /libwww2/HTFTP.h: -------------------------------------------------------------------------------- 1 | /* FTP access module for libwww 2 | FTP ACCESS FUNCTIONS 3 | 4 | This isn't really a valid protocol module -- it is lumped together 5 | with HTFile . That could be changed easily. 6 | 7 | Author: Tim Berners-Lee. Public Domain. Please mail changes to 8 | timbl@info.cern.ch 9 | 10 | */ 11 | #ifndef HTFTP_H 12 | #define HTFTP_H 13 | 14 | #include "HTUtils.h" 15 | #include "HTAnchor.h" 16 | #include "HTStream.h" 17 | #include "HTAlert.h" 18 | 19 | /* 20 | 21 | Retrieve File from Server 22 | 23 | ON EXIT, 24 | 25 | returns Socket number for file if good.<0 if bad. 26 | 27 | */ 28 | extern int HTFTPLoad PARAMS 29 | (( 30 | char * name, 31 | HTParentAnchor * anchor, 32 | HTFormat format_out, 33 | HTStream* sink 34 | )); 35 | 36 | 37 | /* 38 | 39 | Return Host Name 40 | 41 | */ 42 | extern WWW_CONST char * HTHostName NOPARAMS; 43 | 44 | 45 | /* 46 | * NLST parameters -- SWP 47 | */ 48 | #define NLST_PARAMS "-Lla" 49 | 50 | 51 | 52 | /* Send file to server */ 53 | extern int HTFTPSend PARAMS (( char * name )); 54 | 55 | #endif 56 | 57 | /* 58 | 59 | end */ 60 | -------------------------------------------------------------------------------- /libwww2/HTFWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | C FILE WRITER 3 | 4 | It is useful to have both FWriter and Writer for environments in 5 | which fdopen() doesn't exist for example. 6 | 7 | */ 8 | #ifndef HTFWRITE_H 9 | #define HTFWRITE_H 10 | 11 | #include "HTStream.h" 12 | #include 13 | #include "HTFormat.h" 14 | 15 | extern HTStream * HTSaveAndExecute PARAMS(( 16 | HTPresentation * pres, 17 | HTParentAnchor * anchor, /* Not used */ 18 | HTStream * sink, 19 | HTFormat format_in, 20 | int compressed)); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /libwww2/HTGopher.h: -------------------------------------------------------------------------------- 1 | /* GOPHER ACCESS HTGopher.h 2 | ** ============= 3 | ** 4 | ** History: 5 | ** 8 Jan 92 Adapted from HTTP TBL 6 | */ 7 | 8 | #ifndef HTGOPHER_H 9 | #define HTGOPHER_H 10 | 11 | #include "HTAccess.h" 12 | #include "HTAnchor.h" 13 | 14 | extern HTProtocol HTGopher; 15 | 16 | #endif /* HTGOPHER_H */ 17 | -------------------------------------------------------------------------------- /libwww2/HTIcon.c: -------------------------------------------------------------------------------- 1 | /* 2 | ** Author: Charles Henrich (henrich@crh.cl.msu.edu) October 2, 1993 3 | ** 4 | ** This routine takes two parameters, Format (as returned by HTFileFormat) 5 | ** and a default icon type. The type is the first half of the MIME type field 6 | ** (i.e. image from image/jpeg). If the icon type cannot be determined from 7 | ** the format or from the default, then the unknown icon is returned. 8 | ** 9 | ** Note: This routine gurantee's to return something! 10 | ** 11 | */ 12 | #include "../config.h" 13 | #include "HTFile.h" 14 | #include "HTAtom.h" 15 | 16 | struct typemap 17 | { 18 | char *format; 19 | char *image; 20 | }; 21 | 22 | struct typemap type_map[] = 23 | { 24 | {"image", "internal-gopher-image"}, 25 | {"text", "internal-gopher-text"}, 26 | {"audio", "internal-gopher-sound"}, 27 | {"application", "internal-gopher-binary"}, 28 | {"message", "internal-gopher-text"}, 29 | {"video", "internal-gopher-movie"}, 30 | {"directory", "internal-gopher-menu"}, 31 | {"unknown", "internal-gopher-unknown"}, 32 | {"EOFEOF", "EOFEOF"} 33 | }; 34 | 35 | char *HTgeticonname(HTFormat format, char *defaultformat) 36 | { 37 | int count; 38 | char *ptr; 39 | char subtype[128]; 40 | 41 | if(format != NULL) 42 | { 43 | strcpy(subtype, format->name); 44 | 45 | ptr=strchr(subtype,'/'); 46 | 47 | if(ptr != NULL) 48 | *ptr = '\0'; 49 | } 50 | else 51 | { 52 | subtype[0] = '\0'; 53 | } 54 | 55 | ptr = NULL; 56 | 57 | for(count = 0;strcmp(type_map[count].image,"EOFEOF") != 0; count++) 58 | { 59 | if(strcmp(type_map[count].format, subtype) == 0) 60 | return type_map[count].image; 61 | 62 | if(strcmp(type_map[count].format, defaultformat) == 0) 63 | ptr = type_map[count].image; 64 | } 65 | 66 | if(ptr != NULL) 67 | return ptr; 68 | 69 | return "internal-gopher-unknown"; 70 | } 71 | -------------------------------------------------------------------------------- /libwww2/HTInit.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* Initialisation module HTInit.h 4 | ** 5 | ** This module resisters all the plug&play software modules which 6 | ** will be used in the program. This is for a browser. 7 | ** 8 | ** To override this, just copy it and link in your version 9 | ** befoe you link with the library. 10 | */ 11 | 12 | #include "HTUtils.h" 13 | 14 | extern void HTReInit NOPARAMS; 15 | extern void HTFormatInit NOPARAMS; 16 | extern void HTFileInit NOPARAMS; 17 | 18 | extern int HTLoadExtensionsConfigFile (char *fn); 19 | -------------------------------------------------------------------------------- /libwww2/HTLex.h: -------------------------------------------------------------------------------- 1 | /* LEXICAL ANALYSOR (MAINLY FOR CONFIG FILES) 2 | 3 | */ 4 | 5 | #ifndef HTLEX_H 6 | #define HTLEX_H 7 | 8 | #include "HTUtils.h" 9 | 10 | 11 | #ifdef SHORT_NAMES 12 | #define lex_verb lex_verbose 13 | #endif /*SHORT_NAMES*/ 14 | 15 | 16 | typedef enum { 17 | LEX_NONE, /* Internally used */ 18 | LEX_EOF, /* End of file */ 19 | LEX_REC_SEP, /* Record separator */ 20 | LEX_FIELD_SEP, /* Field separator */ 21 | LEX_ITEM_SEP, /* List item separator */ 22 | LEX_OPEN_PAREN, /* Group start tag */ 23 | LEX_CLOSE_PAREN, /* Group end tag */ 24 | LEX_AT_SIGN, /* Address qualifier */ 25 | LEX_ALPH_STR, /* Alphanumeric string */ 26 | LEX_TMPL_STR /* Template string */ 27 | } LexItem; 28 | 29 | extern char lex_buffer[]; /* Read lexical string */ 30 | extern int lex_line; /* Line number in source file */ 31 | 32 | /* 33 | 34 | Get Next Lexical Item 35 | 36 | If returns LEX_ALPH_STR or LEX_TMPL_STR the string is in global buffer lex_buffer. 37 | 38 | */ 39 | 40 | PUBLIC LexItem lex PARAMS((FILE * fp)); 41 | /* 42 | 43 | Push Back Latest Item 44 | 45 | */ 46 | 47 | PUBLIC void unlex PARAMS((LexItem lex_item)); 48 | /* 49 | 50 | Get the Name for Lexical Item 51 | 52 | */ 53 | 54 | PUBLIC char *lex_verbose PARAMS((LexItem lex_item)); 55 | /* 56 | 57 | */ 58 | 59 | #endif /* not HTLEX_H */ 60 | /* 61 | 62 | End of file HTLex.h. */ 63 | -------------------------------------------------------------------------------- /libwww2/HTList.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* List object 4 | ** 5 | ** The list object is a generic container for storing collections 6 | ** of things in order. 7 | */ 8 | #ifndef HTLIST_H 9 | #define HTLIST_H 10 | 11 | #include "HTUtils.h" /* for BOOL type and PARAMS and ARGS*/ 12 | 13 | typedef struct _HTList HTList; 14 | 15 | struct _HTList { 16 | void * object; 17 | HTList * next; 18 | HTList * last; 19 | }; 20 | 21 | #ifdef SHORT_NAMES 22 | #define HTList_new HTLiNew 23 | #define HTList_delete HTLiDele 24 | #define HTList_addObject HTLiAdOb 25 | #define HTList_removeObject HTLiReOb 26 | #define HTList_removeLastObject HTLiReLa 27 | #define HTList_removeFirstObject HTLiReFi 28 | #define HTList_count HTLiCoun 29 | #define HTList_indexOf HTLiInOf 30 | #define HTList_objectAt HTLiObAt 31 | #endif 32 | 33 | extern HTList * HTList_new NOPARAMS; 34 | extern void HTList_delete PARAMS((HTList *me)); 35 | 36 | /* Add object to START of list 37 | */ 38 | extern void HTList_addObject PARAMS((HTList *me, void *newObject)); 39 | extern void HTList_addObjectAtEnd PARAMS((HTList *me, void *newObject)); 40 | 41 | 42 | extern BOOL HTList_removeObject PARAMS((HTList *me, void *oldObject)); 43 | extern void * HTList_removeLastObject PARAMS((HTList *me)); 44 | extern void * HTList_removeFirstObject PARAMS((HTList *me)); 45 | #define HTList_isEmpty(me) (me ? me->next == NULL : YES) 46 | extern int HTList_count PARAMS((HTList *me)); 47 | extern int HTList_indexOf PARAMS((HTList *me, void *object)); 48 | #define HTList_lastObject(me) \ 49 | (me && me->next ? me->next->object : NULL) 50 | extern void * HTList_objectAt PARAMS((HTList *me, int position)); 51 | 52 | /* Fast macro to traverse the list. Call it first with copy of list header : 53 | it returns the first object and increments the passed list pointer. 54 | Call it with the same variable until it returns NULL. */ 55 | #define HTList_nextObject(me) \ 56 | (me && (me = me->next) ? me->object : NULL) 57 | 58 | #endif /* HTLIST_H */ 59 | /* 60 | 61 | */ 62 | -------------------------------------------------------------------------------- /libwww2/HTMIME.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* MIME Parser HTMIME.h 4 | ** ----------- 5 | ** 6 | ** The MIME parser stream presents a MIME document. 7 | ** 8 | ** 9 | */ 10 | 11 | #ifndef HTMIME_H 12 | #define HTMIME_H 13 | 14 | #include "HTStream.h" 15 | #include "HTAnchor.h" 16 | 17 | int HTMIME_get_header_length(HTStream *me); 18 | 19 | extern HTStream * HTMIMEConvert PARAMS((HTPresentation * pres, 20 | HTParentAnchor * anchor, 21 | HTStream * sink, 22 | HTFormat format_in, 23 | int compressed)); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /libwww2/HTML.h: -------------------------------------------------------------------------------- 1 | #ifndef HTML_H 2 | #define HTML_H 3 | 4 | #include "HTUtils.h" 5 | #include "HTAnchor.h" 6 | #include "HTMLDTD.h" 7 | 8 | #ifdef SHORT_NAMES 9 | #define HTMLPresentation HTMLPren 10 | #endif 11 | 12 | extern WWW_CONST HTStructuredClass HTMLPresentation; 13 | 14 | extern HTStructured* HTML_new PARAMS(( 15 | HTParentAnchor * anchor, 16 | HTFormat format_out, 17 | HTStream * target)); 18 | 19 | /* Names for selected internal representations: 20 | */ 21 | typedef enum _HTMLCharacterSet { 22 | HTML_ISO_LATIN1, 23 | HTML_NEXT_CHARS, 24 | HTML_PC_CP950 25 | } HTMLCharacterSet; 26 | 27 | extern void HTMLUseCharacterSet PARAMS((HTMLCharacterSet i)); 28 | 29 | /* 30 | 31 | Record error message as a hypertext object 32 | 33 | The error message should be marked as an error so that it can be 34 | reloaded later. This implementation just throws up an error message 35 | and leaves the document unloaded. 36 | 37 | */ 38 | /* On entry, 39 | ** sink is a stream to the output device if any 40 | ** number is the HTTP error number 41 | ** message is the human readable message. 42 | ** On exit, 43 | ** a retrun code like HT_LOADED if object exists else 60; 0 44 | */ 45 | 46 | PUBLIC int HTLoadError PARAMS(( 47 | HTStream * sink, 48 | int number, 49 | WWW_CONST char * message)); 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /libwww2/HTMLDTD.h: -------------------------------------------------------------------------------- 1 | /* The HTML DTD -- software interface in libwww 2 | HTML DTD - SOFTWARE INTERFACE 3 | 4 | SGML purists should excuse the use of the term "DTD" in this file to represent 5 | DTD-related information which is not exactly a DTD itself. 6 | 7 | The C modular structure doesn't work very well here, as the dtd is partly in the .h and 8 | partly in the .c which are not very independent. Tant pis. 9 | 10 | */ 11 | #ifndef HTMLDTD_H 12 | #define HTMLDTD_H 13 | 14 | #include "HTUtils.h" 15 | #include "SGML.h" 16 | 17 | /* 18 | 19 | Element Numbers 20 | 21 | */ 22 | 23 | /* 24 | 25 | Must Match all tables by element! These include tables in HTMLDTD.c and code in HTML.c 26 | . 27 | 28 | */ 29 | typedef enum _HTMLElement { 30 | HTML_A, HTML_ADDRESS, 31 | HTML_B, HTML_BLOCKQUOTE, HTML_BODY, 32 | HTML_CITE, HTML_CODE, HTML_COMMENT, 33 | HTML_DD, HTML_DFN, HTML_DIR, 34 | HTML_DL, HTML_DLC, HTML_DT, 35 | HTML_EM, 36 | HTML_HEAD, 37 | HTML_H1, HTML_H2, HTML_H3, 38 | HTML_H4, HTML_H5, HTML_H6, HTML_H7, 39 | HTML_HTML, 40 | HTML_I, HTML_IMG, HTML_ISINDEX, 41 | HTML_KBD, 42 | HTML_LI, HTML_LINK, HTML_LISTING, 43 | HTML_NEXTID, HTML_MENU, 44 | HTML_OL, HTML_P, HTML_PLAINTEXT, HTML_PRE, 45 | HTML_SAMP, HTML_STRONG, 46 | HTML_TITLE, HTML_TT, 47 | HTML_U, HTML_UL, 48 | HTML_VAR, HTML_XMP } HTMLElement; 49 | 50 | #define HTML_ELEMENTS 45 51 | 52 | /* 53 | 54 | Attribute numbers 55 | 56 | */ 57 | 58 | /* 59 | 60 | Identifier is HTML__. These must match the tables in HTML.c! 61 | 62 | */ 63 | #define HTML_A_HREF 0 64 | #define HTML_A_NAME 1 65 | #define HTML_A_TITLE 2 66 | #define HTML_A_TYPE 3 67 | #define HTML_A_URN 4 68 | #define HTML_A_ATTRIBUTES 5 69 | 70 | #define DL_COMPACT 0 71 | 72 | #define HTML_IMG_SRC 0 73 | 74 | #define NEXTID_N 0 75 | 76 | extern WWW_CONST SGML_dtd HTML_dtd; 77 | 78 | #endif /* HTMLDTD_H */ 79 | 80 | /* 81 | 82 | End of module definition */ 83 | -------------------------------------------------------------------------------- /libwww2/HTMLGen.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* HTML generator 4 | */ 5 | 6 | #ifndef HTMLGEN_H 7 | #define HTMLGEN_H 8 | 9 | #include "HTML.h" 10 | #include "HTStream.h" 11 | 12 | /* Subclass: 13 | */ 14 | /* extern WWW_CONST HTStructuredClass HTMLGeneration; */ 15 | 16 | /* Special Creation: 17 | */ 18 | extern HTStructured * HTMLGenerator PARAMS((HTStream * output)); 19 | 20 | extern HTStream * HTPlainToHTML PARAMS(( 21 | HTPresentation * pres, 22 | HTParentAnchor * anchor, 23 | HTStream * sink, 24 | HTFormat format_in, 25 | int compressed)); 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /libwww2/HTMailto.c: -------------------------------------------------------------------------------- 1 | /* MAILTO WINDOW HTMailTo.c 2 | ** ============= 3 | ** Authors: 4 | ** Mike Peter Bretz (bretz@zdv.uni-tuebingen.de) 5 | ** Alan Braverman (alanb@ncsa.uiuc.edu) 6 | ** 7 | ** History: 8 | ** 07 Jul 94 First version (MPB) 9 | ** 07 Mar 95 Stuck it in NCSA Mosaic for X 2.6 (AMB) 10 | */ 11 | #include "../config.h" 12 | #include "HTAccess.h" 13 | #include "HTAlert.h" 14 | #include "HTUtils.h" 15 | #include "tcp.h" 16 | #include "HTML.h" 17 | #include "HTParse.h" 18 | #include "HTFormat.h" 19 | #include "../libnut/str-tools.h" 20 | #include "../src/mosaic.h" 21 | #include "../src/mailto.h" 22 | #ifndef DISABLE_TRACE 23 | extern int www2Trace; 24 | #endif 25 | 26 | struct _HTStructured 27 | { 28 | WWW_CONST HTStructuredClass * isa; 29 | /* ... */ 30 | }; 31 | 32 | 33 | /* Module-wide variables 34 | */ 35 | PRIVATE int s; /* Socket for FingerHost */ 36 | 37 | extern int GetMailtoKludgeInfo(); 38 | 39 | 40 | /* Initialisation for this module 41 | ** ------------------------------ 42 | */ 43 | PRIVATE BOOL initialized = NO; 44 | PRIVATE BOOL initialize NOARGS 45 | { 46 | s = -1; /* Disconnected */ 47 | return YES; 48 | } 49 | 50 | 51 | PUBLIC int HTSendMailTo ARGS4( 52 | WWW_CONST char *, arg, 53 | HTParentAnchor *, anAnchor, 54 | HTFormat, format_out, 55 | HTStream*, stream) 56 | { 57 | char *mailtoURL; 58 | char *mailtoSubject; 59 | 60 | #ifndef DISABLE_TRACE 61 | if (www2Trace) 62 | fprintf(stderr, "HTMailto: Mailing to %s\n", arg); 63 | #endif 64 | 65 | if (!initialized) 66 | initialized = initialize(); 67 | if (!initialized) 68 | { 69 | HTProgress ((char *) 0); 70 | return HT_NOT_LOADED; 71 | } 72 | 73 | { 74 | WWW_CONST char * p1=arg; 75 | 76 | /* We will ask for the document, omitting the host name & anchor. 77 | ** 78 | ** Syntax of address is 79 | ** xxx@yyy User xxx at site yyy (xxx is optional). 80 | */ 81 | if (!my_strncasecmp (arg, "mailto:", 7)) 82 | p1 = arg + 7; /* Skip "mailto:" prefix */ 83 | 84 | if (!*arg) 85 | { 86 | HTProgress ("Could not find email address"); 87 | return HT_NOT_LOADED; /* Ignore if no name */ 88 | } 89 | 90 | GetMailtoKludgeInfo(&mailtoURL,&mailtoSubject); 91 | (void) mo_post_mailto_win(p1,mailtoSubject); 92 | return HT_LOADED; 93 | } 94 | } 95 | 96 | PUBLIC HTProtocol HTMailto = { "mailto", HTSendMailTo, NULL }; 97 | -------------------------------------------------------------------------------- /libwww2/HTMosaicHTML.h: -------------------------------------------------------------------------------- 1 | /* MosaicHTML text object HTMosaicHTML.h 2 | ** ----------------- 3 | ** 4 | ** 5 | */ 6 | 7 | #ifndef HTMosaicHTML_H 8 | #define HTMosaicHTML_H 9 | 10 | #include "HTStream.h" 11 | #include "HTAnchor.h" 12 | 13 | extern HTStream* HTMosaicHTMLPresent PARAMS(( 14 | HTPresentation * pres, 15 | HTParentAnchor * anchor, 16 | HTStream * sink, 17 | HTFormat format_in, 18 | int compressed)); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /libwww2/HTNews.h: -------------------------------------------------------------------------------- 1 | /* Network News Transfer protocol module for the WWW library 2 | HTNEWS 3 | 4 | */ 5 | /* History: 6 | ** 26 Sep 90 Written TBL in Objective-C 7 | ** 29 Nov 91 Downgraded to C, for portable implementation. 8 | ** Mar 96 Moved NewsArt here. Upgraded back to C from Objectionable-C 9 | ** 10 | */ 11 | 12 | #ifndef HTNEWS_H 13 | #define HTNEWS_H 14 | 15 | #include "HTAccess.h" 16 | #include "HTAnchor.h" 17 | #include "../src/newsrc.h" 18 | extern HTProtocol HTNews; 19 | 20 | extern void HTSetNewsHost PARAMS((WWW_CONST char *value)); 21 | extern WWW_CONST char * HTGetNewsHost NOPARAMS; 22 | 23 | extern char * HTNewsHost; 24 | extern int newsShowAllGroups; 25 | extern int newsShowReadGroups; 26 | extern int ConfigView; 27 | extern int newsGotList; 28 | extern char *NewsGroup; 29 | extern newsgroup_t *NewsGroupS; 30 | extern int newsShowAllArticles; 31 | 32 | #define NO_CHANGE -1 33 | 34 | void HTSetNewsConfig (int, int, int, int, int, int, int, int ); 35 | 36 | /* Thread Chain Structure */ 37 | typedef struct NEWSART { 38 | struct NEWSART *prev, *next, *prevt, *nextt; /* Article List pointers */ 39 | char *FirstRef, *LastRef; /* Thread List pointers */ 40 | long num; /* Article Header Info */ 41 | char *ID; 42 | char *SUBJ; 43 | char *FROM; 44 | } NewsArt; 45 | 46 | extern NewsArt *CurrentArt; 47 | 48 | 49 | #endif /* HTNEWS_H */ 50 | 51 | 52 | -------------------------------------------------------------------------------- /libwww2/HTPlain.h: -------------------------------------------------------------------------------- 1 | /* Plain text object HTPlain.h 2 | ** ----------------- 3 | ** 4 | ** 5 | */ 6 | 7 | #ifndef HTPLAIN_H 8 | #define HTPLAIN_H 9 | 10 | #include "HTStream.h" 11 | #include "HTAnchor.h" 12 | 13 | extern HTStream* HTPlainPresent PARAMS(( 14 | HTPresentation * pres, 15 | HTParentAnchor * anchor, 16 | HTStream * sink, 17 | HTFormat format_in, 18 | int compressed)); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /libwww2/HTSort.c: -------------------------------------------------------------------------------- 1 | /* Simple string sorting support, thanks to qsort(). */ 2 | #include "../config.h" 3 | #include "HTUtils.h" 4 | #include 5 | 6 | #define SIZE_OF_HUNK 100 7 | 8 | static char **hunk = NULL; 9 | static int size_of_hunk; 10 | static int count; 11 | 12 | void HTSortInit (void) 13 | { 14 | count = 0; 15 | 16 | if (!hunk) 17 | { 18 | size_of_hunk = SIZE_OF_HUNK; 19 | hunk = (char **)malloc (sizeof (char *) * size_of_hunk); 20 | } 21 | 22 | return; 23 | } 24 | 25 | static void expand_hunk (void) 26 | { 27 | /* Make hunk bigger by SIZE_OF_HUNK elements. */ 28 | size_of_hunk += SIZE_OF_HUNK; 29 | hunk = (char **)realloc (hunk, sizeof (char *) * size_of_hunk); 30 | 31 | return; 32 | } 33 | 34 | void HTSortAdd (char *str) 35 | { 36 | /* If we don't have room, expand. */ 37 | if (count == size_of_hunk) 38 | expand_hunk (); 39 | 40 | hunk[count++] = str; 41 | 42 | return; 43 | } 44 | 45 | static int dsortf (char **s1, char **s2) 46 | { 47 | return (strcmp (*(char **)s1, *(char **)s2)); 48 | } 49 | 50 | void HTSortSort (void) 51 | { 52 | qsort ((void *)hunk, 53 | count, 54 | sizeof (char *), 55 | (void *)dsortf); 56 | 57 | return; 58 | } 59 | 60 | int HTSortCurrentCount (void) 61 | { 62 | return count; 63 | } 64 | 65 | char *HTSortFetch (int i) 66 | { 67 | if (i < count) 68 | return hunk[i]; 69 | else 70 | return NULL; 71 | } 72 | -------------------------------------------------------------------------------- /libwww2/HTSort.h: -------------------------------------------------------------------------------- 1 | extern void HTSortInit (void); 2 | extern void HTSortAdd (char *str); 3 | extern void HTSortSort (void); 4 | extern int HTSortCurrentCount (void); 5 | extern char *HTSortFetch (int i); 6 | -------------------------------------------------------------------------------- /libwww2/HTStream.h: -------------------------------------------------------------------------------- 1 | /* The Stream class definition -- libwww 2 | STREAM OBJECT DEFINITION 3 | 4 | A Stream object is something which accepts a stream of text. 5 | 6 | The creation methods will vary on the type of Stream Object, but 7 | the methods used to write to it and close it are common. 8 | 9 | */ 10 | #ifndef HTSTREAM_H 11 | #define HTSTREAM_H 12 | 13 | #include "HTUtils.h" 14 | 15 | typedef struct _HTStream HTStream; 16 | 17 | /* 18 | 19 | These are the common methods of all streams. They should be 20 | self-explanatory, except for end_document which must be called 21 | before free. It should be merged with free in fact: it should be 22 | dummy for new streams. 23 | 24 | The put_block method was write, but this upset systems whiuch had 25 | macros for write(). 26 | 27 | */ 28 | typedef struct _HTStreamClass { 29 | 30 | char* name; /* Just for diagnostics */ 31 | 32 | void (*free) PARAMS(( 33 | HTStream* me)); 34 | 35 | void (*end_document) PARAMS(( 36 | HTStream* me)); 37 | 38 | void (*put_character) PARAMS(( 39 | HTStream* me, 40 | char ch)); 41 | 42 | void (*put_string) PARAMS(( 43 | HTStream* me, 44 | char * str)); 45 | 46 | void (*put_block) PARAMS(( 47 | HTStream* me, 48 | char * str, 49 | int len)); 50 | 51 | void (*handle_interrupt) PARAMS(( 52 | HTStream* me)); 53 | 54 | }HTStreamClass; 55 | 56 | #endif /* HTSTREAM_H */ 57 | -------------------------------------------------------------------------------- /libwww2/HTString.h: -------------------------------------------------------------------------------- 1 | /* String handling for libwww 2 | STRINGS 3 | 4 | Case-independent string comparison and allocations with copies etc 5 | 6 | */ 7 | #ifndef HTSTRING_H 8 | #define HTSTRING_H 9 | 10 | #include "HTUtils.h" 11 | 12 | extern int WWW_TraceFlag; /* Global flag for all W3 trace */ 13 | 14 | extern WWW_CONST char * HTLibraryVersion; /* String for help screen etc */ 15 | 16 | /* 17 | 18 | Case-insensitive string comparison 19 | 20 | The usual routines (comp instead of cmp) had some problem. 21 | 22 | */ 23 | extern int strcasecomp PARAMS((WWW_CONST char *a, WWW_CONST char *b)); 24 | extern int strncasecomp PARAMS((WWW_CONST char *a, WWW_CONST char *b, int n)); 25 | 26 | /* 27 | 28 | Malloced string manipulation 29 | 30 | */ 31 | #define StrAllocCopy(dest, src) HTSACopy (&(dest), src) 32 | #define StrAllocCat(dest, src) HTSACat (&(dest), src) 33 | extern char * HTSACopy PARAMS ((char **dest, WWW_CONST char *src)); 34 | extern char * HTSACat PARAMS ((char **dest, WWW_CONST char *src)); 35 | 36 | /* 37 | 38 | Next word or quoted string 39 | 40 | */ 41 | extern char * HTNextField PARAMS ((char** pstr)); 42 | 43 | 44 | #endif 45 | /* 46 | 47 | end 48 | 49 | */ 50 | -------------------------------------------------------------------------------- /libwww2/HTTP.h: -------------------------------------------------------------------------------- 1 | /* HyperText Tranfer Protocol HTTP.h 2 | ** ========================== 3 | */ 4 | 5 | #ifndef HTTP_H 6 | #define HTTP_H 7 | 8 | #include "HTAccess.h" 9 | 10 | 11 | extern HTProtocol HTTP; 12 | 13 | #endif /* HTTP_H */ 14 | -------------------------------------------------------------------------------- /libwww2/HTTelnet.h: -------------------------------------------------------------------------------- 1 | /* /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTelnet.html 2 | TELNET AND SIMILAR ACCESS METHODS 3 | 4 | */ 5 | 6 | #ifndef HTTELNET_H 7 | #define HTTELNET_H 8 | 9 | #include "HTAccess.h" 10 | 11 | extern HTProtocol HTTelnet; 12 | extern HTProtocol HTRlogin; 13 | extern HTProtocol HTTn3270; 14 | 15 | #endif 16 | 17 | 18 | /* 19 | 20 | */ 21 | -------------------------------------------------------------------------------- /libwww2/HTUU.h: -------------------------------------------------------------------------------- 1 | /* ENCODING TO PRINTABLE CHARACTERS 2 | 3 | File module provides functions HTUU_encode() and HTUU_decode() which convert a buffer 4 | of bytes to/from RFC 1113 printable encoding format. This technique is similar to the 5 | familiar Unix uuencode format in that it maps 6 binary bits to one ASCII character (or 6 | more aptly, 3 binary bytes to 4 ASCII characters). However, RFC 1113 does not use the 7 | same mapping to printable characters as uuencode. 8 | 9 | */ 10 | 11 | #ifndef HTUU_H 12 | #define HTUU_H 13 | 14 | #include "HTUtils.h" 15 | 16 | PUBLIC int HTUU_encode PARAMS((unsigned char *bufin, 17 | unsigned int nbytes, 18 | char *bufcoded)); 19 | 20 | PUBLIC int HTUU_decode PARAMS((char *bufcoded, 21 | unsigned char *bufplain, 22 | int outbufsize)); 23 | 24 | #endif 25 | /* 26 | 27 | End of file. */ 28 | -------------------------------------------------------------------------------- /libwww2/HTWAIS.h: -------------------------------------------------------------------------------- 1 | /* WAIS protocol module for the W3 library 2 | WAIS PROTOCOL INTERFACE 3 | 4 | This module does not actually perform the WAIS protocol directly, but it does using one 5 | or more library of the freeWAIS distribution. The ui.a library came with the old free 6 | WAIS from TMC, the client.a and wais.a libraries are needed from the freeWAIS from 7 | CNIDR. 8 | 9 | If you include this module in the library, you must also 10 | 11 | Register the HTWAIS protocol at initialisation (e.g. HTInit or HTSInit) by compiling 12 | it with -DDIRECT_WAIS 13 | 14 | Link with the libraries 15 | 16 | The wais source files are parsed by a separate and independent module, HTWSRC. You 17 | can include HTWSRC without including direct wais using this module, and your WWW code 18 | will be able to read source files, and access WAIS indexes through a gateway. 19 | 20 | A WAIS-WWW gateway is just a normal W3 server with a libwww compiled with this module. 21 | 22 | Anyways, this interface won't change much: 23 | 24 | */ 25 | #ifndef HTWAIS_H 26 | #define HTWAIS_H 27 | #include "HTUtils.h" 28 | #include "HTAccess.h" 29 | 30 | extern HTProtocol HTWAIS; 31 | 32 | #endif 33 | 34 | /* 35 | 36 | Tim BL */ 37 | -------------------------------------------------------------------------------- /libwww2/HTWSRC.h: -------------------------------------------------------------------------------- 1 | /* A parser for WAIS source files 2 | WAIS SOURCE FILE PARSER 3 | 4 | This converter returns a stream object into which a WAIS source file can be written. 5 | The result is put via a structured stream into whatever format was required for the 6 | output stream. 7 | 8 | See also: HTWAIS protocol interface module 9 | 10 | */ 11 | #ifndef HTWSRC_H 12 | #define HTWSRC_H 13 | #include "HTUtils.h" 14 | 15 | #include "HTFormat.h" 16 | 17 | extern HTStream* HTWSRCConvert PARAMS(( 18 | HTPresentation * pres, 19 | HTParentAnchor * anchor, 20 | HTStream * sink, 21 | HTFormat format_in, 22 | int compressed)); 23 | 24 | /* 25 | 26 | Escaping Strings 27 | 28 | HTDeSlash takes out the invlaid characters in a URL path ELEMENT by converting them 29 | into hex-escaped characters. HTEnSlash does the reverse. 30 | 31 | Each returns a pointer to a newly allocated string which must eventually be freed by 32 | the caller. 33 | 34 | */ 35 | extern char * HTDeSlash PARAMS((WWW_CONST char * str)); 36 | 37 | extern char * HTEnSlash PARAMS((WWW_CONST char * str)); 38 | 39 | #endif 40 | 41 | /* 42 | 43 | Tim BL 44 | 45 | */ 46 | -------------------------------------------------------------------------------- /libwww2/HTWriter.h: -------------------------------------------------------------------------------- 1 | /* */ 2 | 3 | /* Unix File or Socket Writer HTWriter.c 4 | ** -------------------------- 5 | ** 6 | ** This version of the stream object just writes to a socket. 7 | ** The socket is assumed open and closed afterward. 8 | ** 9 | ** There are two versions (identical on ASCII machines) 10 | ** one of which converts to ASCII on output. 11 | ** 12 | ** Bugs: 13 | ** strings written must be less than buffer size. 14 | */ 15 | 16 | #ifndef HTWRITE_H 17 | #define HTWRITE_H 18 | 19 | #include "HTStream.h" 20 | 21 | extern HTStream * HTWriter_new PARAMS((int soc)); 22 | 23 | extern HTStream * HTASCIIWriter PARAMS((int soc)); 24 | 25 | #endif 26 | /* 27 | 28 | */ 29 | -------------------------------------------------------------------------------- /libwww2/Makefile: -------------------------------------------------------------------------------- 1 | LIBTARGET = libwww.a 2 | 3 | all: $(LIBTARGET) 4 | 5 | CFILES = CUkerb.c HTAccess.c HTAlert.c HTAnchor.c HTAtom.c HTSort.c HTChunk.c \ 6 | HTFTP.c HTFWriter.c HTFile.c HTFormat.c HTGopher.c HTInit.c HTList.c \ 7 | HTMIME.c HTML.c HTMLDTD.c HTMLGen.c HTNews.c HTParse.c HTPlain.c \ 8 | HTMosaicHTML.c HTString.c HTTCP.c HTTP.c HTTelnet.c HTWSRC.c HTWriter.c \ 9 | SGML.c HTWAIS.c HTIcon.c HTCompressed.c HTAAUtil.c HTAssoc.c HTUU.c \ 10 | HTAABrow.c HTMailto.c 11 | 12 | OBJS = $(CFILES:.c=.o) 13 | 14 | $(LIBTARGET): $(OBJS) 15 | -rm -f $(LIBTARGET) 16 | ar rv $(LIBTARGET) $(OBJS) 17 | $(RANLIB) $(LIBTARGET) 18 | 19 | $(OBJS): HTUtils.h 20 | HTFTP.o: HTFTP.h 21 | 22 | clean: 23 | rm $(LIBTARGET) *.o 24 | tags: 25 | etags -t *.[ch] 26 | -------------------------------------------------------------------------------- /libwww2/Makefile.in: -------------------------------------------------------------------------------- 1 | # @configure_output@ 2 | # This file is used by Autoconf to make the real Makefile. 3 | # DO NOT EDIT THIS FILE! 4 | # If you want to change something do it to the Makefile autoconf 5 | # creates. You should never have to edit this file. 6 | 7 | CC= @CC@ 8 | LIBS = @LIBS@ 9 | CFLAGS = @CFLAGS@ 10 | 11 | RANLIB = @RANLIB@ 12 | 13 | LIBTARGET = libwww.a 14 | 15 | all: $(LIBTARGET) 16 | 17 | CFILES = \ 18 | CUkerb.c \ 19 | HTAccess.c \ 20 | HTAlert.c \ 21 | HTAnchor.c \ 22 | HTAtom.c \ 23 | HTSort.c \ 24 | HTChunk.c \ 25 | HTFTP.c \ 26 | HTFWriter.c \ 27 | HTFile.c \ 28 | HTFormat.c \ 29 | HTGopher.c \ 30 | HTInit.c \ 31 | HTList.c \ 32 | HTMIME.c \ 33 | HTML.c \ 34 | HTMLDTD.c \ 35 | HTMLGen.c \ 36 | HTNews.c \ 37 | HTParse.c \ 38 | HTPlain.c \ 39 | HTMosaicHTML.c \ 40 | HTString.c \ 41 | HTTCP.c \ 42 | HTTP.c \ 43 | HTTelnet.c \ 44 | HTWSRC.c \ 45 | HTWriter.c \ 46 | SGML.c \ 47 | HTWAIS.c \ 48 | HTIcon.c \ 49 | HTCompressed.c \ 50 | HTAAUtil.c \ 51 | HTAssoc.c \ 52 | HTUU.c \ 53 | HTAABrow.c \ 54 | HTMailto.c 55 | 56 | # HTPasswd.c \ 57 | # HTAuth.c \ 58 | # HTLex.c \ 59 | # HTGroup.c \ 60 | # HTACL.c \ 61 | # HTAAProt.c \ 62 | # HTAAServ.c \ 63 | # HTAAFile.c 64 | 65 | OBJS = $(CFILES:.c=.o) 66 | 67 | $(LIBTARGET): $(OBJS) 68 | -rm -f $(LIBTARGET) 69 | ar rv $(LIBTARGET) $(OBJS) 70 | $(RANLIB) $(LIBTARGET) 71 | 72 | $(OBJS): HTUtils.h 73 | HTFTP.o: HTFTP.h 74 | 75 | clean: 76 | -rm $(LIBTARGET) *.o 77 | tags: 78 | etags -t *.[ch] 79 | -------------------------------------------------------------------------------- /libwww2/Makefile.orig: -------------------------------------------------------------------------------- 1 | LIBTARGET = libwww.a 2 | 3 | all: $(LIBTARGET) 4 | 5 | CFILES = CUkerb.c HTAccess.c HTAlert.c HTAnchor.c HTAtom.c HTSort.c HTChunk.c \ 6 | HTFTP.c HTFWriter.c HTFile.c HTFormat.c HTGopher.c HTInit.c HTList.c \ 7 | HTMIME.c HTML.c HTMLDTD.c HTMLGen.c HTNews.c HTParse.c HTPlain.c \ 8 | HTMosaicHTML.c HTString.c HTTCP.c HTTP.c HTTelnet.c HTWSRC.c HTWriter.c \ 9 | SGML.c HTWAIS.c HTIcon.c HTCompressed.c HTAAUtil.c HTAssoc.c HTUU.c \ 10 | HTAABrow.c HTMailto.c 11 | 12 | OBJS = $(CFILES:.c=.o) 13 | 14 | $(LIBTARGET): $(OBJS) 15 | -rm -f $(LIBTARGET) 16 | ar rv $(LIBTARGET) $(OBJS) 17 | $(RANLIB) $(LIBTARGET) 18 | 19 | $(OBJS): HTUtils.h 20 | HTFTP.o: HTFTP.h 21 | 22 | clean: 23 | rm $(LIBTARGET) *.o 24 | tags: 25 | etags -t *.[ch] 26 | -------------------------------------------------------------------------------- /mosaic-spoof-agents: -------------------------------------------------------------------------------- 1 | # 2 | # Agent Spoofing -- Who will you be today? 3 | # 4 | # "I don't think [t]he[y]'ll be too keen" -- Originally from Monty Python, run 5 | # into the ground by Tommy Reilly 6 | # 7 | # NOTE! There is a hard limit of 50 agents! Mosaic will not read anymore! 8 | # 9 | # This file should be located in your HOME directory under the filename: 10 | # .mosaic-spoof-agents 11 | # 12 | # This file consists of lines that begin with a # (comment), a - (a seperator 13 | # for the sub-menu off options), a + (this is special...it denotes that the 14 | # agent following it [no spaces] should be the default agent to use) and 15 | # anything else (considered an agent spoof line). 16 | # 17 | - This is a seperator...as long as the first thing is a dash 18 | # This is a comment line 19 | # 20 | # This is the "example" agent. If you don't like it...comment it out. 21 | # if you want it to be your default, put a + infront of it. 22 | # 23 | Bond_James_Bond/007 (BMW; Z3 Roadster) DOHC_inline_16-valve_4-cylinder 24 | Gandalf/White (Shadowfax; Wind) White_Staff 25 | Elric/Emperor_of_Melnibone (Hellsword; StormBringer - Devourer of Souls) 26 | -------------------------------------------------------------------------------- /mosaic.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Categories=Network; 3 | Exec=Mosaic 4 | GenericName=NCSA Mosaic Web Browser 5 | Icon=mosaic 6 | Name=NCSA Mosaic 7 | StartupNotify=true 8 | Type=Application 9 | StartupWMClass=Mosaic 10 | -------------------------------------------------------------------------------- /platform-configs/config.linux: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # A script to store configuration variables for Mosaic's external 3 | # software packages 4 | # 5 | # In all cases configure will check the dir you supply for all libs and 6 | # header files as well the lib and include subdirectories of that directory. 7 | # So if you do things right and install everything in a place like 8 | # /usr/local/include and /usr/local/lib 9 | # you can just enter /usr/local (the default) for every field. 10 | # 11 | # Where to find jpeg stuff 12 | jpegdir=/xdev/mosaic/libjpeg/linux 13 | 14 | # Where to find libz (don't need any headers) 15 | zdir=/xdev/mosaic/libpng/linux 16 | 17 | # Where to find png stuff 18 | pngdir=/xdev/mosaic/libpng/linux 19 | 20 | # Where to find wais stuff 21 | waisdir=/xdev/mosaic/freeWAIS/linux 22 | 23 | # Where to find hdf stuff 24 | hdfdir= 25 | 26 | # Use DTM? (yes or no) 27 | with_dtm=no 28 | 29 | echo ./configure --with-jpegdir=$jpegdir --with-zdir=${zdir} --with-pngdir=$pngdir --with-wais=$waisdir --with-hdfdir=$hdfdir --enable-dtm=$with_dtm $* 30 | ./configure --with-jpegdir=$jpegdir --with-zdir=${zdir} --with-pngdir=$pngdir --with-wais=$waisdir --with-hdfdir=$hdfdir --enable-dtm=$with_dtm $* 31 | -------------------------------------------------------------------------------- /src/accept.h: -------------------------------------------------------------------------------- 1 | typedef int ListenAddress; 2 | 3 | extern ListenAddress NetServerInitSocket(); 4 | extern PortDescriptor *NetServerAccept(); 5 | extern int NetRead(); 6 | extern int NetServerWrite(); 7 | extern int NetCloseConnection(); 8 | extern int NetIsThereInput(); 9 | 10 | -------------------------------------------------------------------------------- /src/bitmaps/busy_1.xbm: -------------------------------------------------------------------------------- 1 | #define busy_1_width 18 2 | #define busy_1_height 18 3 | #define busy_1_x_hot 8 4 | #define busy_1_y_hot 8 5 | static char busy_1_bits[] = { 6 | 0x00, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x14, 0xa0, 0x00, 0x74, 0xbc, 0x00, 7 | 0xf4, 0xbf, 0x00, 0xe4, 0x9f, 0x00, 0xe4, 0x9f, 0x00, 0xc4, 0x8f, 0x00, 8 | 0x84, 0x87, 0x00, 0x84, 0x84, 0x00, 0x44, 0x88, 0x00, 0x24, 0x90, 0x00, 9 | 0x24, 0x90, 0x00, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 10 | 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_1_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_1_mask_width 18 2 | #define busy_1_mask_height 18 3 | static unsigned char busy_1_mask_bits[] = { 4 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xfe, 0xff, 0x01, 5 | 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01, 6 | 0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdc, 0x01, 0x7e, 0xf8, 0x01, 7 | 0x7e, 0xf8, 0x01, 0x3e, 0xf0, 0x01, 0x3e, 0xf0, 0x01, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_2.xbm: -------------------------------------------------------------------------------- 1 | #define busy_2_width 18 2 | #define busy_2_height 18 3 | #define busy_2_x_hot 8 4 | #define busy_2_y_hot 8 5 | static char busy_2_bits[] = { 6 | 0x00, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 7 | 0xd4, 0xa7, 0x00, 0xe4, 0x9f, 0x00, 0xe4, 0x9f, 0x00, 0xc4, 0x8f, 0x00, 8 | 0x84, 0x87, 0x00, 0x84, 0x85, 0x00, 0x44, 0x89, 0x00, 0x24, 0x91, 0x00, 9 | 0x24, 0x91, 0x00, 0x14, 0xa1, 0x00, 0x14, 0xa1, 0x00, 0xd4, 0xaf, 0x00, 10 | 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_2_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_2_mask_width 18 2 | #define busy_2_mask_height 18 3 | static unsigned char busy_2_mask_bits[] = { 4 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xfe, 0xf7, 0x01, 5 | 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01, 6 | 0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xfb, 0x01, 7 | 0xfe, 0xfb, 0x01, 0xbe, 0xf3, 0x01, 0xfe, 0xff, 0x01, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_3.xbm: -------------------------------------------------------------------------------- 1 | #define busy_3_width 18 2 | #define busy_3_height 18 3 | #define busy_3_x_hot 8 4 | #define busy_3_y_hot 8 5 | static char busy_3_bits[] = { 6 | 0x00, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 7 | 0x14, 0xa7, 0x00, 0xe4, 0x9f, 0x00, 0xe4, 0x9f, 0x00, 0xc4, 0x8f, 0x00, 8 | 0x84, 0x87, 0x00, 0x84, 0x87, 0x00, 0x44, 0x8b, 0x00, 0x24, 0x93, 0x00, 9 | 0x24, 0x93, 0x00, 0x14, 0xa3, 0x00, 0xd4, 0xa7, 0x00, 0xf4, 0xbf, 0x00, 10 | 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_3_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_3_mask_width 18 2 | #define busy_3_mask_height 18 3 | static unsigned char busy_3_mask_bits[] = { 4 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf7, 0x01, 5 | 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01, 6 | 0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01, 7 | 0xfe, 0xff, 0x01, 0xfe, 0xf7, 0x01, 0xfe, 0xff, 0x01, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_4.xbm: -------------------------------------------------------------------------------- 1 | #define busy_4_width 18 2 | #define busy_4_height 18 3 | #define busy_4_x_hot 8 4 | #define busy_4_y_hot 8 5 | static char busy_4_bits[] = { 6 | 0x00, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 7 | 0x14, 0xa0, 0x00, 0x24, 0x93, 0x00, 0xe4, 0x9f, 0x00, 0xc4, 0x8f, 0x00, 8 | 0x84, 0x87, 0x00, 0x84, 0x87, 0x00, 0x44, 0x8b, 0x00, 0x24, 0x93, 0x00, 9 | 0x24, 0x93, 0x00, 0x94, 0xa7, 0x00, 0xf4, 0xaf, 0x00, 0xf4, 0xbf, 0x00, 10 | 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_4_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_4_mask_width 18 2 | #define busy_4_mask_height 18 3 | static unsigned char busy_4_mask_bits[] = { 4 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf0, 0x01, 5 | 0x3e, 0xf3, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01, 6 | 0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01, 7 | 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_5.xbm: -------------------------------------------------------------------------------- 1 | #define busy_5_width 18 2 | #define busy_5_height 18 3 | #define busy_5_x_hot 8 4 | #define busy_5_y_hot 8 5 | static char busy_5_bits[] = { 6 | 0x00, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 7 | 0x14, 0xa0, 0x00, 0x24, 0x90, 0x00, 0x24, 0x93, 0x00, 0xc4, 0x8f, 0x00, 8 | 0x84, 0x87, 0x00, 0x84, 0x87, 0x00, 0x44, 0x8b, 0x00, 0x24, 0x93, 0x00, 9 | 0x24, 0x93, 0x00, 0xd4, 0xa7, 0x00, 0xf4, 0xbf, 0x00, 0xf4, 0xbf, 0x00, 10 | 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_5_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_5_mask_width 18 2 | #define busy_5_mask_height 18 3 | static unsigned char busy_5_mask_bits[] = { 4 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf0, 0x01, 5 | 0x3e, 0xf0, 0x01, 0x7e, 0xfb, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01, 6 | 0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01, 7 | 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_6.xbm: -------------------------------------------------------------------------------- 1 | #define busy_6_width 18 2 | #define busy_6_height 18 3 | #define busy_6_x_hot 8 4 | #define busy_6_y_hot 8 5 | static char busy_6_bits[] = { 6 | 0x00, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x14, 0xa0, 0x00, 0x14, 0xa0, 0x00, 7 | 0x14, 0xa0, 0x00, 0x24, 0x90, 0x00, 0x24, 0x90, 0x00, 0x44, 0x88, 0x00, 8 | 0x84, 0x84, 0x00, 0x84, 0x84, 0x00, 0x44, 0x88, 0x00, 0x24, 0x93, 0x00, 9 | 0xa4, 0x9f, 0x00, 0xf4, 0xbf, 0x00, 0xf4, 0xbf, 0x00, 0xf4, 0xbf, 0x00, 10 | 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_6_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_6_mask_width 18 2 | #define busy_6_mask_height 18 3 | static unsigned char busy_6_mask_bits[] = { 4 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf0, 0x01, 5 | 0x3e, 0xf0, 0x01, 0x7e, 0xf8, 0x01, 0x7e, 0xf8, 0x01, 0xee, 0xdc, 0x01, 6 | 0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01, 7 | 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_7.xbm: -------------------------------------------------------------------------------- 1 | #define busy_7_width 24 2 | #define busy_7_height 24 3 | #define busy_7_x_hot 11 4 | #define busy_7_y_hot 11 5 | static char busy_7_bits[] = { 6 | 0x00, 0x08, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x16, 0x00, 0x00, 0x25, 0x00, 7 | 0x80, 0x44, 0x00, 0x40, 0x88, 0x00, 0x20, 0x10, 0x01, 0x10, 0x10, 0x02, 8 | 0x08, 0x10, 0x04, 0x04, 0x10, 0x08, 0x1e, 0x30, 0x10, 0x63, 0xe0, 0x67, 9 | 0x84, 0x07, 0x38, 0x08, 0x0c, 0x10, 0x10, 0xf8, 0x0f, 0x20, 0xf8, 0x07, 10 | 0x40, 0xf8, 0x03, 0x80, 0xf8, 0x01, 0x00, 0xf1, 0x00, 0x00, 0x72, 0x00, 11 | 0x00, 0x34, 0x00, 0x00, 0x18, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00}; 12 | -------------------------------------------------------------------------------- /src/bitmaps/busy_7_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_7_mask_width 24 2 | #define busy_7_mask_height 24 3 | static unsigned char busy_7_mask_bits[] = { 4 | 0x00, 0x1e, 0x00, 0x00, 0x3f, 0x00, 0x80, 0x7f, 0x00, 0xc0, 0xff, 0x00, 5 | 0xe0, 0xef, 0x01, 0xf0, 0xdc, 0x03, 0x78, 0xb8, 0x07, 0x3c, 0x38, 0x0f, 6 | 0x1e, 0x38, 0x1e, 0x1f, 0x38, 0x3c, 0x7f, 0xf8, 0xff, 0xff, 0xf7, 0xff, 7 | 0xef, 0xef, 0xff, 0xde, 0xff, 0x7f, 0x3c, 0xfc, 0x3f, 0x78, 0xfc, 0x1f, 8 | 0xf0, 0xfc, 0x0f, 0xe0, 0xfd, 0x07, 0xc0, 0xfb, 0x03, 0x80, 0xff, 0x01, 9 | 0x00, 0xff, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x1c, 0x00, 10 | }; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_8.xbm: -------------------------------------------------------------------------------- 1 | #define busy_8_width 18 2 | #define busy_8_height 18 3 | #define busy_8_x_hot 8 4 | #define busy_8_y_hot 9 5 | static char busy_8_bits[] = { 6 | 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0xfe, 0xff, 0x01, 0x02, 0x00, 0x01, 7 | 0x1e, 0xe0, 0x01, 0x62, 0x18, 0x01, 0x82, 0x04, 0x01, 0x02, 0x03, 0x01, 8 | 0x02, 0x00, 0x01, 0x02, 0xfe, 0x01, 0x02, 0xff, 0x01, 0x82, 0xfc, 0x01, 9 | 0x62, 0xf8, 0x01, 0x1e, 0xe0, 0x01, 0x02, 0x00, 0x01, 0xfe, 0xff, 0x01, 10 | 0x02, 0x00, 0x01, 0x00, 0x00, 0x00}; 11 | -------------------------------------------------------------------------------- /src/bitmaps/busy_8_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_8_mask_width 18 2 | #define busy_8_mask_height 18 3 | static unsigned char busy_8_mask_bits[] = { 4 | 0x07, 0x80, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 5 | 0x7f, 0xf8, 0x03, 0xff, 0xfc, 0x03, 0xe7, 0x9f, 0x03, 0x87, 0x87, 0x03, 6 | 0x07, 0xff, 0x03, 0x07, 0xff, 0x03, 0x87, 0xff, 0x03, 0xe7, 0xff, 0x03, 7 | 0xff, 0xfc, 0x03, 0x7f, 0xf8, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 8 | 0xff, 0xff, 0x03, 0x07, 0x80, 0x03, }; 9 | -------------------------------------------------------------------------------- /src/bitmaps/busy_9.xbm: -------------------------------------------------------------------------------- 1 | #define busy_9_width 24 2 | #define busy_9_height 24 3 | #define busy_9_x_hot 11 4 | #define busy_9_y_hot 11 5 | static char busy_9_bits[] = { 6 | 0x00, 0x08, 0x00, 0x00, 0x18, 0x00, 0x00, 0x34, 0x00, 0x00, 0x52, 0x00, 7 | 0x00, 0x89, 0x00, 0x80, 0x08, 0x01, 0x40, 0x08, 0x02, 0x20, 0xc8, 0x07, 8 | 0x10, 0xf8, 0x0f, 0x08, 0xfc, 0x1f, 0xc4, 0xff, 0x3f, 0x23, 0xf8, 0x63, 9 | 0x1e, 0x30, 0x10, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x10, 0x10, 0x02, 10 | 0x20, 0x08, 0x01, 0x40, 0x88, 0x00, 0x80, 0x44, 0x00, 0x00, 0x25, 0x00, 11 | 0x00, 0x16, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00}; 12 | -------------------------------------------------------------------------------- /src/bitmaps/busy_9_mask.xbm: -------------------------------------------------------------------------------- 1 | #define busy_9_mask_width 24 2 | #define busy_9_mask_height 24 3 | static unsigned char busy_9_mask_bits[] = { 4 | 0x00, 0x3c, 0x00, 0x00, 0x7e, 0x00, 0x00, 0xff, 0x00, 0x80, 0xff, 0x01, 5 | 0xc0, 0xdf, 0x03, 0xe0, 0x9d, 0x07, 0xf0, 0xdc, 0x0f, 0x78, 0xfc, 0x1f, 6 | 0x3c, 0xfc, 0x3f, 0xde, 0xff, 0x7f, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 7 | 0x3f, 0xf8, 0xfb, 0x1f, 0x38, 0x3c, 0x1e, 0x38, 0x1e, 0x3c, 0x38, 0x0f, 8 | 0x78, 0xbc, 0x07, 0xf0, 0xdc, 0x03, 0xe0, 0xef, 0x01, 0xc0, 0xff, 0x00, 9 | 0x80, 0x7f, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x1c, 0x00, 10 | }; 11 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_binary.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_binary_width 20 2 | #define gopher_binary_height 23 3 | static char gopher_binary_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0x3f, 0x00, 0x01, 0x60, 0x00, 0x01, 0xa0, 0x00, 0x71, 0x26, 0x01, 6 | 0xd9, 0x26, 0x02, 0xd9, 0xe6, 0x07, 0xd9, 0xc6, 0x0f, 0xd9, 0x06, 0x0c, 7 | 0x71, 0x06, 0x0c, 0x01, 0x00, 0x0c, 0x99, 0x03, 0x0c, 0xd9, 0x06, 0x0c, 8 | 0xd9, 0x06, 0x0c, 0xd9, 0x06, 0x0c, 0xd9, 0x06, 0x0c, 0x99, 0x03, 0x0c, 9 | 0x01, 0x00, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_ftp.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_ftp_width 20 2 | #define gopher_ftp_height 23 3 | static char gopher_ftp_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xfe, 0xff, 0x07, 0x02, 0x00, 0x0c, 0xba, 0xf7, 0x0c, 0xba, 0xf7, 0x0d, 6 | 0x1a, 0xb3, 0x0d, 0x3a, 0xb3, 0x0d, 0x3a, 0xf3, 0x0d, 0x1a, 0xf3, 0x0c, 7 | 0x1a, 0x33, 0x0c, 0x1a, 0x33, 0x0c, 0x02, 0x00, 0x0c, 0xfe, 0xff, 0x0f, 8 | 0xfc, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0xfe, 0xff, 0x07, 9 | 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x07, 0x04, 0x00, 0x02}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_image.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_image_width 20 2 | #define gopher_image_height 23 3 | static char gopher_image_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0xff, 0x07, 0x01, 0x00, 0x0c, 0x01, 0x1c, 0x0c, 0x01, 0x22, 0x0c, 6 | 0x01, 0x26, 0x0c, 0x01, 0x29, 0x0c, 0x01, 0x19, 0x0c, 0x81, 0x10, 0x0c, 7 | 0x81, 0x0c, 0x0c, 0x41, 0x08, 0x0c, 0x41, 0x06, 0x0c, 0xc1, 0x04, 0x0c, 8 | 0xc1, 0x03, 0x0c, 0xc1, 0x01, 0x0c, 0xc1, 0x00, 0x0c, 0x41, 0x00, 0x0c, 9 | 0x01, 0x00, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_index.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_index_width 20 2 | #define gopher_index_height 23 3 | static char gopher_index_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0xff, 0x07, 0x01, 0x00, 0x0c, 0x81, 0x0f, 0x0c, 0x41, 0x18, 0x0c, 6 | 0x21, 0x33, 0x0c, 0xa1, 0x25, 0x0c, 0xc1, 0x24, 0x0c, 0x01, 0x32, 0x0c, 7 | 0x01, 0x19, 0x0c, 0x81, 0x0c, 0x0c, 0x81, 0x06, 0x0c, 0x01, 0x07, 0x0c, 8 | 0x01, 0x07, 0x0c, 0x81, 0x0c, 0x0c, 0x81, 0x0e, 0x0c, 0x01, 0x07, 0x0c, 9 | 0x01, 0x00, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_menu.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_menu_width 20 2 | #define gopher_menu_height 23 3 | static char gopher_menu_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xf8, 0x01, 0x00, 0x04, 0x02, 0x00, 0x02, 0x04, 0x00, 0x01, 0xf8, 0x01, 6 | 0x01, 0x00, 0x02, 0x01, 0x00, 0x04, 0x01, 0x00, 0x0e, 0x01, 0x00, 0x0d, 7 | 0x01, 0x00, 0x0e, 0x01, 0x00, 0x0d, 0x01, 0x00, 0x0e, 0x01, 0x00, 0x0d, 8 | 0x01, 0x00, 0x0e, 0x01, 0x00, 0x0d, 0x01, 0x00, 0x0e, 0x55, 0x55, 0x0d, 9 | 0xaa, 0xaa, 0x0e, 0xfc, 0xff, 0x07, 0xf8, 0xff, 0x03}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_movie.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_movie_width 20 2 | #define gopher_movie_height 23 3 | static char gopher_movie_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0xff, 0x07, 0xf9, 0xff, 0x0c, 0x19, 0xe0, 0x0c, 0x1f, 0xc0, 0x0f, 6 | 0x19, 0xe0, 0x0c, 0x19, 0xc0, 0x0c, 0x1f, 0xe0, 0x0f, 0x59, 0xd5, 0x0c, 7 | 0xf9, 0xff, 0x0c, 0xff, 0xff, 0x0f, 0x19, 0xe0, 0x0c, 0x19, 0xc0, 0x0c, 8 | 0x1f, 0xe0, 0x0f, 0x19, 0xc0, 0x0c, 0x19, 0xe0, 0x0c, 0x5f, 0xd5, 0x0f, 9 | 0xf9, 0xff, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_sound.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_sound_width 20 2 | #define gopher_sound_height 23 3 | static char gopher_sound_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0xff, 0x07, 0x01, 0x00, 0x0c, 0x01, 0x40, 0x0c, 0x01, 0x91, 0x0c, 6 | 0x81, 0x21, 0x0d, 0x41, 0x49, 0x0d, 0x3d, 0x51, 0x0d, 0x05, 0x55, 0x0d, 7 | 0x05, 0x55, 0x0d, 0x05, 0x55, 0x0d, 0x3d, 0x55, 0x0d, 0x7d, 0x51, 0x0d, 8 | 0xc1, 0x49, 0x0d, 0x81, 0x21, 0x0d, 0x01, 0x91, 0x0c, 0x01, 0x40, 0x0c, 9 | 0x01, 0x00, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_telnet.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_telnet_width 20 2 | #define gopher_telnet_height 23 3 | static char gopher_telnet_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xfe, 0xff, 0x07, 0x02, 0x00, 0x0c, 0x7a, 0x37, 0x0c, 0x7a, 0x37, 0x0c, 6 | 0x32, 0x33, 0x0c, 0x32, 0x37, 0x0c, 0x32, 0x37, 0x0c, 0x32, 0x33, 0x0c, 7 | 0x32, 0xf7, 0x0c, 0x32, 0xf7, 0x0c, 0x02, 0x00, 0x0c, 0xfe, 0xff, 0x0f, 8 | 0xfc, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0xfe, 0xff, 0x07, 9 | 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x07, 0x04, 0x00, 0x02}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_text.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_text_width 20 2 | #define gopher_text_height 23 3 | static char gopher_text_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0x3f, 0x00, 0x01, 0x60, 0x00, 0x01, 0xa0, 0x00, 0xf9, 0x27, 0x01, 6 | 0x01, 0x20, 0x02, 0xf1, 0xe7, 0x07, 0x01, 0xc0, 0x0f, 0xf9, 0x07, 0x0c, 7 | 0x01, 0x00, 0x0c, 0xe1, 0x07, 0x0c, 0x01, 0x00, 0x0c, 0xf9, 0x07, 0x0c, 8 | 0x01, 0x00, 0x0c, 0xe1, 0x07, 0x0c, 0x01, 0x00, 0x0c, 0xf9, 0x07, 0x0c, 9 | 0x01, 0x00, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/gopher_unknown.xbm: -------------------------------------------------------------------------------- 1 | #define gopher_unknown_width 20 2 | #define gopher_unknown_height 23 3 | static char gopher_unknown_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0xff, 0x3f, 0x00, 0x01, 0x60, 0x00, 0x01, 0xa0, 0x00, 0x01, 0x20, 0x01, 6 | 0x01, 0x20, 0x02, 0x01, 0xe0, 0x07, 0x01, 0xc0, 0x0f, 0x01, 0x00, 0x0c, 7 | 0x01, 0x00, 0x0c, 0x01, 0x00, 0x0c, 0x01, 0x00, 0x0c, 0x01, 0x00, 0x0c, 8 | 0x01, 0x00, 0x0c, 0x01, 0x00, 0x0c, 0x01, 0x00, 0x0c, 0x01, 0x00, 0x0c, 9 | 0x01, 0x00, 0x0c, 0xff, 0xff, 0x0f, 0xfe, 0xff, 0x0f}; 10 | -------------------------------------------------------------------------------- /src/bitmaps/security.xbm: -------------------------------------------------------------------------------- 1 | #define security_width 32 2 | #define security_height 32 3 | static char security_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 5 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 6 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 7 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 8 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 9 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 10 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 11 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 12 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 13 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 14 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; 15 | -------------------------------------------------------------------------------- /src/cciServer.h: -------------------------------------------------------------------------------- 1 | #ifndef __CCISERVER_H__ 2 | #define __CCISERVER_H__ 3 | 4 | #include "cci.h" 5 | 6 | extern int MCCIServerInitialize(); 7 | extern MCCIPort MCCICheckAndAcceptConnection(); 8 | extern int MCCISendResponseLine(); 9 | extern int MCCIIsThereInput(); 10 | extern int MCCIReadInputMessage(); 11 | 12 | typedef struct { 13 | MCCIPort client; 14 | int status; 15 | char *url; 16 | } cciStat; /* ejb 03/09/95 */ 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/kcms.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _KCMS_H_ 3 | int KCMS_Enabled; 4 | int KCMS_Return_Format; 5 | #define _KCMS_H_ 6 | #else 7 | extern int KCMS_Enabled; 8 | extern int KCMS_Return_Format; 9 | #endif 10 | 11 | #define JPEG 0 12 | #define JYCC 1 13 | #define GIF 2 14 | 15 | 16 | void CheckKCMS(void); 17 | -------------------------------------------------------------------------------- /src/list.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | typedef struct LISTSTRUCT *List; 16 | 17 | extern List ListCreate(); 18 | extern void ListDestroy(); 19 | extern int ListAddEntry(); 20 | extern int ListDeleteEntry(); 21 | extern int ListMakeEntryCurrent(); 22 | extern int ListCount(); 23 | 24 | extern char *ListHead(); 25 | extern char *ListTail(); 26 | extern char *ListCurrent(); 27 | extern char *ListNext(); 28 | extern char *ListPrev(); 29 | extern char *ListGetIndexedEntry(); 30 | -------------------------------------------------------------------------------- /src/listP.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1992, Board of Trustees of the University of Illinois. 3 | * 4 | * Permission is granted to copy and distribute source with out fee. 5 | * Commercialization of this product requires prior licensing 6 | * from the National Center for Supercomputing Applications of the 7 | * University of Illinois. Commercialization includes the integration of this 8 | * code in part or whole into a product for resale. Free distribution of 9 | * unmodified source and use of NCSA software is not considered 10 | * commercialization. 11 | * 12 | */ 13 | 14 | 15 | #ifndef ___HAS_LIST_STUFF_BEEN_INCLUDED_BEFORE___ 16 | #define ___HAS_LIST_STUFF_BEEN_INCLUDED_BEFORE___ 17 | 18 | #include 19 | #include "list.h" 20 | 21 | struct LISTINSTANCE { 22 | char *value; 23 | struct LISTINSTANCE *next; 24 | struct LISTINSTANCE *prev; 25 | }; 26 | 27 | struct LISTSTRUCT { 28 | struct LISTINSTANCE *head; 29 | struct LISTINSTANCE *tail; 30 | struct LISTINSTANCE *current; 31 | int listCount; 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/memStuffForPipSqueeks.h: -------------------------------------------------------------------------------- 1 | #ifndef MALLOC 2 | #define MALLOC(x) malloc(x) 3 | #define FREE(x) free(x) 4 | #define CALLOC(x) calloc(x) 5 | #define STRDUP(x) strdup(x) 6 | #endif 7 | -------------------------------------------------------------------------------- /src/pixmaps/lock_basic.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *lock_basic_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | ".######.............#...........", 13 | "..#....#........................", 14 | "..#....#........................", 15 | "..#....#..###..###.##...###.....", 16 | "..#####..#..#..#....#..#..#.....", 17 | "..#....#...##...#...#..#........", 18 | "..#....#.##.#....#..#..#........", 19 | "..#....#.#..#..#.#..#..#..#.....", 20 | ".######..#####.###..#...##......", 21 | "................................", 22 | "................................", 23 | "................................", 24 | "......................aaa.......", 25 | ".....................abbaa......", 26 | "...................abbaabbaa....", 27 | "...................aba..ababa...", 28 | "...................aba..ababa...", 29 | ".................aaaaaaaaaaaaa..", 30 | ".................abbbbbbbbbbaba.", 31 | ".................abbbbaabbbbaba.", 32 | ".................abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/lock_domain.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *lock_domain_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | ".###....................#.......", 13 | "..#.#...........................", 14 | "..#..#..........................", 15 | "..#..#..##.###.##..###.##.####..", 16 | "..#..#.#..#.#.#.#.#..#..#..#.#..", 17 | "..#..#.#..#.#.#.#...##..#..#.#..", 18 | "..#..#.#..#.#.#.#.##.#..#..#.#..", 19 | "..#.#..#..#.#.#.#.#..#..#..#.#..", 20 | ".###....##.##.#.#.########.#.##.", 21 | "................................", 22 | "................................", 23 | "................................", 24 | "......................aaa.......", 25 | ".....................abbaa......", 26 | "...................abbaabbaa....", 27 | "...................aba..ababa...", 28 | "...................aba..ababa...", 29 | ".................aaaaaaaaaaaaa..", 30 | ".................abbbbbbbbbbaba.", 31 | ".................abbbbaabbbbaba.", 32 | ".................abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/lock_kerberos4.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *lock_kerberos4_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | ".##.##......##..................", 13 | "..#.#........#..................", 14 | "..#.#........#..................", 15 | "..##...##.#.####..##.#.##.#..##.", 16 | "..##..#..#.#.#..##..#.#..#.##...", 17 | "..#.#.####.#.#..#####.#..#.#.#..", 18 | "..#.#.#....#.#..##....#..#.#..#.", 19 | "..#.#.#..#.#.#..##..#.#..#.##.#.", 20 | ".##.##.##..#.###..##.###..#..#..", 21 | "................................", 22 | "................................", 23 | "................................", 24 | "......................aaa.......", 25 | ".........#...........abbaa......", 26 | ".........#.........abbaabbaa....", 27 | ".......#.#.........aba..ababa...", 28 | ".......#.#.........aba..ababa...", 29 | "......#..#.......aaaaaaaaaaaaa..", 30 | "......#####......abbbbbbbbbbaba.", 31 | ".........#.......abbbbaabbbbaba.", 32 | ".........#.......abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/lock_kerberos5.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *lock_kerberos5_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | ".##.##......##..................", 13 | "..#.#........#..................", 14 | "..#.#........#..................", 15 | "..##...##.#.####..##.#.##.#..##.", 16 | "..##..#..#.#.#..##..#.#..#.##...", 17 | "..#.#.####.#.#..#####.#..#.#.#..", 18 | "..#.#.#....#.#..##....#..#.#..#.", 19 | "..#.#.#..#.#.#..##..#.#..#.##.#.", 20 | ".##.##.##..#.###..##.###..#..#..", 21 | "................................", 22 | "................................", 23 | "................................", 24 | "......................aaa.......", 25 | "........#####........abbaa......", 26 | ".......#...........abbaabbaa....", 27 | ".......###.........aba..ababa...", 28 | ".........##........aba..ababa...", 29 | "..........#......aaaaaaaaaaaaa..", 30 | "..........#......abbbbbbbbbbaba.", 31 | "......#...#......abbbbaabbbbaba.", 32 | ".......###.......abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/lock_login.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *lock_login_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | "..#.................#...........", 13 | "..#.............................", 14 | "..#.............................", 15 | "..#.......##...##..##.##.#......", 16 | "..#......#..#.#..#..#..##.#.....", 17 | "..#......#..#.#..#..#..#..#.....", 18 | "..#......#..#.#..#..#..#..#.....", 19 | "..#......#..#.#..#..#..#..#.....", 20 | "..#####...##...###..#.###.##....", 21 | ".................#..............", 22 | "...............##...............", 23 | "................................", 24 | "......................aaa.......", 25 | ".....................abbaa......", 26 | "...................abbaabbaa....", 27 | "...................aba..ababa...", 28 | "...................aba..ababa...", 29 | ".................aaaaaaaaaaaaa..", 30 | ".................abbbbbbbbbbaba.", 31 | ".................abbbbaabbbbaba.", 32 | ".................abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/lock_md5.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *lock_md5_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | "................................", 13 | "................................", 14 | "...##......##.######.....###....", 15 | "....##....##...#....#....#......", 16 | "....##....##...#.....#..#.......", 17 | "....#.#..#.#...#.....#..###.....", 18 | "....#.#..#.#...#.....#....##....", 19 | "....#..##..#...#.....#.....#....", 20 | "....#..##..#...#.....#.....#....", 21 | "....#..##..#...#....#......#....", 22 | "...###....###.######....###.....", 23 | "................................", 24 | "......................aaa.......", 25 | ".....................abbaa......", 26 | "...................abbaabbaa....", 27 | "...................aba..ababa...", 28 | "...................aba..ababa...", 29 | ".................aaaaaaaaaaaaa..", 30 | ".................abbbbbbbbbbaba.", 31 | ".................abbbbaabbbbaba.", 32 | ".................abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/not_secure.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * not_secure_xpm[] = { 3 | "32 30 5 1", 4 | " c None", 5 | ". c #000000000000", 6 | "X c #65955D755555", 7 | "o c #D75CC71BA699", 8 | "O c #DF7DCF3CAEBA", 9 | " ", 10 | " ", 11 | " .... ", 12 | " Xoo.... ", 13 | " Xo.ooo... ", 14 | " XO.....o.... ", 15 | " XoXXXoooooo... ", 16 | " XoOOoo..X.ooo... ", 17 | " Xo...........ooo. ", 18 | " XooOooooooOooooooX ", 19 | " Xo..........o..XoX ", 20 | " XOXOXOX..Xoo..oooXX ", 21 | " XooOOOOOOOooOOooooX ", 22 | " Xo......OO......Oo. ", 23 | " XoXO..X....XX.XXOOX ", 24 | " XOOOoooooOOOOOOoOOX ", 25 | " XoXXXoXX..Xo.....O. ", 26 | " XoXXXXXXoo...XO..OX ", 27 | " XoOooooooOooOOOOOO. ", 28 | " XooXXXXoXooXooOOOOX ", 29 | " XooXXXXXOoXXoooooO. ", 30 | " XooooooOOOOOoooooo. ", 31 | " Xo.........OO...OOX ", 32 | " XooOo..Ooo....OOOOX ", 33 | " XoOOOOOOooOoOOOOoO. ", 34 | " XOOOOOOOoooOOoOOooX ", 35 | " XXXXXXXXXXXXXXXXXXX ", 36 | " ", 37 | " ", 38 | " "}; 39 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon1[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 13 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #595155", 9 | "b c #717dcb", 10 | "c c #28208a", 11 | "d c #929ed3", 12 | "e c #301cb2", 13 | "f c #6d75a2", 14 | "g c #9e8661", 15 | "h c #242449", 16 | "i c #28246d", 17 | "j c #51518e", 18 | "k c #4951b2", 19 | /* pixels */ 20 | "................................", 21 | "................................", 22 | ".........................fhjd...", 23 | "........................ahiiid..", 24 | "........fjccjcjcjcjcjcjkihjfif..", 25 | "......fccciiihhhhihihihihhiiif..", 26 | ".....fcihfd.............jhhhhd..", 27 | "....dicj.................fhjd...", 28 | "....fcj.........................", 29 | "....ijd......dfjjkfd............", 30 | "....ic......#a##fcccj...........", 31 | "....ij.....#####jccccj..........", 32 | "....fjf...ai#g#fkcccccj.........", 33 | ".....ckd.dha#g#kkkkkjccd........", 34 | ".....difd#hcjj#jfb###faf........", 35 | ".......fchiiccceek#####i........", 36 | ".........hhiicceeef###ac........", 37 | ".........hhiiccceccjggjijf......", 38 | ".........fhiiccccccj#gcffcjd....", 39 | ".........dhhiicccccc##id.djj....", 40 | "..........ahiiiccccc#cj...fjf...", 41 | "...........ahiiciciijj.....cc...", 42 | "............ahhhiiihj......ij...", 43 | ".............dfhhhfd......dic...", 44 | "..........................ajf...", 45 | "....dahf.................jicd...", 46 | "...dhiiij.............dfhccf....", 47 | "...#iifihcicicicicjiijicjif.....", 48 | "...fhijiiciiijcijijijcijf.......", 49 | "...dhiihj.......................", 50 | "....dihf........................", 51 | "................................" 52 | }; 53 | 54 | 55 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.10.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon10[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #301cb2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ilmge..", 26 | "........................bllllg..", 27 | "........ggaff.gcmdmdmmmmlllili..", 28 | "......ilmicaacmmllllllllkklllie.", 29 | ".....idllcge.e.a.....a..mkklkge.", 30 | "....gllm.ee.............eikbge..", 31 | "....idm.........................", 32 | "....lmge.....aj#mbig............", 33 | "....ld......###hlddlm...........", 34 | "....lm.....###mmdddddm..........", 35 | "....ini...##jimhddddddm.........", 36 | ".....lmg.a###ihddddddddge.......", 37 | ".....gligj###nddhhdddddi........", 38 | "......eidbb#ihndhhhhdddd........", 39 | ".........bl#mmnmnimnhhdl........", 40 | ".........klmni#hncchhhdlmce.....", 41 | ".........iklmmnni##inhliiliae...", 42 | ".........gkklllnjjjjddlg.gdm....", 43 | "........eebklll##j##ddm...imi...", 44 | "...........mklllbdldlm....elde..", 45 | "............bkklllllm......lm...", 46 | ".............gikkkige.....gld...", 47 | ".............e.....e.....emmi...", 48 | "....gblie................mllg...", 49 | "...gklllm.............ailddi....", 50 | "..eiklmlllllllldlcc.feacidie....", 51 | "...illmlldddmdmlmmga..ggge......", 52 | "...gklllme.....e........e.......", 53 | "...egbkie.......................", 54 | "....e..........................." 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.11.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon11[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jmnh...", 27 | "........................bmmmmg..", 28 | "........a...gcdnmndndnnommncmj..", 29 | "......hcg..gjnmlmlmlmlmlmlmmmje.", 30 | ".....jojjggeaeeee.......bllllh..", 31 | "....gmmna....e.........e.jlnh...", 32 | "....jdne.....ee........eeeee..ee", 33 | "....mnh.eeeeaah#nbjgeea..e..e..e", 34 | "....md...e..###jndmmne...e.e.e..", 35 | "....mn...a.##k#jodmmmnee..e.e.e.", 36 | "....joj...##kkjjimdddmn.a..e..e.", 37 | ".....mjg.a#kk##oddddddmg...e.a..", 38 | ".....hdjhh####ooiiiddddj...e....", 39 | ".......jnm##n#jijoioiidm...e....", 40 | ".......eelbmdjojoocjoddd...e.ee.", 41 | ".......e.lmmdjj#oojhjodmnce.e...", 42 | "...eeee.ejmmmmnddjkkkndjjnnae.ee", 43 | "...e..a..hlmmmmmn#kkkbdg.hni..e.", 44 | "...ea.e...bmmmmmm#nnmmn...jnj...", 45 | ".........e.nlmmmmmmmmn...eedd...", 46 | ".........eeenllmmmmmn....e.mn...", 47 | ".........e.eehjllljheeeea.gnm...", 48 | "...eeeee..a.e......e..e...nmj...", 49 | "...ehnmje....e.....e.e...nmmg...", 50 | "...hmmmmna............aaocnj....", 51 | "...jmmjmmmdmdmdmnddcc.ffajc.....", 52 | "...jmmnmmmdmdnmnmnnncg..a.e.....", 53 | "...hlmmmne.......ae.ae..........", 54 | "....hnljeee.......e.............", 55 | ".....eeee.e.............eeeeeee." 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.12.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon12[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jmnh...", 27 | "........................blmmmg..", 28 | "........e.gjndnddndndnnomldcmj..", 29 | "......aff.cnmmlmlmlmlmlmllmmmje.", 30 | ".....ggghgg.e...........bllllh..", 31 | "....gnoc.................jlbg...", 32 | "....jdn.........................", 33 | "....mdg......hh##njh............", 34 | "....mn......###k#omdn...........", 35 | "....mn.....##kk#codddn..........", 36 | "....joj...##kkkkjnddddn.........", 37 | ".....mjg.abkkk##oidddddh........", 38 | ".....gdjhh#kk###ocoddddc........", 39 | "......ejdbb##ijcccoojjim........", 40 | ".........bmm#dicjcjocjdd........", 41 | ".........bmmddddnoijkknmnce.....", 42 | ".........jlmdmddddnkkk#jjnna....", 43 | ".........hlmmmddddn##nmg.gdn....", 44 | "..........nlmmmddddmmmn...joj...", 45 | "..........eblmmmddmmmn.....mde..", 46 | "............nllmmmmmn......mna..", 47 | ".............hjllljh......hdd...", 48 | "..........................ndje..", 49 | "....hnlj.................jjja...", 50 | "...hlmmmna............aa..gg....", 51 | "...jmmjmmmmmmdmmddddnjgff.a.....", 52 | "...jlmnmmmddmdmdndnmnocga.......", 53 | "...hlmmln........e.e............", 54 | "....hnlje.......................", 55 | "......e........................." 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.13.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon13[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jlng...", 27 | "........................blmmmh..", 28 | "........gjddnmndndndnnnnmlnjdj..", 29 | ".......agjdmlmlmlmlmlmmlllldlj..", 30 | "......ffjjg..........a..nllllge.", 31 | "....aaag.................jlbh...", 32 | "....hcc..................e......", 33 | "....doge.....hh###ch............", 34 | "....mn......#b#kk#ndn...........", 35 | "....dm.....##kkkk#oddn...eeeeee.", 36 | "....jnj...##kkkkkjjdddn..e....e.", 37 | ".....djg.ab#kkk#kjoodddh..ee.e.e", 38 | ".....hdjhhb#kk#occnooinj...e..e.", 39 | ".......jdb#nd#nioghjonjd.e..e..e", 40 | ".........bbmddoddocnoj#n..e.e.e.", 41 | ".........#bbddddddddnkkbnc.e.e.e", 42 | ".........hbmdddddddd#k#hjdjg.e..", 43 | ".........hblddddddddnmnh.gmo..e.", 44 | "..........#bmddddddddmn...jnj.e.", 45 | "...........#mlmmdddmmnea...md...", 46 | "............bmmmmdmmn......mne..", 47 | ".......eee...hjllljge.....gdd...", 48 | ".......ea..........e......jcg...", 49 | "....hblj.............eeeeg.aa...", 50 | "...glmmmn............eggh.f.....", 51 | "...jlmjdldmdmdmdmddndnncga......", 52 | "..ejlmnmldmdmdmnmndmmdmjg.......", 53 | "...hlmlln.......................", 54 | "....gblj........................", 55 | "................................" 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.14.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon14[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jmnh...", 27 | "........................blmmmg..", 28 | "........hndddnmndndndnnnmmmjmj..", 29 | "......ajimmlmlmlmlmlmlmlllmmmj..", 30 | ".....agcnjh.............nllmlh..", 31 | "....af.ha................jlbg...", 32 | "....afa..................e......", 33 | "....jga......hh###hh............", 34 | "....no......###kkk#on...........", 35 | "....mn.....##kkkkk#jdn..........", 36 | "....joj...###kkkkk#jimn.........", 37 | ".....mogegb#kkkkjj#jondh........", 38 | ".....hnjhhb##njkoicjnnoh........", 39 | "......ajibb##ddooiojjonn........", 40 | ".........b##nddiiiiddd##e.......", 41 | ".........bb#bddddddddnk#nce.....", 42 | ".........jbbbddddddddnbhjmjg....", 43 | ".........hbbbdddddddddmg.gmn....", 44 | ".........abmbbbdmdddmmn..ejnj...", 45 | "...........bbmmmmmddmn.....mi...", 46 | "............nblmmmmmn......nj...", 47 | ".............hjllljh......ahg...", 48 | "..........................a.....", 49 | "....hnlj.................h.f....", 50 | "...hlmdmna............hjncga....", 51 | "...jmmjlmmddmddmddmmndnijjg.....", 52 | "...jlmnmmmmlmmbmmbmbmmlnj.......", 53 | "...hmmmmn.....a.................", 54 | "....hnlje.......................", 55 | ".......e........................" 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.15.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon15[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jmnh...", 27 | "........................blmmmg..", 28 | "........jnddnmnmndndnnnnmlncmj..", 29 | "......jmdmmlmllmlmlmlllmllmmmje.", 30 | ".....jjmljh.............bllllh..", 31 | "....agon.................jlbg...", 32 | "....a.ge........................", 33 | ".....f.......hh###hae......a....", 34 | "....gg......#b#kkkk##...........", 35 | "....jj...ee#bkkkkkk#jn..eee.....", 36 | "...ejoj.ee#b#kkkkk##nnn..e.eeee.", 37 | "...eamjg.abnk#j##koojnng.e.e..e.", 38 | ".....gmjhj###k#iociij#nj..e.e..e", 39 | ".......jnbb###oiiiiidinn...e.e.e", 40 | "........ab###kndiiidddd#...e..e.", 41 | ".........bb###ddiiddddb#nc.e.e.e", 42 | "...eeeee.jbbb#ddiiddddmjjmjg.e..", 43 | "...e..a..hlbbbnbdddddmdg.gmn..e.", 44 | "...ea.....nlb#nnddmddmne.ejnj...", 45 | "...........bl#bmmmmdmn.....ocee.", 46 | "............nllmmmmmn......ca.e.", 47 | "........eea..gjllljh......a.....", 48 | "...eeeee.e...ee...........h.....", 49 | "...ehnlje................nog....", 50 | "...hlmmmna............hjmnjc....", 51 | "...jmdjmmmmmmmlmmmbmndninmce....", 52 | "...jlmnmlmmmmbmbmbmmmmlnj.......", 53 | "...hlmmln.......................", 54 | "....hnlj........................", 55 | "................................" 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.16.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon16[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jlng...", 27 | "........................blmmmh..", 28 | "........jnddnmnmndndndnnmlnjdj..", 29 | "......jmmdmmmmlmlmlmlmllmlmmmj..", 30 | ".....jdmljh.e...........bllllge.", 31 | "....andb.................jlnh...", 32 | "....ajj.........................", 33 | "....gaa......ah##khee...........", 34 | ".....f......#b#kkkkk#...........", 35 | "....a......#b#hkkkkk#j..........", 36 | "....gjga..#b##kkk#kjnjj.........", 37 | ".....mna.abbn#khnooninjg........", 38 | ".....gnnhjb#k#k#oiiiddjce.......", 39 | "......ajnb##kkkhoiiiddmd........", 40 | "........ab##k###iiiiddmd........", 41 | ".........bb#b###diidddmdnce.....", 42 | "........ajmbb###ondidddjjmjg....", 43 | ".........hlmbb##nbddddmg.gmja...", 44 | "..........blm###mddmdmn..eccg...", 45 | "...........nlmb#dddmdn.....g....", 46 | "..........a.bllmmmmmn.......f...", 47 | ".............gjllljh......ag.a..", 48 | "............a.e..........ejcg...", 49 | "....hbmj.................nmng...", 50 | "...gldmmn.............gjmmdj....", 51 | "...jlmjmmmmmmmmmmmbdndndnmc.....", 52 | "...jlmnmlmmmmnmnmnmnlmlnj.......", 53 | "...hlmmln.......................", 54 | "....gblj........................", 55 | "................................" 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.17.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon17[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jlng...", 27 | "........................blmmmh..", 28 | "........jnddnmnmndndndnnmlncmj..", 29 | "......jmmdmlmllmlmlmlmlllllmmj..", 30 | ".....jdmljg.............nllllge.", 31 | "....gmmn..e..............jlbh...", 32 | "....jnn..................e......", 33 | "....joce.....ah#kkhee...........", 34 | "...egg......####kkkkk........ee.", 35 | "...eaf.....#n##kkkkk#ha..eeee.e.", 36 | "....afa...nbn##kkhnn#njee.a..e.e", 37 | ".....jch.gl#####k#iiidnh....e..e", 38 | "....egdjc#b#kkkkhhiiiddj...e.e..", 39 | "...ee..jnm##kkkkkkiiiddd..e..e.e", 40 | "...e....alb#k##kkciiiddd..e.e.e.", 41 | "...eee...lbbnb#kknndiddmnc..e..e", 42 | "...e..ee.jlmmn####nndddjjmoa.e.e", 43 | "...e.e...glmmm#kk#ddddmg.gng.e.e", 44 | "...e.e.eeablmmm#knddddn...h...e.", 45 | "...e.e..e..nlmmdbdmdmn..........", 46 | "...e.e.e.e..blmmmmmmn......cg...", 47 | "...e.e..e.e..gjllljh......gnc...", 48 | "...e.e.e.e.e..e...........nmce..", 49 | "...ehnlj..e.e............nmma...", 50 | "...glmmmna.e.ee.......gjmmnj....", 51 | "...jlmjmmmmmmmmmmbmmndndndj.....", 52 | "...jlmnmldmdnmnmnmnmdllnj....ee.", 53 | "...hlmmln......e............ee..", 54 | "....gblje..................e.e.e", 55 | "..........................ee..e." 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.18.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon18[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ilmh...", 26 | "........................bklllg..", 27 | "........imddmlmlmlmdmdmmllmnli..", 28 | "......illdlklkklklklklklkkllli..", 29 | ".....idlkih.............mkkkkh..", 30 | "....gllm................eikmh...", 31 | "....imm.........................", 32 | "....ldh......ah##jhee...........", 33 | "....dm......ib###jjjj...........", 34 | "....ig.....mm##ijjjiji..eeeeeee.", 35 | "....gf....ml#mi##jjmdmm.e.....e.", 36 | ".....a.a.hlljjjjjjhmdddge.ee.e.e", 37 | ".....amnhilbjjjjjjj#dddi.e..e.e.", 38 | "...eee.idll#jjjjjjjmdddl..e..e.e", 39 | "...e.e...klb####jjjmmddd.e.e..e.", 40 | "...e.e...kkdbdd#jjjmmddlmce.e.e.", 41 | "...e.e...iklllddjjj#ddliilc.e.e.", 42 | "...e.e.e.hllllld#jjmddlg.ahf.e.e", 43 | "...e.e.e..bklllldmmldlm...g..e..", 44 | "...e.e..e..mkllllllllm.....cgee.", 45 | "...e.e.e.e..bkklllllm......li.e.", 46 | "...e.e..e....hikkkih......hmd...", 47 | "...e.e.e.e.e..............mli...", 48 | "...ehmli.e...............mlda...", 49 | "...hllllm.ee.e........hilldi....", 50 | "...illmllllllllllllmlmdmdmi.....", 51 | "...iklmllldldmlmlmmlllkmi.......", 52 | "...hllllm........e.......e......", 53 | "....hmkie................e.eeee.", 54 | "........................e.e..e.." 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.19.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon19[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ilmh...", 26 | "........................bllllg..", 27 | "........imddmlmlmdmdmdmnlldcli..", 28 | "......illdlklkklklklklkkkklllie.", 29 | ".....idlkih.............mkkkkh..", 30 | "....gllm.................ikmh...", 31 | "....imm.........................", 32 | "....llge.....ah#j#hee...........", 33 | "....lmeeeeeemm####jjj...........", 34 | "....lnea..ammm#mi#jj#i..eeeeeee.", 35 | "....hcg...mll#j#jj##idme.ea..ea.", 36 | "...eaafeehllm#jjjjjjjmdge...e...", 37 | ".....eaccillmjjjjjjj#ddi.e.e.e..", 38 | "....ea.imkllmjjjjjjj#ddd..e..e..", 39 | "...e.....klll#mmnjjj#mmde...e.e.", 40 | "...ee....klllddddmjjjmdlmc.e.e.e", 41 | "...ea....iklldddddjj#dliii....e.", 42 | ".........hkbllddldmjmdlg.ea..e.e", 43 | "..........mbblldldlmldm..egcge..", 44 | "...........#lllllllllm..eeemmeea", 45 | "..........eemkklllllm...ea.lmea.", 46 | "...eeeeeeea..hikkkih...e..glme..", 47 | "...ea..ea..............e.emli.e.", 48 | "....gbli..............ee.mldg...", 49 | "...hklllm............egillmi....", 50 | "...illilllllllllllbdmdmdmdi.....", 51 | "...illmllldlmlmlmlmllklmi.......", 52 | "...hklllm....................ee.", 53 | "....hmkie.................eeea..", 54 | ".............eee.........eea...." 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.2.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon2[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 13 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #595155", 9 | "b c #717dcb", 10 | "c c #28208a", 11 | "d c #929ed3", 12 | "e c #301cb2", 13 | "f c #6d75a2", 14 | "g c #9e8661", 15 | "h c #242449", 16 | "i c #28246d", 17 | "j c #51518e", 18 | "k c #4951b2", 19 | /* pixels */ 20 | "................................", 21 | "................................", 22 | ".........................fijd...", 23 | "........................aiiiid..", 24 | "........fjccjijcjcjcjjjkjhcfif..", 25 | "......ficiiiiihihhihihhiihiiif..", 26 | ".....fcihfd.............ahhihd..", 27 | "....diij.................fhad...", 28 | "....fcj.........................", 29 | "....ijd......dg##jfd............", 30 | "....ic......#####jccj...........", 31 | "....ij.....a#####fcccj..........", 32 | "....fkf...acigggfjkeccj.........", 33 | ".....ijd.dhicjf#ffjk#fjd........", 34 | ".....djfffhicciceekk##af........", 35 | ".......fjhiiicceeeee###a........", 36 | ".........hhicccceeecj##i........", 37 | ".........hhiiccccecccagijb......", 38 | ".........fhiiccccccccj#ffjjd....", 39 | ".........dhhiccccccccajd.dij....", 40 | "..........ahhccccccccjj...fjf...", 41 | "...........ahhiiicciij.....ic...", 42 | "............jhhhiiiij......ik...", 43 | ".............dfhhhfd......dic...", 44 | "..........................acf...", 45 | "....faif.................jijd...", 46 | "...dhiiij.............dfiicf....", 47 | "...fiifijjiiiiiiiiiijiijcif.....", 48 | "...fiikhjkiicicjijjicccjf.......", 49 | "...dhiiii.......................", 50 | "....dahf........................", 51 | "................................" 52 | }; 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.20.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon20[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jmnh...", 27 | "........................bmmmmg..", 28 | "........jnddnmnmndndndnnmmnjmj..", 29 | "......jdddmmmmlmlmlmlmlmllmmmj..", 30 | ".....jdmljh.ee..........nllmlh..", 31 | "....gmmne...............ejlbg...", 32 | "....jdn.........................", 33 | "....mnh......gh#k#hae...........", 34 | "....md......nnn####kk...........", 35 | "....mn.....ndmn#j##k#ha.........", 36 | "....joce..nmdd#kkkkkk#ne........", 37 | ".....jg..hmmdd#kkkkkkknga.......", 38 | ".....g.egjlddd#kkkk#k#dje.......", 39 | ".......gjlmmmdn#hojkkknd........", 40 | ".........lmmmdddiii#k#nb........", 41 | ".........lmmddddiddnkkbdja......", 42 | "...eeee..jlbnmdddddn#kdjga..eee.", 43 | "...ea....hlbbbmdddddndmg.ajj.a..", 44 | "......ee..nlbbdmddddmmn...cnce..", 45 | ".....e..e..#bbmmmddmmn....enna..", 46 | "....e.e.e...nblmlmmmb......mn...", 47 | "...ee..e.e...hjlmljh......hdna..", 48 | "...e.e..e.e...e...........nmj...", 49 | "...ehnmje.ee.............nmdg...", 50 | "...hmmmmna............hjmdnj....", 51 | "...jmmjmdmmmmmmmmmbdndndnmj.....", 52 | "...jmmnmmmdmmnmnnmnmmmlnj.......", 53 | "...hlmmmn......e................", 54 | "....hnlje.......................", 55 | "................................" 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.21.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon21[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #cfe3fb", 13 | "f c #929ed3", 14 | "g c #9696a2", 15 | "h c #301cb2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ilmg...", 26 | "........................bllllf..", 27 | "........imddmlmlmdmdmmmmlkmnli..", 28 | "......ildllklklklklklkklklllli..", 29 | ".....ildkig.............mkkkkg..", 30 | "....fdlb................aikbf...", 31 | "....idm.........................", 32 | "....lmfa.....fgm#jga............", 33 | "....ll......mddi#mm#j...........", 34 | "....dm.....#dddm#jjjjga.........", 35 | "....imi...#mddddjjjjjj#.........", 36 | ".....di.aglldddmjjjj#j#f........", 37 | ".....fc..illdddhgjjm#j#i........", 38 | "........fmllddddhnhdmj#b........", 39 | ".........kldddddhhhddj#b........", 40 | ".........klbmmddddddd##mf.......", 41 | ".........ikbbb#mdddddmbiaafa....", 42 | ".........gkbbbblddddddlf.adm....", 43 | "..........bbbbbmdddddlm...imi...", 44 | "...........lkbblddddlm.....md...", 45 | "............bkbbllllm......ld...", 46 | ".............giklkig......gld...", 47 | "..........................mli...", 48 | "....gmli.................mllf...", 49 | "...gklllm.............gilldi....", 50 | "...illmllllklllllllblmdmlmi.....", 51 | "...ikdmlllldllmlmlmllllmia......", 52 | "...gkdllm.......................", 53 | "....gmkia.......................", 54 | "................................" 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.22.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon22[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 17 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #9696a2", 16 | "i c #301cb2", 17 | "j c #6d75a2", 18 | "k c #9e8661", 19 | "l c #242449", 20 | "m c #28246d", 21 | "n c #51518e", 22 | "o c #4951b2", 23 | /* pixels */ 24 | "................................", 25 | "................................", 26 | ".........................jmnh...", 27 | "........................bmmmmg..", 28 | "........jndddnmndndndnnnmmmcmj..", 29 | "......jdddmmlmmlmlmlmlmllmmmmje.", 30 | ".....jdmljh..e..........nllmlh..", 31 | "....gdmne...............ejlbg...", 32 | "....jdne.................e......", 33 | "....mnh......ajnn#hae...........", 34 | "....md......#nddnn##k...........", 35 | "....mn.....#nmddd##kkhe.........", 36 | "....joj...#nddddi#kkkkhea.......", 37 | ".....mng.abmmddddokk###h....eee.", 38 | ".....gncehbmmdddiiondn#h...eea..", 39 | "......ea.nmdmdddiiiddd##...e....", 40 | "......ee.lmdnnodiiddddb#...ee...", 41 | ".....ea..lmbbn###nddddnjfg..e.e.", 42 | ".........jlmbbb##ddddddjajog....", 43 | ".........hlmbb###dddddmh.hnoa...", 44 | "....eeee..nlbb##nddddmn...jnj...", 45 | "...ee.a....bmmb#mmmmmn...a.md...", 46 | "...e.e.....amll#mmmmn......moee.", 47 | "...e.e..ee...gjlmljh......gmd...", 48 | "...e.e.e.e...e.e..........nmj...", 49 | "...ehnmje.e..............nmdh...", 50 | "...hmmmmna............hjmmdj....", 51 | "...jmmnmmmmmmmmmmmmmndndnmj.....", 52 | "...jmmnmmmdmdmmnmmnmmmmnj.......", 53 | "...hlmmmn.......................", 54 | "....hnlje........ee.............", 55 | "................................" 56 | }; 57 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.23.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon23[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 15 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #929ed3", 13 | "f c #9696a2", 14 | "g c #301cb2", 15 | "h c #6d75a2", 16 | "i c #9e8661", 17 | "j c #242449", 18 | "k c #28246d", 19 | "l c #51518e", 20 | "m c #4951b2", 21 | /* pixels */ 22 | "................................", 23 | "................................", 24 | ".........................hklf...", 25 | "........................bkkkke..", 26 | "........hldddlkldldldlllkjlmkh..", 27 | "......hkkdkkjjkjkjkjkjjkjjkkkh..", 28 | ".....hdkjhf.............ljjjjf..", 29 | "....ekkl.................hjlf...", 30 | "....hdl.........................", 31 | "....klf......afddlfa............", 32 | "....kd......#ldddk##i...........", 33 | "....kl.....#blddgdl#ii..........", 34 | "....hmh...#blddddddiiif.........", 35 | ".....kma.fbbddddddddhlba........", 36 | ".....ellafblkddggggdddkf........", 37 | ".....a.cehbdddmdmggdddd#........", 38 | ".........jkllb##hhhdddd#........", 39 | ".........jkkkbb##ilddddhefa.....", 40 | ".........hjklbbb###ddddhflle....", 41 | ".........fjkklb#i#ldddke.edm....", 42 | "..........bjkkk###lkdkl...hlh...", 43 | "...........ljkkk#lkkkl.....kd...", 44 | "...........abjkkblkkl......kl...", 45 | ".............fhjjjhf......fdd...", 46 | "..........................ldh...", 47 | "....fbkh.................lkke...", 48 | "...fkkkkl.............fhkddh....", 49 | "...hkkhkkkkjkkkkkkkkldldlkh.....", 50 | "...hjklkkkkdkkklklklkkklh.......", 51 | "...fkkkkl......a................", 52 | "....fljha.......................", 53 | "................................" 54 | }; 55 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.24.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon24[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 14 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #595155", 9 | "b c #717dcb", 10 | "c c #28208a", 11 | "d c #929ed3", 12 | "e c #9696a2", 13 | "f c #301cb2", 14 | "g c #6d75a2", 15 | "h c #9e8661", 16 | "i c #242449", 17 | "j c #28246d", 18 | "k c #51518e", 19 | "l c #4951b2", 20 | /* pixels */ 21 | "................................", 22 | "................................", 23 | ".........................gjke...", 24 | "........................ajjjjd..", 25 | "........gkccckjkckckckkljijbjg..", 26 | "......gjjcjjjijijijijjjiijjjjg..", 27 | ".....gcjige.............aiijie..", 28 | "....djjk.................giad...", 29 | "....gck.........................", 30 | "....jke......eeccced............", 31 | "....jc......g#kcccj#h...........", 32 | "....jk.....#a#lccccc#e..........", 33 | "....glg...#a#kjccccck#h.........", 34 | ".....jld.d###cccccccckj.........", 35 | ".....ekgega#llcclffccccg........", 36 | ".......ggkaaklkkeebkcccj........", 37 | ".........iickck##h##kcck........", 38 | ".........iijcck#####kccjge......", 39 | ".........gijjcc##hh#cccgeckd....", 40 | ".........eiijjjckhhkjcjd.dkl....", 41 | "..........kijjjcj#hkjjk...gkg...", 42 | "...........aiijjjagcjk.....jc...", 43 | "............kiijjiajk......jl...", 44 | ".............egiiige......ecj...", 45 | "..........................kjg...", 46 | "....eajg.................kjcd...", 47 | "...ejjjjk.............egjccg....", 48 | "...gjjgjjjjjjjjjjjjjlckckjg.....", 49 | "...gjjkjjjjjjcjjkjkjjjikg.......", 50 | "...eijjjk.......................", 51 | "....ekig........................", 52 | "................................" 53 | }; 54 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.25.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon25[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 14 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #595155", 9 | "b c #717dcb", 10 | "c c #28208a", 11 | "d c #929ed3", 12 | "e c #9696a2", 13 | "f c #301cb2", 14 | "g c #6d75a2", 15 | "h c #9e8661", 16 | "i c #242449", 17 | "j c #28246d", 18 | "k c #51518e", 19 | "l c #4951b2", 20 | /* pixels */ 21 | "................................", 22 | "................................", 23 | ".........................gjke...", 24 | "........................ajjjjd..", 25 | "........gkcckjkckckckckkjjjbjg..", 26 | "......gjjcjijijiijijijijiijjjg..", 27 | ".....gcjige.............kiijie..", 28 | "....djjk.................giad...", 29 | "....gck.........................", 30 | "....jke......decccgd............", 31 | "....jc......#g#klccc#...........", 32 | "....jk.....#a##ccccccg..........", 33 | "....glg...ga##kccccccjh.........", 34 | ".....jld.ea##gglfccccccd........", 35 | ".....dkkegi##klflgeklccg........", 36 | ".......glijckjkl#h####cj........", 37 | ".........iijcccfg#####cj........", 38 | ".........ijjjccfk####kjjgb......", 39 | ".........gijjcccck#hhkcggjkd....", 40 | ".........eijjcccccah#cje.dkl....", 41 | "..........aijjjccck#kjk...gkg...", 42 | "...........kijjjjjj#ck.....jc...", 43 | "............aijjjjjjk......jl...", 44 | ".............egiiige......ecj...", 45 | "..........................kcg...", 46 | "....ekig.................kjcd...", 47 | "...eicjjk.............egcjcg....", 48 | "...gjjgjjijjjjijjjjkclcljjg.....", 49 | "...gjjkcjcjjjkjkjkjkjiikg.......", 50 | "...eijjik.......................", 51 | "....ekig........................", 52 | "................................" 53 | }; 54 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.3.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon3[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 15 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #cfe3fb", 13 | "f c #929ed3", 14 | "g c #301cb2", 15 | "h c #6d75a2", 16 | "i c #9e8661", 17 | "j c #242449", 18 | "k c #28246d", 19 | "l c #51518e", 20 | "m c #4951b2", 21 | /* pixels */ 22 | "................................", 23 | "................................", 24 | ".........................hklf...", 25 | "........................lkkkkf..", 26 | "........hlddlkldldldllcahklhkh..", 27 | "......hkkdkjkjkjjkjkjklfljkkkh..", 28 | ".....hdkkhf...........a.hjjkjf..", 29 | "....fkkl.................hjbfa..", 30 | "....hdl...................a.....", 31 | "....klfa.....ai###hf............", 32 | "....kd......#b####lkl...........", 33 | "....kla....#kl#ii#hmdl..........", 34 | "....hlh...bkkdlhi#llgll.........", 35 | ".....dma.fjkkdddgmlmlbba........", 36 | ".....fllf#jkkddggggggbbh........", 37 | ".....a.hljkkkdddggggglb#........", 38 | ".......aajjkkdddggggddl#........", 39 | ".........jjkkdddggggddbblh......", 40 | ".........hjkkddddggdddkfhlla....", 41 | ".........fjjkkddddggdd#f.fkla...", 42 | "..........bjjkdddddddk#...hlh...", 43 | ".........a.ljjjkkkkdkl.....kd...", 44 | "...........abjjjjkkjl......kl...", 45 | ".............fhjjjhfa.....fkd...", 46 | "..........................blh...", 47 | "....fbkh.................lkkf...", 48 | "...fjkkkl.............fhkkdh....", 49 | "...#kkmkhfhkkkkkklkklkldlkc.....", 50 | "...hkklklfhdlkdlkklkdkdlh.......", 51 | "...fjkkkha..a...................", 52 | "....fbjha.......................", 53 | "....a.a........................." 54 | }; 55 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.4.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon4[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #301cb2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ilmge..", 26 | "........................mllllg..", 27 | "........imddmlmdmdmmcg.fiklcli..", 28 | "......ildllklkklklkllcc.mklllie.", 29 | ".....idllig........a..eeiklkkge.", 30 | "....gllm.................ikbge..", 31 | "....imma.................e......", 32 | "....ldg......aj###iae...........", 33 | "....lma.....#mm##j#bm...........", 34 | "....lna....#lddmjjjnmm..........", 35 | "....ini...bllddddnm#mn#.........", 36 | "...eelnaegkllddddhhhhdmae.......", 37 | "...e.gliiikdddddhhhhhdbie.......", 38 | "...ee.eimkklddddhhhhhdd#e.......", 39 | "...e....akllldddhhhhddd#........", 40 | "...ee....kkllddddhdhdddbmce.....", 41 | "...e.e...ikllddddddddddiiliae...", 42 | "...e.e.e.gklllddddddddleegln....", 43 | "...e.e.ee.bllllldddddl#..eimi...", 44 | "...e.e..e..blllllllllm.....lde..", 45 | "...e.e.e.e.amkkllllkm......lm...", 46 | "...e.e..e....gikkkige.....gld...", 47 | "...e.e.e.e.e.e.....e......mlce..", 48 | "...eglli.e.eea...........mlmge..", 49 | "...gklllne............gildli....", 50 | "...illili..cmdlldlmlmdmdmdie....", 51 | "..eiklmln..cnmlmlmlmldlmi.......", 52 | "...gklllme.e....e...............", 53 | "...egbkie.......................", 54 | "....e..........................." 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.5.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon5[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 15 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #cfe3fb", 13 | "f c #929ed3", 14 | "g c #301cb2", 15 | "h c #6d75a2", 16 | "i c #9e8661", 17 | "j c #242449", 18 | "k c #28246d", 19 | "l c #51518e", 20 | "m c #4951b2", 21 | /* pixels */ 22 | "................................", 23 | "................................", 24 | ".........................hklf...", 25 | "........................ljkkkf..", 26 | "........hlddlklkldhc.eealkkckh..", 27 | "......hkkdkkjkjjkjkcfafckjkkkh..", 28 | ".....hdkkhf.............ljjkjf..", 29 | "....fkkl.................hjbfa..", 30 | "....hdl.........................", 31 | "....klf......ai###ha............", 32 | "....kd......#llk#ii#i...........", 33 | "....kl.....blkdddll#lh..........", 34 | "....hmh...lkkkddddddld#.........", 35 | ".....kma.hjkkdddddddddda........", 36 | ".....fllf#jkddddgggddddh........", 37 | ".....a.hdjjkddddgggddddb........", 38 | ".........jjkkdddgggddddl........", 39 | ".........jjkkkddddgddddklc......", 40 | ".........hjkkkddddgddddhhkha....", 41 | ".........fjkddddddddddka.fkl....", 42 | "..........bkkddkkdkdkd#...hlh...", 43 | ".........a.ljkkkkkkkkl.....kd...", 44 | "...........abjkkkkkkl......kl...", 45 | ".............fhjjjhfa.....fkd...", 46 | "..........................llh...", 47 | "....fbjh.................ljkf...", 48 | "...fjkkkl.............fhkkdh....", 49 | "...#kkhklc...cmlkklklkdldlh.....", 50 | "...hkklklc.eahlklklkdkdlh.......", 51 | "...fjkkkl.......................", 52 | "....fbjh........................", 53 | "....a..........................." 54 | }; 55 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.6.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon6[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #301cb2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ikmg...", 26 | "........................bklllge.", 27 | "........imddmlmdicaffacmlkmili..", 28 | "......ildllklkkllicggcidkkklli..", 29 | ".....idlkig.........e...mkkkkge.", 30 | "....gllm................eikmgeee", 31 | "....idmeeeeeeeeeeeeeeeeeeeeeeeee", 32 | "....lmga.....gi###gaee...e.eee.e", 33 | "....lde.....immddm###....e.e.e..", 34 | "....lmee...mllddddldmi...a.e..a.", 35 | "....ini...mllddddddddln....a....", 36 | ".....lna.gkllddddddddddg........", 37 | ".....gmmgilllddddhhddddi........", 38 | ".....eaidkllddddhhhddddd........", 39 | ".......eekllddddhhhddddd........", 40 | ".........klldddddddhdddlmce.....", 41 | ".........ikldddddddddddiimma....", 42 | ".........gklddddddddddlgegdm....", 43 | "........eebblddddlllllmea.imi...", 44 | "...........#bblddllllme....md...", 45 | "..........a.#bblllllme.eeeelde..", 46 | ".............gikkkigee....gld...", 47 | "...................ee.ee.emli...", 48 | "....ibki............e..e.mlmgeee", 49 | "...gklllmea.........eegilldia..e", 50 | "...iklilllig.facmllmdmdmddie....", 51 | "..eiklmllmig..gcmmlmldlmi.e.....", 52 | "...gkklkmae.....a..ee...........", 53 | "...egmkiee.ee......e.e..........", 54 | "...eeeeeee..e..................." 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.7.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon7[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #301cb2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ikmg...", 26 | "........................bklllge.", 27 | "........imddmlica.f.gimnllmili..", 28 | "......ildllllllicgaiimdlkkklli..", 29 | ".....idlligee.e.e..e....bkllkge.", 30 | "....gllm.e...............ikbge..", 31 | "....idm.........................", 32 | "....lmge.....gjmbmgae...........", 33 | "....ld......#mmddllb#...........", 34 | "....lm...ee#mllddddddia..eeeeee.", 35 | "....ini.ee#lldddddddddm..e.a.e..", 36 | ".....lig.gbllldddddddddge.e..e..", 37 | ".....glig#mlldddhhhddddi.e..e.ee", 38 | ".......idblldddhhhhhdddd..e..e..", 39 | ".........lllddddhhhddhdd..e.e.e.", 40 | ".........kllddhddhhdddddmc.e..e.", 41 | ".........illlmddhddddddiilige.e.", 42 | "........egklbmdddhddlllgegmna.e.", 43 | "........eeblb#mmdddlllm...mmi...", 44 | "...........mb##bddmllm....emd...", 45 | "...........ebkbbllllm......lde..", 46 | ".............gikkkige.....glde..", 47 | ".............e.a.........emli...", 48 | "....gbli..........eeeeeeemlmg...", 49 | "...gklllm.........e.a.gilldi....", 50 | "..eiklillldmca.eacilmdmdmlie....", 51 | "...illmlkddmcae.gcmlddlmi.......", 52 | "...gklllm..........e.e..........", 53 | "..eegbkie.......................", 54 | "....e..e........................" 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.8.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon8[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 16 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #b6c3d3", 13 | "f c #cfe3fb", 14 | "g c #929ed3", 15 | "h c #301cb2", 16 | "i c #6d75a2", 17 | "j c #9e8661", 18 | "k c #242449", 19 | "l c #28246d", 20 | "m c #51518e", 21 | "n c #4951b2", 22 | /* pixels */ 23 | "................................", 24 | "................................", 25 | ".........................ikmg...", 26 | "........................bklllge.", 27 | "........imddicaff.gimdmmlkdili..", 28 | "......ildlllmmcgaccdllllkkkllie.", 29 | ".....idlkig.e....e......mkkkkge.", 30 | "....gllm................eikbgeee", 31 | "....idmee.................e.eee.", 32 | "....lmce.....ajibmige.....eea..e", 33 | "....lde.....##dddddlneeeea......", 34 | "....lm.....#iddddddddm..e.......", 35 | "....ini...##mlddddddddm.........", 36 | ".....lmg.gbmldddhhdddddgee.eeee.", 37 | ".....gdig##mdddhhhhdhddi..e.....", 38 | "......eidbbdlhlhhhhdlddd.e.e.ee.", 39 | "........e#lllddhhhhhdddd.e..e..e", 40 | ".........lldddhhhhhhlhldmc.e.e.e", 41 | ".........ilbd##ddhhhdlliilig.e..", 42 | "........egkbhmimnhhddllg.glm..e.", 43 | "...eeee..ebkl#jj#mdddlm...imi.e.", 44 | "...ea......mk##j#lddlmeee..ld...", 45 | "......ee....bkklllllme..e..lma..", 46 | ".....e.e.eee.gikkkigeee...gld...", 47 | "....e.e.e...eeee...eee.e..mli...", 48 | "...egbki.e.e.e.e....e..e.mlmgeee", 49 | "...gklllma.e..a.....eegilldiee..", 50 | "...iklillldldmce..gcmdmdmli.e.a.", 51 | "..eiklmlkdlddmca..ginddmi...e...", 52 | "...gkklkme..e..........e........", 53 | "...egbkiee......................", 54 | "...ea.ee.e..................eee." 55 | }; 56 | -------------------------------------------------------------------------------- /src/pixmaps/s_icon.9.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *s_icon9[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 32 15 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #797169", 8 | "a c #a2b2d7", 9 | "b c #595155", 10 | "c c #717dcb", 11 | "d c #28208a", 12 | "e c #cfe3fb", 13 | "f c #929ed3", 14 | "g c #301cb2", 15 | "h c #6d75a2", 16 | "i c #9e8661", 17 | "j c #242449", 18 | "k c #28246d", 19 | "l c #51518e", 20 | "m c #4951b2", 21 | /* pixels */ 22 | "................................", 23 | "................................", 24 | ".........................hjlf...", 25 | "........................bjkkkf..", 26 | "........hlmcaee.fhmdlllmkjlhkh..", 27 | "......hkddlhhfachdkkkkkkjjjkkh..", 28 | ".....hdkjhfa............bjjjjf..", 29 | "....fdkl...............a.hjlfa..", 30 | "....hdl.........................", 31 | "....klf......ailblhf............", 32 | "....kd......##mddkkkl...........", 33 | "....kl.....##lkddddddl..........", 34 | "....hmh...###lddddddddl.........", 35 | ".....khf.fb#hddddddddddf........", 36 | ".....fkhhf##mddddggddddh........", 37 | ".......hlbblkddggggddddd........", 38 | ".........jbklddgggggdddd........", 39 | ".........jblllllhggggddklc......", 40 | ".........hjbblghhmggddkhhkha....", 41 | ".........fjkld##i#lgddkf.fkl....", 42 | "..........bjjd#iii#ddkl...hlh...", 43 | "..........aljkb#lblkkl.....kd...", 44 | "............bjjjkkkkla.....jl...", 45 | "............afhjjjhf......fkd...", 46 | "..........................ldh...", 47 | "....fbjh.................lklf...", 48 | "...fjjkkl.............fhkkdh....", 49 | "...#jdhkjdkdkdkhcae.ahhdlkh.....", 50 | "...hjklkjkkkkldhca..fhmlh.......", 51 | "...fjjkjla......................", 52 | "....fbjh........................", 53 | ".....a.........................." 54 | }; 55 | -------------------------------------------------------------------------------- /src/pixmaps/tearh.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tearh_xpm[] = { 3 | "24 5 2 1", 4 | " c None", 5 | "- c #000000000000", 6 | " ", 7 | " ", 8 | " -- -- -- -- -- -- ", 9 | " ", 10 | " "}; 11 | 12 | -------------------------------------------------------------------------------- /src/pixmaps/tearv.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tearv_xpm[] = { 3 | "5 24 2 1", 4 | " c None", 5 | "o c #000000000000", 6 | " ", 7 | " ", 8 | " ", 9 | " o ", 10 | " o ", 11 | " o ", 12 | " ", 13 | " ", 14 | " o ", 15 | " o ", 16 | " o ", 17 | " ", 18 | " ", 19 | " o ", 20 | " o ", 21 | " o ", 22 | " ", 23 | " ", 24 | " o ", 25 | " o ", 26 | " o ", 27 | " ", 28 | " ", 29 | " "}; 30 | 31 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_back_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_back_1_xpm[] = { 3 | "24 24 6 1", 4 | " c None", 5 | ". c #2A2A21218B8B", 6 | "X c #000000000000", 7 | "o c #404040404040", 8 | "O c #7F7F7F7F7F7F", 9 | "+ c #C0C0C0C0C0C0", 10 | " ", 11 | " ", 12 | " XXX ", 13 | " XXooX ", 14 | " XXoooXX ", 15 | " XXoooOoX ", 16 | " XXoooOOOoX ", 17 | " XXoooOOOOoXX ", 18 | " XXoooOOOO+OoX ", 19 | " XXoooOOOO++OOoX ", 20 | " XXoooOOOO++++OOoX ", 21 | " XoooOOOO++++++OOoX ", 22 | " XoooOOOO++++++OOoX ", 23 | " XXoooOOOO++++OOoX ", 24 | " XXoooOOOO++OOoX ", 25 | " XXoooOOOO+OoX ", 26 | " XXoooOOOOoXX ", 27 | " XXoooOOOoX ", 28 | " XXoooOoX ", 29 | " XXoooXX ", 30 | " XXooX ", 31 | " XXX ", 32 | " ", 33 | " "}; 34 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_clone_window_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_clone_window_1_xpm[] = { 3 | "24 24 4 1", 4 | " c None", 5 | ". c #808080808080", 6 | "X c #000000000000", 7 | "o c #51515151FBFB", 8 | " ............... ", 9 | " .XXXXXXXXXXXXX. ", 10 | " .XoooooXoooooX. ", 11 | " .XoooooXoooooX. ", 12 | " .XoooooXoooooX. ", 13 | " .Xooo............... ", 14 | " .Xooo.XXXXXXXXXXXXX. ", 15 | " .Xooo.XoooooXoooooX. ", 16 | " .Xooo.XoooooXoooooX. ", 17 | " .XXXX.XoooooXoooooX. ", 18 | " .Xooo.XoooooXoooooX. ", 19 | " .Xooo.XoooooXoooooX. ", 20 | " .Xooo.XoooooXoooooX. ", 21 | " .Xooo.XoooooXoooooX. ", 22 | " .Xooo.XXXXXXXXXXXXX. ", 23 | " .Xooo.XoooooXoooooX. ", 24 | " .Xooo.XoooooXoooooX. ", 25 | " .XXXX.XoooooXoooooX. ", 26 | " XXXXX.XoooooXoooooX. ", 27 | " .XoooooXoooooX. ", 28 | " .XoooooXoooooX. ", 29 | " .XoooooXoooooX. ", 30 | " .XXXXXXXXXXXXX. ", 31 | " XXXXXXXXXXXXXXX "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_close_window_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_close_window_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | ". c #FAFA13134040", 6 | "X c #808080808080", 7 | "o c #000000000000", 8 | "O c #51515151FBFB", 9 | " ", 10 | " ", 11 | " ..XXXXXXXXXXXXXXX ", 12 | " ...oooooooooooooX.. ", 13 | " ...OOOOOoOOOOOo... ", 14 | " ...OOOOoOOOOO... ", 15 | " X...OOOoOOOO... ", 16 | " Xo...OOoOOO...X ", 17 | " XoO...OoOO...oX ", 18 | " XoOO...oO...OoX ", 19 | " XoOOO......OOoX ", 20 | " Xooooo....ooooX ", 21 | " XoOOOO....OOOoX ", 22 | " XoOOO......OOoX ", 23 | " XoOO...oO...OoX ", 24 | " XoO...OoOO...oX ", 25 | " Xo...OOoOOO...X ", 26 | " X...OOOoOOOO... ", 27 | " ...OOOOoOOOOO... ", 28 | " ...oooooooooooo... ", 29 | " ...oooooooooooooo... ", 30 | " .. .. ", 31 | " ", 32 | " "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_followup_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_followup_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | ". c #000000000000", 6 | "o c #808080808080", 7 | "X c #FFFFFFFFFFFF", 8 | "O c #404040404040", 9 | " ", 10 | " ................. ", 11 | " .XXXXXXXXXXXXXXX. ", 12 | " .XoooooooooooooX. ", 13 | " .XXXXXXXXXXXXXXX. ", 14 | " .XoooooooooooooX. ", 15 | " .XXXXXXXXXXXXXXX. ", 16 | " .XoooooooooooooX. ", 17 | " .XXXXXXXXXXXXXXX. ", 18 | " .XooooooooooXXXX. ", 19 | " .XXXXXXXXXXXXXXX. XX ", 20 | " .OOOOOOOOOOOOOOO... ", 21 | " .XXXXXXXXXXXXXXX.. ", 22 | " .XXXXXXXXXXXXXX... ", 23 | " .XXXXXXXXXXXXX... ", 24 | " .Xooooooooooo.... ", 25 | " .XXXXXXXXXXX..XX. ", 26 | " .Xooooooooo..XXX. ", 27 | " .XXXXXXXXX..XXXX. ", 28 | " .Xoooooooo XXXXX. ", 29 | " .XXXXXXXXXXXXXXX. ", 30 | " .XXXXXXXXXXXXXXX. ", 31 | " ................. ", 32 | " "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_forw_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_forw_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | ". c #000000000000", 6 | "X c #404040404040", 7 | "o c #7F7F7F7F7F7F", 8 | "O c #C0C0C0C0C0C0", 9 | " ", 10 | " ", 11 | " ... ", 12 | " .XX.. ", 13 | " ..XXX.. ", 14 | " .XoXXX.. ", 15 | " .XoooXXX.. ", 16 | " ..XooooXXX.. ", 17 | " .XoOooooXXX.. ", 18 | " .XooOOooooXXX.. ", 19 | " .XooOOOOooooXXX.. ", 20 | " .XooOOOOOOooooXXX. ", 21 | " .XooOOOOOOooooXXX. ", 22 | " .XooOOOOooooXXX.. ", 23 | " .XooOOooooXXX.. ", 24 | " .XoOooooXXX.. ", 25 | " ..XooooXXX.. ", 26 | " .XoooXXX.. ", 27 | " .XoXXX.. ", 28 | " ..XXX.. ", 29 | " .XX.. ", 30 | " ... ", 31 | " ", 32 | " "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_ftp_mkdir_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_ftp_mkdir_1_xpm[] = { 3 | "24 24 4 1", 4 | " c None", 5 | ". c #000000000000", 6 | "X c #C0C0C0C0C0C0", 7 | "o c #808080808080", 8 | " ", 9 | " ... ", 10 | " .X. ", 11 | " ...X... ", 12 | " .XXXXX. ", 13 | " ...X... ", 14 | " .X. ", 15 | " ... ... ", 16 | " ..XX. ", 17 | " ... .XXX. ", 18 | " ....ooo...XXXX. ", 19 | " ....ooooo...XXooX. ", 20 | " ..ooooooo..XXXooXoX. ", 21 | " .oooooooo.XXooXXXoX. ", 22 | " .oooooo.XooXXXXoX. ", 23 | " .oooooo.XoXXXXXoX. ", 24 | " .ooooo.XoXXXooX. ", 25 | " .oooo.XoXoooXXX. ", 26 | " .ooo.XooXXX... ", 27 | " .ooo.XXXX.. ", 28 | " .o.XX... ", 29 | " .o... ", 30 | " .. ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_ftp_put_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_ftp_put_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | "x c #FFFFFFFFFFFF", 6 | ". c #000000000000", 7 | "X c #C0C0C0C0C0C0", 8 | "o c #808080808080", 9 | " . ", 10 | " . . ", 11 | " . . ", 12 | " . . ", 13 | " . . ", 14 | " ... ... ", 15 | " . . ", 16 | " . . ", 17 | " .. .. ", 18 | " .X. .o. ", 19 | " .XX. .oo. ", 20 | " .XXX. .ooo. ", 21 | " .XXXX.....oooo. ", 22 | " ..XXXXXX.ooooooo. ", 23 | " .oo.XXXX.oooo..ooo. ", 24 | " .oo.XX.oooo.xx.o. ", 25 | " .oo..oooo.x.xx. ", 26 | " .oooooo.xxx.. ", 27 | " .oooo.xxxx. ", 28 | " .ooo.xxx. ", 29 | " .ooo.x. ", 30 | " .ooo. ", 31 | " .o. ", 32 | " . "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_home_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_home_1_xpm[] = { 3 | "24 24 7 1", 4 | " c None", 5 | "- c #FFFFFFFFFFFF", 6 | ". c #000000000000", 7 | "X c #606060606060", 8 | "o c #FAFA13134040", 9 | "O c #404040404040", 10 | "+ c #C0C0C0C0C0C0", 11 | " ", 12 | " .. ", 13 | " ...XX. ", 14 | " ..XXXXXX. ", 15 | " .. ....XXXXXX. ", 16 | " .. .ooo..XXXXXX. ", 17 | " ...ooooo..XXXXXX. ", 18 | " ..ooooooo..XXXXXX. ", 19 | " .ooooooooo..XXXX... ", 20 | " .oOOOOoOOOOo..X..o. ", 21 | " ..oO--Oo.--Ooo..ooo. ", 22 | " .oO--Oo.--Ooo.oooo. ", 23 | " .oO--Oo.--Ooo.ooOO. ", 24 | " .oOOO.oOOOOoo.oO-O. ", 25 | " .oooooooooooo.oO-O. ", 26 | " .ooo......ooo.oOOo. ", 27 | " .ooo.++++.ooo.oooo. ", 28 | " .ooo.++++.ooo.oooo. ", 29 | " .ooo..+++.ooo.oooo. ", 30 | " .ooo.++++.ooo.oo.. ", 31 | " .ooo.++++.ooo... ", 32 | " .............. ", 33 | " ", 34 | " "}; 35 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_hotlist.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_hotlist_xpm[] = { 3 | "24 30 5 1", 4 | " c #FFFFFFFFFFFF", 5 | ". c #000000000000", 6 | "X c #404040404040", 7 | "o c #FFFF00000000", 8 | "O c #FFFFFFFF0000", 9 | " ", 10 | " ", 11 | " ", 12 | " ", 13 | " ", 14 | " ............... ", 15 | " . . ", 16 | " . . ", 17 | " . . XXXXXXX . ", 18 | " . ... . ", 19 | " ............ . ", 20 | " ..............XXX . ", 21 | " .............. . ", 22 | " ............ . ", 23 | " . ... XXXXXX . ", 24 | " . . o . ", 25 | " . o oo . ", 26 | " . XXoXXXXX oo . ", 27 | " o oo oooo. ", 28 | " o ooo ooooo. ", 29 | " oo oooo oooOoo. ", 30 | " ooooooOoooOOooo. ", 31 | " oOooOOOooOOooOo. ", 32 | " oOoooOOoOooOOo. ", 33 | " oOOOoOOOOoOOo . ", 34 | " .o Oo OOO Oo.. ", 35 | " o ooo ", 36 | " oo oooo ", 37 | " oo ", 38 | " "}; 39 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_hotlist_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_hotlist_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | "- c #FFFFFFFFFFFF", 6 | ". c #000000000000", 7 | "o c #FFFF00000000", 8 | "O c #FFFFFFFF0000", 9 | " ", 10 | " ............... ", 11 | " .-------------. ", 12 | " .-------------. ", 13 | " .--.--.......-. ", 14 | " .--...--------. ", 15 | " ............------. ", 16 | " .................-. ", 17 | " ..............----. ", 18 | " ............------. ", 19 | " .--...-......-. ", 20 | " .--.--------o-. ", 21 | " .---o------oo-. ", 22 | " .-..o ....-oo-. ", 23 | " o--oo-----oooo. ", 24 | " o--ooo---ooooo. ", 25 | " oo-oooo-oooOoo. ", 26 | " ooooooOoooOOooo. ", 27 | " oOooOOOooOOooOo. ", 28 | " oOoooOOoOooOOo. ", 29 | " oOOOoOOOOoOOo . ", 30 | " .o-Oo-OOO--Oo.. ", 31 | " o--------ooo ", 32 | " oo--oooo "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_news_groups_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_news_groups_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | "- c #FFFFFFFFFFFF", 6 | ". c #000000000000", 7 | "O c #808080808080", 8 | "+ c #404040404040", 9 | " ", 10 | " ", 11 | " ................. ", 12 | " ................... ", 13 | " .----------------.. ", 14 | " .--.-.-.-.-.--.--.. ", 15 | " .--............--.... ", 16 | " .--.-..--.-.--.--..-. ", 17 | " .--.--.-.--.-.---..-. ", 18 | " .----------------..-. ", 19 | " .----------------..-. ", 20 | " .-OOOOOOO-++++++-..-. ", 21 | " .---------+----+-..-. ", 22 | " .-OOOOOOO-+----+-..-. ", 23 | " .---------+----+-..-. ", 24 | " .-OOOOOOO-++++++-..-. ", 25 | " .----------------..-. ", 26 | " .-OOOOOOO-OOOOOO-..-. ", 27 | " .----------------..-. ", 28 | " .-OOOOOOO-OOOOOO-..-. ", 29 | " .----------------..-. ", 30 | " . OOOOOO-OOOOOO-.... ", 31 | " .................. ", 32 | " "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_news_list_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_news_list_1_xpm[] = { 3 | "24 24 3 1", 4 | " c None", 5 | ". c #000000000000", 6 | "X c #FFFFFFFFFFFF", 7 | " ", 8 | " ................. ", 9 | " .XXXXXXXXXXXXXXX. ", 10 | " .XXX.X.X.X.X.XXX. ", 11 | " .X.X.X.XXX.X.X.X. ", 12 | " .X.XX.XX.XX.X.XX. ", 13 | " .XXXXXXXXXXXXXXX. ", 14 | " .XXXXXXXXXXXXXXX. ", 15 | " .X..XX........XX. ", 16 | " .X..XXXXXXXXXXXX. ", 17 | " .XXXXXXXX......X. ", 18 | " .XXXXXXXXXXXXXXX. ", 19 | " .XXXXXXXXXXXXXXX. ", 20 | " .X..XX........XX. ", 21 | " .X..XXXXXXXXXXXX. ", 22 | " .XXXXXXXX......X. ", 23 | " .XXXXXXXXXXXXXXX. ", 24 | " .XXXXXXXXXXXXXXX. ", 25 | " .X..XX........XX. ", 26 | " .X..XXXXXXXXXXXX. ", 27 | " .XXXXXXXX......X. ", 28 | " .XXXXXXXXXXXXXXX. ", 29 | " ................. ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_news_rev.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_news_rev_xpm[] = { 3 | "24 32 2 1", 4 | " c #FFFFFFFFFFFF", 5 | ". c #000000000000", 6 | " ", 7 | " ", 8 | " . ", 9 | " .. ", 10 | " . . ", 11 | " . . ", 12 | " . . ", 13 | " . . ", 14 | " . . ", 15 | " . . ", 16 | " .. ", 17 | " . ", 18 | " ", 19 | " ", 20 | " ....... ", 21 | " . .. ", 22 | " . ... . . ", 23 | " . . . ", 24 | " . ... ..... ", 25 | " . . ", 26 | " . ... .. . ", 27 | " . . ", 28 | " . .. .. . . ", 29 | " . . ", 30 | " . .... .. . ", 31 | " . . ", 32 | " . ... ... . ", 33 | " . . ", 34 | " . ....... . ", 35 | " . . ", 36 | " ........... ", 37 | " "}; 38 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_next_art_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_next_art_1_xpm[] = { 3 | "24 24 4 1", 4 | " c #BFBFBFBFBFBF", 5 | ". c #000000000000", 6 | "X c #808080808080", 7 | "o c #FFFFFFFFFFFF", 8 | " ", 9 | " .. ", 10 | " .XX.. ", 11 | " .XXXX.. ", 12 | " ........o.XXXXXX.. ", 13 | " .oooooooo.XXXXXXXX.. ", 14 | " .o..o...o.XXXXXXXXXX. ", 15 | " .oooooooo.XXXXXXXXXX. ", 16 | " .o...o..o.XXXXXXXX.. ", 17 | " .oooooooo.XXXXXX.. ", 18 | " .oooooooo.XXXX.. ", 19 | " .o.o..o.o.XX..o ", 20 | " .ooooooooo..ooo ", 21 | " .o..o...oooooo. ", 22 | " .ooooooooooooo. ", 23 | " .o......o..o.o. ", 24 | " .ooooooooooooo. ", 25 | " .o....o......o. ", 26 | " .ooooooooooooo. ", 27 | " .o......oo...o. ", 28 | " .ooooooooooooo. ", 29 | " .ooooooooooooo. ", 30 | " ............... ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_next_thr_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_next_thr_1_xpm[] = { 3 | "24 24 4 1", 4 | " c #BFBFBFBFBFBF", 5 | ". c #000000000000", 6 | "X c #808080808080", 7 | "o c #FFFFFFFFFFFF", 8 | " ", 9 | " .. .. ", 10 | " .XX. .XX.. ", 11 | " .XX. .XXXX.. ", 12 | " ...o.XX.o.XXXXXX.. ", 13 | " .ooo.XX.o.XXXXXXXX.. ", 14 | " .o.o.XX.o.XXXXXXXXXX. ", 15 | " .ooo.XX.o.XXXXXXXXXX. ", 16 | " .o.o.XX.o.XXXXXXXX.. ", 17 | " .ooo.XX.o.XXXXXX.. ", 18 | " .ooo.XX.o.XXXX.. ", 19 | " .o.o.XX.o.XX..o ", 20 | " .oooo..ooo..ooo ", 21 | " .o..oooooooooo. ", 22 | " .ooooooooooooo. ", 23 | " .o......o..o.o. ", 24 | " .ooooooooooooo. ", 25 | " .o....o......o. ", 26 | " .ooooooooooooo. ", 27 | " .o......oo...o. ", 28 | " .ooooooooooooo. ", 29 | " .ooooooooooooo. ", 30 | " ............... ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_open_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_open_1_xpm[] = { 3 | "24 24 4 1", 4 | " c None", 5 | ". c #000000000000", 6 | "X c #FFFFFFFF0000", 7 | "o c #C0C0C0C0C0C0", 8 | " ", 9 | " ...... .. ", 10 | " ........... ", 11 | " ... ..... ", 12 | " ...... ", 13 | " ... ", 14 | " ..XX. ", 15 | " .... .XXX. ", 16 | " ....ooo...XXXX. ", 17 | " ....ooooo...XXXXX. ", 18 | " ..ooooooo..XXXXXXXX. ", 19 | " .oooooooo.XXXXXXXXX. ", 20 | " .oooooo.XXXXXXXXX. ", 21 | " .oooooo.XXXXXXXXX. ", 22 | " .ooooo.XXXXXXXX. ", 23 | " .oooo.XXXXXXXXX. ", 24 | " .ooo.XXXXXX... ", 25 | " .ooo.XXXX.. ", 26 | " .o.XX... ", 27 | " .o... ", 28 | " .. ", 29 | " ", 30 | " ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_open_window_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_open_window_1_xpm[] = { 3 | "24 24 4 1", 4 | " c None", 5 | ". c #808080808080", 6 | "X c #000000000000", 7 | "o c #51515151FBFB", 8 | " ", 9 | " ", 10 | " ............... ", 11 | " .XXXXXXXXXXXXX. ", 12 | " .XoooooXoooooX. ", 13 | " .XXXXXXXXXXXXX. ", 14 | " .XoooooXoooooX. ", 15 | " .XoooooXoooooX. ", 16 | " .XoooooXoooooX. ", 17 | " .XoooooXoooooX. ", 18 | " .XoooooXoooooX. ", 19 | " .XoooooXoooooX. ", 20 | " .XXXXXXXXXXXXX. ", 21 | " .X X. ", 22 | " .X X. ", 23 | " .X X. ", 24 | " .X X. ", 25 | " .X X. ", 26 | " .X X. ", 27 | " .XXXXXXXXXXXXX. ", 28 | " XXXXXXXXXXXXXXX ", 29 | " ", 30 | " ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_post_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_post_1_xpm[] = { 3 | "24 24 4 1", 4 | " c None", 5 | ". c #FFFFFFFFFFFF", 6 | "X c #000000000000", 7 | "o c #808080808080", 8 | " .. ", 9 | " XX ", 10 | " XXXXXXXXXXXXXXXXXX ", 11 | " X..............XXX ", 12 | " X.............XXX ", 13 | " X.oooooooooooXXXX ", 14 | " X...........XX..X ", 15 | " X.oooooooooXX...X ", 16 | " X.........XX....X ", 17 | " X.oooooooo .....X ", 18 | " X...............X ", 19 | " X...............X ", 20 | " X...............X ", 21 | " X...............X ", 22 | " X...............X ", 23 | " X...............X ", 24 | " X...............X ", 25 | " X...............X ", 26 | " X...............X ", 27 | " X...............X ", 28 | " X...............X ", 29 | " X...............X ", 30 | " XXXXXXXXXXXXXXXXX ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_prev_art_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_prev_art_1_xpm[] = { 3 | "24 24 4 1", 4 | " c #BFBFBFBFBFBF", 5 | ". c #000000000000", 6 | "X c #808080808080", 7 | "o c #FFFFFFFFFFFF", 8 | " ", 9 | " .. ", 10 | " ..XX. ", 11 | " ..XXXX. ", 12 | " ..XXXXXX.o........ ", 13 | " ..XXXXXXXX.oooooooo. ", 14 | " .XXXXXXXXXX.o...o..o. ", 15 | " .XXXXXXXXXX.oooooooo. ", 16 | " ..XXXXXXXX.o..o...o. ", 17 | " ..XXXXXX.oooooooo. ", 18 | " ..XXXX.oooooooo. ", 19 | " o..XX.o.o..o.o. ", 20 | " ooo..ooooooooo. ", 21 | " .oooooo...o..o. ", 22 | " .ooooooooooooo. ", 23 | " .o.o..o......o. ", 24 | " .ooooooooooooo. ", 25 | " .o......o....o. ", 26 | " .ooooooooooooo. ", 27 | " .o...oo......o. ", 28 | " .ooooooooooooo. ", 29 | " .ooooooooooooo. ", 30 | " ............... ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_prev_thr_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_prev_thr_1_xpm[] = { 3 | "24 24 4 1", 4 | " c #BFBFBFBFBFBF", 5 | ". c #000000000000", 6 | "X c #808080808080", 7 | "o c #FFFFFFFFFFFF", 8 | " ", 9 | " .. .. ", 10 | " ..XX. .XX. ", 11 | " ..XXXX. .XX. ", 12 | " ..XXXXXX.o.XX.o... ", 13 | " ..XXXXXXXX.o.XX.ooo. ", 14 | " .XXXXXXXXXX.o.XX.o.o. ", 15 | " .XXXXXXXXXX.o.XX.ooo. ", 16 | " ..XXXXXXXX.o.XX.o.o. ", 17 | " ..XXXXXX.o.XX.ooo. ", 18 | " ..XXXX.o.XX.ooo. ", 19 | " o..XX.o.XX.o.o. ", 20 | " ooo..ooo..oooo. ", 21 | " .oooooooooo..o. ", 22 | " .ooooooooooooo. ", 23 | " .o.o..o......o. ", 24 | " .ooooooooooooo. ", 25 | " .o......o....o. ", 26 | " .ooooooooooooo. ", 27 | " .o...oo......o. ", 28 | " .ooooooooooooo. ", 29 | " .ooooooooooooo. ", 30 | " ............... ", 31 | " "}; 32 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_print_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_print_1_xpm[] = { 3 | "24 24 7 1", 4 | " c None", 5 | "- c #FFFFFFFFFFFF", 6 | ". c #000000000000", 7 | "o c #C0C0C0C0C0C0", 8 | "O c #3B3BFAFA3434", 9 | "+ c #FAFA13134040", 10 | "@ c #FFFFFFFF0000", 11 | " ", 12 | " ", 13 | " ............ ", 14 | " .----------. ", 15 | " .--.......-. ", 16 | " .----------. ", 17 | " .-........-. ", 18 | " .----------. ", 19 | " .-........-. ", 20 | " .----------. ", 21 | " .-........-. ", 22 | " ..----------.... ", 23 | " .o.-........-.oo. ", 24 | " .o.----------.o... ", 25 | " ..oo............oo.. ", 26 | " .ooooooooooooooooo... ", 27 | " ...................... ", 28 | " .oOOoooooooooooooo.... ", 29 | " .oOOoooooooooooooo.... ", 30 | " .o++oooooooooooooo... ", 31 | " .o@@oooooooooooooo.. ", 32 | " .oooooooooooooooo.. ", 33 | " ................. ", 34 | " "}; 35 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_reload_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_reload_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | ". c #000000000000", 6 | "X c #404040404040", 7 | "o c #FFFF00000000", 8 | "O c #808080808080", 9 | " ", 10 | " ", 11 | " ........ ", 12 | " .XXX..ooo. ", 13 | " .XXX. .ooo. ", 14 | " .XOX. .ooo. ", 15 | " .XXX. .ooo. ", 16 | " .XOX. .ooo. ", 17 | " .XOX. .ooo. ", 18 | " .XOX. .ooo. ", 19 | " .XOX. .ooo. ", 20 | " .XOX. ...ooo... ", 21 | " .XOX. .ooooooo. ", 22 | " .XOX. .ooooo. ", 23 | " .XOX. .oooo. ", 24 | " .XOX. .oo. ", 25 | " .XOX. .. ", 26 | " .XOX. ", 27 | " .XXX. .... ", 28 | " .XOX. .ooo. ", 29 | " .XXX. .ooo. ", 30 | " .XXX..ooo. ", 31 | " ........ ", 32 | " "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_save_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_save_1_xpm[] = { 3 | "24 24 6 1", 4 | " c None", 5 | "- c #FFFFFFFFFFFF", 6 | ". c #000000000000", 7 | "X c #51515151FBFB", 8 | "o c #FAFA13134040", 9 | "O c #E7E7E7E7E7E7", 10 | " ", 11 | " ", 12 | " ", 13 | " .................. ", 14 | " .XX.----------.XX. ", 15 | " .XX.-oooooooo-.XX. ", 16 | " .XX.----------.XX. ", 17 | " .XX.----------.XX. ", 18 | " .XX.----------.XX. ", 19 | " .XX.----------.XX. ", 20 | " .XX.----------.XX. ", 21 | " .XX.----------.XX. ", 22 | " .XX............XX. ", 23 | " .XXXXXXXXXXXXXXXX. ", 24 | " .XXXXXXXXXXXXXXXX. ", 25 | " .XX............XX. ", 26 | " .XX.........OO.XX. ", 27 | " .XX.........OO.XX. ", 28 | " .XX.........OO.XX. ", 29 | " .X.........OO.XX. ", 30 | " ................ ", 31 | " ", 32 | " ", 33 | " "}; 34 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_search_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_search_1_xpm[] = { 3 | "24 24 5 1", 4 | " c None", 5 | "X c #FFFFFFFFFFFF", 6 | "o c #808080808080", 7 | ". c #000000000000", 8 | "+ c #FFFF00000000", 9 | " ", 10 | " ................ ", 11 | " .XooooooooooXoX. ", 12 | " .XXXXXXXXXXXXXX. ", 13 | " .XoooXooooooooX. ", 14 | " .XXXXXXXXXXXXXX. ", 15 | " .XooXooooXoooXX. ", 16 | " .XXXXXXXXXXXXXX. ", 17 | " .XoooooXooooooX. ", 18 | " .XXXXXXXXXXXXXX. ", 19 | " .XooooooooooXXX. ", 20 | " .XXXXXXXXXXo..... ", 21 | " .XooooooXoX.XXXX.. ", 22 | " .XXXXXXXXX.X+++X. . ", 23 | " .XooooooXX.XXXXX. . ", 24 | " .XXXXXXXXX.X++++. . ", 25 | " .XooXXoooX.XXXXX. . ", 26 | " .XXXXXXXXX..X++X.. ", 27 | " .XXXXXXXXXX.XXXX..X ", 28 | " ................o.. ", 29 | " o.X ", 30 | " o.X ", 31 | " o. ", 32 | " "}; 33 | -------------------------------------------------------------------------------- /src/pixmaps/toolbar_window_1.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * toolbar_window_1_xpm[] = { 3 | "24 30 4 1", 4 | " c #FFFFFFFFFFFF", 5 | ". c #808080808080", 6 | "X c #000000000000", 7 | "o c #C0C0C0C0C0C0", 8 | " ", 9 | " ", 10 | " ", 11 | " ", 12 | " ................. ", 13 | " .XXXXXXXXXXXXXXX. ", 14 | " .XooooooXooooooX. ", 15 | " .XooooooXooooooX. ", 16 | " .XooooooXooooooX. ", 17 | " .XooooooXooooooX. ", 18 | " .XooooooXooooooX. ", 19 | " .XooooooXooooooX. ", 20 | " .XooooooXooooooX. ", 21 | " .XooooooXooooooX. ", 22 | " .XooooooXooooooX. ", 23 | " .XooooooXooooooX. ", 24 | " .XXXXXXXXXXXXXXX. ", 25 | " .XooooooXooooooX. ", 26 | " .XooooooXooooooX. ", 27 | " .XooooooXooooooX. ", 28 | " .XooooooXooooooX. ", 29 | " .XooooooXooooooX. ", 30 | " .XooooooXooooooX. ", 31 | " .XooooooXooooooX. ", 32 | " .XooooooXooooooX. ", 33 | " XXXXXXXXXXXXXXXXX ", 34 | " ", 35 | " ", 36 | " ", 37 | " "}; 38 | -------------------------------------------------------------------------------- /src/pixmaps/unlock_none.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *unlock_none_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | ".##...###.......................", 13 | "..##...#........................", 14 | "..##...#........................", 15 | "..#.#..#..##.##.##...##.........", 16 | "..#.##.#.#..#.##.#..#..#........", 17 | "..#..#.#.#..#.#..#..####........", 18 | "..#...##.#..#.#..#..#...........", 19 | "..#...##.#..#.#..#..#..#........", 20 | ".###...#..##.###.##..##.........", 21 | "................................", 22 | "................aaa.............", 23 | "...............abbaa............", 24 | "..............abbbbaa...........", 25 | ".............abbaabbaa..........", 26 | ".............aba..ababa.........", 27 | ".............aaa..ababa.........", 28 | "..................ababa.........", 29 | ".................aaaaaaaaaaaaa..", 30 | ".................abbbbbbbbbbaba.", 31 | ".................abbbbaabbbbaba.", 32 | ".................abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/unlock_unknown.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *unlock_unknown_xpm[] = { 3 | /* width height num_colors chars_per_pixel */ 4 | " 32 30 4 1", 5 | /* colors */ 6 | ". c None", 7 | "# c #0000ff", 8 | "a c #000000", 9 | "b c #ffff00", 10 | /* pixels */ 11 | "................................", 12 | ".......###......................", 13 | "......#####.....................", 14 | ".....##...##....................", 15 | ".....##...##....................", 16 | ".....##...##....................", 17 | "..........##....................", 18 | ".........###....................", 19 | "........###.....................", 20 | ".......###......................", 21 | ".......###......................", 22 | ".......###......aaa.............", 23 | "........#......abbaa............", 24 | "..............abbbbaa...........", 25 | "........#....abbaabbaa..........", 26 | "........#....aba..ababa.........", 27 | ".............aaa..ababa.........", 28 | "..................ababa.........", 29 | ".................aaaaaaaaaaaaa..", 30 | ".................abbbbbbbbbbaba.", 31 | ".................abbbbaabbbbaba.", 32 | ".................abbbbaabbbbaba.", 33 | ".................abbbbaabbbbaba.", 34 | ".................abbbaaaabbbaba.", 35 | ".................abbbaaaabbbaba.", 36 | ".................abbbbaabbbbaba.", 37 | ".................abbbbbbbbbbaba.", 38 | "..................aaaaaaaaaaaba.", 39 | "..................abbbbbbbbbbaa.", 40 | "...................aaaaaaaaaaa.." 41 | }; 42 | -------------------------------------------------------------------------------- /src/pixmaps/xm_error.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * xm_error_xpm[] = { 3 | "20 20 2 1", 4 | " c None", 5 | ". c #000000000000", 6 | " ", 7 | " ...... ", 8 | " .... . ... ", 9 | " .. . . . . . ", 10 | " .. . . . ", 11 | " .. . . . . ", 12 | " . . . . . . ", 13 | " .. . . .. ", 14 | " . . . . . . ", 15 | " .. . . .. ", 16 | " . . . . . . ", 17 | " .. . . .. ", 18 | " . . . ... . ", 19 | " . . . . . ", 20 | " . . .. . ", 21 | " . ....... . ", 22 | " . . . . . ", 23 | " . . . . ", 24 | " ", 25 | " "}; 26 | -------------------------------------------------------------------------------- /src/pixmaps/xm_information.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * xm_information_xpm[] = { 3 | "11 24 2 1", 4 | " c None", 5 | ". c #000000000000", 6 | " ", 7 | " .... ", 8 | " . . . ", 9 | " .. . ", 10 | " . . . ", 11 | " . . ", 12 | " ", 13 | " ", 14 | " ...... ", 15 | " . . . ", 16 | " ... . ", 17 | " . . ", 18 | " .. . ", 19 | " . . ", 20 | " .. . ", 21 | " . . ", 22 | " .. . ", 23 | " . . ", 24 | " .. . ", 25 | " ... . .. ", 26 | " .. . . . ", 27 | " . . . . ", 28 | " ", 29 | " "}; 30 | -------------------------------------------------------------------------------- /src/pixmaps/xm_question.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * xm_question_xpm[] = { 3 | "22 22 2 1", 4 | " c None", 5 | ". c #000000000000", 6 | " .......... ", 7 | " .. . . . . . ", 8 | " .. . . . . . . ", 9 | " .. . ....... . . ", 10 | " . . ......... . . ", 11 | " .. ........... . ", 12 | " . . ... . ... . . ", 13 | " .. ..... ..... . . ", 14 | " . . ... . ... . . . ", 15 | " .. . . . ..... . . . ", 16 | " . . . . ..... . .... ", 17 | " .. . . ..... . . ", 18 | " .. . ..... . . . ", 19 | " .. . ... . . . ", 20 | " .. ..... . . ", 21 | " .. . . . . . ", 22 | " . . . . . . ", 23 | " .. ... . ", 24 | " . ..... . ", 25 | " .. ... . ", 26 | " .. . . . . ", 27 | " . . . . . . "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/xm_warning.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * xm_warning_xpm[] = { 3 | "9 22 2 1", 4 | " c None", 5 | ". c #000000000000", 6 | " ", 7 | " .. ", 8 | " .. . ", 9 | " .. . . ", 10 | " . . . ", 11 | " .. . . ", 12 | " . . . ", 13 | " .. . . ", 14 | " .. . ", 15 | " . . ", 16 | " .. . ", 17 | " . . ", 18 | " .. . ", 19 | " . . ", 20 | " ", 21 | " ", 22 | " .... ", 23 | " . . ", 24 | " .. . ", 25 | " . . ", 26 | " ", 27 | " "}; 28 | -------------------------------------------------------------------------------- /src/port.h: -------------------------------------------------------------------------------- 1 | #ifndef PORT_DOT_H_BEEN_INCLUDED_BEFORE 2 | 3 | #define PORTBUFFERSIZE 1024 4 | 5 | typedef struct { 6 | int socketFD; 7 | char *serverAddress; 8 | int serverTCPPort; 9 | int connected; 10 | 11 | int numInBuffer; 12 | char buffer[PORTBUFFERSIZE *2 +2]; 13 | 14 | /* callBack(void *callBackData) */ 15 | void (*callBack) (); /* called when connection dropped*/ 16 | void *callBackData; 17 | } PortDescriptor; 18 | 19 | #define PORT_DOT_H_BEEN_INCLUDED_BEFORE 20 | #endif 21 | -------------------------------------------------------------------------------- /src/toolbar.h: -------------------------------------------------------------------------------- 1 | /* Toolbar Stuff -- BJS */ 2 | 3 | struct toolbar 4 | { 5 | Widget w; 6 | int gray; 7 | }; 8 | 9 | #define BTN_PREV 0 10 | #define BTN_NEXT 1 11 | #define BTN_PTHR 14 12 | #define BTN_PART 15 13 | #define BTN_NART 16 14 | #define BTN_NTHR 17 15 | #define BTN_POST 18 16 | #define BTN_FOLLOW 19 17 | #define BTN_COUNT 23 18 | 19 | struct tool { 20 | char *text; /* button text */ 21 | char *long_text; /* long button text */ 22 | char *label; /* tracker label */ 23 | int action; /* mo_* for menubar dispatcher */ 24 | Pixmap *image; /* the icon */ 25 | Pixmap *greyimage; /* the greyed icon or NULL */ 26 | int toolset; /* toolset it belongs too (0=always on) */ 27 | int kioskok; /* allowed in kiosk mode */ 28 | char *unused; 29 | 30 | }; 31 | 32 | int mo_tool_state(struct toolbar *t,int state, int index); 33 | 34 | 35 | 36 | 37 | --------------------------------------------------------------------------------