 DATE=`date +"%d%b%y"`

 SRCFILE=$SRCBASE.tar.gz
 SRCLSM=$ELFBASE.lsm

 SRCSIZE=`ls -s --human-readable $DISTPATH/$SRCFILE|cut -d ' ' -f 1`

#ELFFILE=bed-$VERSION-1.i586.rpm
ELFFILE=$ELFBASE.tar.gz
 ELFSIZE=`ls -s --human-readable $DISTPATH/$ELFFILE|cut -d ' ' -f 1`
# ELFLSM=$ELFBASE.lsm
# bed-$VERSION.ELF.tar.gz
FREEBSDFILE=bed-$VERSION.FreeBSD.tar.gz
FREEBSDSIZE=`ls -s --human-readable $DISTPATH/$FREEBSDFILE|cut -d ' ' -f 1`


STATICLINUXFILE=bed-$VERSION.bin.ELF-static.tar.gz
#STATICLINUXSIZE=`ls -s --human-readable $DISTPATH/$STATICLINUXFILE|cut -d ' ' -f 1`


WIN32FILE=bed-$VERSION.win32.zip
WIN32SIZE=`ls -s --human-readable $DISTPATH/$WIN32FILE|cut -d ' ' -f 1`


cat <<!
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; I; Linux 2.0.33 i586) [Netscape]">
   <META NAME="Author" CONTENT="Jaap Korthals Altes">
   <META NAME="Description" CONTENT="Description of bed (binary editor for linux). Urls to download the source and the Elf binary.">
   <META NAME="Keywords" CONTENT="Hex, editor, bed, binary, octal, decimal, ascii. Linux.">
<title>bed - download</title>
</HEAD>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#55188A" alink="#FF0000">
<div align=right><font face="Arial,Helvetica"><a href="bed.1.html">Manual</a></font></div>
<h1>download</h1>
<FONT SIZE=+1>Bed <B>source</B>:</FONT>
<br><font size=+1>
<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/editors/terminal/$SRCFILE">$SRCFILE (sunsite)</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
($SRCSIZE)&nbsp; ( <A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/editors/terminal/$LSMFILE">LSM</A>
)
<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/editors/terminal/$SRCFILE.asc">SIGN</A>
</font>
<br><font size=+1>
<A HREF="download/$SRCFILE">$SRCFILE</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
($SRCSIZE)&nbsp; ( <A HREF="download/$LSMFILE">LSM</A>
)
<A HREF="download/$SRCFILE.asc">SIGN</A>
</FONT>

<P><FONT SIZE=+1>Linux i386 binary:</FONT>
<br><FONT SIZE=+1>

<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/editors/terminal/$ELFFILE">$ELFFILE (sunsite)</A>&nbsp;&nbsp;&nbsp;&nbsp;
($ELFSIZE) (<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/editors/terminal/$LSMFILE">LSM</A>)
<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/editors/terminal/$ELFFILE.asc">SIGN</A>
</FONT>
<br><font size=+1>
<A HREF="download/$ELFFILE">$ELFFILE</A>&nbsp;&nbsp;&nbsp;&nbsp;
($ELFSIZE) ( <A HREF="download/$LSMFILE">LSM</A>
) <A HREF="download/$ELFFILE.asc">SIGN</A>
</FONT>

<P><FONT SIZE=+1>FreeBSD 4.4 binary:</FONT>
<br><font size=+1>
<A HREF="download/$FREEBSDFILE">$FREEBSDFILE</A>&nbsp;&nbsp;&nbsp;&nbsp;
($FREEBSDSIZE) <A HREF="download/$FREEBSDFILE.asc">SIGN</A></FONT>

<p><font size=+1>Windows95 cygwin 1.3.10 binary (pdcurses and binpatch ncurses):</font>
<br><font size=+1>
<a href="download/$WIN32FILE">$WIN32FILE</a>&nbsp;&nbsp;&nbsp;&nbsp;
($WIN32SIZE)
<a href="download/$WIN32FILE.asc">SIGN</a>
</font>
<p><font size=+1>Needs <a href="download/cygwin1.dll.zip">cygwin1.dll</a> to run. If you don't already have it, put it somewhere in your
path (don't forget to remove it when you get a new cygwin1.dll with some other program).
<p>
The ncurses version can also run within an terminal like rxvt (downloadble from <a href="http://sources.redhat.com/cygwin" TARGET="_top">cygwin</a>). 
To run bed within rxvt you need libncurses*.dll and terminfo installed ( <a href="http://sources.redhat.com/cygwin" TARGET="_top">http://sources.redhat.com/cygwin.</a>). 
To start a rxvt with bed inside press:
<PRE>
rxvt -geometry 300x200 -tn rxvtbed -fn 12x24 -e bed [options] [files]
</PRE>
The advantage of bed within rxvt is that you can resize rxvt by 
dragging one of its corners. You can also specify it's font
within the commandline (-fn fontname).
<br>
The rxvt I downloaded from cygwin is wrongly categorized as a console
application, so that the loader starts a dos console if rxvt.exe is started
from explorer. You can easily change this by using a binary editor to 
change the byte at offset 220 from 3 to 2.
</font>
<p><font size=+1>To compile bed for win32 you need:
<ul>
<li>gcc, binutils, gnu make, grep, sed, textutils, findutils, fileutils, diffutils, which and probably some other utilities from <a href="http://sources.redhat.com/cygwin" TARGET="_top">cygwin</a>
<li>GNU regex (different from libregex.a from cygwin): e.g&nbsp; <a href="ftp://ftp.gnu.org/pub/gnu/regex/" TARGET="_top">ftp://ftp.gnu.org/pub/gnu/regex/</a>
<li>pdcurses source (<a href="http://pdcurses.sourceforge.net" TARGET="_top">http://pdcurses.sourceforge.net</a>)
</ul>
<p>
<font size="+1">Old versions: <a
 href="http://bedlinux.tripod.com/download">/download</a> and <a
 href="http://www.mirrors.wiretapped.net/security/development/editors/bed/">
wiretapped.net</a><br>
</font></p>
<p><font size="+1"><a href="pgpkey.bed">pgp public key</a>
</font></p>
<!-- Begin Nedstat Basic code -->
<!-- Title: bed - download -->
<!-- URL: http://home.graffiti.net/binaryeditor/download.html -->
<script language="JavaScript" type="text/javascript" src="http://m1.nedstatbasic.net/basic.js">
</script>
<script language="JavaScript" type="text/javascript" >
<!--
  nedstatbasic("ACwMPArv2Wq+2bqtRRq3RpXdR7bA", 0);
// -->
</script>
<noscript>
<a target="_blank" href="http://www.nedstatbasic.net/stats?ACwMPArv2Wq+2bqtRRq3RpXdR7bA"><img
src="http://m1.nedstatbasic.net/n?id=ACwMPArv2Wq+2bqtRRq3RpXdR7bA"
border="0" width="18" height="18"
alt="Nedstat Basic - Gratis web site statistieken
Eigen homepage website teller"></a><br>
<a target="_blank" href="http://www.nedstatbasic.net/">Gratis teller</a>
</noscript>
<!-- End Nedstat Basic code -->



</body>
</html>
!
