Re: Should pam_ssh and xdm work?

2002-01-08 Thread Mark Murray

 I've uncommented the entries for pam_ssh in /etc/pam.conf, and am trying
 to log in via xdm on my local machine.  I can type in my SSH passphrase
 into the password box, and it authenticates me, and runs my .xsession. 
 So far, no problems.  But it's not setting up the ssh-agent properly. 

Yes this is a known bug. We need to fix it.

 Two copies of ssh-agent appear to be run, and the environment variables
 SSH_AUTH_SOCK and SSH_AGENT_PID are not passed.  They are not
 available in any xterms, and they do not appear in the environment while
 .xsession is being executed.
 
 Combinations of using sufficient and required for pam_ssh and
 pam_unix do not seem to affect things.

Nor should they :-)

M
-- 
o   Mark Murray
\_  FreeBSD Services Limited
O.\_Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread D J Hawkey Jr

Heh. And I thought I was the only micro-micro-hacker that grew up into
Unix!

I've got _all_ the original CBM stuff for the VIC-20 and C-64, hardware
and hardcopy. Even some aftermarket FDDs.

I poked a _lot_ of stuff from Compute!, including the assembler, and
have several of their wire-bound books, too.

I've got the 6502 monitor and 300bps modem cartridges, and if I dig
around, I'll bet I can find the breadboarded interface to an audio
cassette player I built so long ago from a Byte article! I soldered
reset wires to both machines' mobos, too.

I've still got all software I accumulated on floppy (even some cool EA
games, and MicroProse's Gunship), but I have no idea if any of it is
still readable.

Those were the days, my friends...
Dave

In article [EMAIL PROTECTED],
[EMAIL PROTECTED] writes:
 [EMAIL PROTECTED] wrote:
 Think they have the code to the C64 supermon assembler? I spend 3 evenings
 poking it in from Compute! and now I can't find the cassette anywhere.
 
 I have that somewhere.  I also have the Compute! with it in
 it.  8-).  If you want to download it, you can get it from
 here:
 
   http://www.ffd2.com/fridge/programs/supermon.s
 
 I also have Aztec C for the C64.  I'd give you a copy, but
 that would violate the license, since mine's paid for... 8^p.
 
   http://www.ffd2.com/fridge/
 
 Is a pretty good C64 resource... see also:
 
   http://www.funet.fi/pub/cbm/
 
 ...it has all the Waterloo stuff, among other things (schematics,
 ROM firmware images, etc.).  BASIC, FORTAN, Pascal, APL, COBOL...
 
 8-) 8-)
 
 -- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Doug Rabson

On Mon, 7 Jan 2002, Matthew Dillon wrote:

 Oh my god.  I don't even *remember* writing this one!  This was when
 I was 18.  Google's archive isn't complete but they've done an incredible
 job getting as much as they have.

 Pet, C64, DMail, Shell (for the amiga), backup/restore utilities,
 dme, dterm, AmigaUUCP, DICE, etc.  It's all there in bits and pieces,
 complete with my trademark spelling errors.

That brings back memories. We wrote our own firmware for the 1541 since
the commodore DOS was so slow. I forget what transfer rate we managed but
it was much better than the standard code. Bit of a sod to debug though.

-- 
Doug Rabson Mail:  [EMAIL PROTECTED]
Phone: +44 20 8348 6160



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Nils Holland

On Tue, Jan 08, 2002 at 05:04:44AM -0600, D J Hawkey Jr stood up and spoke:
 Heh. And I thought I was the only micro-micro-hacker that grew up into
 Unix!
 
 I've got _all_ the original CBM stuff for the VIC-20 and C-64, hardware
 and hardcopy. Even some aftermarket FDDs.

Well, I have three working C64's here, along with some badly misaligned
1541-II drives. I also have a CMD FD-2000 somewhere, yes, this lets you use
3.5 HD floppies on the C64, giving you 1.6 MB of data storage (I think the
one-sided 5.25 1541 had about 170 kb). I also have a CMD SuperCPU here,
this is a 20 Mhz accelerator (the normal C64 works at around 1 Mhz). Now,
the SuperCPU also contains some 16 bit CPU that can work in comaptible mode
to work just like the 6510. Still, this thing can also be programmed in
native mode, so if you own this device you have virtually replaced your 8
bit processor at 1 Mhz with a 16 bit processor at 20 Mhz.

I actually used my C64 until 1995, then I got a PC and switched right
to FreeBSD (after three weeks of Windows 95).

I should probably dedicate a weekend to find out if these 200+ C64 disks in
my collection are still working (that is, if I get my 1541-II's properly
alaigned again...)

A few years ago I tried hard to get a look at a real C65, you know, these
things that Commodore never really finsished, but which showed up in a few
units after Commodore went bankrupt. However, I have never been able to
pick up or only look at such a machine. Since only very few of them are
available (and they are all very buggy), they are traded at very *high*
prices between CBM fans...

Greetings
Nils

-- 
Nils Holland
Ti Systems - FreeBSD in Tiddische, Germany
http://www.tisys.org * [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



[PATCH] Fix endianness bug in YP

2002-01-08 Thread John Baldwin

YP didn't work on my sparc64 testbox here until I crafted this patch.  It's a
simple combination of an endian problem on an arch where sizeof(long) !=
sizeof(IPv4 address).  The patch can be found at
http://www.freebsd.org/~jhb/patches/yp.patch and below:

I've tested it on both sparc64 and i386.  Both work fine.  sparc64 didn't work
prior to this.  Unfortunately, my mailer is going to butcher it, so you
probably want to fetch the version above.  I'd like to commit it unless there
are objections.

Index: yplib.c
===
RCS file: /usr/cvs/src/lib/libc/yp/yplib.c,v
retrieving revision 1.36
diff -u -r1.36 yplib.c
--- yplib.c 23 May 2001 15:37:10 -  1.36
+++ yplib.c 8 Jan 2002 10:30:39 -
@@ -402,10 +402,12 @@
bzero(ysd-dom_server_addr, sizeof
ysd-dom_server_addr);
ysd-dom_server_addr.sin_family = AF_INET;
ysd-dom_server_addr.sin_len = sizeof(struct
sockaddr_in);
-   ysd-dom_server_addr.sin_addr.s_addr =
-   *(u_long
*)ybr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_addr;
-   ysd-dom_server_addr.sin_port =
-   *(u_short
*)ybr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port;
+  
bcopy(ybr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_addr,
+   ysd-dom_server_addr.sin_addr.s_addr,
+   sizeof(ysd-dom_server_addr.sin_addr.s_addr));
+  
bcopy(ybr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port,
+   ysd-dom_server_addr.sin_port,
+   sizeof(ysd-dom_server_addr.sin_port));
 
ysd-dom_server_port = ysd-dom_server_addr.sin_port;
_close(fd);
@@ -497,10 +499,12 @@
 
bzero((char *)ysd-dom_server_addr, sizeof
ysd-dom_server_addr);
ysd-dom_server_addr.sin_family = AF_INET;
-   ysd-dom_server_addr.sin_port =
-   *(u_short
*)ypbr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port;
-   ysd-dom_server_addr.sin_addr.s_addr =
-   *(u_long
*)ypbr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_addr;
+   bcopy(ypbr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port,
+   ysd-dom_server_addr.sin_port,
+   sizeof(ysd-dom_server_addr.sin_port));
+   bcopy(ypbr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_addr,
+   ysd-dom_server_addr.sin_addr.s_addr,
+   sizeof(ysd-dom_server_addr.sin_addr.s_addr));
 
/*
 * We could do a reserved port check here too, but this


-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread PSI, Mike Smith

Those of you out there whose memories include CHANGING diapers not
WEARING them might appreciate this.

At the Smithsonian they have an exhibit on the history of computers.
They have all of the old, and I use the term loosely, systems on
display, most still working.

What's pathetic is that my wife (who is also in this field) and I walked
down the ENTIRE line going used it, programmed it, programmed it, used
it. Didn't miss a one. Definitely worth a look see if you are in D.C.
area and can take the revelation that you are part of what the
Smithsonian considers HISTORY :-{

My pride and joy was a Dec Rainbow. It had dual processors! (Z80 and
8086) and single sided quad density floppies. Oh the joy of having your
operating system (CP/M), program AND data accessible all at the same
time!

If you don't know what a .ovl extension represents and have never
patched Wordstar, I'm sure this message has no meaning to you. Oh to be
young again.

Mike Smith
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Mats Lofkvist


Wilko Bulte [EMAIL PROTECTED] wrote
 In those days I built my own SWTPc/09 clone system, running TSC FLEX
 and later TSC UniFlex. I still have it! Started off with 2 floppys,
 later grew a Miniscribe 3012, 10Mb @ 155ms average access time. 1Mbyte RAM.
 Motorola 6809 at 2 MHz.  2 years ago it still ran (OK, it blew 
 a electrolytic cap in the HD power supply but that was an easy fix).

Still have my SWTPc clone built around -83. Wire-wrapped from
xerox'd original SWTPc schematics (only problem was that the
schematics weren't always correct, took a while to figure out
why the floppy controller didn't work :-).

Never went beyond FLEX and a pair of floppies though, and cheated
by buying a second hand SWTPc ct82 terminal (that's 82x16 on a
9 inch crt). That terminal together with a 300 bps modem was
my usenet window for years.

  _
Mats Lofkvist
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Diane Bruce

PSI, Mike Smith says:
 Those of you out there whose memories include CHANGING diapers not
 WEARING them might appreciate this.
 
 At the Smithsonian they have an exhibit on the history of computers.
...
 
 What's pathetic is that my wife (who is also in this field) and I walked
 down the ENTIRE line going used it, programmed it, programmed it, used

  We have the Science and Tech museum here in Ottawa. No its not as
large, but it also has a computer museum. (http://www.science-tech.nmstc.ca/)
But I had the same sad experience. I almost wanted to jump the rope to
load the bootloader into a PDP-8...

 If you don't know what a .ovl extension represents and have never
 patched Wordstar, I'm sure this message has no meaning to you. Oh to be
 young again.

  I never did Z-80 and CP/M but that reminds me of a PDP-11 RT-11 overlay
file.

-- 
Diane Bruce, http://www.db.net/~db [EMAIL PROTECTED]
--- I got bored with the last witty aphorism.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Jan Grant

On Tue, 8 Jan 2002, PSI, Mike Smith wrote:

 Those of you out there whose memories include CHANGING diapers not
 WEARING them might appreciate this.

Heh, yeah, I'm having real nostalgia pangs reading this. Maybe we sould
take this to freebsd-oldfarts@.

the amazing nostalgia man
(which the incredible power of remembering when this was all fields)

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 [EMAIL PROTECTED]
(Things I've found in my attic, #2: A hundredweight of pornography.)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Which ftpd for proxy ?

2002-01-08 Thread Julian Stacey

Hi all,
Any reccomendations what to install (or avoid) on my firewall,
from 4.4 /usr/ports/ftp/ to be a proxy ftpd server ?

My Background:
- I'm not looking for high performance, 
 (it's not a big company, just my home site with some internal hosts).
- I will have the usual security concerns with the imminent arrival
of a flat rate permanent DSL connection :-)
- /usr/libexec/ftpd does not (at least did not) support proxy requests.
- I have apache installed on my firewall  am using FTP_PROXY=http://gate
  but often remote ports distfile ftpd hosts refuse to serve me,
  perhaps because my apache is asking remote server on port 80, not ftp port.

I looked at /usr/share/doc/handbook  faq but noticed nothing.
I investigated ports/ftp/*  with grep -i prox etc  ...

  POSSIBLES:
bftpd:  Very configurable FTP server that can do chroot easily
CHANGELOG: You can have bftpd bind to only
one interface, for example, if you want to
run an FTP proxy server on the same port
on another network interface.
lukemftpd:  Enhanced ftp server from NetBSD
src/ftpd.cat8: prevents `third-party proxy ftp'
muddleftpd: A new ftp server that can perform a variety of ftp tasks
src/proxy.c
oftpd:  A threaded, anonymous only FTP server designed for security
grep shows no prox
proftpd:Highly configurable ftp daemon
grep shows no prox
pure-ftpd:  A small, easy to set up, fast and very secure FTP server   
 my distfile corrup, so not grepped.
vsftpd: A FTP daemon that aims to be very secure
grep shows no prox
wu-ftpd:A replacement ftp server for Un*x systems
The zero-length .notar file can confuse
some web clients and FTP proxies

  TO AVOID:
ncftpd: commercial 
yale-tftpd: tftp

I'd appreciate comment please. IE which should I use ?  Thanks.

Julian
J.StaceyMunich Unix (FreeBSD, Linux etc) Independent Consultant
 Free Software with Free Sources:   http://bim.bsn.com/~jhs/free/
 Ihr Rauchen = mein allergischer Kopfschmerz !  Schnupftabak probieren !

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Julian Stacey

Re.
   PET 2001-8
etc

Ancient google archives might be better on chat@ not hackers@ , however,
You may want to look at 
http://www.vintage.org   http://www.vcf.orgVintage Computer Fest
http://www.vcfe.org Vintage Computer Fest Europa, 
http://bim.bsn.com/~jhs/vcfe/   A BSD box designed by Bill Jollitz.

Julian
J.StaceyMunich Unix (FreeBSD, Linux etc) Independent Consultant
 Reduce costs to secure jobs: Use free software: http://bim.bsn.com/~jhs/free/
 Ihr Rauchen = mein allergischer Kopfschmerz !  Schnupftabak probieren !

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Josef Karthauser

On Tue, Jan 08, 2002 at 05:00:58PM +, Julian Stacey wrote:

   TO AVOID:
   ncftpd: commercial 

Just because it's commercial doesn't mean that it's no good.  It is
actually quite cheap, and we used it a lot at Pavilion Internet.

Joe



msg30801/pgp0.pgp
Description: PGP signature


Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread PSI, Mike Smith

 
 Ancient google archives might be better on chat@ not hackers@ , however,
 You may want to look at
 http://www.vintage.org   http://www.vcf.orgVintage Computer Fest
 http://www.vcfe.org Vintage Computer Fest Europa,

Old people don't do chat. Don't worry. Most of us can't even remember
where we left our teeth. So by tomorrow, we definitely won't remember
any of this and the list will be boring again. BTW, Never send oldfarts
links to sites you think may interest them that contain words like
VINTAGE.

We are the original hackers!

Mike Smith
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Is this TCP tuning information true?

2002-01-08 Thread Jin Guojun[ITG]

Hi,

Fund a URL for TCP tuning at

http://www.csm.ornl.gov/~dunigan/net100/auto.html

At the bottom of the page, it says:
 
OpenBSD/FreeBSD saved ssthresh/cwnd info for a path in the kernel routing
table, as I recall? That info could be used to prime subsequent
connections on the same path. Reference ? 


I traced the tcp_input.c/tcp_output.c (4.3-RELEASE), and did not found
such information. 
Would someone confirm above information or point to where is the code
or document for saving this ssthresh/cwnd information to the routing
table?

TIA,

-Jin

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Issues with /stand sysinstall

2002-01-08 Thread Jordan Hubbard

There is no way, currently.  It's done by the crunchgen scripts as
part of making a release but there's no way to do it for the purposes
of repopulating /stand.

 
 Tried -questions, no response.  Verified issue on 4.5 PRERELEASE.
 
 Going to
/usr/src/release/sysinstall
 and doing 
make all
make install
 
 builds a sysinstall which seems not to include the functionality
 needed to run as /stand/sh, /stand/fsck and friends.  What is the
 correct way to build and install all of /stand?
 
 /\/\ \/\/
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Terry Lambert

Doug Rabson wrote:
 That brings back memories. We wrote our own firmware for the 1541 since
 the commodore DOS was so slow. I forget what transfer rate we managed but
 it was much better than the standard code. Bit of a sod to debug though.

Fastest I ever saw with a firmware hack was 53k...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Miguel Mendez

On Tuesday 08 January 2002 19:45, Terry Lambert wrote:
 Doug Rabson wrote:
  That brings back memories. We wrote our own firmware for the 1541 since
  the commodore DOS was so slow. I forget what transfer rate we managed but
  it was much better than the standard code. Bit of a sod to debug though.

 Fastest I ever saw with a firmware hack was 53k...

Now that I'm subscribed to c64-hackers let's do some lda's here an there. I 
even have some Oxyron demo disks around :)

How about BSD for the 6510? ;-P

-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://energyhq.homeip.net
FreeBSD - The power to serve!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Terry Lambert

Julian Stacey wrote:
 
 Hi all,
 Any reccomendations what to install (or avoid) on my firewall,
 from 4.4 /usr/ports/ftp/ to be a proxy ftpd server ?

man libalias

Then install natd.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Terry Lambert

Miguel Mendez wrote:
 Now that I'm subscribed to c64-hackers let's do some lda's here an there. I
 even have some Oxyron demo disks around :)
 
 How about BSD for the 6510? ;-P

There's no GCC for it, and some idiot keeps converting things
to ANSI C, so I have an incredibly hard time compiling the
code on my C64 and Amiga with Aztec C (from Manx software),
which are both vanilla KR compilers.

It used to be that UNIX was written in KR C by the people who
invented both C and UNIX in the first place...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Matthew Dillon

:
:That brings back memories. We wrote our own firmware for the 1541 since
:the commodore DOS was so slow. I forget what transfer rate we managed but
:it was much better than the standard code. Bit of a sod to debug though.
:
:-- 
:Doug RabsonMail:  [EMAIL PROTECTED]
:   Phone: +44 20 8348 6160

Yup.  Remember Bryce's 1541 Flash?  He was working on beefing up
the C64 serial link while I was working on beefing up the PET's 
(software driven) IEEE-488 link.  We both managed to increase disk
bandwidth by an order of magnitude, mainly by synchronizing the 
computer's 6502 with the peripheral's 65xx and then just stuffing
data into the ports without bothering with any handshakes until the
very end.  That old usenet posting I posted has some references to it.

-Matt
Matthew Dillon 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Is there anyway from userspace to get the 'enum vtagtype v_tag' for a vnode for an open file?

2002-01-08 Thread Richard Sharpe

Hi,

I want to find out the file system type from userspace for an open file.

Can I get at this info? the stat call does not give it to me.

-- 
Richard Sharpe, [EMAIL PROTECTED], LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba 
in 24 Hours, Special Edition, Using Samba



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Oliver Fromme

Terry Lambert [EMAIL PROTECTED] wrote:
  Julian Stacey wrote:
   Any reccomendations what to install (or avoid) on my firewall,
   from 4.4 /usr/ports/ftp/ to be a proxy ftpd server ?
  
  man libalias
  Then install natd.

Maybe I'm wrong, but it sounded like he is searching for an
application-level proxy, not a packet-level one.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Is there anyway from userspace to get the 'enum vtagtype v_tag' for a vnode for an open file?

2002-01-08 Thread Richard Sharpe

Richard Sharpe wrote:

 Hi,

 I want to find out the file system type from userspace for an open file.

 Can I get at this info? the stat call does not give it to me. 

Hmmm, getfsspec seems to fill the need. Sorry for the noise.

-- 
Richard Sharpe, [EMAIL PROTECTED], LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba 
in 24 Hours, Special Edition, Using Samba




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Is there anyway from userspace to get the 'enum vtagtype v_tag' for a vnode for an open file?

2002-01-08 Thread Alfred Perlstein

* Richard Sharpe [EMAIL PROTECTED] [020108 13:55] wrote:
 Richard Sharpe wrote:
 
  Hi,
 
  I want to find out the file system type from userspace for an open file.
 
  Can I get at this info? the stat call does not give it to me. 
 
 Hmmm, getfsspec seems to fill the need. Sorry for the noise.

I think you want fstatfs(2).

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using 1970s technology,
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Brandon D. Valentine

On Tue, 8 Jan 2002, Julian Stacey wrote:

You may want to look at
   http://www.vintage.org   http://www.vcf.orgVintage Computer Fest
   http://www.vcfe.org Vintage Computer Fest Europa,
   http://bim.bsn.com/~jhs/vcfe/   A BSD box designed by Bill Jollitz.

Add to that a friend of a friend:

http://www.corestack.com

Brandon D. Valentine
-- 
Iam mens praetrepidans avet vagari.
- G. Valerius Catullus, Carmina, XLVI


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Overriding ARG_MAX

2002-01-08 Thread Garance A Drosihn

At 10:54 PM -0500 1/4/02, David Miller wrote:
What I usually want to do is something more like ls *.out |wc -l,
or grep something *.data or cat *.foo | grep something.

I have rebuilt the system in the past after greatly expanding
ARG_MAX, and that does what I want.  I'm just looking for an easy
way to preserve it across cvsups, not looking for alternate ways
to list the files in a directory:)

While greatly expanding ARG_MAX might do what you want, it is a bad
idea as there are a number of side-effects to doing that.  You are not
just fixing your problem, you are greatly increasing the memory usage
of many things in the system -- some of which are going to assume the
official POSIX setting for ARG_MAX (intentionally or unintentionally)
no matter what you change it to.  That is a mighty big hammer to swing
to fix the problem you're talking about, and it's a hammer that you're
going to have to keep expanding as you get more files to process.

I doubt you'll be thrilled with this answer, as I am also going to
ignore your direct question to answer what *I* consider to be the
bigger question, but I would do this some other way.  If it were me,
I would write a script in perl or ruby which would do the operations
I feel I need to do on these directories of files.  Maybe I'd even
generalize it, so I could feed it normal-looking commands, and the
script would know how to break up the list of files to get the right
results -- without going over ARG_MAX.  This way you don't have to
care about changing the size of ARG_MAX.

-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Matthew Dillon


:Unix!
:
:I've got _all_ the original CBM stuff for the VIC-20 and C-64, hardware
:and hardcopy. Even some aftermarket FDDs.
:
:I poked a _lot_ of stuff from Compute!, including the assembler, and
:have several of their wire-bound books, too.
:
:I've got the 6502 monitor and 300bps modem cartridges, and if I dig
:around, I'll bet I can find the breadboarded interface to an audio
:cassette player I built so long ago from a Byte article! I soldered
:reset wires to both machines' mobos, too.
:
:I've still got all software I accumulated on floppy (even some cool EA
:games, and MicroProse's Gunship), but I have no idea if any of it is
:still readable.
:
:Those were the days, my friends...
:Dave

Ah yes.  By the time I was ready to throw my PET away the hardware
inside was so hacked up I don't think anybody but me could boot the
thing.  I had replaced the character generator ROM with a RAM and wired
in a wire select to an unused bank, which meant the screen was spaghetti
on power-up until i LOAD'd a copy of the character set.  I had the 
machine language monitor extension rom.  I had wired in an extra 16K of
dynamic ram, giving me 48K total (bank selected) (imagine piggy-backing
a bank of 14 or 16 pin DIPs on another bank and soldering each lead,
except for the select, to the one below).  I had the NMI button hooked
up, of course, and I brought the TTL video lead for the monitor out
to act as a poor man's oscilliscope.  The insides of that box was a 
mess.

These days traces or so tiny and chip leads are so close together (not
to mention the 6+ layer boards!) that hacking a PC's hardware is pretty
close to impossible.

But it's funny... I never had a desire to hack up my C64's or my Amiga's.
I guess there enough fun things to do with them that hardware hacking
wasn't necessary.

-Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Wilko Bulte

On Tue, Jan 08, 2002 at 01:38:15PM -0800, Matthew Dillon wrote:

 :Those were the days, my friends...
 :Dave
 
 Ah yes.  By the time I was ready to throw my PET away the hardware
 inside was so hacked up I don't think anybody but me could boot the
 thing.  I had replaced the character generator ROM with a RAM and wired
 in a wire select to an unused bank, which meant the screen was spaghetti
 on power-up until i LOAD'd a copy of the character set.  I had the 
 machine language monitor extension rom.  I had wired in an extra 16K of
 dynamic ram, giving me 48K total (bank selected) (imagine piggy-backing
 a bank of 14 or 16 pin DIPs on another bank and soldering each lead,
 except for the select, to the one below).  I had the NMI button hooked

Ah, but that is easy. I did the same when I got my hands on a free stack of
DRAM chips. But mine were J-lead SMD jobs. Interesting... ;-)

 These days traces or so tiny and chip leads are so close together (not
 to mention the 6+ layer boards!) that hacking a PC's hardware is pretty
 close to impossible.

Hm. 2 months ago I removed a SMD multifunction I/O chip from a dual
CPU slot 1 mainboard. And put a new (well, had to desolder that one
from a donor mainboard) chip back on. It *is* doable, but you need a
stereo microscope, a Weller fine-pointed thermocontrolled soldering iron and
lots of patience. 

Only downside: people started to dial 112 (our version of 911) when
I told them ;))

W/
-- 
|   / o / /_  _ email:  [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: A Helping Hand

2002-01-08 Thread Giorgos Keramidas

On 2002-01-04 23:00:27, [EMAIL PROTECTED] wrote:
Whichever hacker,

 Upon reading section 3.1 in
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.4-RELEASE/floppies/README.TXT,
 I learned that you can always use a helping hand. I, however, do not
 know how to program just yet. The project aroused my interest, and
 I'd like to help out when I can. If you'd like, I'll take any and
 all advice provided on how to go about helping the freebsd team
 through recommended reads, practices, and people to talk to.

 I learn very fast, and I am quite aspiring. If you're interested, we
 could talk more on IRC.

The front page of http://www.FreeBSD.org/ has a link to the article
titled Contributing to FreeBSD.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html

That should get you started :-)

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread TD790

In a message dated 01/08/2002 2:11:05 PM Eastern Standard Time, 
[EMAIL PROTECTED] writes:

 Miguel Mendez wrote:
   Now that I'm subscribed to c64-hackers let's do some lda's here an 
there. 
 I
   even have some Oxyron demo disks around :)
   
   How about BSD for the 6510? ;-P
  

Can I interest anyone in a half box of Elephant Disks (the ones the labels 
wouldn't stay on)? 

DB

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Terry Lambert

Oliver Fromme wrote:
 Terry Lambert [EMAIL PROTECTED] wrote:
   Julian Stacey wrote:
Any reccomendations what to install (or avoid) on my firewall,
from 4.4 /usr/ports/ftp/ to be a proxy ftpd server ?
  
   man libalias
   Then install natd.
 
 Maybe I'm wrong, but it sounded like he is searching for an
 application-level proxy, not a packet-level one.

The natd program has application level proxy code (natd is an
application level program) that supports FTP, RTSP, QuickTime,
RealAudio, and other application protocols that have the bad
grace to pass IP address and port information over a control
link.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread D J Hawkey Jr

On Jan 08, at 01:38 PM, Matthew Dillon wrote:
 
 Ah yes.  By the time I was ready to throw my PET away the hardware
 inside was so hacked up I don't think anybody but me could boot the
 thing.
 
[SNIP]
 
 -Matt

I've never been much of a hardware hacker, but my buddy, some eight
years older than I (with an EE degree), hacked up his PET pretty good.

I don't know the particulars, but I remember a wrapped core of wires
some inch-think that went all over his house. He had managed to get
the little thing to control his garage-door opener, his microwave oven,
his stereo system, and I don't remember all what else. You could access
it remotely, too.

The stereo thang was SO cool. He'd cataloged all his 8'' quad tape
reels - which he'd set up with some sort of markers on the unused
channels - so you could walk up to the PET, select a song from a menu,
it'd tell you what reel to mount, and it'd find that song and play it!
FF, RW, skip, repeat, all the bells and whistles. Select radio freqs
on the tuner, too! I remember all sorts of solenoids and servos he
added to the guts of his stereo equipment to pull this off.

I was like, 16 or 17, as I recall, and that just blew me away. He goes
back to wire-wrapping instructions on CDC test equipment, and now is
focused on bleeding-edge HDD controllers. He's the mad scientist guy
in my life.

My heyday was back when MS-DOS was still fair game, and DESQview was
the cool thing to run on a PC. I hacked their and the BIOS interrupts a
lot, and was actually paid pretty well for it. Can't do that no more,
though.

OK, enough of this Wayback Machine(tm) stuff. See Ya,
Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Matthew Dillon


:Hm. 2 months ago I removed a SMD multifunction I/O chip from a dual
:CPU slot 1 mainboard. And put a new (well, had to desolder that one
:from a donor mainboard) chip back on. It *is* doable, but you need a
:stereo microscope, a Weller fine-pointed thermocontrolled soldering iron and
:lots of patience. 
:
:Only downside: people started to dial 112 (our version of 911) when
:I told them ;))
:W/
:-- 
:|   / o / /_  _email:  [EMAIL PROTECTED]
:|/|/ / / /(  (_)  BulteArnhem, The Netherlands 

Ah, that's no fun.  Try this:  Take a surface-mounted circuit board,
turn it upside down, and apply a heat gun to the backside.  Now *that*
is fun!

-Matt
Matthew Dillon 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Bruce A. Mah

If memory serves me right, [EMAIL PROTECTED] wrote:
 In a message dated 01/08/2002 2:11:05 PM Eastern Standard Time, 
 [EMAIL PROTECTED] writes:
 
  Miguel Mendez wrote:
Now that I'm subscribed to c64-hackers let's do some lda's here an 
 there. 
  I
even have some Oxyron demo disks around :)

How about BSD for the 6510? ;-P
   
 
 Can I interest anyone in a half box of Elephant Disks (the ones the labels 
 wouldn't stay on)? 

; I don't know which is more sad, the fact that I thought of doing this,
; or the fact that I still remember how.
COUTEQU $FDED   ; character output

REPLY   LDX #0
:1  LDA TEXT,X
BEQ :2
JSR COUT
INX
BNE :1  ; blows up if string length  255
:2  RTS

TEXTBYT No thanks, I've got a bunch from my Apple ][ days., $0D, $00

Bruce.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Terry Lambert

Matthew Dillon wrote:
 Ah yes.  By the time I was ready to throw my PET away the hardware
 inside was so hacked up I don't think anybody but me could boot the
 thing.  I had replaced the character generator ROM with a RAM and wired
 in a wire select to an unused bank, which meant the screen was spaghetti
 on power-up until i LOAD'd a copy of the character set.

UGH.  You didn't load the RAM from the ROM at power on?!?

We had the high resolution graphics board in one machine; it's
where I did my first ray tracing code, for an Optics class.  Now
*that* was a cool third party board, replacing the character
generator output with bitmapped graphics, and un-overlapping the
video memory by actually wiring in the chip select for more RAM.

 I had the machine language monitor extension rom.

8-).  Quick, what are A0, A2, and A4, and what are their
operands?  What's the difference between 4C and 6C?  8-) 8-).

 I had wired in an extra 16K of dynamic ram, giving me 48K
 total (bank selected) (imagine piggy-backing a bank of 14
 or 16 pin DIPs on another bank and soldering each lead,
 except for the select, to the one below).

I paid the $18 (a tidy sum, in those days!) for the 100 pin edge
connector from DigiKey, and expanded that way.  For the bank
select, I had a set of sockets to sit in the sockets between the
RAM and the motherboard for the select.  Mostly I just ran with
the 32K, which was enough for almost anything you would ever want
to do...

 I had the NMI button hooked up, of course, and I brought
 the TTL video lead for the monitor out to act as a poor
 man's oscilliscope.  The insides of that box was a
 mess.

Heh.  The only ugly thing about mine today is the replacement
power diodes are larger so they won't cook, and I replaced the
Molex connector do that opening and closing the case didn't
short the power supply...


 These days traces or so tiny and chip leads are so close
 together (not to mention the 6+ layer boards!) that hacking
 a PC's hardware is pretty close to impossible.

Not to mention incredibly uninteresting.  When PCI went in, the
experimentor's cards became too complicated, as well 8-(, so
things aren't nearly as easy as they used to be, even back in
the ISA days...

 But it's funny... I never had a desire to hack up my C64's
 or my Amiga's.  I guess there enough fun things to do with
 them that hardware hacking wasn't necessary.

You never did the Fat Agnes surgery, or the Spirit memory
board thing on an Amiga 1000, so you could see the double half
bright demo animation of the tap-dancing guy while In the
Hall of the Mountain King played out the speakers?

There's also the 68010 hack for the 1000 (you needed to hack
virus code to make the MPSW fixup patch live across a reboot
so that you could run the PC and Mac emulators, but it let
you run SVR3.2 on the A1000, if you had the Supra SCSI drive
and Zorro controller... ah, the first UNIX box I ever owned...).

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Oliver Fromme

Terry Lambert [EMAIL PROTECTED] wrote:
  Oliver Fromme wrote:
   Maybe I'm wrong, but it sounded like he is searching for an
   application-level proxy, not a packet-level one.
  
  The natd program has application level proxy code (natd is an
  application level program) that supports FTP, RTSP, QuickTime,
  RealAudio, and other application protocols that have the bad
  grace to pass IP address and port information over a control
  link.

I thought that natd just parsed the PORT and PASV commands
and replies, respectively, and changed them accordingly,
while just passing on everything else.  That's not what I
call an application-level proxy.  It's a packet-level proxy
with some hacks.  ;-)

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Terry Lambert

Oliver Fromme wrote:
 I thought that natd just parsed the PORT and PASV commands
 and replies, respectively, and changed them accordingly,
 while just passing on everything else.  That's not what I
 call an application-level proxy.  It's a packet-level proxy
 with some hacks.  ;-)

What do you want it to do above and beyond that?  There's
very little else *to* do, I think...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Matthew Dillon

:UGH.  You didn't load the RAM from the ROM at power on?!?
:
:We had the high resolution graphics board in one machine; it's
:where I did my first ray tracing code, for an Optics class.  Now
:*that* was a cool third party board, replacing the character
:generator output with bitmapped graphics, and un-overlapping the
:video memory by actually wiring in the chip select for more RAM.
:
: I had the machine language monitor extension rom.
:
:8-).  Quick, what are A0, A2, and A4, and what are their
:operands?  What's the difference between 4C and 6C?  8-) 8-).

AAaaahhh Aaaah  take them away!  take them away!  God, it's all
coming back.  A2, ldx # immediate.. NO NO!  I refuse!  The pain, the
pain!   My favorite is A1 and B1.  NO! STOP!

But, do you know what '02' does?  On an original 6502?   The 6502 
was a hardwired processor, which means that even the hex codes that 
didn't have an official instruction did things.  Weird things to be
sure, but things nontheless.  They cleaned it up later on (in the 816)
but not in the PET/C64 era and not on the 6502 based 65xx series.

Somebody somewhere has a complete list of unsupported instructions
that nevertheless do interesting things.

I wrote a centipede game entirely in machine language and sent it off
to cursor magazine, but they didn't publish it... I think they thought
I might have stolen it or something it was so good :-(.  The last level
was the best... the centipede was invisible and only became visible
for a few seconds when you hit it.  I *so* wish I still had that code.

:You never did the Fat Agnes surgery, or the Spirit memory
:board thing on an Amiga 1000, so you could see the double half
:bright demo animation of the tap-dancing guy while In the
:Hall of the Mountain King played out the speakers?

No, never did that.

:There's also the 68010 hack for the 1000 (you needed to hack
:virus code to make the MPSW fixup patch live across a reboot
:so that you could run the PC and Mac emulators, but it let
:you run SVR3.2 on the A1000, if you had the Supra SCSI drive
:and Zorro controller... ah, the first UNIX box I ever owned...).
:
:-- Terry

Ho!

-Matt
Matthew Dillon 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread D J Hawkey Jr

On Jan 08, at 02:58 PM, Terry Lambert wrote:
 
 8-).  Quick, what are A0, A2, and A4, and what are their
 operands?  What's the difference between 4C and 6C?  8-) 8-).

LDY imm, LDX imm, LDY zpg. JMP abs vs. JMP ind.

HA!

 -- Terry

Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Matthew Dillon


:...
: in a wire select to an unused bank, which meant the screen was spaghetti
: on power-up until i LOAD'd a copy of the character set.
:
:UGH.  You didn't load the RAM from the ROM at power on?!?

No extra rom slots.  Had to load from tape or floppy.

:We had the high resolution graphics board in one machine; it's
:where I did my first ray tracing code, for an Optics class.  Now
:*that* was a cool third party board, replacing the character
:generator output with bitmapped graphics, and un-overlapping the
:video memory by actually wiring in the chip select for more RAM.

I seem to recall the CBM business machines (decked out PETs with a
larger screen and other cool stuff) had some cool graphics capabilities,
but the only time I was ever able to play with one was in the computer
store.  They were just too expensive for me at the time.

-Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Wilko Bulte

On Tue, Jan 08, 2002 at 02:36:55PM -0800, Matthew Dillon wrote:
 
 :Hm. 2 months ago I removed a SMD multifunction I/O chip from a dual
 :CPU slot 1 mainboard. And put a new (well, had to desolder that one
 :from a donor mainboard) chip back on. It *is* doable, but you need a
 :stereo microscope, a Weller fine-pointed thermocontrolled soldering iron and
 :lots of patience. 
 :
 :Only downside: people started to dial 112 (our version of 911) when
 :I told them ;))
 :W/
 :-- 
 :|   / o / /_  _  email:  [EMAIL PROTECTED]
 :|/|/ / / /(  (_)  Bulte  Arnhem, The Netherlands 
 
 Ah, that's no fun.  Try this:  Take a surface-mounted circuit board,
 turn it upside down, and apply a heat gun to the backside.  Now *that*
 is fun!

Sure, works. But then you can generally throw the PCB away. I was
trying to fix it remember? :-P

Instead of a heat gun I saw some adventurous people use an 
acetylene torch. Now that works quick ;-)

Fascinating..

-- 
|   / o / /_  _ email:  [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Iain Templeton

On Tue, 8 Jan 2002, Matthew Dillon wrote:

 I had wired in an extra 16K of dynamic ram, giving me 48K
 total (bank selected) (imagine piggy-backing a bank of 14
 or 16 pin DIPs on another bank and soldering each lead,
 except for the select, to the one below).

Yes, now imagine doing that with 100 odd pin TSOP's with really small
pitch, stacked three high... we have a couple of them at work for some
eval boards which didn't have enough memory.

Iain


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Bruce A. Mah

If memory serves me right, Matthew Dillon wrote:

 But, do you know what '02' does?  On an original 6502?   The 6502 
 was a hardwired processor, which means that even the hex codes that 
 didn't have an official instruction did things.  Weird things to be
 sure, but things nontheless.  They cleaned it up later on (in the 816)
 but not in the PET/C64 era and not on the 6502 based 65xx series.

I'm not sure I've ever heard anyone ever call the 65816 a cleaned-up
version of anything.  Talk about a Jeckyl and Hyde processor!  (For the
uninitiated, it had these mode bits where you could set parts of the
processor to be either 8-bit or 16-bit mode, along with things like the
8086's segment registers to give you this pseudo-24-bit addressing.  I 
think they finally did use all 256 opcodes on that one.)

Oh yeah, I think someone had to do some amount of clean up for the
65C02 since it had a few more (defined) opcodes than the original 6502.

[Centipede game]

Ob-65XXX hack:  I once wrote a spreadsheet, starting from a numerics
package, ProDOS, and a GUI toolkit.  In assembler.  Doing the infix
expression parser was especially fun.  If anyone remembers Pinpoint
Publishing and their still-borne Digit, well, that was it.  I still
have my code, in a couple of two-inch binders somewhere.

 Somebody somewhere has a complete list of unsupported instructions
 that nevertheless do interesting things.

I have this odd feeling that such a list was either in the Zaks book or
one of the Apple ][ reference manuals.

Bruce.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Garance A Drosihn

Okay.
Could we move the trip(s) down memory lane to some other mailing list?

I'm certainly old enough to wax nostalgic about many things, but somehow
freebsd-hackers doesn't seem to be an appropriate place to do that.

-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Julian Stacey

Terry Lambert wrote:
 Julian Stacey wrote:
  Hi all,
  Any reccomendations what to install (or avoid) on my firewall,
  from 4.4 /usr/ports/ftp/ to be a proxy ftpd server ?
 
 man libalias
 
 Then install natd.

I don't believe that's the solution I'm looking for.  I may be
wrong, or things may have changed, but when I built my firewall a
few years back I was under the strong impression that NAT was a
poor man's cheap  dirty insecure replacement for a proper firewall ?

I don't want to secure all my internal hosts, I just want the gate
to be secure.  I went to the effort of doing the thing right,
building all the ipfw rules, getting internal  external named
roughly right, getting sendmails on gate  internals to forward
(OK, incoming is OK, but I admit outgoing is not yet right), getting
apache reconfig'd to support proxying (it didnt used to, might now
by default, can't remember), ftp proxy is about the last thing.
I'm not be convinced it'd be worth tossing all that work  putting
in a NATD security loophole ?

I suppose folks on [EMAIL PROTECTED] might know more about
ipfw + proxies V. NAT,
but I wasnt really asking to discuss that,
I was asking for reccomendations on proxying ftpd's.

Julian
J.StaceyMunich Unix (FreeBSD, Linux etc) Independent Consultant
 Reduce costs to secure jobs: Use free software: http://bim.bsn.com/~jhs/free/
 Ihr Rauchen = mein allergischer Kopfschmerz !  Schnupftabak probieren !

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Julian Stacey

TO AVOID:
  ncftpd: commercial=20
 
 Just because it's commercial doesn't mean that it's no good.  It is
 actually quite cheap, and we used it a lot at Pavilion Internet.

I wrote:

 (it's not a big company, just my home site with some internal hosts)

I want a proxy ftpd for Home Use.  I have no budget  want no
licensing hastle now or later.  Free software is also easier to
later clone, custom config  supply to customers pre config'd with
rest of systems.  Are there features of ncftpd I can't get
for free with the other ftpd's ?

Julian
J.StaceyMunich Unix (FreeBSD, Linux etc) Independent Consultant
 Reduce costs to secure jobs: Use free software: http://bim.bsn.com/~jhs/free/
 Ihr Rauchen = mein allergischer Kopfschmerz !  Schnupftabak probieren !

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Julian Stacey

Mats Lofkvist wrote:
 
 Still have my SWTPc clone built around -83. Wire-wrapped from
 
 Never went beyond FLEX and a pair of floppies though, and cheated

I was part of a 4 man team for a better DOS for the SWTPC M6800 in
79/80, I still have email contact with one of the fellow students
who may have a copy of what he wrote back then, if wanted.

Julian
J.StaceyMunich Unix (FreeBSD, Linux etc) Independent Consultant
 Reduce costs to secure jobs: Use free software: http://bim.bsn.com/~jhs/free/
 Ihr Rauchen = mein allergischer Kopfschmerz !  Schnupftabak probieren !

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Julian Stacey

Nils Holland wrote:

 I should probably dedicate a weekend to find out if these 200+ C64 disks in
 my collection are still working (that is, if I get my 1541-II's properly
 alaigned again...)

Doubtless some will have bad sectors by now.  Here's a rescue tool:
http://bim.bsn.com/~jhs/src/bsd/jhs/bin/public/valid/valid.c  valid.1

`Valid' runs on FreeBSD, but only rescues when running on MSDOS !
(because read() on DOS3.2 returns the intact buffer even if the
CRC fails, so I can then average each bit of each byte in each
sector for all reads).  `Valid' works at sector level, no knowledge
of file systems, so it can rescue/ manipulate BSD FS sectors on
floppy, tar images, DOS or Minix file systems etc.

Julian
J.StaceyMunich Unix (FreeBSD, Linux etc) Independent Consultant
 Reduce costs to secure jobs: Use free software: http://bim.bsn.com/~jhs/free/
 Ihr Rauchen = mein allergischer Kopfschmerz !  Schnupftabak probieren !

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Josef Karthauser

On Wed, Jan 09, 2002 at 12:22:21AM +0100, Julian Stacey wrote:
 TO AVOID:
 ncftpd: commercial=20
  
  Just because it's commercial doesn't mean that it's no good.  It is
  actually quite cheap, and we used it a lot at Pavilion Internet.
 
 I wrote:
 
  (it's not a big company, just my home site with some internal hosts)

I believe that you can use ncftpd with a 5 user licence for free.
 
Joe



msg30838/pgp0.pgp
Description: PGP signature


FreeBSD Floppy driver needs enhancement...

2002-01-08 Thread Terry Lambert

Julian Stacey wrote:
 Doubtless some will have bad sectors by now.  Here's a rescue tool:
 http://bim.bsn.com/~jhs/src/bsd/jhs/bin/public/valid/valid.c  valid.1
 
 `Valid' runs on FreeBSD, but only rescues when running on MSDOS !
 (because read() on DOS3.2 returns the intact buffer even if the
 CRC fails, so I can then average each bit of each byte in each
 sector for all reads).  `Valid' works at sector level, no knowledge
 of file systems, so it can rescue/ manipulate BSD FS sectors on
 floppy, tar images, DOS or Minix file systems etc.

Sounds like the FreeBSD floppy driver needs to be modified to
return the full buffer, even if there is a CRC error.

This implies a descriptor being passed, so that the CRC and
the data are seperate.

You could probably just wadd an ioctl that expected the
descriptor to be at the front of a data buffer, so that
you passed the address of the descriptor + buffer, after
the ioctl().

This seems a useful feature...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



console becomes unusable after screensaver -- who is to blame?

2002-01-08 Thread BOUWSMA Beery

[replies sent directly to me may timeout and bounce, since I'm not
 online as often as I should be, but I'll check the list archives]

Howdy

This is something that normally hasn't been a problem -- with a
different video card, I've loaded the green saver, done all my work
on the sc consoles, the saver's kicked in when I've failed at staying
awake, the monitor has powered down, and then when I've rolled over
onto the keyboard, the monitor comes back on and I can work, or fall
back asleep, or whatever.

However, after putting in this newer Eeevil Kyro video card (pci1:
SGS-Thomson model 0010 VGA-compatible display device at 0.0 irq 11
I haven't been able to wake up the display after the saver has kicked
in for a length of time.

I'm able to manually invoke (shift-pause) the saver and soon after,
return to normal.  And I've never had any problems with the other
video card I've normally used.

I made the mistake of falling asleep while listening to an mp3,
and I seem to remember that it didn't sound quite right as I slept.
When I half-woke, I couldn't get the display to come back on by the
keyboard, but the mp3 sounded a bit better (I think, I was mostly
asleep and the `music' wasn't something I'd be able to identify as
sounding abnormal without being familiar with it, which I wasn't).

I then moved the mouse.  Then the `music' sounded like the machine had
wedged.  The monitor didn't come back on.  I didn't get any response
from a serial port that I thought might have a getty (later I verified
it should).

So after a reboot, when I got into saver mode again but without any
mp3 playing, again I couldn't get the keyboard to wake the monitor.
However, this time, whacking the mouse returned the display to life
and indeed the mouse cursor was hopping smoothly around.

But still the keyboard, a generic IBM clickety-click PS/2 model,
could not be used for anything.  But what I did notice is that each
time I hit a key, any mouse movement would freeze for a few seconds,
before returning to normal.  Dis- and reconnecting the keyboard (I'm
not admitting to doing so) did no good.  Usual numlock and scrolllock
keys made no difference.  Only the serial port could be used, though
I could cut and paste from the mouse into the login prompt.

Obviously this particular video card seems to disagree with something.
But who really is to blame?  I don't know enough to say
* the video card is responsible for hosing the keyboard
* there's some BIOS video power manglement option that I need to
  change
* there's something in the green_saver module or FreeBSD itself

I haven't taken the time to try the several BIOS choices to see if
they make a difference.  But if anyone has any ideas, I'm open to
learning.  I haven't tried the apm_saver at all.

---
Actually, it seems that what is happening with this particular video
card and the green saver, is identical to what happens on a different
machine with a completely different card and BIOS, when I boot without
a keyboard attached at time of the kernel probe, such as when I boot
to log to a serial console, and then attach the keyboard later.  I have
but a single keyboard I must juggle around.  So it doesn't seem that
the video card is at fault itself.  Weird.


thanks,
barry bouwsma


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Which ftpd for proxy ?

2002-01-08 Thread Casey T . Zednick

On Tuesday 08 January 2002 10:00 am, Julian Stacey wrote:
 Hi all,
 Any reccomendations what to install (or avoid) on my firewall,
 from 4.4 /usr/ports/ftp/ to be a proxy ftpd server ?

 My Background:
 - I'm not looking for high performance,
  (it's not a big company, just my home site with some internal hosts).
 - I will have the usual security concerns with the imminent arrival
   of a flat rate permanent DSL connection :-)
 - /usr/libexec/ftpd does not (at least did not) support proxy requests.
 - I have apache installed on my firewall  am using FTP_PROXY=http://gate
   but often remote ports distfile ftpd hosts refuse to serve me,
   perhaps because my apache is asking remote server on port 80, not ftp
 port.


Give /usr/ports/www/squid a try, it can proxy HTTP and FTP.

http://www.squid-cache.org/

Hope this helps, but if I where doing it I would use NAT and block any 
incoming from the outside.  That way you can use other net apps too.

-Casey Z
-- 
This E-mail message was created with Open Source Software.
Using: 
FreeBSD, http://www.freebsd.org
KDE's KMail, http://www.kde.org 
Vist these sites and support O.S.S.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Very High Speed TCP Session ... How I can achieve ?

2002-01-08 Thread Giovanni Pau

I would like to have a very High Throughput TCP session Between two Free-BSD
but I'm unable to get Socket buffer larger than 256 Kbytes.

My test scenario is a bulk FTP in a (totally empty) test Pipe of
1 Gbit/s and 170 ms of delay so my pipe size over 2 Mbytes.

Thanks for any suggestion or reference you can give.

/Giovanni.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Very High Speed TCP Session ... How I can achieve ?

2002-01-08 Thread Manish Jain

hello,

I tried setting socket buffer to 300 k and and am able to do it.
What error do you get when you try to set socket buffer larger than 256 k.
What is the version of freebsd u r using ?

manish
http://www.cis.udel.edu/~jain

On Tue, 8 Jan 2002, Giovanni Pau wrote:

 I would like to have a very High Throughput TCP session Between two Free-BSD
 but I'm unable to get Socket buffer larger than 256 Kbytes.

 My test scenario is a bulk FTP in a (totally empty) test Pipe of
 1 Gbit/s and 170 ms of delay so my pipe size over 2 Mbytes.

 Thanks for any suggestion or reference you can give.

 /Giovanni.



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-net in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message