Re: Problems with TermCap

2003-03-15 Thread Robin Damm
On Sat, Mar 15, 2003 at 10:20:13PM -, Richard Brumpton wrote:
 Accidently, I delted the /usr/misc/share/termcap file.
 I grabbed the termcap.small from freebsd.org (only one I could find) and
 installed it and then ran the cap_mkdb util.
 
 The console seems to be ok, but when I telnet in or ssh into the system I
 get an error.
 
 Telnet says cannot read termcap database, using dumb terminal settings and
 ssh says csh: cannot open etc/termcap
 
 Etc/termcap is a symbolic link to /usr/misc/share/termcap.
 
 I am sure it is something simple I have missed, but would appreciate help

Only console terminals are listed in termcap.small, hence the error
when using ssh.

Provided you have the sources installed, the following should get
termcap installed as before.

# cd /usr/src/share/termcap
# make install
 
-- 
Robin Damm [EMAIL PROTECTED]

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


Re: Dual X session question

2003-03-12 Thread Robin Damm
On Wed, Mar 12, 2003 at 10:36:36PM -0500, Bob Bomar wrote:
 I have a Radeon 7500 Dual Head card currently running dual
 head with xinerama on :0 and a remote session on :1 from
 an Ultra 1.  What I want to do is to run the local session
 on the left screen and the remote X form the Ultra 1 on
 the right.  I have read some mail lists online, but I have
 not found any more infomation on this.
 
 I think this is possible, but I am trying to figure out
 how to do this, any ideas?

Take a look at x2x (/usr/ports/x11-servers/x2x).

I have not used it myself so I cannot provide any details, but it
looks like it should do the trick. 

-- 
Robin Damm [EMAIL PROTECTED]

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


Re: Is there a way to slow down file transfers?

2003-02-14 Thread Robin Damm
On Fri, Feb 14, 2003 at 04:23:19PM -0700, J. Scott Edwards wrote:
 
 I have a remote machine running 4.7 which is streaming audio using
 icecast.  I was hoping to back up the machine by transferring the files to
 my local machine and doing the backup here.  However when I try to copy
 any (non-tiny) files, using scp for example, it floods the network
 connection and messes up the audio stream.  Is there any way I can
 transfer files from it at a much slower rate, something like 1/8 normal?

How about rsync with the --bwlimit switch.

http://rsync.samba.org/ftp/rsync/rsync.html

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: JDK, Tomcat, + argh!

2003-01-31 Thread Robin Damm
Rich Fox [EMAIL PROTECTED] writes:

 Hi,
 
 I have been trying to build and install the www/jakarta-tomcat41 package.
 
 As you may know, you must download the file jdk1_2_2-src.tar.gz from Sun
 only. The only problem is, they don't seem to have it on their site.
 All of the documentation I have read indicates that I need to NOT download
 the linux, but the alternatives are Solaris, Solaris SPARC, and Windows.
 Surely it's not one of those?!
 
 I did manage to find a copy of the jdk1_2_2-src.tar.gz on a server in
 Taiwan, but the checksums don't match and naturally it raises lots of
 warning flags in my mind.
 
 This is making me crazy! Can anyone tell me where I can get a trusted
 copy of this silly file from?

http://wwws.sun.com/software/java2/download.html

It's the second Download link listed for 1.2.2. The checksums match
too :)

You could also install jdk 1.3.1 (/usr/ports/java/jdk13) instead of
1.2.2, then install tomcat.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: odd lack of fonts in Mozilla 1.2.1

2003-01-29 Thread Robin Damm
John Bleichert [EMAIL PROTECTED] writes:

 Hello All
 
 I've just installed a minimal 4.7 box with X, mwm and Mozilla 1.2.1 (which 
 is just plain mozilla in the ports, cvsup'd tongight). For some reason 
 there are very few fonts available in the preferences in Mozilla, and the 
 ones that are there look *awful*. I installed Netscape 4.8 and Opera and 
 the fonts are fine with them.
 
 Is something busted with native mozilla 1.2.1? Or am I missing something? 
 It takes a long time to build Mozilla on this box...
 

I'm just speculating, but the awful font appearance could be related
to Xft. I build mozilla with the following option:

# make WITHOUT_XFT=yes

This greatly improves font appearance in mozilla (IMHO). There may be
a way to fix this by tuning X, but then you have two problems :)

Do post if you find a workaround other than recompiling with the
above option.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Setting up serial console!

2003-01-26 Thread Robin Damm
Bryan Ko [EMAIL PROTECTED] writes:

 Hello all,
 
 I am trying to set up serial console for the first time and I am having some
 troubles to make it work.
 I bought a null modem cable and connected it to COM1 on two computers. One
 is Windows XP,
 and one is FreeBSD. I created boot.config file with the line:
 -Dh
 When I rebooted the FreeBSD box, the dmesg was not shown anymore. I think it
 wrote to serial
 console already. Then I tried to connect to the FreeBSD box in WinXP by
 using the HyperTerminal.
 But nothing was displayed and I rebooted freebsd box again. Still nothing.
  
 [Deleted...]


Boot messages should appear simply by connecting to com1 from
HyperTerm. To get a login prompt you need to edit /etc/ttys.

Change the line:

ttyd0   /usr/libexec/getty std.9600   dialup  off secure

to:

ttyd0   /usr/libexec/getty std.9600   dialup  on secure

Connect via HyperTerm or tip com1 from another bsd box, hit Enter
and you should receive a prompt. If you still do not see anything try
using only the -h flag in boot.config.

More info at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html.

Hope that helps.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: additional distribution sets

2003-01-14 Thread Robin Damm
On Tue, Jan 14, 2003 at 10:23:19PM -0500, Tom Parquette wrote:
 Michael J Ruhl wrote:
 Howdy,
 
 I forgot to install some distribution sets when I did my original
 install, so I am trying to do so now.
 
 Going to /stand/sysinstal I selected the post install, add distrubtion
 sets, selected the stuff, and then tried to do the FTP.
 
 However, when I do that I get:
 
 Can't find the 4.7-STABLE distribution on this FTP server (I was using
 ftp.freebsd.com, ftp2.freebsd.com and ftp3.freebsd.com).
 
 I am using 4.7-STABLE, and trying to install the 2.2 and 3.0 a.out
 binary libraries.
 
 Any thoughts on this matter would be helpful. :)
 
 Mike,
 I had something similar happen with packages after I went from 
 4.7-RELEASE to 4.7-STABLE.  I got around it by going to /usr/ports/... 
 and building what I wanted from source.

AFAIK distribution sets target a particular -RELEASE branch not
-STABLE or -RELENG. From sysinstall, select Options and set the
Release Name to 4.7-RELEASE, and you should be good to go. 

I am not aware of the consequences (if any) of doing this.

Ideally, you should build from the sources.

# cd /usr/src/lib/compat/compatXX
# make install

See the make.conf man page for info on building compat libs during
buildworld. 

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: attaching a umass device?

2003-01-08 Thread Robin Damm
On Thu, Jan 09, 2003 at 01:13:24PM +1100, David Gerard wrote:
 
 This is probably really simple, but I couldn't see it in the handbook ...
 
 I've plugged a umass device (a camera) into a USB port. What do I do now to
 get access to the data?

I have no usb toys myself, but I gather it should be as easy as
mount -t msdos /dev/$foo /mnt/$bar. Then access the camera as a
regular filesystem. Grep dmesg or syslog for umass to find out the
device name. 

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: dhclient - no DHCPOFFERS received.

2003-01-06 Thread Robin Damm
On Mon, Jan 06, 2003 at 09:18:36PM +, lewiz wrote:
 Hi,
 
   Just recently I've found my laptop has been taking a while to obtain a
 lease.  I turned on all logging to the console and found the following
 (modified a bit):
 
 dhclient: DHCPREQUEST on ep0 to 255.255.255.255.0 port 67
 dhclient: Trying media media 10base2/BNC 1
 dhclient: DHCPDISCOVER on ep0 to 255.255.255.255 port 67 interval 6
 
   At this point a series of ``Trying media...'' and ``DHCPDISCOVERER''
 are repeated (only the interval changed - 6, 12, 14, 18 then 6).
 
 dhclient: No DHCPOFFERS received..
 dhclient: Trying recorder lease 192.168.0.10
 
   It looks to me like the DHCP server is not responding.  Is this the
 case?  I've verified that the DHCP server is working (another machine
 has no problems obtaining a lease).  Any ideas?

I'm assuming the client eventually obtains a lease.

Does the problem persist if you manually release/renew the IP?

  # dhclient -r
  # dhclient ep0

A cache problem perhaps? 

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Browser delays

2002-12-29 Thread Robin Damm
On Sun, Dec 29, 2002 at 09:48:04PM -0500, Mike Jeays wrote:
 When browsing certain web sites, including www.cnn.com, there
 is about a 90 second delay when I load the first page; subsequent
 pages are quite fast.  I don't get the same problem with Windows
 2000.
 
 Any suggestions, please?  Do I need to enable a DNS caching server?

The problem may be related to the following bug:

http://bugzilla.mozilla.org/show_bug.cgi?id=135724

If you are experiencing this bug DNS caching will not have any
effect because it appears to be a lookup problem within mozilla.
However, disabling INET6 in the kernel does provide a nice
workaround here.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: NFS Software

2002-12-17 Thread Robin Damm
On Tue, Dec 17, 2002 at 03:18:25PM -0500, Ghada Bahig wrote:
 Hi,
 
 I am a software engineer working for Nortel Networks and we would like
 to download and investigate your NFS system as well as rpc.
 
 If you could point me to a specific ftp site to download these two
 products, that would be great. I am trying to download only these
 products as a tar or a zipped file

How about using cvsweb?

http://www.freebsd.org/cgi/cvsweb.cgi/src/

Specifically /sys/nfs, /sys/nfsclient and /sys/nfsserver.

Hope that helps.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Wheelmouse

2002-12-16 Thread Robin Damm
On Mon, Dec 16, 2002 at 04:07:46PM +0200, Wayne Swart wrote:
 i got like a generic type wheelmouse, and is running fbsd 4.7
 
 how do you get the wheel to work? i checked google, but was
 unseccessfull?!?!

Add the following line to the Input Device section defining your mouse in
/etc/X11/XF86Config.

Option ZAxisMapping 4 5

See the FAQ at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND-WHEEL.

Most of the info in FAQ only applies to classic X/Motif apps. GTK/QT apps
should work fine with only ZAxisMapping added.

Cheers.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Wheelmouse

2002-12-16 Thread Robin Damm
On Mon, Dec 16, 2002 at 03:18:53PM +0100, Pierrick Brossin wrote:
 Quoting Yann Golanski [EMAIL PROTECTED]:
 
  Add the following instead of the same named section in your
  /etc/X11/XF86COnfig:
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol Auto
  Option  Device /dev/sysmouse
  Option  ZAxisMapping 4 5
  EndSection
  
  Then compile rxvt with --with-mousewheel et voilas. 
 
 I bougth a PS2 Optical Mouse... Unknown Brand.
 I managed to make it work. Though I have to unplug it and replug it before using
 it or it would simply stay on the left corner of the screen... dunno why :)
 
 I tried to make the wheel work but it doesn't...
 Is is possible to know what parameters to put in ZAxisMapping Option ?
 I mean, is there any program that says you're pushing button 3 ?
 Or is it always 4 5 and I won't have my wheel working ?

The command xev will show you the X events generated when clicking
various buttons on the mouse.

The ZAxisMapping parameters 4 5 are generally expected to be the
wheel but not always.

More details available in /usr/X11R6/lib/X11/doc/README.mouse.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Wheelmouse

2002-12-16 Thread Robin Damm
On Mon, Dec 16, 2002 at 04:38:01PM +0200, Wayne Swart wrote:
 got it working thnks :)
 now only need to add it to opera, wich is actually where i want to use it

No problem. Just installed the native opera release and wheel
scrolling works fine without adding anything else. YMMV.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: XML to PDF parser, preferably FOP, for FreeBSD?

2002-12-03 Thread Robin Damm
On Tue, Dec 03, 2002 at 01:18:40PM +0100, Gabriel Ambuehl wrote:
 Hello,
 I'm looking for an XML to PDF Parser (preferably FOP like the
 charming http://xml.apache.org/fop/index.html project) that actually
 works under FreeBSD without first going through the hoops of
 installing Java (never managed to get it running anyway), meaning it
 must be in some other language than Java (C, C++, Python, Ruby, Perl,
 PHP all fine, just not Java). Speed isn't an issue at all (it's used
 only very infrequently, like 1 time a day for a 2 page report) but
 working under FreeBSD most certainly is.
 
 If anyone knows about a FOP parser that isn't implemented in Java, I'd
 really appreciate to hear about it (preferably CC it to me as the
 traffic on this list is somewhat high and messages get lost in the
 noise [1]).

I can't offer a solid solution but here are a few pointers.

For FO generation take a look at xsltproc (ports/textproc/libxslt).
The only non-java FO processor I can think of would be PassiveTex
(ports/print/passivetex). I can't comment on PassiveTex but xsltproc
works great. OpenJade (ports/textproc/openjade) is an option too.

These all make use of TeX and friends so maybe your java problems
aren't so bad. :)

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: XML to PDF parser, preferably FOP, for FreeBSD?

2002-12-03 Thread Robin Damm
On Tue, Dec 03, 2002 at 05:14:26PM +0100, Gabriel Ambuehl wrote:
 Hello Robin,
 
 Tuesday, December 3, 2002, 4:16:55 PM, you wrote:
  These all make use of TeX and friends so maybe your java problems
  aren't so bad. :)
 
 
 Now if I could get FOP to work within kaffe or sablevm, I'd be happy
 to stick to Java but installing the whole emulation layer cruft isn't
 exactly what I want to have on my todo list. Not to mention that it is
 a PITA to maintain.
 
 So the next question would probably be: has anyone successfully ran
 Apache's FOP under either sablevm oder kaffe?

I don't know about sablevm or kaffe but using fop as a standalone
application works fine with the native jdk.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Robin Damm
On Mon, Oct 28, 2002 at 02:11:48PM -0800, Paulo Roberto wrote:
 Hi,
 
 I have read the man pages, searched a few forums, but I did not found a
 way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
 access to the dhcp server configuration, so I need to change it on my
 client. I also tried to chmod it to only read mode, but that did not
 work out. Any tips?

man dhclient.conf

As an example my /etc/dhclient.conf contains the following:

interface ed0 {
supersede domain-name-servers 127.0.0.1;
append domain-name  example.com;
}

The resulting /etc/resolv.conf looks like this:

search isp.domain.com example.com
nameserver 127.0.0.1

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: what does RELENG mean?

2002-10-28 Thread Robin Damm
On Mon, Oct 28, 2002 at 11:44:51PM -0500, Dan Langille wrote:
 I've just been told that RELENG means RELEASE ENGINNER.  Is this 
 actually defined somewhere?

Release Engineering. Details at http://www.freebsd.org/releng/.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Whither Mozilla ?

2002-10-25 Thread Robin Damm
On Fri, Oct 25, 2002 at 11:48:29AM -0700, Ronald F. Guilmette wrote:
 
 
 Could someone please answer the following questions for me?
 
 #2)  Is there anyplace where I might be able to download a working
  binary of a reasonably recent release of Mozilla that would run
  OK on a FreeBSD 4.3 system?  (I don't have time to upgrade this
  box to a newer FreeBSD rev just now.  To0 many other things going
  on.)

FreeBSD binaries of mozilla 1.0 and 1.1 are available at
ftp://ftp.mozilla.org/pub/mozilla/releases/. I don't know if these
will run under 4.3. 
 
 
 #3)  In lieu of #2, is there anyplace where I could download sources
  for a reasonable recent (and reasonably stable) version of Mozilla
  that I could build (without having to spend a full day futzing with
  it) on FreeBSD 4.3?

I assume you have tried /usr/ports/www/mozilla. You may also want to check
out /usr/ports/www/linux-mozilla which will run the linux binary via
emulation.

Building mozilla from source is going to take as long as a buildworld 
so it might make sense to just upgrade your system.

 #4)  Is it just me or is Mozilla (and also Netscape) remarkably unstable
  and prone to frequent total crashes on _any_ flavor of UNIX?  (Even
  though I have both FreeBSD and Linux boxes here, there are still
  sites that I simply cannot see... at least not without the broswer
  up and crashing on me... unless I power up my Windoze box and look
  at them with IE.  Yecch.  WHAT AM I DOING WRONG?  This is REALLY
  aggravating, and I can't believe that other people would put up
  with such shoddy untestedness in such a basic Internet tool.)

No problems here aside from the occasional designed for IE site. 
I don't think I've seen a total crash since the .9x releases.
 
NN4 on the other hand... thank $DEITY for mozilla. 

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Displaying .art files?

2002-09-29 Thread Robin Damm

On Sun, Sep 29, 2002 at 10:37:39AM -0400, Brian T. Schellenberger wrote:
 .art is a graphics format of some sort.

AOL's  proprietary image format.

 Is there any FreeBSD program that will display these suckers, or better 
 yet convert them to so normal graphics format like .png, .jpg, or 
 .gif?

I doubt it. ImageMagick perhaps.


-- 
Robin Damm [EMAIL PROTECTED]

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



Re: Two xdm questions

2002-09-23 Thread Robin Damm

On Mon, Sep 23, 2002 at 02:20:31PM -0500, Kim Scarborough wrote:
 2) I enabled the default line in /etc/ttys for xdm, but I changed the terminal
 type from xterm to xterm-color. I was thinking this would make my xterms
 default to xterm-color terminal type, but no, they're still straight xterm.
 How can I get it to behave the way I want?

One option is to add XTerm*termName: xterm-color to $HOME/.Xdefaults.

-- 
Robin Damm [EMAIL PROTECTED]

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



Re: GUI Email Clients || Office Apps

2002-09-23 Thread Robin Damm

On Mon, Sep 23, 2002 at 05:32:48PM -0400, MET wrote:
 1) I'm wondering what people's favorite GUI email clients are that will
 run under KDE 3.0.

No comment. Mutt really does suck less. :)

 2) What's the real difference between OpenOffice and StarOffice?

Not much, see http://www.openoffice.org/FAQs/mostfaqs.html#7.

Certain items such as the spell checker are different due to third
party licensing but provide the same functionality. And Sun provides
support for StarOffice.

-- 
Robin Damm [EMAIL PROTECTED]

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