Re: Programming hints.

1998-03-24 Thread Oliver Elphick
C.J.LAWSON wrote:
  
  
  On Mon, 23 Mar 1998 [EMAIL PROTECTED] wrote:
  
What about CTRL + C. Is that a signal? 
   
   Yes it is. I don't know what signal exactly it is. SIGINT ? SIGTERM ?

Strictly speaking, ctrl-c can be made to generate SIGINT, and this is the
default in Debian.  However, this can be changed by the command stty.
Many systems use DEL instead of ctrl-c

If not, how can a do something before
exiting from CTRL + C?
  What you want to do is catch the signal. Typically it will require the
  signal function (man signal), you have to rewrite a function to do what
  you want and then install that as the defacto signal handler ... There is
  (if my memory serves me right) an example in the book, the Joy of C
  (local lib) and I think some other ones in Plauger's book (I hope that is
  the spelling of his name).

I missed the beginning of this thread, so this may be right off the point
for the original poster:

In shell script, use trap to catch a signal and do something before exit
(or just ignore it completely).  You can't catch signal 9 (SIGKILL) and 
one or two others.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: mail and mailer questions

1998-03-24 Thread Oliver Elphick
Stephen Carpenter wrote:
  I currently use Netscape 4.04 to read my -mail and get it off of my
  ISPs mailserver. It works very well..sorts my mail (I never realized
  when I subscribed
  to both this list non-digest and the debian-devel list...I would get 241
  e-mails
  in 1 day!..sorting is a must!!!)

Is that all?

  Anyway I read that 5.0 wil not have the mail client (being the free
  version...
  which is of course what I would prefer to use)
  In anticipation of that fact...I am interested in looking into a new
  mail setup
  and I am looking for some information and recomendations
  1) mail reader
  I am looking for at least 1 good mail client. A nice X interface is
  strongly prefered
  but not required (sometimes its nice to have buttons since
  I am usually in X). Ideally I would like 2 clients, one for use in X and
  one for use
  on a  charicter mode console.
  It woul dbe best if these could share the same mailbox folder
  (I know that most programs use a common format (same as netscapes?? I
  think)
  but usually have differnt default mail dir names...,.like they want thir
  own)
  I would prefer that this client would make for easy use of PGP (I don't
  have a key
  yet but...I am hopeing to eventually look into becomming a package
  maintaner
  for debian and I know that is a requirement)
  2) I have had alot of troubles with configuring mail services under
  debian
  I use a dialup to an ISP, so my connection is not always up so I am not
  sure
  what the proper configuration is, I have more than once set it up wrong
  and had it send messages forever to elbonia (and since my recent
  re-format and redo after a major crash..
  I havn't even tried)
  what are the recomendations for my needs?
  I would assume something like fetchmail and procmail (which I need to
  setup anyway
  for another project)
  any help is apreciated


You describe my own situation.

I use diald with isdnutils ippp for contacting my ISP.

Mail collection: fetchmail to download from my ISP and pass mail to sendmail

Mail delivery: sendmail, calling procmail to distribute mail from my single
ISP mail-box to multiple users on this system. 

I also use procmail in my own user account to put mail into separate MH
folders before I even see it.

Mail reader: exmh, which is a Tk/Tcl front end to MH; it includes PGP
support and manages multiple folders, including nested folders.  It also
supports X-face pictures and can notify you of new mail with visual and
audible signals.  MH can be used in character windows or outside X.  It has
the further benefit (to my mind) that it makes each messge a separate file,
so that it is easy to find and handle messages with non-mail commands.
For example, if someone has mailed a patch:
  `patch -p1 ~/Mail/postgresql/hackers/28'

If you would like to see any configuration files, just ask...

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Problems with apache and postgres (already solved)

1998-03-23 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:
  Number 2
  postgesql 6.3-2
  Dpkg could not config postgresql due to problems in initdb. I tried to run
  initdb manually as user postgres from the postgres home dir /var/lib/postgre
  s
  but this didn´t work because initdb could not find other programs (pg_id and
  postgres). After adding /usr/lib/postgresql/bin to PATH it worked. 
  dpkg -configure worked also after that.

In the next release I name the whole path in the `su - postgres -c initdb 
...'
statement.  The problem arises from the use of secure-su.

  
  Question: Is there a security problem when giving the user postgres a shell?

Since root is not allowed to modify a PostgreSQL database, it is necessary for
postgres to have a shell so that it is possible to run PostgreSQL
administrative commands.  Treat the postgres password with the same care
as you would the root password.  Alternatively, make it a no-login account
so that only root can get to it (by `su - postgres').

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Libc5 vs Libc6: help me, please!

1998-03-22 Thread Oliver Elphick
Nuno Carvalho wrote:
   Hi,
  
   I'm trying to install KDE, and some others things, but it needs libc6.
   When I try to install libc6 I get messages of dependencies with libc5!
  :-(
   I can't remove the libc5 package!
 

No, you must first upgrade libc5.

The full instructions are in the libc5-libc6 mini HOWTO, currently to be
found in Developers' Corner at hhtp://www.debian.org.  

You can also use autoup.sh (same location) to do the process automatically.
(If you download by ftp, get the packages first.)

   How should I install libc6 ?
  
   Thank's!
  
   Regards,
  Nuno Carvalho
  
  
  P.S. I don't have too much experience with librarys! :-((
  
  
  ---
   Nuno Emanuel F. Carvalho
   Department of Informatics Engineering
   University of Coimbra
   PORTUGAL
  
   [EMAIL PROTECTED]
   http://student.dei.uc.pt/~nemanuel
  ---
  
  
  
  
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  g
  
  

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Unable to login

1998-03-16 Thread Oliver Elphick
William D. Rendahl wrote:
  We have a box here running 1.3.1 that is only
  allowing root to login.  Any other account gives:
  
  Unable to cd to /home/billr
  
  (or that user's home) immediately after the password
  is entered.   The system only has one partition.

So - has something happened to /home or its contents?

Log in as root and see if /home/billr exists, what its permissions are
and whether you can cd into it.

`ls -l /home' should show something like this:

drwxr-xr-x  51 billrbillr2048 Mar 16 21:30 billr

If billr doesn't own /home/billr, you may not be able to use it even if it
exists.  That would be down to the permissions.
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED]


Re: Bitmap files

1998-03-12 Thread Oliver Elphick
C.J.LAWSON wrote:
  Hi,
 I was just wondering if anyone knew of a package for editing scanned in
  images.
  
Three packages come to mind immediately:

The Gimp,
ImageMagick,
xv

These are for images in general - I don't think there's anything special
about a scanned image; what matters is the way the image is stored.  All
three packages support a number of image formats.
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED]


Re: massive fetchmail frustration

1998-03-06 Thread Oliver Elphick
Britton wrote:
  ...
  Lastly, does anyone have a clean way set up to invoke fetchmail as root
  and get mail for all users?  I would like to see that also.

This is my setup: I use fetchmail as a cron job to download mail and I
pass it to procmail to distribute to users. I use sendmail.

There is a script `poll.mail' to establish the dial-up connection and
download mail; this has to be run as superuser.  The only problem I have
with it is that if I become superuser from another account than my own,
a lot of the list mail for me ends up in that other user's mailbox. I
don't know why this is. I also use this script to collect news for the
groups I am interested in and download it to my local server.

poll.mail is run by cron, as root. As superuser, run `crontab -e' and add
this line:
2 4 * * * /usr/local/bin/poll.mail

Alternatively, edit /etc/crontab; you have to add the root user name:
2 4 * * * root /usr/local/bin/poll.mail

This runs the job at 4.02am every day.  (I run it more often.)

The fetchmail configuration is in /root/.fetchmail1rc, and is readable
only by root.  (This is required by fetchmail if it is running as root.)
It says:
poll mail.enterprise.net protocol pop3 username x password y smtphost 
localhost

Mail is held by the ISP for user x [not really!] and /etc/aliases
makes this go through procmail:

# enterprise mail name
x:  | /usr/bin/procmail -f -

Procmail configuration is in /etc/procmailrc. How well it works depends on
how tightly you can define email addresses. The main problem comes from the
wide variety of ways in which mailing lists forward messages.
#! /bin/bash

# Poll for mail
# May be run either by cron or at will by the superuser.

PATH=/bin:/usr/bin:/etc:/sbin:/usr/sbin:/usr/local/bin

# See if we already have PPP running
if netstat -nr | grep ' ppp' /dev/null
then
echo PPP already running
ppp_running=TRUE
else
#   if not, start it up...
if [ -f /var/run/diald.pid ]  ps -p `cat /var/run/diald.pid`
then
echo diald is running
ping -c 1 mail.enterprise.net
ppp_running=TRUE
else
ppp_running=FALSE
/usr/local/bin/ppp-on
fi
sleep 2

waitpd=0
until netstat -nr | grep ' ppp' /dev/null
do
if ps -axu | grep -v grep | grep -E 'pppd|diald' /dev/null
then
sleep 5
waitpd=`expr $waitpd + 5`
if [ $waitpd -gt 120 ]
then
echo Timed out
exit 2
fi
else
echo PPP session was not established
exit 1
fi
done
fi
sleep 5

# Collect any mail that is waiting for us
echo Calling for mail for lfix.co.uk
fetchmail -aF -f /root/.fetchmail1rc
case $? in  0) :;;   # no problem
1) echo No mail to collect;;
2) echo Could not open socket;;
3) echo User authentication failed;;
4) echo Fatal protocol error;;
5) echo syntax error in fetchmail command;;
6) echo Bad permissions for run control file;;
7) echo Server error reported, or time-out;;
8) echo Exclusion error - is another fetchmail running\?;;
9) echo Server reported \'Lock busy\';;
10) echo SMTP failure;;
11) echo Internal error;;
*) echo Totally unexpected error in fetchmail;;
esac

# Send anything we have for the outside world
sendmail -q 

# Get news
/usr/local/bin/slurp -d news.enterprise.net


# If we started PPP, stop it again
if [ $ppp_running = FALSE ]
then
/usr/local/bin/ppp-off
fi
DEFAULT=olly
LOGFILE=/var/log/procmail.log
:0
* [EMAIL PROTECTED]
!dan
:0
* [EMAIL PROTECTED]
!dan
#
:0E
* [EMAIL PROTECTED]
!ruth
:0E
* [EMAIL PROTECTED]
!ruth
#
:0E
* [EMAIL PROTECTED]
!abby
:0E
* [EMAIL PROTECTED]
!abby
#
:0E
* [EMAIL PROTECTED]
!hannah
:0E
* [EMAIL PROTECTED]
!hannah
#
:0E
* [EMAIL PROTECTED]
!nick
:0E
* [EMAIL PROTECTED]
!nick
#
:0E
* [EMAIL PROTECTED]
!tom
:0E
* [EMAIL PROTECTED]
!tom
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1


Re: HELP: Newbie needs help with crash

1998-03-05 Thread Oliver Elphick
Albert Hurd wrote:
  My computer just seized up (cursor frose; ctrl-alt bksp and ctrl-alt del
  did nothing).

This was probably not the operating system but X.  If you have a network or
serial connection to another machine or a dumb terminal it should still be 
possible to get out of this without hitting the reset button or the power
switch.  If you can, get a telnet session to your frozen machine and
kill the X server.  That should release the session on the frozen machine
so that you don't get the problems caused by rebooting without a shutdown.

If you have only the one machine, you are stuck, because X won't let you switch
to a virtual terminal to do this.

If you do have to hit the reset button, try to wait for a minute after any 
disk activity.  That should give the system a chance to sync the disks and
reduce the chance of damaging files; it's not guaranteed though.

 I then warm rebooted. After the usual, I got:
  
  Checking root file system
  Parallelizing fsck
  /dev/hda2 contains a file system with errors, check forced
  /dev/hda2: unattached inode 28780
  /dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
  FSCK FAIL. lease repair manually and reboot. 
  Please note that the root file system is currently mounted read only. To
  remount it write
  #mount -n -o remount,rw /
  
  I remounted as requested and got
  
  EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended.
  EXT2-fs error (device 03:02): ext2_check_blocks_bitmap: wrong free blocks
  count in super  block, Stored = 3170112, counted = 3170136
   EXT2-fs error (device 03:02): ext2_check_inodes_bitmap: wrong free inodes
  count in super block, Stored = 977529, counted = 977522
  
  I then tried #fsck and got
  
  Parallelizing fsck version 1.10.
  
  #fsck -r gave same thing.
  
  Then tried #e2fsck /dev/hda2 as advised above and got
  
  /dev/hda2 is mounted. Do you want to continue (y/n).

You really have no choice but to say yes here.  You can't unmount your root
file system without shutting down altogether!

  
  I cautiously responded n. I also tried #rdev -R/vmlinuz 1  which Sobell's
  book says should
  force Linux to boot with root file system mounted readonly, and got
  
  1: no such file or directory.
  
  
  I am now at a standstill. Any help on what to do next would be much
  appreciated.
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Commercial support (was Server Questions (fwd))

1998-02-27 Thread Oliver Elphick
Nathan E Norman wrote:
  On 26 Feb 1998 [EMAIL PROTECTED] wrote:
...
  :  However ... my boss wants to have someone we can call for support when
  :  it doesn't work.  This person, persons, or company would preferably hav
  e
  :  some sort of documentation as to who they are and why we ought to pay
  :  them when we call them.
  : 
  : I'm familiar with the phenomena.  I'd happy to take your money, but I
  : suspect that your boss wants to see a glossy brochure that says Debian
  : Support, Inc. on the cover and lists dozens of Fortune 500 customers.
  
  Yup, you've hit the nail on the head.
  
  : It does seem like there is a business opportunity here.  A network of
  : consultants around the world could handle the phone calls and emails while
  : somebody with marketing skills fronted for them.
  
  Exactly.  So, why isn't someone doing this?  (You could make a hell of a
  lot of money).
  
  Thanks John.  You've stated very concisely the issue at hand.

So lets know who is interested in being part of this.  I'm assuming
Bruce's venture fizzled out, since I've heard nothing more.

I am very interested in getting this going, but it will take a lot of
work to get the details right. Here are my first thoughts:



Objectives:

To provide commercial support for Debian Linux.

To enhance Linux' image among the `suits'.

To provide a modest income for the participants. (A gold mine? - we should
be so lucky!)

To provide better support than people get from HP, Sun, DG and so on.
(We won't bother to compare ourselves with Micro$oft.)



Issues:

Kinds of support: 1 - handholding; 2 - system admininstration help;
   3 - help with program use; 4 - bug tracing/fixing; 5 - consultancy
   services; 6 - ???

Customer support contracts that don't promise what we can't perform and
don't allow customers to sue us for their own stupidity.

Pricing.  (Can people post details of contract costs in the PC world 
from other organisations, please.  Especially for M$ software!)

A Web Page

Need for telephone support (someone to call when the user can't find the
return key!) - this ought to be organised by timezone and language. If a
number doesn't lead to a permanently-staffed office, it probably needs
call-forwarding to pass it on to a live support person.

Need for business premises in each country; at the least, an office in
someone's home.  Somewhere to send money to!

How to distribute calls fairly; emails to a support address need to be
acted on very promptly, so there needs to be a system for members to adopt
a support query and for other members to know that it has been taken on.
If someone introduces their own customers to the support net, presumably
they should get the first calls.  There are a lot of issues like this to
think about. Perhaps there should be some automated system for call
distribution?  Holiday cover? Call distribution by specialisation?

If someone can't handle a call and passes it on, how do we share the
charge between him and the next guy?

What if the ultimate answer comes from someone outside the membership 
(which will probably be the case with a lot of the difficult questions)?
Once people are aware of us, they may want to take a cut...

How do we get paid? (Particularly with international support; it costs a
lot to transfer small amounts of currency.) Who has the fun job of
keeping the books?  If it grows to any extent, we should soon have to employ
at least a secretary/bookkeeper - possibly one per country, I'm afraid.
How much would this infrastructure cost us?  How long before we need to
employ salesmen to keep our hamster's wheel going round?

What would be the legal status of the organisation?  (Among other things,
that affects what taxes we have to pay, and who can get sued.)




I spent a number of years doing technical support for UniVerse (a commercial
database) and many questions were about how to do something that users 
could have read in the manuals.  The ones about bugs in the software we had
to pass on to VMark, but all too often these got ignored.  When I finally
finished doing support for it, there was still at least one problem that
I had reported five years before!  It will be very satisfying doing
support for a product that we can get changed when it needs it!

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Server Questions (fwd)

1998-02-26 Thread Oliver Elphick
Nathan E Norman wrote:
  No-one on this list uses Debian as a news server?  Nobody's running SMP?
  There's no interest whatsoever in tech support for Debian?  (I know
  Bruce posted something about it a while ago ...)
...
  Date: Wed, 25 Feb 1998 02:14:22 -0600 (CST)
  From: Nathan E Norman [EMAIL PROTECTED]
  To: Debian User List debian-user@lists.debian.org
  Subject: Server Questions [mildly offtopic]
  ...
  What I'm looking for is this:  If you're running SMP, does it work well?
  Problems?  Hints?  Same with news ... does a specific version of INN do
  the trick?  Any special kernel configs?  You get the idea.

I haven't used SMP.  I know it needs the 2.1 kernel series.

INN works OK - no kernel tweaks necessary.  I use it as a local service and
batch download with slurp.

  
  Oh, and before I forget ... I heard there is a company providing phone
  support for Debian Linux.  If this is true, who is it?  What are the
  rates?  I work for a corporation that is becoming comfortable with the
  idea of Linux, but wants tech support available.  I'd rather run Debian
  than RedHat/Caldera, so please help!

Bruce was trying to start something, but I've heard nothing for a while.
I wouldn't want to do telephone support, considering the time difference...

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Binary Directorys

1998-02-24 Thread Oliver Elphick
Michael Beattie wrote:
  
  Is there any significant difference between /bin|/sbin and
  /usr/bin|/usr/sbin ??? I am just interested as to why there are two bin
  and sbin directorys.

Stuff in /usr may not be present when the machine first boots - if /usr is
a separate partition.  Programs in /bin and /sbin are needed in single user
mode when /usr is not mounted.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: AOL IM

1998-02-23 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:
  Hello,
  
   AOL IM just seg faults in hamm and leaves a core file. How do I use the
   core file? It is for debugging isn't it? I am not sure how to start tra
  cking down the problem so any hekp would be appreciated.

A core file is not much use for debugging unless it was produced by an
executable that contains debugging symbols.

In order to use it, you need gdb (use info to read gdb's documentation).

Very simply:

  $ gdb executable_path corefile_path

Then you're in interactive mode.

Print the backtrace (which shows the tree of internal calls starting with 
the one that crashed:

bt

If there were debugging symbols, you should see meaningful names; if
not, it will just be hex addresses.


Another route to understanding your problem is to use strace (`man strace' 
for documentation).  This will show you what kernel functions are being
used and might help you understand what's happening.


You are on hamm, so the problem might be to do with mixed libraries:
use ldd to find out what shared libraries the executable is wanting.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Motif

1998-02-22 Thread Oliver Elphick
Michael Beattie wrote:
  
  Okay, I agree, this is most likely a very stupid question. How can one
  tell if they have motif installed?

# ldconfig -p | grep Xm
   libXmu.so.6 (ELF-libc6) = /usr/X11R6/lib/libXmu.so.6
   libXmu.so.6 (ELF-libc5) = /usr/lib/libc5-compat/libXmu.so.6
   libXmu.so (ELF-libc6) = /usr/X11R6/lib/libXmu.so
   libXm.so.2.0.1 (ELF) = /usr/lib/libXm.so.2.0.1
   libXm.so.2.0 (ELF) = /usr/X11R6/lib/libXm.so.2.0
   libXm.so.2.0 (ELF) = /usr/lib/libXm.so.2.0
   libXm.so.2 (ELF) = /usr/X11R6/lib/libXm.so.2
   libXm.so.2 (ELF) = /usr/lib/libXm.so.2
   libXm.so.0 (ELF-libc6) = /usr/X11R6/lib/libXm.so.0
   libXm.so.0 (ELF-libc5) = /usr/lib/libc5-compat/libXm.so.0
   libXm.so (ELF-libc6) = /usr/X11R6/lib/libXm.so
   libXm.so (ELF) = /usr/lib/libXm.so

libXm.so.2 is commercial Motif - I see it is classed as (ELF) rather than
as (ELF-libc[56])

libXm.so.0 is lesstif.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Missing Mouse Drivers

1998-02-20 Thread Oliver Elphick
Brian White wrote:
  ( The following was filed as a bug, but doesn't really belong there since
it isn't specific to any package (except possibly kernel-image).  Thus,
I'm forwarding it to debian-user to see if anybody can help this person. )
  
  Dear Folks,
  
  We have just loaded the most recent available version of Linux which
   I
  use for running the Genetics Computer Group (GCG) of Wisconsin
  programs.  Everything seems to work fine except that my mouse doesn't
  work.  I have a Logitech Trackball T-CA1-  SN: LU519100659.  Logitech
  does not support Linux, so I am stuck.  On plugging in a (borrowed)
  Genius Hi Mouseworks mouse, this works immediately.  Is there a separate
  driver for my trackball or do I have to purchase a new mouse?  I am new
  to this operating system!  Any help is highly appreciated.  
  
  Yours sincerely,
  
  John Lowenstein

The scenario isn't entirely clear: you seem to be saying that you have loaded
a new kernel (=Linux) and that this has stopped your trackball working, though
it was working before under Linux.

My first thought was that you didn't include PS/2 support when you built the
kernel, but the fact that you plugged a different mouse in and it worked
seems to contradict that.

Have you confirmed that the trackball itself is not faulty? 

Please tell us what the trackball interface is (PS/2, serial, etc.) and
whether it has worked before under Linux or not.




-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Gimp non-free - gif doesn't work

1998-02-20 Thread Oliver Elphick
I am trying to save a Gimp image as a GIF.  I have gimp-nonfree installed
and there is a gif executable in /usr/lib/gimp/0.99/plug-ins.

But, GIF is greyed out in the list of image formats when I do `Save as'.
If I save a file named xxx.gif, I get a GIF dialog box, but then the save 
fails.

How can I get this to work?

Versions: 
hi  gimp0.99.18-2  The layers-based, non-Motif GNU Image Manipu
hi  gimp-data-extra 0.99a-1An extra set of brushes, palettes, and gradi
hi  gimp-data-min   0.99b-1A small set of brushes, palettes, and gradie
hi  gimp-nonfree0.99.18-2  GIF and TIFF support for the GNU Image Manip
hi  libgimp10.99.18-2  Libraries necessary to run the GIMP

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kcore

1998-02-19 Thread Oliver Elphick
Ian Perry wrote:
  I have heard it said that unix works entirely on files.  It always baffled
  me to hear that, being a hardware engineer, and writing mostly in low level
  assemblers.  Now I think I understand what what meant, and that all tasks
  are created as a 'file' and are acted on accordingly, hence the /dev
  directory and the /proc directory.  Am I correct in assuming this ?

Yes.  All kinds of things are presented as files, even though they aren't
really.  (Even `tasks': every live process has a directory under /proc
which contains `files' with information about the running process.)

Originally it was just devices like printers, disks, tapes and memory.
With the /proc filesystem, you also have things like lists of interrupts
and network parameters.  All these things are presented as files, so that
you can use routines like open() on them.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Questions...

1998-02-18 Thread Oliver Elphick
Julian Morcinek wrote:
  
  [Julian Morcinek]  I took a interest in this post as I will be belatedly upg
  rading my current Debian 1.1 installation (a dream - trouble free for ov
  er 2 years!).  Just three questions:
  
  1.   Are they any major reasons why the new libc version in release 2.0.x (h
  amm) should be preferred over the libc version on 1.3.x (bo)?

glibc 2 (aka libc6) is a new standard, which we should expect to see
adopted, in time, by other Unix vendors, not just Linux.

Programs that are compiled against libc6 won't run without it.

All of hamm will be libc6, and if you don't upgrade, you will be at
a dead end, unless you compile everything for yourself.  Even then you
may find you have extra work to do to get things to compile.

  
  2.  What does changing mean (viz a viz hamm)?  Does it mean that not all the
   existing packages have been upgraded for the new libc, and that ugraded
   packages will 'trickle through' over a period of time?  And does this m
  ean frequent visits to the FTP server to download those hard-to-do-witho
  ut packages?

hamm is all libc6.  Over the past year or so, all packages should have
been recompiled for libc6 and these are what you will find in hamm.
A code freeze has just been pre-announced for late March, so we're nearly
there.  

Once Debian 2.0 is released, the easiest way to upgrade will be to buy
a new CD, unless you're on a really fast Internet link.

Changing means going through a carefully defined process to install
versions of libc5 packages that can co-exist with libc6 and then 
installing libc6 and then the rest of the packages.  (See the instructions
in http://www.debian.org/doc/libc5-libc6-Mini-HOWTO/libc5-libc6-Mini-HOWTO.html
and follow them exactly.  There is also a script that can be used, at
http://www.debian.org/devel/autoup.sh.  WARNING: follow instructions
exactly, or you make your system unusable!)


  
  3. How long does it take, on average - if there is such a thing, for hamm to
   become bo?

The development will have taken (at least?) a year. I think it was already
begun when I started using Debian in early 1997.

If you are asking how long it will take to install, that would depend on your
machine... It took me half a day to install bo on a 486 using a network
connection.
  
  My interest is that of a contented Linux, as opposed to other OS's I adminis
  ter, administrator.  I really don't have to work too hard on my Linux bo
  x, and I ain't a Unix/Linux Guru.  What now attracts me to Debian Linux 
  is its proven, in my case, low maintainability.  Now isn't that a unique
   selling point?
 
It's why I've stuck with Debian. (It's also very satisfying to be able to
contribute to the distribution I use.)

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: good morning

1998-02-18 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:
  I seek a CD ROM drivers (pioneer x10)for debian 
  do you know where I can find it?
  have you got some address web?
  
CD-ROM drivers are part of the Linux kernel.  Most modern drives are either
IDE or SCSI; in both cases the drivers are included in the kernel source
and merely need to be configured in when you build your own.

The standard Debian kernel contains support for IDE CD-ROM.

Even if you have something different, you will probably find a driver for it
in the kernel source.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


SGML - can one create new DTDs using Debian tools?

1998-02-14 Thread Oliver Elphick
I want to create a new DTD to describe a set of documents that I have created.

I can see how to describe the document in a DTD but I do not understand
how the formatters can be instructed how to present the newly defined
tags.

Is this possible, or is any one formatter restricted to interpreting a
particular DTD?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fatal server error

1998-02-13 Thread Oliver Elphick
K.Y.Lo wrote:
  Hi
  
  I have installed Debian 1.3.1.r6 with X-windows package.
  
  install xbase,xlib6,xfntbase, xserver-svga into harddisc. done
  and set up xf86config. it went bummer.
  
  Fatal server error:
  No valid modes found.
  
  what does that mean?  it is something missing the X package?

It means that your /etc/X11/XF86Config file does not contain any modes
that the X server can use.

A modes line (in section Screen) looks like this
  Modes1280x1024 1152x864 1024x768 800x600 640x480 
640x400 480x300 400x300 320x240 320x200

It gives the screen sizes, in pixels, in their preferred order.  A mode
line is only valid if there exists a combination of monitor and device that
can produce the screen bandwidth necessary to drive the screen at at least
one of the sizes given on the mode line.

It sounds as if you need to run XF86Setup, which should get your X 
properly configured for you.  

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: xlib6g

1998-02-12 Thread Oliver Elphick
David Z. Maze wrote:
  
  Richard Sevenich [EMAIL PROTECTED] writes:
  RS I would like to install a software package that requires
  RS xlib6g. dpkg is loathe to install xlib6g with xlib6 already
  RS installed. Can I safely remove xlib6 i.e.  will packages depending
  RS on xlib6 accept xlib6g ... or? ...
  
  If you install the xlib6 from hamm, xlib6g should install fine.
  xlib6g is the glibc version of the X libraries, and libc5 programs
  won't run without the xlib6 package.
  
Upgrading to glibc (libc6) is not that simple.  It is a fundamental
change which affects a lot of other things.  Especially, don't force
anything or you may end up with an unuasable system.

Look at:
http://www.debian.org/doc/libc5-libc6-Mini-HOWTO/libc5-libc6-Mini-HOWTO.html

and

http://www.debian.org/devel/autoup.sh

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: wanted packages

1998-02-12 Thread Oliver Elphick
Luiz Otavio L. Zorzella wrote:
  
  Is there any address where we can send our wishes to debian packages
  we would like to see created? Is there any address to consult for
  programs that can't (for any reason) have a .deb package?
  
  For instance, I would like to have .debs of...

Don't forget to look at hamm (unstable) and at the non-us mirror sites,
before you conclude that a package does not exist.

I know there are hylafax packages in unstable, and the ssl stuff will
have to be on the non-us site.

New packages won't appear in stable (bo) unless there is some critical 
problem that they fix.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: xlib6g

1998-02-12 Thread Oliver Elphick
Britton wrote:
  
  On Thu, 12 Feb 1998, Oliver Elphick wrote:
   Upgrading to glibc (libc6) is not that simple.  It is a fundamental
   change which affects a lot of other things.  Especially, don't force
   anything or you may end up with an unuasable system.
  
  But is this the correct thing to do once you have already (apparently
  succesfully) followed the instructions in the howto?

You only do it once, of course.

I also have a
  package which depends on xlib6g, which I hesitate to install in case it
  breaks the other packages that I need.  I couldn't find an 'xlib6'
  package anywhere in the hamm directory, including the oldlibs directory.
  Any information on how to do this would be greatly appreciated, as I need
  spice3 for one of my classes, and running it remotely over ppp gets old
  very fast.

I just checked with the mirror that I use (unix.hensa.ac.uk). There is an
xlib6 in oldlibs (version 3.3.1-2), and I suppose you will need it if you
are running any X programs that are linked to libc5. xlib6g conflicts with
xlib6  3.3-5, so you will have to upgrade xlib6 if it's a lower version
than that.
  
   
   Look at:
   http://www.debian.org/doc/libc5-libc6-Mini-HOWTO/libc5-libc6-Mini-HOWTO.ht
  ml
   
   and
   
   http://www.debian.org/devel/autoup.sh
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: PS/2 Mouse problem

1998-02-12 Thread Oliver Elphick
Matt Kennedy wrote:
  I'm new to Linux and I'm having trouble using my mouse. It's a generic =
  PS/2 compatible which doesn't run on any of my COM ports. The only =
  informtion I could gather on it from my Win95 setup was that it's on a =
  PS/2 Compatible Mouse Port and that it uses IRQ 12 in Windows. My BIOS =
  has an Enable PS/2 Mouse which is enabled, and when I installed Debian =
  the PS/2 was detected and the psaux module loaded.
  My problem is that I don't know where to tell programs like gpm or X =
  Windows where the mouse is actually at in /dev. I've read through the =
  manpages, the FAQ's and many of the HOWTOS and I'm at a loss. Any help =
  on this would be most appreciated.

The correct device name is /dev/psaux

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Installproblem Xfree86.

1998-02-09 Thread Oliver Elphick
Joakim Burman wrote:
  Hello Debian-users!
  
  Can someone help me with some Newbie questions.. 
  
  1. When I try to install Xfree86 whith gzip I got (I think) an errormessage 
  like Broken Pipe. What does that mean? 

It probably means that gzip tried to pipe its output to a command that
never got started.  For example:

   $ ls -lR | rubbish
   bash: rubbish: command not found
   Broken pipe

  2. How do you run shell script? In Howto:s for Xfree86 they say you want 
  to run the shellscript preinst.sh first of all but I don«t now how to do 
  that.

If the script is executable, just type its pathname relative to the current
directory: `./preinst.sh' (if its in a directory on your search path, you can
just type its name); if it isn't executable you can do `. ./preinst.sh'
or else make it executable.

  3. It don«t seems that I have the manual-klient man. What packagename is 
  that manual-klient?

$ dpkg -S `type -p man`
man-db: /usr/bin/man
^^

So install man-db.

  When I try to run with startx as root the message I get is:
  
  xinit: Can«t load library «/lib/libc.so.4« Incompatible version.
  
Where did you get this copy of Xfree86 from?  If you're using Debian, you 
should install xbase, the appropriate xserver-??? and a font package (which
dselect ought to suggest to you). It looks as though you are trying to
install a non-Debian version; this is not really a good idea.

  In my /lib/ I only have libc.so.5
  What«s wrong?

libc.so.4 is the aout format libc, which is out of date as far as the bo
(stable) distribution is concerned.  You appear to be running bo (??)

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: a MANPATH problem

1998-02-05 Thread Oliver Elphick
Dave Mallery wrote:
  when Xman comes up, it does not see my MANPATH variable (so it seems)
  and can only display the pages located in /usr/man.

Set and export MANPATH in .xsession or .xinitrc (.xsession is used when
you log in through xdm, .xinitrc when you used startx).  If you want the
change to be made for all users, do it instead in /etc/X11/Xsession.
Check the xbase documentation.

  also, i have this problem when running emacs on an xterm in SU:
  
  /home/dmalleryemacs
  Xlib: connection to :0.0 refused by server
  Xlib: Invalid MIT-MAGIC-COOKIE-1 key
  emacs: Cannot connect to X server :0.0.
  Check the DISPLAY environment variable or use `-d'.
  Also use the `xhost' program to verify that it is set to permit
  connections from your machine.

Check out xauth.  

You need to tell root what authorisation you are using to talk to the
X server, so that it can share it.  For example:

$ su
# xauth merge ~dmallery/.Xauthority


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: a MANPATH problem

1998-02-05 Thread Oliver Elphick
Oliver Elphick wrote:
  Check out xauth.  
  
  You need to tell root what authorisation you are using to talk to the
  X server, so that it can share it.  For example:
  
  $ su
  # xauth merge ~dmallery/.Xauthority

Only don't do this in your own home directory: I just found that this command
rewrote my .Xauthority file and changed its permissions to root, so that
no other X command would work.  I had to su and change its ownership back to
me.

You could also use `xhost localhost'

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Lyx, StarOffice, word [was Re: Win95 and Linux:

1998-02-05 Thread Oliver Elphick
Johann Spies wrote:
  I have tried Lyx a few times since I began using Linux about 2 years ago
  and every time gave up on it because I could not find documentation gave
  answers to a lot of questions on how to use it.

The documentation in later versions is a lot better, though still
incomplete.  A Debian package of the new 0.12 version has just been
uploaded.
  
  I do not know for example how to produce text in Lyx like môre reën dit.
  Doing it using Emacs and Latex is easy and I know one is supposed to be
  able to do it in Lyx even using Latex functions, but so far I could not
  find clear explanations on how to do it or how to use Latex functions in
  Lyx.

Type the LaTeX sequence in TeX mode (toggle the TeX button on the toolbar).
You can also select a sequence and click on TeX to put it into TeX mode.
TeX sequences show in red on the screen.

  I was wandering whether anyone could use Lyx for anything serious.  Are
  there proper documentation somewhere?

I think people are using it for theses.  I use it for correspondence and
my company accounts.

If you need help that the documentation doesn't give, subscribe to the LyX
users' mailing list.

The message address is [EMAIL PROTECTED]; I can't
remember the subscription request address, but it's in the documentation
somewhere.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Need help

1998-02-02 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:
  Hi My name is Linda, I need some help with my Brother HJ-400 inkjet printer
  I downloaded it like I was suppose to...but it still won't print...I need to
  know about
  what kind of cablesand drivers I might need.This printer says it Apple/
  IBM comp...  I have a COMPAQ Presario V-410..2200.I tried everything
  nothing seems to workPlease! if you can give me some idea what I need to
  do

First of all, we assume you're running Debian Linux (seeing that you're 
posting here);

  which version of Debian have you installed?
  have you recompiled the kernel?
  if so, did you include support for a parallel printer?
  has your printer got a parallel or a serial interface?
  what printer software have you installed?
  what commands have you used to try to print?
  what device names did you use?
  did anything at all happen, or just silence?

Basically, you must give more information or we can't help you.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: debian keeps mail where?

1998-01-31 Thread Oliver Elphick
Britton wrote:
  
  I am finally getting mail set up right on my system after seeing the
  article in LJ.  I found that my system did not have a file
  
  /var/spool/mail/myusername
  
  which said article says is the standard place where mail is kept?  Does
  the user setup system not automaticly create this file, or am I using the
  wrong one?

This file should be created automatically when mail is delivered. Some mail
frontend programs delete it after reading it, so it is unlikely that the
absence of this file is itself causing problems.

The directory /var/spool/mail should have these permissions/ownership:
drwxrwsrwt   2 mail mail 1024 Jan 28 18:06 /var/spool/mail

or the mail delivery program may not be able to create the file when
it has mail to deliver.

If none of this helps, you should review all the logs to look for mail
handling errors.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Dates, postgresql and pygresql

1998-01-28 Thread Oliver Elphick
Johann Spies wrote:
  On Tue, 27 Jan 1998, Oliver Elphick wrote:
   Try running the postmaster in the foreground and have the backend echo 
   queries, to check what requests the backend is seeing.
  
  I also do not know how to do this.  I will have to study some more
  documentation to do this.

Best to do this in an xterm window:
  $ su
  # /etc/init.d/postgresql stop
  # su - postgresql

 Make sure that the home environment for postgres is correctly set up,
 so that PGLIB, PGDATA, and PATH all have the proper values:
   PGLIB=/usr/lib/postgresql/lib
   PGDATA=/var/lib/postgresql/data
   PATH=/bin:/usr/bin:/usr/lib/postgresql/bin
 They should be correct already.

   $ postmaster -o '-E -d 2 -e'

 Queries will now be shown, with other debugging information.
 Run your Python application in another window to generate the queries.

 When you have finished, use Ctrl-C to stop the postmaster.  Then:

  $ exit
  # /etc/init.d/postgresql start
  # exit
  $

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Dates, postgresql and pygresql

1998-01-27 Thread Oliver Elphick
Johann Spies wrote:
  When I want to write a date to a postgres table in the following query
  (using python and pygresql)
  
  INSERT INTO lidmate VALUES (3157,864,'ACKERMAN','MARTHINUS THEODORUS','MNR',
   '','ACKERMAN','','O','M','B','','','17/06/1997','19/08/1997')
  
  the following error message occurs:
  
  Traceback (innermost last):
File stdin, line 78, in ?
File stdin, line 71, in skryf_data
  ValueError: WARN:Bad date external representation 
  
  I have the following lines in my .bashrc to set the locale:
  
  LANG='en_GB'
  export LANG
  
  I also did a 
  
  os.system(set DateStyle to 'SQL,European')
  
  in the program to see if that will solve the problem, but it made no
  difference.
 
The message you are getting appears to be a PostgreSQL message, but the
syntax you are using works OK in psql.  Is it possible that Python is
mangling the data being sent to the backend? Can you run a debugger to
check what is happening?

Try running the postmaster in the foreground and have the backend echo 
queries, to check what requests the backend is seeing.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Login-Warning

1998-01-26 Thread Oliver Elphick
Markus Lechner wrote:
  I want the system to tell me when (and how many times) somebody tried to
  login without proper
  password.
  
  Is this possible in a simple way? How? Or do i need some Package?

The command to use is `lastb' from package sysvinit.

Relevant data is stored in /var/log/btmp, but only if that file already
exists.  If it doesn't exist, create it (as superuser) with the command
`touch /var/log/btmp'.

See `man last' for full details.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: partitioning

1998-01-24 Thread Oliver Elphick
Michael A Jablecki wrote:
  This is a multi-part message in MIME format.
  
  --=_NextPart_000_0004_01BD2873.E97D6060
  Content-Type: text/plain;
   charset=iso-8859-1
  Content-Transfer-Encoding: quoted-printable
  
  please help!  i need to partition my drive -- i am currently running =
  win95 and wish to keep this os and all my files -- how can i partition =
  w/o a clean slate?  thanx

If Win95 currently owns all of your disk, you need to use some commercial
tool such as Partition Magic to shrink its partition space and make room
for Linux.

Then proceed with the installation.

Perhaps instead you could buy a new hard disk to put Linux on?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


mt setblk fails

1998-01-19 Thread Oliver Elphick
I am trying to read data from a DAT tape written on a foreign machine
(probably a Sun).  I use dd to read from it, but invariably get 0 blocks.

I am able to read a tape written by a SCO machine, but the SCO machine cannot
read a tape I write.

Following the SCSI HOWTO, I tried changing the hardware block size with
`mt setblk 0'.  Any use of `mt setblk' always gives an I/O error.

The HOWTO says that GNU mt does not support this option, and mt -V says that
it is the GNU version.  However the man page lists setblk as an option.
There seems no longer to be mt source at tsx-11.mit.edu:/pub/linux/ALPHA/scsi
where the HOWTO says a copy supporting the setblk option may be found.

My DAT drive is a DDS-1 cannibalised from an HP 710 workstation,
model HP35470A Rev 1009 SCSI revision 2.
SCSI card: Adaptec 2940UW

/bin/mt from package cpio version 2.4.2-13
kernel 2.0.32patch5 i686
libc6 2.0.6-2

Is there anything I can do? Is it likely that this drive doesn't support 
changing the block size?




-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: command set

1998-01-19 Thread Oliver Elphick
J.P. Beebe wrote:
  I'm trying to learn how to use Linux. Can you tell me where I can find a
  command set for it? I don't know how to maneuvre in this system at all. 
  Thanks!

Unfortunately, the Debian User manual is not yet complete.

A part of it dealing with basic commands can be found at
   http://www.lfix.co.uk/oliver/user.html

another section is at

http://student-www.uchicago.edu/users/rhpennin/debian/files.html

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Weird /tmp permission/ownership problem

1998-01-06 Thread Oliver Elphick
Mario Fabiano wrote:
  Alexander Stavitsky wrote:
  
   I'm using relatively current hamm.
   All of a sudden my /tmp is owned by user 1000, group 1000 permission 755
   That led to discovery of unfixed bug with dpkg  dpkg-dev (all their files
   are owned by user/group 1000/1000).
   But that doesn't explain the mysterious change of ownership/permission of
   /tmp. I've changed all incorrect files from dpkg/dpkg-dev to root.root
   Shortly after /tmp went back to permission 755 but now without change in
   ownership. All of this is really weird.
  
   Has anybody else experienced this?
   Also - how can track down the process that changes /tmp permissions?
  
  I am using Debian 1.3.1, that I have installed only few days ago.
  Last friday, meanwhile I was connected to the Net via ppp, the Afterstep WM
  crashed. No way to restart it.
  Afterstep writes some kind of information into /tmp. Only some time after I
  realized that the permissions of /tmp were no longer:
  drwxrwxrwt
  
  but:
  drwxr-xr-x
  
  and Afterstep was no longer able to write into that directory.
  
  I have no idea about who or what could have changed the permissions. 

It sounds as if /tmp was deleted and recreated, rather than that its
permissions were changed; that would explain the change in ownership and
permissions; the directory has the ownership of its creator and the 
permissions dictated by the owner's standard umask.

I can't identify the culprit, though...

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: exmh questions

1998-01-06 Thread Oliver Elphick
Lee Bradshaw wrote:
  I'm considering using exmh for my mail reader.  I want to filter mail
  into different folders and be able to see which folders have messages in
  them.  Suggestions of other mail readers with this feature would be
  welcome.

I use procmail to write
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: IDE CD-ROM-Driver

1998-01-06 Thread Oliver Elphick
Weinrich, 383, NL CE wrote:
  After booting from a: with the rescue disk, my CD-ROM device is not
  detected. It's installed through the Adaptec (former FUTURE DOMAIN)
  IDE-16002 - Card on the second controller. Is there any driver for this
  card avaiable? And how could I install it when I'm booting from a:?

The second IDE controller has devices /dev/hdc (master) and /dev/hdd (slave)
The driver is the standard IDE driver included in the rescue disk's kernel.
Try telling the installation program to use one of these devices.
(Also see the boot help screens, i seem to remember that there's a booting
option for specifying the CD-ROM.)

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: [postgres] libpgperl: Pg.so: undefined symbol: PQconnectdb

1998-01-05 Thread Oliver Elphick
grin wrote:
  I tried to use libpg_perl the first time, installed libpgperl, libpgsql,
  postgresql-dev.
  
  When tried to run the test.pl, I got the following error message:
  ==
  perl: error in loading shared libraries
  /usr/lib/perl5/i386-linux/5.004/auto/Pg/Pg.so: undefined symbol:
  PQconnectdb
  ==

There was a problem in the build of libpgperl.  Try loading release 
libpgperl_6.2.1-7 which will be on master shortly (currently being
uploaded to chiark).


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: laser printers and linux

1998-01-02 Thread Oliver Elphick
William R Ward wrote:
  So that we don't all have to learn from your mistake ... can anyone
  suggest a good cheap laser printer that *will* work with Linux?

I use an HP Laserjet 6MP (Postscript).  It won't be the cheapest, but it
is very reliable.  In particular it has never given me any trouble over
paper feeding nor has it failed to print anything.
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Beginner Question

1998-01-01 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:
  I recently purchased Dale Scheetz's book The Debian Linux User's Guide
  and installed Debian Linux 1.3 on my 486.  I have been unable to get 
  XWindows working inspite of several days of effort.
  
  Hardware:
  i486 w/ 16 meg
  Linux 1.3 booting using a dual boot system and loadlin
  24speed ide CDROM
  Diamond Speedstar Pro video card chip #s (CL-GD5426-80QC-B 21943-189AC)
   with 1 meg on board mem
  Monitor: ARCHE model 214S SVGA
  
  I can run XF86Config and everything seems to setup OK but when I run
  xdm from the prompt the screen goes blank and no XTERM is displayed.
  Every combination I have tried has resulted in the same results.
  
  If I run XF86Config a second time using the existing config file I get an
  error reading the XF86Config file. (Sorry I don't have the exact error
  message since I am sending this from the WIN95 side of the system.  I 
  don't have PPP working yet either.)
  
  I suspect the problem is because I missed something but I don't know what
  it could be.  I don't have the documentation on the monitor or the video car
  d.
 
Look at /var/log/xdm-errors for anything that xdm may have produced.

Try using startx when you are already logged on, to see what messages appear on 
the 
(non-X) console.  

Have you installed xbase? (Sorry - I hope that's a silly question.)
Which X server have you installed?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: gimp and libXm.so.2

1997-12-31 Thread Oliver Elphick
G. Crimp wrote:
  I am in the process of building a Debian 1.3 (kernel 2.0.30) system.  I 
  installed the dynamically linked version of gimp and the lesstif package.
  When i try to run gimp I get
  
   $ gimp
   gimp: can't load library 'libXm.so.2'
   $
  
  I've done a find on libXm.so.2, libXm, and libX with no results.  I've also
  searched through the various library packages listed by dselect to try and
  find something that resembled this or mentioned it in its description.  No
  luck.
  

lesstif provides libXm.so.0.  libXm.so.2 is from Motif.

I see that there is a package gimp-dmotif (which conflicts with gimp).  If that
is what you installed, it requires Motif.  Install gimp instead.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: How do I use the source package disributions?

1997-12-26 Thread Oliver Elphick
Stan Brown wrote:
   Sounds liek a stupid question I know. First the reason. I am trying to
   get amanda to work on my debian box. I am still on bo and there is no
   .deb binary, so I think simple i'll just grab the hamm source stuff.
  
   I found the .orig file and a .diff file. I thought I could just untar
   the .orig, and then pun pathch  from the .diff file. But this results
   in lot's of files in the directory I am working dorm, and not in the
   appropriate subdirectories.
  
   What am I doing wrong?

Take as an example bible-kjv.  These are the files in the Debian archive:

bible-kjv_4.00-4_i386.deb -- binary package

bible-kjv_4.00-4.diff.gz  }
bible-kjv_4.00-4.dsc  }   -- source
bible-kjv_4.00.orig.tar.gz}

(In the case of a package written for Debian, there may not be a .orig.tar.gz)

Download all three components of the source -- let us say to /tmp.

Then cd to the directory under which you want to put the source and run

   dpkg-source -x /tmp/bible-kjv_4.00-4.dsc

(substituting, of course, the correct .dsc filename.)

This will create the directory bible-kjv-4.00 in the current directory,
containing the original source with Debian changes applied.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Full Root

1997-12-22 Thread Oliver Elphick
Anthony Landreneau wrote:
  My root partition, of 400 megs is full. The partition   /usr  and that of
  /var are all on their own partition.  I have looked in every directory for
  a core file, and have scanned for viruses.  There is no reason that the
  root partition should be filled to capacity and I can't seem to find the
  reason that it is.  Fsck, shows the drive as find.  Any help in this matter
  would be much appreciated. 
  

Is it possible that you have data in /usr on the root partition, which is
hidden when you mount the separate partition on /usr? (Or /var, of course.)
To test, umount the partitions and then ls the /usr and /var directories.
There should be nothing in them.

You can use du to find out how much space is taken up by a directory.  Do this
with only the root partition mounted:

  cd /; du -s *

(Another responder said to use `du -sx /*', but I find that this does not
ignore other partitions; the man page leaves me uncertain about its
intended effect.)
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: bootable Debian 1.3.1 CD

1997-12-21 Thread Oliver Elphick
Torsten Hilbrich wrote:
   Debian-CDs are bootable, at least the official ones. If you are
   using the CD from Lehmanns-Bookstore: this one is!
  
  Does anybody has an Adaptec AHA 2940 and was able to boot from this
  (or any other) CD. 

Yes. I have an Adaptec 2940UW and SCSI CD-ROM, and am able to boot
from a Debian 1.3.1 CD.

I can't tell you the Adaptec BIOS version without shutting down, but
I bought this card about the beginning of 1997.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Unidentified subject!

1997-12-18 Thread Oliver Elphick
Eric Sessions wrote:
  Whenever I try to boot the system I get the following message:
  
   Kernal Panic: VFS: unable to mount root fs or 01:00
  
  If you have any suggestions please tell me.

It sounds as if your lilo or loadlin is pointing to an invalid filesystem
for your root partition.

Can you boot from your CD or rescue floppy?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 3FA ???

1997-12-18 Thread Oliver Elphick
Eloy A. Paris wrote:
  Aaron Walker [EMAIL PROTECTED] wrote:
  
  : I just installed Debian 1.3.1 on my 486 w/4MB RAM.  I made Debian hard
  : drive bootable because it's the only drive in the system.  When I
  : rebooted, I got this message:
  :
  : 3FA:
  :
  : This is all it says.  Even when I try to boot off my boot disk, it says
  : the same message.  Please help.  Thanks.
  
  /usr/doc/mbr/README explains it all. The documentation in
  /usr/doc/lilo can also help.

Since the user says he can't boot even from floppy, he may need the text here.
This extract is from /usr/doc/mbr/README:
==
4. The boot process
~~~

When the MBR is first loaded it waits for a configurable length of
time, monitoring the keyboard, for key presses. If the MBR detects a
key press, it will interrupt the boot process, and display its
prompt. Otherwise, it will load the first sector of the default
partition, and execute it. If a disk error occours, the MBR will
display its prompt.

4.1 The boot prompt
~~~

The boot prompt looks something like this:

14FA:

This is the list of valid keys which may be pressed. This means that
partitions 1, and 4 can be booted, also the first floppy drive
(F). The A means that 'advanced' mode may be entered, in which any
partition may be booted. The prompt for this mode looks like this:

1234F:

The only other valid key which may be pressed is RETURN, which
continues booting with the default partition.
==

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Problems with Cron

1997-12-18 Thread Oliver Elphick
Pedro Sanchez wrote:
  I was not aware of the syntax crontab filename. What is filename?
  /var/spool/cron/crontab/sanchez (or something like that)? I'm not
  in my computer right now, I'll try tonight to see what happens.

crontab filename copies the contents of filename over the current user's
crontab file, destroying what was there before.

If you use this method to update your crontab, do it like this to preserve
your existing set of cron commands:

  crontab -l /tmp/crontab.me
  vi /tmp/crontab.me
  crontab /tmp/crontab.me

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Xsetup_0 does not run when xdm starts on local display

1997-12-18 Thread Oliver Elphick
I have been playing with xdm's setup to get xbanner working.  In the
course of this I found that Xsetup_0 and Xstartup_0 are not being run
when xdm starts.  I think that the reason is that the display name is
`linda:0.0' instead of just `:0.0' but I don't know where that is
being set or why xdm doesn't know that this machine is called linda.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A ( simple ? ) question about configuration

1997-12-16 Thread Oliver Elphick
Cedric Bapst wrote:
  Hello,
  
  I'm trying to use Debian Linux for two weeks and I have a small problem.
  How can we reconfigure a package? For example I've installed xbase and I
  would like to reconfigure it through the dpkg command. I tried with:
  
  dpkg --configure xbase
  
  But it said to me that the status is installed. What's the right way to
  do that?

The general answer to this question is look at the postinst script for the
package, which is stored at /var/lib/dpkg/info/package.postinst and
see what it does.  Run the relevant commands `by hand'.

The relevant command for xbase is

 /usr/sbin/xbase-configure

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Disk partioning error any idea what this means?

1997-12-15 Thread Oliver Elphick
' ALLAN W. BART wrote:
  hi,
  
  i was setting up multiple operating systems.
  
 ...
 
 Drive C: has 1 Error 
  
   
   This tells me that you are running MS-DOS and are posting to the wrong lis
  t.

Sorry, then, but in principle my reply stands.  You're running a Microsoft
utility on a MSDOS partition.  Surely the best place to ask is a Microsoft
list?  If there's any way that Debian is involved, please give more detail.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: error when starting X

1997-12-15 Thread Oliver Elphick
Aaron Walker wrote:
  When I try to start the X server for XFree86, I get the following error:
  
  _X11TransSocketUNIXConnect: Can't connect: errno = 111
  
  How can I fix this? If it helps, I'm using Xfree86 3.3.1 with Debian
  1.3.1.  I've gotten this error before with previous versions of Xfree.

Error 111 means Connection refused.  I'm not familiar with the internals
of the X server, so I don't know what that routine is trying to do
(except presumably open a socket to localhost?)

Please tell us more about your setup.  Also, your question implies that
you have met and overcome this error in the past.  Is that indeed the
case?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dtterm

1997-12-14 Thread Oliver Elphick
George Bonser wrote:
  On Sat, 13 Dec 1997, Oliver Elphick wrote:
  
   I don't know what dtterm is, but from context it sounds like a terminfo
   or termcap setting.  
  
  It is, I suppose, the destop terminal. In its default configuration, when
  you right-click on a blank area of the destop, you get a workspace menu.
  If you select programs, one of the choices is Terminal.  That terminal has
  a type of dtterm.

In that case, what I said in my previous posting should be correct.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Disk partioning error any idea what this means?

1997-12-14 Thread Oliver Elphick
butch wrote:
  This is a multi-part message in MIME format.
  
  --=_NextPart_000_0069_01BD07C7.EDA769A0
  Content-Type: text/plain;
   charset=iso-8859-1
  Content-Transfer-Encoding: 7bit
  
  hi,
  
  does anyone out there on this list know what this is telling me?
  
  allan
  
  --=_NextPart_000_0069_01BD07C7.EDA769A0
  Content-Type: text/plain;
   name=disk.txt
  Content-Transfer-Encoding: 7bit
  Content-Disposition: attachment;
   filename=disk.txt
  
  Drive C: has 1 Error 
   

This tells me that you are running MS-DOS and are posting to the wrong list.

debian is a Linux system and has nothing to do with any Micro$oft products.
 
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dtterm

1997-12-14 Thread Oliver Elphick
George Bonser wrote:
  
  I take that back ... it does not work.  Looks like I created a tercap type
  entry out of a terminfo description.  Any idea how I can turn that back to
  a terminfo entery for linux or will the Solaris terminfo entry work ok?

What you posted looked like a good terminfo entry.  You probably need to
make a termcap entry as well, which should be added into /etc/termcap.

`infocmp -C' should produce a termcap listing from the terminfo entry.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: clueless people on debian-user

1997-12-13 Thread Oliver Elphick
Ben Pfaff wrote:
  Aren't the problems with having the newsgroups that cluless people
  send stupid messages and spam to the lists?  So if we just allow
  people to *read* the lists on newsgroups, but require them to send
  submissions to the e-mail address, then we've got the best of both
  worlds.  

I'm not sure if this is what you mean, but I think you want the newsgroups
to be moderated? (Presumably the clueless can still post direct to the
mailing list.)  Someone would have to filter the clueless postings out
before sending the rest on to the mailing list.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Image Sound

1997-12-13 Thread Oliver Elphick
 lex Maneu wrote:

  -I want to put a picture as the background of X-Windows, or simply
  change the background color. Where is it specified? Which files must
  I edit?

Look at `man xsetroot'.  xv also has the capability, opnce you have installed 
it.

  -XV: I've been looking for this program, but I don't have it.
  I've been searching it in DSELECT, but I couldn't find it.
  Where is XV?

non-free/graphics

  
  -Sound Card: My soundcard is a Logitech SoundMan Wave 100% compatible
  with Soundblaster. Which files must I edit to use it? (for example to
  listen CDs, etc). Must I have installed some special package?

rebuild your kernel to incorporate sound support.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dtterm

1997-12-13 Thread Oliver Elphick
George Bonser wrote:
  
  When will Debian learn about dtterms?  I am now using a SPARC-IPC running
  Solaris and CDE as my desktop. I use it to connect to four different
  Debian systems.  It is getting to be a pain to keep setting my $TERM to
  xterm (I do not know if this is even correct ... it seems to work).
  

I don't know what dtterm is, but from context it sounds like a terminfo
or termcap setting.  

If that is correct, use infocmp to dump it on the SPARC-IPC, transfer the
result to the Linux machine; then use tic to compile it into Linux's
terminfo database.  Use similar methods to transfer the termcap
settings.  If you want it to go into future Debian releases, send the 
results to the maintainer of the appropriate package; no doubt he will
be grateful.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: permission denied

1997-12-12 Thread Oliver Elphick
Elaina Beth Tillinghast wrote:
  I've mounted the cd and can read off of it. Permissions for a
  particular file look like
  -rwxr-xr-x  901  root   size  Install
  Yet when I type ./Install from that directory as root, I get
  permission denied.  What gives? I have no idea where to look. 
  
It's probably a script.  Therefore it's quite likely that you
have a problem with permissions on something the script is trying to 
run.

If it is not a script, I have no idea.

If it is, the first line probably says what shell process is to run the
script.  It might say `#! /bin/bash' or `#! /usr/bin/perl'.  Check the
permissions of that executable.  If that is OK, start debugging the
script itself.  If it's a shell script (/bin/bash or /bin/sh) put
`set -x' near the top; if it's a perl script, I don't know; perhaps
someone else could suggest something.  The object is to see what command 
in the script is failing.  If you can't do it that way, check the
permissions of every command the script tries to run.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Several Q's

1997-12-12 Thread Oliver Elphick
Matthew Majka wrote:
  I'd like to thank everyone who answered my request for
  information.  The fix was easy; hold down button 1 during
  boot and set the protocol to MouseSystems... and the
  documentation was on my system all along.  The more I use
  Linux, the more I am amazed at the quality...
  
  Maybe x86 HW isn't that bad after all...

It should be even better: you shouldn't have to hold that button down.  Use
ClearDTR and ClearRTS in the Pointer section of XF86Config.

(See `man 5 XF86Config' for full details.)

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Help with using a remote xserver

1997-12-11 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:...I run X11 on the linux machine, and because the
  monitor on the mac is so much nicer, I like to use a X server on it.
  There is a free xserver for the mac called MI/X.  Worked fairly well
  before I migrated to debian, but now when I try to start a client on that
  display I get the following errors:
  
   whitehouse$ xterm -display powermac:0.0 
   _X11TransSocketINETConnect: Can't connect: errno = 111
   _X11TransSocketINETConnect: Can't connect: errno = 111
   _X11TransSocketINETConnect: Can't connect: errno = 111
   _X11TransSocketINETConnect: Can't connect: errno = 111
   _X11TransSocketINETConnect: Can't connect: errno = 111
   _X11TransSocketINETConnect: Can't connect: errno = 111
   Error: Can't open display: powermac:0.0

Error 111 is `Connection refused'.  You have to tell your X server to allow 
your Debian machine to connect to it. If you have no concerns about security
(with respect to other people getting access to your X server) you can
run `xhost +' on it, which will allow any client to have access to it.

If you have security concerns, transport the .Xauthority file from the Mac
to the Debian machine and run `xauth merge Mac_Xauthority'.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Several Q's

1997-12-10 Thread Oliver Elphick
Matthew Majka wrote:
  
  This first is that when I run 'xconsole', it returns cannot open
  /dev/console.

In your .xsession (or .xinitrc), or in the global file /etc/X11/Xsession put:

   xconsole -file /dev/xconsole -exitOnFail 


  
  Also, can anyone recommend a decent three-button mouse (serial or
  ps/2).  The middle button on my current mouse doesn't work.

The problem is probably with your configuration rather than with the
mouse.  What have you got in the Pointer section of /etc/X11/XF86Config?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Debian Problem after Compiling Kernel

1997-12-08 Thread Oliver Elphick
Vaibhav Goel wrote:...
  I installed Debian 1.3.1 off the InfoMagic Developers CD.  This release
  incorporates the 2.0.29 kernel.  Installation goes without a hitch.
  Everything works fine.  I download the latest developers kernel (2.1.71)
  and compile it.  Everything seems to compile fine.  Upon reboot with the
  new kernel, I get the following error message
  
  SIOADDCRT: Invalid argument
  
  I have determined this to come from the following command which is issued
  in /etc/init.d/network.
  
  route add -net ${NETWORK}
  
  Here is what my /etc/init.d/network file looks like
  
  
  #!  /bin/sh
  ifconfig lo 127.0.0.1
  route add -net 127.0.0.0
  IPADDR=204.69.208.4
  NETMASK=255.255.255.0
  NETWORK=204.69.208.0
  BROADCAST=204.69.208.255
  GATEWAY=204.69.208.1
  ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
  route add -net ${NETWORK}
  [ ${GATEWAY} ]  route add default gw ${GATEWAY} metric 1
  
  
  Please note that this exact same file works great with the CD installed
  kernel (ie precompiled kernel).  I have tried downloading and compiling
  2.0.30 but I get the same error.
  
  Can someone tell me what I am doing wrong?

Since your set-up works with the pre-compiled kernel, it follows that you
have a problem either with the configuration of your own kernel or in the
loading of modules.

Have you enabled ethernet in the kernel as well as incorporating a driver
for your particular network card?

If you have configured these as modules, are you either running kerneld to
load them automatically when required, or else running modprobe at boot time
to load them once and for all?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


postgresql update

1997-12-08 Thread Oliver Elphick
Someone was asking on one of these lists for up-to-date files of postgresql,
since there were some problems with earlier versions.  Unfortunately, I
have lost the message; sorry about that.

The latest version is in Incoming. If you cannot get into master.debian.org,
you can download the current version (6.2.1-4) from:

   http://www.lfix.co.uk/postgresql 
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: fetch/mail and xconsole

1997-12-08 Thread Oliver Elphick
On Mon, Dec 08, 1997 at 09:47:03AM +, Brian Skreeg wrote:
...
   2. How do I direct program output to appear in this window? Before I 
   discovered xconsole I just used an Xterm to display whatever was sent
   to /dev/console by just launching progs like...;
   
   fetchmail  /dev/console 
   
   This doesn`t work with xconsole.

Use `logger' to write things to the logs (including the console, which
displays some of them.)  Full details in `man logger'.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Running defrag in single user mode...

1997-12-06 Thread Oliver Elphick
Curt Howland wrote:
  How does one go into single user mode, then start
  the multi user functions again?
  
  I pulled a defrag package down, but it won't run
  (for blatently obvious reasons) in multi-mode.

In 10 years of using Unix and Linux I have never had to defragment a disk.

This isn't a Micro$oft product...

Can anyone suggest why one might want to defragment a disk in Linux?


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 'make config' issues.

1997-12-06 Thread Oliver Elphick
Christopher R. Barry wrote:
  I apologise for this newbie question but what do I do to get 'make
  config' to exist? I installed Debian several days ago and just learned
  today that the reason why my mouse doesn't work is because I need to
  compile support into the kernel. When I go to /usr/src/linux and type
  'make config' I just get a bash error message saying that the make
  command was not found. Arggg The HOWTOs and FAQs do mention how
  to configure and compile the source, but they say nothing about
  obtaining 'make config' which is essential to the process. I tried
  installing all the packages I thought were relevent, such as gcc, but
  nothing works

It sounds as if you need to install the make package.

If you haven't installed that, have you installed the C compiler, gcc?  You
will also need that and several other things to compile the kernel.  These 
are in the Standard devel section in dselect.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Removing libc4

1997-12-04 Thread Oliver Elphick
James Dietrich wrote:
  
  I have libc4 installed on my Debian system (running the latest from
  unstable).  How can I find out if any programs depend on libc4, so that I
  can remove it if it isn't needed?  

This may not answer quite the same question, but you can search for a.out
executables:

find / -type f -perm +111 -print | xargs file | grep '[QZ]MAGIC'


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: HELP: Installing Debian in a Bussines

1997-12-04 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:
   My father wants to make some changes in his Bussines and I am
  trying to get Debian/Linux into those changes.
  
   I will explain myself:
  He is going to change his system:
  
  Computer: FUJITSU TITAN2600 (with 24 terminals)
  O.S.: PICK O.A. v5.2
  With: Terminal based menues for entering, changing, checking data on each
  terminal.
  
  With a network (Debian if I can help it)
  
   The idea is that if I can give him a Debian/Linux based system which
  fits his needs he installs it, also he wants tu use ( at least for a while) 
  his
  old programs so something like a PICK O.A. interpreter should be perfect and
  also needs to port the data to the new system.
  
  What I think he needs:
  
   -A PICK interpreter or so.

I don't know of any freeware PICK product.  PICK Systems make a Linux
version of their software; you can also run JBase.  You can run a
SCO version of UniVerse if you use the iBCS kernel module to run
COFF executables.

   -Something to convert the old data.

Write a DataBasic program to dump data out to tape in a set format.  Read
it in again on the new machine.  (If the OA system is co-existing with Unix
you could perhaps make a network connection.


   -Some program to later on replace that ¿PICK interpreter?

The PICK data model is unique.  If you use an SQL database like PostgreSQL,
you will need to rework the design of the database; multi-valued fields
will have to be normalised.  It's a big job.

   -Probably some way to keep both systems in parallel.

You will need to define input and dump routines for both systems (unless
the traffic is one-way only).  Do the update via tape.

[for tape read floppy if appropriate]
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: problem using gv

1997-12-03 Thread Oliver Elphick
Cheng Tang wrote:
  The newer version of gv seems not work in my systerm.
  --
  gv: error in loading shared libraries
  libXaw3d.so.6: cannot open shared object file: No such file or directory
  -
  Is there any way to fix it? Thanx.
  

The missing file is in the package xaw3d or xaw3dg (the latter is for libc6).
Install or reinstall that package.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Postgres What do you think

1997-12-03 Thread Oliver Elphick
Iztok Umek wrote:
  Now I am downloading PostgreSQL 6.2.1 and will install it, hope old
  programs are still compatible with it.

I'm its maintainer.  Please let me know how you get on and tell me of
any problems.  (Incidentally, I should be uploading a new version
tonight with some fixes to packaging bugs, and patches 1 to 6 from
PostgreSQL development.)  postgresql is newly packaged and does not
inherit (on the Debian side) from postgres95.  You will certainly need to
dump and reload your database.

  
  Othervise... anyone knows good tool for www-postgres conectivity?

Here's a message from the postgresql questions list:
==
Sender: [EMAIL PROTECTED]
Precedence: bulk
X-uidl: 8289d4edb93ea3a92bd3160a60effaef
Date: Tue, 02 Dec 1997 16:10:51 +0100
From: Egon Schmid [EMAIL PROTECTED]
To: Arthur Alacar [EMAIL PROTECTED],
pgsql-questions@postgreSQL.org pgsql-questions@postgreSQL.org
Subject: Re: [QUESTIONS] C interface..

Arthur Alacar wrote:

   
If you want it, I have been using C as a CGI like web interface, I could
sent you some of the code.  Are you wanting a browser interface?
  
   php/fi is a great interface for web stuff.  You embed the sql right in
   the web page.
  
  
  Yes I agree, but I did not know about it untill about 3 weeks ago, learned
  about it here.

 so where can i get this?

http://php.iquest.net/

You can get the php2 or php3 (alpha). It is now called ´Professional Home 
Pages´.
The FI in the name has been dropped.

Egon
==

I'll think about packaging this once I'm happy that the basic package is OK.

Oliver



-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Debian Installation Problem, PLEASE HELP!!!

1997-12-03 Thread Oliver Elphick
Liran Zvibel wrote:...
  Now for the problems:
  1) When I set the CD drive up it told me to that I should read
  linux/documentation/cdrom/sbpcd and then configure sbpcd.h
  the linux directory does not exists on my system, not does this file on
  any other directory.

That message is in the text of the sbpcd driver.  The file is in the
linux kernel source code.  There is a Debian package, but you haven't
loaded it.  If your CD is working, you can safely ignore this message.

  
  [various X problems]

Is xbase properly installed?  Check with `dpkg -l xbase'.

  6) Why isn't . in my path? I don't want to execute every program by
  ./command. How do I put it in the path?

Don't put it in your path as superuser.  As an ordinary user, add this line to
your .bash_profile and .bashrc:

  export PATH=$PATH:.

or if you are using C shell (see below), this should go in .login and .cshrc:

  setenv PATH $PATH:.

(I think)
You can also run those commands directly in an interactive session.

There are quite a lot of places where this command could be put:

/etc/profile should do it for all bash, Bourne shell and Korn shell users at
login time, unless they are using xdm to log in.

Once you get X working, it has its own configuration set up, both system-
wide and per user.

If /etc/environment exists (again for bash users), the bash form can go
in there.  Other scripts ought to include /etc/environment (but check that
they really do.)  For example, this is my /etc/profile:
==
# /etc/profile: system-wide .profile file for bash(1).

if [ -f /etc/environment ]
then
. /etc/environment
fi

ulimit -c unlimited
umask 022

PS1='\h:\w\$ ' export PS1
==

  
  7) When I installed the installation process said I can't install lilo in
  the / since it ends on the 1090th cylinder, will I be able to put lilo in
  the MBR? Should I just destroy everything, repartition and install again?

There is quite a lot to be said for keeping the root partition small: mine
is 50Mb, with /usr and /var on separate partitions.  Make sure the root
partition is early in the disk and you should be OK.  (This is to do with
PC BIOS limitations.)
  
  8) I don't have the kernel source in where it should be (I can't remember
  now, but you all know what I mean), and I can't (can I?) recompile the
  kernel so it doesn't try to find so many things at the beginning. BTW: gcc
  is the only program that I know that works (I didn't try something too
  fancy but I think it was enough).

Install the kernel source package; then you can build yourself a kernel
customised to your particular system.
  
  9) Here I would like to hear your opinion: I use C shell at my Uni. (here)
  what is better C shell or bash? (I don't know bash, so take that into
  consideration).

If you know C shell, use tcsh; if you know Bourne or Korn shell, use bash.
I never learnt C shell, so I don't like it and I use bash.

For writing scripts, use bash.

Debian installation always assumes bash is present; you would probably do
well to learn it, even if you decide to use tcsh as your normal shell.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: libproc.so problems

1997-12-01 Thread Oliver Elphick
clif smith wrote:
  Hi,
To begin, I'm a newbie to Linux and this is not the first time I've
  inquired about this problem.
Simply put, from the time I installed Debian I got the following message;
  
  'ldconfig: warning: can't open /usr/lib/libproc.so (no such file or
  directory), skipping'
  
The file is there but whenever I do an 'ldconfig' I get a 'can't open, no
  such file or directory'. Whenever I try to 'ldconfig' on another library
  file I get the same message even though I'm not doing 'ldconfig' on
  'libproc.so'.

libproc.so is a symbolic link to the current version of libproc.so; however
that other file is not present.  That is why you see libproc.so but ldconfig
can't open it.

The libproc shared library is in the package procps.  Either install that or 
delete /usr/lib/libproc.so.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dev for SCSI tape

1997-12-01 Thread Oliver Elphick
Lawrence wrote:
  Oliver Elphick wrote:
   
   Lawrence wrote:
 What is the likely device name in the /dev directory for a SCSI tape
 drive? is it /dev/tape?  Anyone using the Seagate Travan SCSI backup?
   
   SCSI tape drives are:
   crw-rw-rw-   2 root root   9,   0 Feb 19  1997 /dev/st0
   crw-rw-rw-   1 root root   9,  96 Feb 19  1997 /dev/st0a
   crw-rw-rw-   1 root root   9,  32 Feb 19  1997 /dev/st0l
   crw-rw-rw-   1 root root   9,  64 Feb 19  1997 /dev/st0m
   
   If you have more than one you can create /dev/st1 and so on
   
   The SCSI tapes are assigned to st[0-9] in the order that they are recognis
  ed
   at boot time.
  
  What is the meaning of suffix {a,l,m}?

From /usr/src/linux/Documentation/device.txt:
  9 charSCSI tape devices
  0 = /dev/st0  First SCSI tape, mode 0
  1 = /dev/st1  Second SCSI tape, mode 0
  ...
 32 = /dev/st0l First SCSI tape, mode 1
 33 = /dev/st1l Second SCSI tape, mode 1
  ...
 64 = /dev/st0m First SCSI tape, mode 2
 65 = /dev/st1m Second SCSI tape, mode 2
  ...
 96 = /dev/st0a First SCSI tape, mode 3
 97 = /dev/st1a Second SCSI tape, mode 3
  ...
128 = /dev/nst0 First SCSI tape, mode 0, no rewind
129 = /dev/nst1 Second SCSI tape, mode 0, no rewind
  ...
160 = /dev/nst0lFirst SCSI tape, mode 1, no rewind
161 = /dev/nst1lSecond SCSI tape, mode 1, no rewind
  ...
192 = /dev/nst0mFirst SCSI tape, mode 2, no rewind
193 = /dev/nst1mSecond SCSI tape, mode 2, no rewind
  ...
224 = /dev/nst0aFirst SCSI tape, mode 3, no rewind
225 = /dev/nst1aSecond SCSI tape, mode 3, no rewind
  ...

No rewind refers to the omission of the default
automatic rewind on device close.  The MTREW or MTOFFL
ioctl()'s can be used to rewind the tape regardless of
the device used to access it.

I can't find any documentation that explains (comprehensibly) what the
modes are.  I believe that l = low density and m = medium density; I have
no idea what a is.  It may be that the tape hardware may not support
the use of these other modes.  I have not tried to use any but the 
default (minor number = {0,128}) with my DDS drive.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: problem with bash -- probably

1997-11-30 Thread Oliver Elphick
[EMAIL PROTECTED] wrote:...
  I thought bash always prepended the pwd to the commands so that it 
  would always find a shell script in the current directory.

bash doesn't do so by default; it uses the search path

   In the 
  .bash_profile for my user login shell, I set the path as follows:
  
  PATH='/usr:/bin:/usr/bin:/usr/sbin:.'
  
  The . at the end was to try to ensure the current directory always 
  got searched.
  
  When I try to run a Perl script in the current directory that starts 
  with: 
  
  #!/usr/bin/perl5
  
  I get nothing if I'm running as a user.

Have you exported PATH?  If you don't, it won't be passed down to the perl
sub-shell.  You should say this when you set up your environment:

  export PATH=$PATH:.

(you include /usr/sbin in your path, which is normally for superuser only
commands; my version doesn't, unless /usr/sbin is put in at an earlier stage.)

   If I'm running su, then I get 
  command not found

When you run su, you lose the PATH environment variable; that's to protect 
the system from having the superuser accidentally run a Trojan horse.
You should never have . in the path for the superuser.  As a result, the
interactive shell doesn't find the script in your current directory.

  
  If I type the full path name to the script in the current directory, 
  then the perl scripts work as expected EXCEPT that any statement in 
  the script that assumes the current working directory as the source 
  fails.

This definitely seems to indicate that PATH is not exported.

  
  Is this a bug in Perl or bash? Is my environment set up wrong?
  
  Is there any place the overall organization of Debian is explained? 
   
  Debian has taken pains to standardize a lot of things like 
  configurations, but it really different from anything I've used 
  before, and I've not found any documentation to explain it. 

Unfortunately, the new user documentation isn't written yet.

   Simple 
  things, like I want to login as 'root' vs. 'su' from a remote 
  terminal. I'm sure there's a way to do this. I read the configuration 
  files, but didn't see how to do this. 

In many cases, the system, by default, protects itself from actions which
could endanger it.  A remote root login means that you have no means of
tracing back who is responsible, whereas all su attempts are logged with
the user name responsible.  If you want to get the root login environment,
do `su -' instead of `su'.  If you really want to override this security,
edit /etc/securetty.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dev for SCSI tape

1997-11-30 Thread Oliver Elphick
Lawrence wrote:
  What is the likely device name in the /dev directory for a SCSI tape
  drive? is it /dev/tape?  Anyone using the Seagate Travan SCSI backup?

SCSI tape drives are:
crw-rw-rw-   2 root root   9,   0 Feb 19  1997 /dev/st0
crw-rw-rw-   1 root root   9,  96 Feb 19  1997 /dev/st0a
crw-rw-rw-   1 root root   9,  32 Feb 19  1997 /dev/st0l
crw-rw-rw-   1 root root   9,  64 Feb 19  1997 /dev/st0m

If you have more than one you can create /dev/st1 and so on

The SCSI tapes are assigned to st[0-9] in the order that they are recognised
at boot time.


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Q: How does one generate diffs for use with patch

1997-11-26 Thread Oliver Elphick
Daniel Martin wrote:
  ...
  So here's the question - how do I make this patch?  Some files in the
  original source distribution's debian/ directory aren't there in mine.
  Also, doesn't a diff usually tell how to change one file into another?
  How then does one generate patch files to change one file into a modified
  version of the same file (i.e. source and target filename the same)?

Have the original version in one directory tree (.../tree.orig) and the 
new version in another (.../tree).  Then:

   diff -crN .../tree.orig .../tree  tree.patch




-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: I'm an idiot and sed proves it...

1997-11-26 Thread Oliver Elphick
Dale Scheetz wrote:
  On Wed, 26 Nov 1997, Aaron Denney wrote:
   Your problem is that the inner quotes don't add another level quoting, but
   take away another level of quoting.  To be a little clearer:
   
 sed -e 's/'\t'/ /g' infile outfile
   ^^ are the quoted parts.
   
   The \t is not quoted, but is interpreted by your shell, which replaces the
   \t
   with an actual t.  If you take out the inner quotes, it should work:
  sed -e 's/\t/ /g' infile outfile
   
   This will pass an actual \t to sed, which will interpret it as a tab chara
  cter.
   
  I think that I will never understand the ins and outs of these quoting
  issues. However, this doesn't provide any better fix for my problem.
  Removing the inner quotes results in sed carefully replacing all t
  characters by the space character, and doing nothing to the tabs. (This
  was, after all, my first try, before I went looking at examples and tried
  the inner quotes. Your assurances didn't make it work any better the
  second or third time I tried it either.)
  

According to `man sed', only a few characters can be backslash-escaped,
and t is not one of them.  On the other hand it is used for _output_ by
the l command within sed.

Enclose an actual tab in the quotes; if you are typing it in and the shell 
interferes, use `ctrl-v tab'.



-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Crash! (help)

1997-11-25 Thread Oliver Elphick
Udjat the BitMeister... wrote:
  
  What is device 03:01 ( see the syslog below. I assume its the swap partition
  )

$ ls -l /dev | grep ' 3, *1 '
brw-rw   1 root disk   3,   1 Dec  9  1996 hda1
   
It's this one.

  
  I did:
   swapoff /dev/hda2
   mkswap -c /dev/hda2
   swapon -a
  
  That should have reset a corrupt swap partition correct?
  
  here is the messages from the syslog:
  
  Nov 25 00:50:00 bitgate /USR/SBIN/CRON[24770]: (root) CMD  (/root/ppp/bin/pp
  p_watch.sh  /dev/null 21) 
  Nov 25 00:50:10 bitgate kernel: Internal error: bad swap-device 
  Nov 25 00:50:10 bitgate kernel: Trying to free nonexistent swap-page 
  Nov 25 00:50:10 bitgate kernel: Internal error: bad swap-device 
  Nov 25 00:50:10 bitgate kernel: Trying to free nonexistent swap-page 
  Nov 25 00:50:10 bitgate last message repeated 3 times
  Nov 25 00:52:40 bitgate kernel: ll_rw_block: device 03:01: only 1024-char bl
  ocks implemented (1028) 
  Nov 25 00:52:46 bitgate kernel: VFS: Wrong blocksize on device 03:01 
  Nov 25 01:56:35 bitgate syslogd 1.3-3#17.1: restart (remote reception).
  Nov 25 01:56:35 bitgate kernel: klogd 1.3-3, log source = /proc/kmsg started
  .
  Nov 25 01:56:35 bitgate kernel: Loaded 3542 symbols from /System.map.
  Nov 25 01:56:35 bitgate kernel: Symbols match kernel version 2.0.32.
  
  Thanks!
  
  -Eric Yocom
  
  
  --
  TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
  [EMAIL PROTECTED] . 
  Trouble?  e-mail to [EMAIL PROTECTED] .
  
  

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: YANQ (Yet another newbie question...)

1997-11-24 Thread Oliver Elphick
Andrew Akins wrote:
  1) Where do I put programs (daemons) that I want to automatically
  startup, ie., what is the Autoexec.bat file of the unix world? I
  looked in .bashrc and .bash_profile, which seem to set a lot of
  enivronment variables, but I don't se if you can put programs in this.
  
  In particular, I need to startup my postgres postmaster daemon no matter
  what account you're logged in as...so I need a system-wide init file.

You need to distinguish between daemons, which serve the whole system, and
user programs.  postmaster serves the whole system, so it is started up
from the rc scripts.  This is how it works:

When Linux boots, the kernel starts and then runs /sbin/init, which is
responsible for everything else.

init reads /etc/inittab and follows the isntructions there.  Usually,
this will mean running `/etc/init.d/rcS' followed by `/etc/init.d/rc 2'
(which is what we need to look at now) and finally gettys are run on the
virtual terminals.

`/etc/init.d/rc 2' looks in /etc/rc2.d for files whose name begins with
S and runs them in order.  Usually, these files are links to files
with friendlier names in /etc/init.d.

You need a file called /etc/init.d/local-postgres, which you should link
to /etc/rc2.d/S99local and to /etc/rc2.d/K99local:

   ln -s /etc/init.d/local-postgres /etc/rc2.d/S99local
   ln -s /etc/init.d/local-postgres /etc/rc2.d/K99local

It should contain something like this, which is part of the initialisation
file from the Debian postgresql package; edit the pathnames to suit your
set-up:

==
#! /bin/sh
#

PGDATA=/var/lib/postgresql/data
PGLIB=/usr/lib/postgresql
export PGLIB PGDATA
POSTMASTER=${PGLIB}/bin/postmaster
POSTGRES=${PGLIB}/bin/postgres
OPTIONS=-o -e# European date format

case $1 in
start)
su postgres -c ${POSTMASTER} ${OPTIONS}
;;
stop)
start-stop-daemon --stop --verbose --exec ${POSTMASTER}
;;
reload|restart)
start-stop-daemon --stop --verbose --exec ${POSTMASTER}
su postgres -c ${POSTMASTER} ${OPTIONS}
;;
*)
echo Usage: /etc/init.d/local-postgres {start|stop|restart|reload}
exit 1
esac

exit 0
==




The profile files (.bashrc .bash-profile .profile .xsession .xinitrc and
so on) can be used to set environment variables or to start programs for a
particular user, when that user logs on or starts a bash session or goes
into X.

Unless you are running X, you cannot start interactive programs, because
they will occupy your session and stop you doing anything.  You can
start background programs by adding  after the command.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: diald vs ipmasquerade

1997-11-23 Thread Oliver Elphick
Brian M. Rectanus wrote:
   
   At 09:38 AM 11/22/97 +, Chuma Agbodike wrote:
   Do diald and ipmasquerading serve the same purpose ?
   Or do I have to use both ? I have a 3 node ethernet lan.
   The all had windows on them. Now I installed Linux 2.0.29 (debian 1.3)
   on the unit that has the modem on it. And would like the other units
   to access the internet via the modem on LINUX unit.
   So I have diald running on the linux. The windows node have the
   linux unit as their gateway. But if I ping an IP diald doesn't dial.
  
  You cannot ping an IP.  You have to ping an address that must be looked up
  like:
  
  server.no.where.net
  
  Otherwise diald assumes that the ip in on your local net and no dial is
  nessasary.

I don't understand what you are saying here.  Diald works on the basis of
IP addresses only.  If you ping a name, the very first thing that happens
is that gethostbyname() is called to look up the IP address from the name.
That _may_ involve a nameserver lookup across the network or it may be
relovable from cached data.  If it is not cached it will send a query to 
external nameservers, and that will cause diald to start the link.
Equally, diald will start the link if it receives any other kind of 
packet for a remote site, provided that you have your routing correct.
(Don't forget that it has to call the nameserver itself in that manner.)

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Low speed response w/ Logitech Trackball

1997-11-23 Thread Oliver Elphick
Pancho Horrillo wrote:
   I use a Logitech Trackball (Marble), attached to PS/2 port, and i
  cannot get it work fast enough in X, so my thumb gets really tired... Is
  there any way to change the responsiveness in X ?

xset m acceleration threshold

threshold is the pixel distance to move in a short time that will trigger
the acceleration of acceleration times the normal movement.

Your post stimulated me to look into this.  I found that `xset m 6 3' 
made life quite a lot easier. On the other hand, `xset m 10' was a bit wild.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: diald vs ipmasquerade

1997-11-23 Thread Oliver Elphick
Oliver Elphick wrote:
  That _may_ involve a nameserver lookup across the network or it may be
  relovable from cached data.
   ^
Sorry. That isn't an English word; I meant to say `recoverable'.
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Diald

1997-11-23 Thread Oliver Elphick
Chuma Agbodike wrote:
  Can someone please send me a working copy of their diald-options file.

I have done so.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Introduction for new users

1997-11-23 Thread Oliver Elphick
 have chosen.
A shell program is a set of commands in a file or typed in.  E.g.

for f in `grep -l widgets`
do
sed -e 's/widgets/gadgets/g' $f ${f}gadget
echo $f
done

Once you have stored a shell program in a program file, you have to make it
executable by running chmod:

chmod a+x my_program_file


11. Errors

Unix commands normally execute silently unless asked to be verbose
or unless there is an error. An error means something that does not
make sense to Linux; it doesn't mean something you don't want to
happen!  For example, I once had a client who had some unwanted files
in his root directory which were named TEMP and so on.  As superuser
in the root directory he typed

rm -rf /*

when he should have typed

rm -rf \*

What he actually asked for was to delete his entire file system, as a
background job.  It did too.


12. Finding more information

Look in /usr/doc for the various HOWTO files. Read the man pages. Get a 
book on Unix.  If these don't answer your questions, subscribe to 
debian-user@lists.debian.org and ask there.  (To subscribe, mail
[EMAIL PROTECTED] with the word subscribe in the body
of your message.)

Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



Re: Imagemagick doesn't release shared memory

1997-11-21 Thread Oliver Elphick
Kingsley G. Morse Jr. wrote:
  Will someone please test the 3.9.0-1 (unstable) version of Imagemagick to
  see if it releases shared memory on your box? 
  
  Please post your results to this list so other people won't duplicate your
  effort.

I see the bug on this system
linda:~/.netscape/cache$ display ./13/.xvpics/cache346DAED302E2E94.jpg
linda:~/.netscape/cache$ ipcs -m

-- Shared Memory Segments 
keyshmid owner perms bytes nattchstatus  
0xacec9312 3 root  666   2567760 
0x 1412  olly  777   6240  40884 
0x 1413  olly  777   13107240884 

linda:~/.netscape/cache$ display ./13/.xvpics/cache346DAED302E2E94.jpg
linda:~/.netscape/cache$ ipcs -m

-- Shared Memory Segments 
keyshmid owner perms bytes nattchstatus  
0xacec9312 3 root  666   25677632692 
0x 1412  olly  777   6240  32692 
0x 1413  olly  777   13107232692 
0x 1414  olly  777   6240  32692 
0x 1415  olly  777   13107232692 

linda:~/.netscape/cache$  dpkg -l imagemagick
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersionDescription
+++-===-==-
ii  imagemagick 3.9.0-1Image manipulation programs.
linda:~/.netscape/cache$ 


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Memory and Compaq

1997-11-21 Thread Oliver Elphick
Arnold Mazur wrote:
  
  I have Compaq Deskpro an Debian with 2.0.27 kernel instaled on it.
  I have added memory up to 48Mb Ram. My kernel returns a message during
  boot time: Memory 14140k/16384k
  
  A free command reports about 16Mb.

At boot time, specify the amount of memory you actually have.  I have
this in my /etc/lilo.conf:
# Linux - new kernel
image=/vmlinuz
  label=Linux2031-pre32
  append=mem=32m aic7xxx=ultra
 ^
  read-only
#
-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: problems with libproc.so

1997-11-21 Thread Oliver Elphick
clif smith wrote:
  Hi, 
I got the following message while setting up Debian;
  ldconfig: warning:can't open /usr/X11R6/lib/libproc.so (no such file or
  directory), skipping
The file is there and it shows up when I do ldconfig -v.

A file called *.so is likely to be a symbolic link somewhere else.
Do `ls -l /usr/X11R6/lib/libproc.so' and see what it tells you.  Does the
file it points to exist?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ATAPI NEC CDROM Changer

1997-11-21 Thread Oliver Elphick
Timothy Phan wrote:
I do not quite know how the ATAPI CDROM work.  I've alread
gotten all the base install.  Now, I need to do the dselect
and mount the cdrom.  However, it seems that the CDROM is
not recognizable the the system.  I did  a manual mount:
  $ mount -t iso9660 -r /dev/hdb1 /cdrom
and it gives me some error:
  
  ---
  isofs_read_super: bread failed, dev 04:41 iso_blknum 16 block 32
  mount: wrong fs type, bad option, bad superblock on /dev/hdb1
or too many mounted file system.
  ---

This is the error I get if there is no CD in the drive.  I assume that
this is too obvious an answer!

Is your CD physically configured as a slave and the hard disk configured
as a master?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Having Trouble Printing From Netscape

1997-11-20 Thread Oliver Elphick
J. T. Lawson wrote:
  I am a computer teacher in a public school system. I am having
  difficulty printing from Netscape 3.0 on some sites that play music
  and/or include java script. I have emptied the caches.Please advise.

Advice is difficult with so little information.  

1. What command is run by the print dialog in Netscape?

2. If it is lpr, does the job arrive on the spool queue?

3. Does anything print? is it garbled? or what?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Can I use Samba with dial-up?

1997-11-19 Thread Oliver Elphick
I have to connect to a client through their Win/NT network to get to their
Unix machine.  They want me to use Dial-Up Adapter from Win95, but this means 
that I have to drop all other useful work while I boot up that abomination.
I can't make it work anyway, and as usual with MS stuff I can't find out
what is going on.

Can I use Samba to dial out on a modem and connect to their network?  I can
see how to use Samba across a network, but not how to use it with a direct
dial-up connection. 

Since I actually want to talk to a Unix machine, can I do without Samba 
altogether?

Does MS Dial-up Adapter use ppp?
If so, what kind of negotiation does it do? (I'm sure the customer won't
know.)
Is it possible to telnet through such a connection to the network beyond?


-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: cannot install gimp in unstable

1997-11-17 Thread Oliver Elphick
Joop Stakenborg wrote:
  Hi,
  
  I tried to install gimp from the hamm/unstable
  distribution. Gimp 0.99.14-1 asks for gimp-data-min,
  which I cannot seem to find.
  There is a gimp-data but not gimp-data-min.
  Does anyone know how to solve this?

I got it from Incoming at master.debian.org; it has been stuck there for a
long time.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Can't login anymore

1997-11-16 Thread Oliver Elphick
Chuma Agbodike wrote:
  Thanks Oliver. You nailed it.

Good.

  I had forced install of libreadlineg2, libc6 and a bunch of other stuff post
  gresql 6.2.1 was complaining about that it needed. Boy! am I sorry I did
   that.
  What a mess. My dotmatrix
  printer now prints a line a minute. Still can't figure that one out. Fixed s
  tartx.
  Anyway you mentioned changing /bin/bash to some other shell. I tried csh and
   it made it possible to login. But when I tried to run some scripts I go
  t
  segmentation fault.
  So I reinstalled libreadline2 from cdrom. Booted and I get my usuual login p
  rompt.
  
  Now maybe you can help. How do I get libreadling2 to install. With it I can 
  run the
  progres psql. Without it I get a buzzing sound until I control-C.
  
  I think I still have libc6 in there. But maybe that's  why am having trouble
   with printing.

I think you need to read the Debian libc5 to libc6 Mini-HOWTO posting which
appears every week or so on this list, thanks to Scott Ellis.  You need to 
complete the process of installing libc6.  This involves upgrading several
libc5-compatible libraries so that they can co-exist with libc6. 

  Also can you tell me what version of progres you run .

6.2.1, compiled with libc6 headers.  I'm hoping to upload a Debian package of 
it tomorrow; it's being tested now.

  
  Incidently I sent you a message a few days before I got into this jam.
  To olly@lfix.co.uk and pointed out to you that the URL in your signature is 
  broken.
 
Fixed, thanks.  (I never got the mail, but I had a whole lot of trouble with
mail a couple of days back and lost a whole chunk down a black hole.)

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Can't login anymore

1997-11-15 Thread Oliver Elphick
Chuma Agbodike wrote:
  Right after I installed postgres 6.2.1 and played with is a little I
  can't log into my LINUX anymore. Everything goes on as usual until it
  reaches:
  INIT: entering runlevel: 2
  Then it differs from what it used to do, which is start the various
  daemons
  Now it says: Debian Linux 1.3 (none) tty1
  (none) ? That's not what it used to say.
  
  (none) login:
  
  No matter how I login : even as root it takes me back to (none) login:
  
  If I try ctrlaltdel it loops also on the following:
  
  Give root password for maintenance
  (or type Control-D for normal startup):
  
  Only way out is a hard reset
  
  Please help. If there is any way rather than reinstall.

You need to find what in particular is broken.  Boot from your floppy or
CD and investigate.

The login prompt is started by getty, which then calls login, which then
starts a shell. /etc/init.d/rc is a bash shellscript as well, and bash is
what you would get into from the single-user login; so it looks as if your
bash has been damaged, or perhaps a shared library that bash needs:
$ ldd /bin/bash
libreadline.so.2 = /lib/libreadline.so.2 (0x40011000)
libncurses.so.3.4 = /lib/libncurses.so.3.4 (0x40033000)
libdl.so.2 = /lib/libdl.so.2 (0x40078000)
libc.so.6 = /lib/libc.so.6 (0x4007b000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)


Try booting from a floppy/CD and putting /bin/ash (or whatever other shell you 
have that doesn't depend on an unmounted file-system) in the shell field of
the password entry (make sure you edit the one on your hard disk, rather than
on the ramdisk.)


Incidentally, I have installed postgresql a number of times with no problem.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: starting xdm

1997-11-14 Thread Oliver Elphick
Will Lowe wrote:
  I'd like my system to come up running xdm or kdm.  What is the proper
  place to do this?  Right now I'm just logging in and doing sudo kdm,
  but I've a feeling that there's probably a correct runlevel or something
  to do this in.

In /etc/X11/config, you need the line

   start-xdm

as explained somewhere in the Debian documentation for X.

You also need to start up xdm in the boot scripts.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: 2.0.31 kernel - SCSI problems

1997-11-14 Thread Oliver Elphick
I tried 2.0.31, but found that it broke my SCSI system - it would no longer
acknowledge the existence of tapedrive or scanner.  This was apparent at
boot-time, when they no longer appeared on the SCSI device list.

I am using an Adaptec 2940UW with the aic7xxx SCSI kernel code.

I wanted this kernel to use with the new isdnutils package, which requires it.
Can anyone suggest how to get the SCSI code working right? 

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Update: immovable mouse cursor under XFree86 (Debian 1.3)

1997-11-06 Thread Oliver Elphick
Ben Pfaff wrote:

  There are certain ambiguities in the way that you specified how you
  connected your mouse to the computer.  Here are the correct
  possibilities, to the best of my knowledge:
  
  1. Mouse is connected to a PS/2 (aka mini-DIN 6, which is circular) port.
 The port is set as /dev/psaux, which can be a link from /dev/mouse.
 The kernel has the psaux module loaded.
 The mouse type under XF86Setup is set as PS/2.

All that is correct...

 With this setup the third button will not work.

but that isn't.  All three of my buttons work very well.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: case statement question again...

1997-11-06 Thread Oliver Elphick
David Oswald wrote:
  Hello all - I have a KSH script question...
  
  sorry - the offending line is [10-31]) not [30-31])

What `[10-31]' says is: match any single character which is a 1, a character
from 0 to 3 inclusive, or (another) 1.  What you want is `[12][0-9]|3[0-1]'.

On the other hand, this does not properly handle invalid day/month
combinations, such as 31 February.  Do you handle that somewhere else?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Book for writing shell scripts.

1997-11-06 Thread Oliver Elphick
Chris Ross [EMAIL PROTECTED] asks:
   I am looking for suggestions on a good book for writing shell 
   scripts.
...

I learnt from `SUNIX Shell Programming' by Kochan and Wood, Hayden Books
1990, ISBN 0-672-48448-X

It mostly covered Bourne shell; Korn shell got a brief mention. 

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


<    3   4   5   6   7   8   9   >