Commit cb7cc340 authored by Frode Vatvedt Fjeld's avatar Frode Vatvedt Fjeld
Browse files

Imported to common-lisp.net

parent e6010817
######################################################################
##
## Copyright (C) 1999, 2003-2004,
## Department of Computer Science, University of Tromsø, Norway
##
## Filename: COPYING
## Description: Defines the terms under which this software may be copied.
## Author: Frode Vatvedt Fjeld <frodef@acm.org>
## Created at: Mon Nov 8 20:32:12 1999
## Distribution: See the accompanying file COPYING.
##
## $Id: COPYING,v 1.2 2004/01/09 15:17:49 frodef Exp $
##
######################################################################
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This source diff could not be displayed because it is too large. You can view the blob instead.
#FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
2 5 0 1 0 -1 50 0 -1 0.000 0 0 -1 0 0 5
0 browser.gif
600 600 12720 600 12720 15915 600 15915 600 600
#FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
6 3900 3900 6300 4800
4 1 0 50 0 0 18 0.0000 4 195 1920 5100 4200 Communications\001
4 1 0 50 0 0 18 0.0000 4 195 885 5100 4515 channel\001
-6
# http://ukclipart.allinfo-about.co.uk/
# graphics/computers/computers.html
2 5 0 1 0 -1 50 0 -1 0.000 0 0 -1 0 0 5
0 computer1.jpg
1200 1800 3540 1800 3540 4087 1200 4087 1200 1800
2 1 0 3 0 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 3.00 180.00 360.00
3600 3000 6900 3000
2 1 0 3 0 7 50 0 -1 0.000 0 0 -1 1 0 2
1 1 3.00 180.00 360.00
6900 2700 3600 2700
2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
9550 3000 9600 3000
2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
350 3000 300 3000
2 5 0 1 0 -1 50 0 -1 0.000 0 0 -1 0 0 5
0 computer2.png
7200 1500 8437 1500 8437 3705 7200 3705 7200 1500
4 0 0 50 0 0 18 0.0000 4 255 1425 1200 4500 Desktop IDE\001
4 1 0 50 0 0 18 0.0000 4 255 1500 7800 4500 Movitz target\001
This diff is collapsed.
This diff is collapsed.
#FIG 3.2
Landscape
Center
Inches
Letter
100.00
Single
-2
1200 2
2 5 0 1 0 -1 50 0 -1 0.000 0 0 -1 0 0 5
0 screenshot.gif
900 1200 10500 1200 10500 8040 900 8040 900 1200
2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
11400 4500 11250 4500
2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
150 4500 0 4500
The file grub-bootloader.img is a GRUB bootloader with the menu
configuration from menu.txt embedded.
#! /usr/bin/env python
######################################################################
##
## Copyright (C) 2001-2002,
## Department of Computer Science, University of Troms, Norway.
##
## For distribution policy, see the accompanying file COPYING.
##
## Filename: udp6-send.py
## Description: Send a simple (IPv6) UDP packet
## Author: Frode Vatvedt Fjeld <frodef@acm.org>
## Created at: Sun Mar 10 20:20:11 2002
##
## $Id: udp6-send.py,v 1.6 2002/03/13 19:22:54 frodef Exp $
##
######################################################################
import sys,time,socket
if len (sys.argv) != 4:
print "Usage: udp6-send <host> <port> <data>"
sys.exit (1);
host = sys.argv[1]
port = sys.argv[2]
data = sys.argv[3]
mtu = 1400
packets = (len (data) / mtu) + 1
# print "host:", host, "port:", port, "data:", data
af, socktype, proto, canonname, sa = \
socket.getaddrinfo(host, port, socket.AF_UNSPEC, socket.SOCK_DGRAM)[0]
s = socket.socket (af, socktype, proto)
s.connect (sa)
for i in range (packets):
print "sending packet", i, ".."
s.send ("%d %d %s" % (i+1, packets, data[i*mtu:min(i*mtu+mtu, len (data))]))
time.sleep (0.1)
s.close ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment