Re: sources.list entry for KDE - how to construct?

1999-10-14 Thread Kristopher Johnson
Brian Boonstra wrote:
 
 Hi
 
 I'm not stupid, but I feel that way sometimes; I seem to be unable
 to get my sources.list right for KDE.   Examining the lynx -dump command (see
 below), we find that the Packages.gz file resides in the same place as all
 the .deb files.  According to my understanding, apt-get looks for the
 Packages.gz file in the second field (URI) of the sources.list, and the .deb
 files themselves in the third field (distribution).  So I reckon my entry
 should look like this:
 
 deb ftp://ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato/i386 /
 
 which totally does not work, or like this
 
 deb ftp://ftp.us.kde.org/pub/kde/stable/latest/distribution/deb/potato i386/
 
 which seems happy, but then doesn't show the packages as available for
 dselect.  Has anyone worked this out?
 
 - Brian

This works for me:

deb http://kde.tdyc.com potato kde contrib rkrusty

- Kris


Re: Accessing RealPlayer broadcasts from Broadcast.com

1999-10-12 Thread Kristopher Johnson
Eric G . Miller wrote:
 
  You need to go to Edit-Preferences-Navigator-Applications then look
 for the realaudio entry (if you have one). It should have something
 like:
 Description: RealAudio
 MIMEType   : audio/x-pn-realaudio
 Suffixes   : ra, ram
 
  x  Application: realplayer %s
 
 --
 ++
 | Eric G. Milleregm2@jps.net |
 | GnuPG public key: http://www.jps.net/egm2/egm2.gpg |
 ++


This isn't the problem.  I do have that set, and everything works
fine for a normal RealPlayer link.  The only time I have
problems is on links that use a 'makeram.asp?something' as part
of the URL.  I think Netscape should be passing it back to the
server, but instead it thinks that 'makeram.asp?something' is an
unknown file extension and so it wants to save it.

- Kris


Re: OT - How to save real audio files?

1999-10-12 Thread Kristopher Johnson
(Ted Harding) wrote:
 When you get the .ram file from the supplying site, this usually
 has a URL to the location of the .ra file (the actual audio file)
 itself, similar to the following:
 
   pnm://broadcast9.activate.net/radiofree/channel1.rm
 
   pnm://ras.radio.cz/zpravy.ra
 
 You will find, in the case of the first of these, that you cannot access
 the site with a browser and therefore, as far as I know, you will not be
 able to download the file directly using this URL.

You can't open these URLs with a browser, but you can open them
with RealPlayer's Open Location... menu item.

- Kris


Accessing RealPlayer broadcasts from Broadcast.com

1999-10-11 Thread Kristopher Johnson
I have Netscape Communicator 4.7 and RealPlayer 6.0.4.433 (Beta)
installed on my potato system.

I went to this page on Broadcast.com, to access a local radio
station:

http://www.broadcast.com/radio/Rock/WKLS/

They have a button for a RealPlayer broadcast.  I hit the button,
at which point Netscape asked me to save a document called
makeram.asp.  I saved it, and it had these contents:

pnm://raads.broadcast.com/ads/firstusa/visa2GW.ra
pnm://209.0.225.168/wkls.ra

The first URL is a Visa ad, and the second one is the broadcast I
want.  I can use RealPlayer's Open Presentation... command and
enter the pnm://whateverblahblahblah, and it plays the thing.

But, why doesn't Netscape just do the right thing?  With some
experimentation, it appears that when I click the button on the
web page, Netscape eventually gets something of the form
http://somehost/makeram.asp?something;.  Rather than passing the
makeram.asp?something back to the server, Netscape wants to
save it, thinking it to be an unhandled file type.

Anyone have any ideas about how I can fix this?

A somewhat related question: many of the things on Broadcast.com
are available only in Windows Media Player formats.  Is there a
way to play these under Linux?

- Kris


How to make files available for download via HTTP

1999-10-04 Thread Kristopher Johnson
I currently have a couple of directories of files available for
download via anonymous FTP.  Is there some easy way to get Apache
or Zope to make these files available via HTTP?

(I've tried searching the Apache and Zope docs, but it looks like
I'll need to read *everything* to get a handle on it.  This seems
like a simple and common operation, so I hope someone can give me
a hint.)

Thanks,
Kris


Re: How to make files available for download via HTTP

1999-10-04 Thread Kristopher Johnson
Brad wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 
 On Sun, 3 Oct 1999, Kristopher Johnson wrote:
 
  I currently have a couple of directories of files available for
  download via anonymous FTP.  Is there some easy way to get Apache
  or Zope to make these files available via HTTP?
 
  (I've tried searching the Apache and Zope docs, but it looks like
  I'll need to read *everything* to get a handle on it.  This seems
  like a simple and common operation, so I hope someone can give me
  a hint.)
 
 One way would be to put a symlink from somewhere in the Apache/Zope
 directory to the proper dir in the FTP area. Depending on your
 configuration files, this may or may not work.
 
 Otherwise, for Apache you could modify the access.conf to add the proper
 directory, something like this. http://yourhost.example.com/ftp would then
 send you to /home/ftp/anonymous
 
   Alias /ftp /home/ftp/anonymous
   Directory /home/ftp/anonymous
   AllowOverride None
   Options Indexes SymLinksIfOwnerMatch
 
   order allow,deny
   allow from all
   /Directory


I put a symlink under /var/www to the ftp directories, and
everything's working.  I thought I'd already tried that, but
whatever I did didn't work before.

Thanks,
Kris


Re: [OT] daylight savings in Brazil?

1999-10-02 Thread Kristopher Johnson
Taupter wrote:
 
 John Hasler wrote:
 
  I suppose this is a dumb question, but why would anyone bother with
  daylight savings time in a tropical country?
 
 Despite some opinions, we have a large industrial park, 180 million
 people, a high energy comsumption. There is no outdoors with Coming
 soon... Coca Cola!. Brazil is not one immense rain forest, as some
 people would think.
 
 Taupter

I don't think the original poster intended to imply that Brazil
was uncivilized.  Rather, being in the tropical zone, the
country gets roughly the same number of hours of daylight all
year long and so a summer daylight savings time doesn't make
sense.

- Kris


Re: [OT] daylight savings in Brazil?

1999-10-02 Thread Kristopher Johnson
Taupter wrote:
 
 Really, daylight savings could be useful during
 all the year.


Is this a joke?

- Kris


Re: [OT] daylight savings in Brazil?

1999-10-01 Thread Kristopher Johnson
John Hasler wrote:
 
 Mario O.de Menezes writes:
  That is, in Brazil, unfortunately, our daylight saving day changes from
  year to year, and as a consequence, some times my date is wrong for 1 or
  2 days till it changes.
 
 I suppose this is a dumb question, but why would anyone bother with
 daylight savings time in a tropical country?
 --
 John HaslerThis posting is in the public domain.
 [EMAIL PROTECTED]Do with it what you will.
 Dancing Horse Hill Make money from it if you can; I don't mind.
 Elmwood, Wisconsin Do not send email advertisements to this address.

Why should anyone bother with daylight savings time in ANY
country?

- Kris


Re: Unstable package list at ftp.debian.org is bad

1999-09-30 Thread Kristopher Johnson
David Natkins wrote:
 
 Seems to be a problem with the package list for unstable at ftp.debian.org.
 One of the packages (aleph-dev) is causing the problem.
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

You can open the package list file with a text editor and fix the
problems.  The other aleph-* packages have the same problem:  the
priority line says optionnal, rather than optional.  Just
delete the extra 'n', and everything will be fine.

- Kris


Reading compressed files in XEmacs

1999-09-30 Thread Kristopher Johnson
The XEmacs documentation seems to imply that it can open
compressed files--that is, it will automatically uncompress them,
let you edit, and then recompress if you made changes.

But this doesn't work for me.  Opening a *.gz file just shows me
the compressed form.  Is there something special I need to do to
enable the automatic decompression?

- Kris


info2www not finding icons

1999-09-30 Thread Kristopher Johnson
I have dwww and info2www installed, using apache.  The pages
returned by info2www don't have any pictures in them.

The image files are in /usr/share/doc/info2www (next.gif,
prev.gif, up.gif, etc.).  The info2www-generated pages have IMG
tags that look like IMG SRC=/doc/info2www/infodoc.jpg.  But
apache doesn't seem to be able to find them.

I've tried adding a symlink /var/www/doc - /usr/share/doc, but
that hasn't helped.  Anyone know what might be up?

(FWIW, I think this worked before I upgraded to potato.)

Thanks,
Kris


Re: Unstable package list at ftp.debian.org is bad

1999-09-30 Thread Kristopher Johnson
Marcus Johansson wrote:
 Try:
 
 # apt-get check
 
 That might fix the problem, not sure.
 
 /Marcus

No, apt-get check doesn't fix it.  The file corruption prevents
apt-get from doing anything.

- Kris


Re: Strange apt-get behaviour...

1999-09-30 Thread Kristopher Johnson
[EMAIL PROTECTED] wrote:
 
 Please respond to the above email as I only subscribe to the digest, and
 not the actual mailing list.
 
 Guys,
 
 I tried running apt-get on a potato system running kernel 2.2.12 this
 afternoon, and when it finished downloading the Packages.gz files, apt-get
 exited with this error message:
 
 Reading Package Lists... Error!
 E: Malformed Priority line
 E: Error occured while processing aleph-dev (NewVersion1)
 E: Problem with MergeList
  /var/state/apt/lists/ftp.debian.org_debian_dists_potat
  o_main_binary-i386_Packages
 E: The package lists or status file could not be parsed or opened.
 
 I'm assuming that this might have something to do with incorrect
 permissions being set or something along those lines.
 
 The only problem that I can see that I could have induced was the
 accidental destruction of my suid.conf file a couple of days ago...  As
 far as I know, that's the only thing that has changed on my system.
 
 Any help would be appreciated.
 
 Thanks in advance!!!

This is not your fault--the downloaded file is bad.

Short answer: edit the
/var/state/apt/lists/ftp.debian.org_debian_dists_potato_main_binary-i386_Packages
file with a text editor.  There are two places where optional
is misspelled as optionnal.  Just remove the extra 'n's, and
everything will work.

Long answer:  Check out the Unstable package list at
ftp.debian.org is bad thread in this list.

- Kris


Re: X for Win95

1999-09-28 Thread Kristopher Johnson
Kenneth Scharf wrote:

 See linux Gazzette #45.  Get the MIX xserver for
 windows from microimages.  It's on the SUSE distro
 under dos utilities.

BTW, the current version of MIX for Windows is not free, but it's
only $25.

http://www.microimages.com/mix/

I've been using it at work.  It's not as nice as some of the more
expensive alternatives, but it's good enough.

(The Macintosh version is free.)

- Kris


Re: Drifting /dev/ttyS3 IRQ

1999-09-26 Thread Kristopher Johnson
Jonathan D. Proulx wrote:
 
 Hi,
 
 /dev/ttyS3 is my modem.  The hardware is jumpered for IRQ 5.
 I added the following line to setserial:
 
 ${SETSERIAL} -b /dev/ttyS3 irq 5 port 0x2E8 skip_test autoconfig ${STD_FLAGS}
 
 The problem is the irq frequently reverts to 3.  This happens after
 closing my dial up connection (although not always).  Also, starting X
 almost always closes my dialup connection (I don't know if this is
 related)

I had the IRQ reversion problem when I was had kernel serial
support compiled as a module.  Apparently, when the module gets
unloaded and then reloaded, anything that was in
/etc/rc.boot/0setserial no longer has any effect.  I fixed this
first by putting 'serial' in my /etc/modules, but now I just
compile serial support directly into the kernel.

Don't know about the X problem.

- Kris


Utility for talking to TCP port

1999-09-25 Thread Kristopher Johnson
Is there any standard utility for opening a connection to a
TCP/IP port and then interactively sending data and seeing
responses?  For example, I'd like to be able to open a connection
to port 80 on some machine, type GET / HTTP/1.0 and then see
the response.  

I'm experimenting with some protocols, and this sort of thing
would be helpful.  I think I could probably write something like
this, but I was wondering if it already exists.

Thanks,
Kris


Re: Utility for talking to TCP port

1999-09-25 Thread Kristopher Johnson
George Bonser wrote:
 
 telnet hostname portnum
 
 telnet somehost 80
 
 will do what you describe below.
 
 On Fri, 24 Sep 1999, Kristopher Johnson wrote:
 
  Is there any standard utility for opening a connection to a
  TCP/IP port and then interactively sending data and seeing
  responses?  For example, I'd like to be able to open a connection
  to port 80 on some machine, type GET / HTTP/1.0 and then see
  the response.


OK, thanks.  I thought telnet would use telnet protocol which
would screw up what I was trying to do, but after reading the
telnet man page, I now know better.

- Kris


Re: What happened to /usr/sbin/in.ftpd?

1999-09-17 Thread Kristopher Johnson
Dpk wrote:
 
 I believe they are starting to seperate programs previously included
 in netstd into their own packages.
 
 apt-get install ftpd
 
 Dennis

Thanks.  I figured it had been moved, but couldn't find where.

The description for ftpd recommends to use wu-ftpd or proftpd
instead.  My needs are very simple--I just want a way to transfer
files between my PC and work or a few friends.  I'm not running a
major ftp site.  Can anyone advise me as to which ftp server is
easier to set up and use?

- Kris


Re: emacs or xemacs ?

1999-09-16 Thread Kristopher Johnson
Rob Mahurin wrote:
 
 On Tue, Sep 14, 1999 at 07:32:22PM -0400, Kristopher Johnson wrote:
  I honestly don't mean to start a holy war here, but I'd like to
  know:  Is there anyone who prefers Emacs to XEmacs, and why?
 
 I use emacs when I'm in a text terminal (like right now) because I
 haven't figured out how to use Xemacs' menus from the text terminal
 and some of the functions of Xemacs (e.g., syntax highlighting) seem
 inaccessible without mouse access to the proper menus.  In addition,
 the cut and paste works differently in Xemacs (in a text terminal)
 than in any other text-based program, and it always messes with me.  I
 am sure that these things are configureable, but I haven't found them
 and I don't feel like learning Lisp and reading the source.

Actually, that's precisely why I like XEmacs--it has menu options
for doing most of the configuration.  My biggest complaint about
classic Emacs was the need to spend hours going through Lisp
source code to figure out what magic to add to .emacs (and I
actually *like* Lisp).

I agree that if you are using a text terminal, then there is no
reason to use XEmacs.  I should have qualified my original
question to say is there anyone who prefers Emacs to XEmacs on
an X terminal?  With the extra nice features of XEmacs, I wonder
why anyone would continue to use the ugly-and-hard-to-use
version.

- Kris


XEmacs can't find info files

1999-09-16 Thread Kristopher Johnson
My XEmacs's info mode is now unable to find files that it
previously could.  It appears that the info files have been moved
to /usr/share/info (I'm running potato), and that XEmacs doesn't
want to look there.

I know I can set INFOPATH in my .login or set the
Info-directory-list variable in my .emacs, but I was wondering
where the Right Place(TM) is to fix this.

Thanks,
Kris


What happened to /usr/sbin/in.ftpd?

1999-09-16 Thread Kristopher Johnson
After upgrading from slink to potato, I notice that
/usr/sbin/in.ftpd is gone, and that the corresponding line in
/etc/inetd.conf has been marked #off#.  All the other
/usr/sbin/in.*d daemons seem to still be there.

Anyone know what happened, and what I should do to fix it?

- Kris


ftpd disabled after potato upgrade

1999-09-15 Thread Kristopher Johnson
I recently upgraded from slink to potato.  At some point, my
inetd.conf file got #off# prepended to the ftp line,
disabling it.  A comment at the top of inetd.conf says Lines
starting with ... #off# should not be changed unless you know
what you are doing!

As I have apparently have no idea what I'm doing, I figured I'd
ask here before uncommenting-out the line.  What's the deal?

- Kris


Re: emacs or xemacs ?

1999-09-15 Thread Kristopher Johnson
Jakob 'sparky' Kaivo wrote:
 
 On Tue, 14 Sep 1999, Juli-Manel Merino Vidal wrote:
 
  Hi all,
 
  where can I found a document describing the differences between emacs
  and xemacs ?
 
  Thanks.
 
 Check the XEmacs web page:
 http://www.xemacs.org/
 
 You might also look at the Emacs web pages:
 Official: http://www.gnu.org/software/emacs/emacs.html
 Unofficial: http://www.emacs.org/

I honestly don't mean to start a holy war here, but I'd like to
know:  Is there anyone who prefers Emacs to XEmacs, and why?

- Kris


Re: top missing too

1999-09-15 Thread Kristopher Johnson
Sean 'Shaleh' Perry wrote:
 
 geisha [~] $ dpkg -S top|grep bin
 xpdf: /usr/bin/pdftops
 procps: /usr/bin/top
 snipped
 
 and yes, that command actually runs.  I maintain a absolutely current potato
 box so I can compile packages.
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

I did an apt-get update and apt-get upgrade just now, and I
lost my /usr/bin/top.

- Kris


Re: dselect updating when Debian config changes

1999-09-15 Thread Kristopher Johnson
Gareth wrote:
 
 On Wed, 15 Sep 1999, Michael Talbot-Wilson wrote:
  G'day, all.
  How can I prevent dselect from downloading packages that are already
  installed, merely because the Debian version has changed?
 
 The way I use is apt-get instead of dselect that way only the packages you
 want get upgraded and/or installed and it keeps everything functional.
 
 just these 2 lines solved a lot of hassle...
 apt-get install packagename
 and
 apt-get remove packagename
 
 Gareth


Is there some easy way to maintain a half-unstable machine
using apt-get?

For a while, I had slink with a 2.2 kernel and a few packages
from potato (the ones required for the 2.2 kernel, plus the
newest versions of g++, glibc, python, and all dependent
packages).  I manually downloaded the debs from unstable that I
wanted and installed them using dpkg -i.

Now, I've totally upgraded to potato, so this is kinda moot, but
I still wonder:  is there some sort of magic I could have done
with apt-get, sources.list, shell scripts, etc. to automatically
keep updating the desired unstable packages while still leaving
the slink parts intact?  (Putting things on hold didn't seem to
work.)

- Kris


Re: what are the standard programming tools available in Debian?

1999-09-15 Thread Kristopher Johnson
Seth R Arnold wrote:
 Venu, you speak the truth, the info pages are full of information, but
 honestly (and no offense to RMS) -- info isn't the easiest program in the
 world to master. I *do* wish info had vi-bindings. Maybe it is just me, but
 the vi bindings seem very intuitive after only a few years. :) Anything else
 just seems silly. Since I never use it (feels wierd, like speaking russian)
 I never think of it.

You might try info2www, which converts info to http for viewing
in a web browser.

- Kris


Re: what are the standard programming tools available in Debian?

1999-09-14 Thread Kristopher Johnson
rich wrote:
 
 Howdy everyone,
 
 I was wondering: what are the tools available in Debian that one would
 consider part of the standard toolbox of a programmer?
 
 I have programmed for several years in BASIC, and dabbled Fortran and
 Pascal. Now I want to learn C, Perl, and (maybe) Java... mostly for
 relatively simple tasks around my lab such as coming up with programs to
 generate forms for random assignment of experimental groups, taking raw
 data and manipulating it in various ways into forms suitable for pasting
 into a statistics package and presentation, etc. In addition, I'm trying
 to design a lab web-page and would like to be able to have collaboraters
 post and retrieve data from an SQL-type system...
 
 My basic question is: for these languages and tasks, what tools would
 make my life easier? I know about Gdb, but haven't figured out how to
 use it yet... what else does Debian offer me?
 
 Thanks in advance,
 
 Rich
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

You might want to take a look at Python (http://www.python.org)
as an alternative to Perl.  Your BASIC and Pascal knowledge will
transfer better.

- Kris


Re: 2.2.* on slink

1999-09-07 Thread Kristopher Johnson
Pere Camps wrote:
 
 Hi!
 
 Can I run 2.2.12 on slink without problems or do I have to update
 some packages from potato?

Check out this page for the list of things you need to update
from potato:

http://www.debian.org/releases/stable/running-kernel-2.2

I'm running Linux 2.2.12.  Besides the updates mentioned above,
the only other change I had to make was to change references to
lp1 to lp0 (the lp devices have been renumbered for Linux
2.2).

- Kris


Re: Mouse configuration

1999-09-03 Thread Kristopher Johnson
Ron Stordahl wrote:
 
 I am doing a fresh install and get to the point where the install asks:
 
 Do you want to run gpm's mouse-test program (Y/n)?  (to which I respond)
 y
 Where is your mouse [/dev/ttyS0]?  (to which I respond)
 /dev/psaux (since I have a Microsoft Intellimouse 1.2A PS/2 compatible)
 What type is your mouse (or help) [ms]?
 help  (which gives me a list which is confusing for these reasons:
 
 ms   - For Microsoft mice (2 or 3 buttons)..
  ---various obviously wrong choices
 ps2  - For most busmice connected to a ps/2 port (round with 6 metal pins).
  ---various other obviously wrong choices
 
 I don't know what a 'busmouse' is except I thought it was more or less
 extinct yet I am inclined to choose ps2.
 
 I know my mouse is a PS/2 type, connected with a round din plug installed on
 the mainboard.
 
 Whats the correct answer?
 
 Ron
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

ps2 is the correct answer.

I was a little confused by the choices too.  I don't have
statistics, but I would guess that the vast majority of computers
sold in the last two years have a PS/2 Microsoft mouse.  The
various mouse configuration programs in Linux (X included) would
be easier for most people to understand if they said if you
aren't using a laptop, you probably have a PS/2 mouse.

- Kris


Re: Monitor flaking out

1999-08-24 Thread Kristopher Johnson
Seth R Arnold wrote:
 
 My sony 17sf did the samet thing to me about mid-december... it flashed a
 bit, went dark, and never came back. :(
 
 the nice people at sony fixed it for the cost of shipping (I got it there,
 they got it back..:)
 
 i haven't seen much hardware or software that can cause this to happen --
 but a monitor on its way out will do this once in a while on its own..
 
 call sony :)


I've reduced the resolution to 1024x768, and I don't see the
problem any more (it was at 1152 x whatever).

I may give Sony a call, but I think this is a good excuse to buy
myself a new 21 monitor. :-)

- Kris


Monitor flaking out

1999-08-23 Thread Kristopher Johnson
Recently (the last week or so), my Sony Multiscan 15sf monitor
has started to act funny.  After its been on for a few minutes,
the picture starts to flicker a bit, and then after a few more
minutes, it goes completely black.  

This is not the normal DPMS-like behavior:  it flashes brightly
for a split second, goes dark, and then both the On and Power
Saving LEDs on the front panel flash repeatedly.  If I press the
power button, it turns back on.  This is not related to
screensaver activity--it happens while typing and moving the
mouse, and it will not turn back on until I hit the power button.

This started happening just a few days ago.  I've been running
Debian 2.1 and XFree86 for a few months without problems.  But I
have recently upgraded to a 2.2.11 kernel, and I've upgraded
several packages to unstable (primarily gcc- and libc6-related
stuff.

I suspect that this old monitor is just reaching the end of its
lifetime.  But if anyone knows why a 2.2.x kernel or any of the
unstable packages might be causing problems, please let me know.

- Kris


Re: Printing Broken After Upgrade to 2.2.10 Kernel on slink

1999-08-09 Thread Kristopher Johnson
Brian Servis wrote:
 
 From the Documentation/Changes file in the 2.2.x kernel tree:
 
 Parallel Ports
 ==
 
As of 2.1.33, parallel port support can now by handled by the parport
 driver.  Be aware that with Plug-and-Play support turned on, your
 parallel port may no longer be where you expect it; for example, LPT1
 (under DOS) was sometimes /dev/lp1 in Linux, but will probably be
 /dev/lp0 with the new Plug-and-Play driver.  If printing breaks with
 the new driver, try checking your lpd configuration.  A good source of
 more information is the Documentation/parport.txt file included with
 the kernel.
 
 --
 Brian
 -
 Mechanical Engineering  [EMAIL PROTECTED]
 Purdue University   http://www.ecn.purdue.edu/~servis
 -

Thanks to everyone who replied.  I had always wondered why the
parallel ports started at 1--it's good to see that they've made
it consistent with numbering of other device types.

- Kris


Printing Broken After Upgrade to 2.2.10 Kernel on slink

1999-08-08 Thread Kristopher Johnson
I've upgraded my slink system to a 2.2.10 kernel, by downloading
the kernel sources and using make-kpkg.  I also upgraded to the
new versions of netbase and dhcpcd, and almost everything works
fine.

The only problem I've seen is that I cannot print anymore.  After
attempting a print job, lpq shows me this:

Printer: [EMAIL PROTECTED]  'HP DeskJet'
 Queue: 1 printable job
 Server: pid 17924 active
 Unspooler: pid 17926 active
 Status: cannot open '/dev/lp1' - 'Device not configured',
attempt 2, sleeping 20 at 11:25:08
 Rank   Owner/ID   Class Job  Files  
Size Time
active  [EMAIL PROTECTED] A  923 (stdin)   
322 11:24:58

Here is my /etc/printcap file:

# This file was generated by /usr/sbin/magicfilterconfig.
#
lp|hpdj|HP DeskJet:\
:lp=/dev/lp1:sd=/var/spool/lpd/hpdj:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/dj550c-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Everything worked fine under the 2.0.36 kernel.  /dev/lp1 does
exist, and when I built the 2.2.10 kernel, I included parallel
port support.  Is there something else I need to do?

Thanks,
Kris


Re: XEmacs has slow startup

1999-07-21 Thread Kristopher Johnson
Francois GELIS wrote:
 
 On Tue, 20 Jul 1999, Kristopher Johnson wrote:
 
  XEmacs takes an annoyingly long time to start up. It does not appear to
  be using CPU or doing disk access--it just pauses for a few seconds
  while starting.
 

[...] 

 
 As far as I remember, this issue has already been raised on this list. If
 you create a file named /tmp/.sockets/audio0 (mkdir /tmp/.sockets; touch
 /tmp/.sockets/audio0), Xemacs startup will be faster, because it won't
 hang looking for a file that doesn't exist. I tried that trick, and it
 improved noticeably the startup time.
 
 Francois
 
 --
 Francois Gelis / LAPTH / [EMAIL PROTECTED]
 phone:(+33) 4 50 09 16 80 / fax:(+33) 4 50 27 94 95

Thanks, to you and everyone else who answered. It turns out that there
is already a bug report for this (I had assumed it was a problem with my
configuration--not a bug). XEmacs is trying to access the Network Audio
System. The workaround is to create the /tmp/.sockets/audio0 file, as
several people suggested, or to install the 'nas' package.

Thanks,
Kris


XEmacs has slow startup

1999-07-20 Thread Kristopher Johnson
XEmacs takes an annoyingly long time to start up. It does not appear to
be using CPU or doing disk access--it just pauses for a few seconds
while starting.

I tried an strace xemacs to see what system calls were being made. 
During the slow part of startup, here's what it was doing:

setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
uname({sys=Linux, node=funkybox, ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sun_family=AF_UNIX, sun_path=/tmp/.sockets/audio0}, 22) =
-1 ENOENT (No such file or directory)
close(6)= 0
nanosleep({1, 0}, {1, 0})   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sun_family=AF_UNIX, sun_path=/tmp/.sockets/audio0}, 22) =
-1 ENOENT (No such file or directory)
close(6)= 0
nanosleep({1, 0}, {1, 0})   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sun_family=AF_UNIX, sun_path=/tmp/.sockets/audio0}, 22) =
-1 ENOENT (No such file or directory)
close(6)= 0
nanosleep({1, 0}, {1, 0})   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sun_family=AF_UNIX, sun_path=/tmp/.sockets/audio0}, 22) =
-1 ENOENT (No such file or directory)
close(6)= 0
nanosleep({1, 0}, {1, 0})   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sun_family=AF_UNIX, sun_path=/tmp/.sockets/audio0}, 22) =
-1 ENOENT (No such file or directory)
close(6)= 0
nanosleep({1, 0}, {1, 0})   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sun_family=AF_UNIX, sun_path=/tmp/.sockets/audio0}, 22) =
-1 ENOENT (No such file or directory)
close(6)= 0
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC) = 0

I haven't looked at the XEmacs source code yet to figure out what it's
doing, or why.  My unenlightened guess is that it's trying to open some
audio stream, retrying several times, and eventually giving up.

Does anyone know what it's doing here, whether it's important, and
whether there is some way to either make it work better or to turn it
off completely?

Thanks,
Kris


Re: ppp/serial Help!

1999-07-16 Thread Kristopher Johnson

 Subject: ppp/serial Help!
 Date: Fri, 16 Jul 1999 00:00:08 +0100 (GMT)
 From: [EMAIL PROTECTED]
 To: debian-user@lists.debian.org
 
 I`m fairly new to Linux and this is driving me mad.
 I have ppp as a loadable module, isapnp and setserial both set to
 /dev/ttyS2 0x03e8/0x3e8 irq 5. this works fine and detects my modem ok.
 I can dial in to my isp (using wvdial) the first time after a reboot but
 once i disconnect, and after a time lapse of a few minutes the serial
 port seems to reset itself (i`ve looked at setserial -a /dev/ttyS2) to
 irq 4. In order to connect again i have to reboot. Does anybody know
 why this is. Please keep any explanations fairly simple :-)
 
 Paul Walton

I had this same problem. I think it's because the serial driver
automatically gets unloaded when it's no longer used, and then when it
gets reloaded, it's reset.

There are two ways I found around it:

1)  Add a line that says serial to your /etc/modules file, so that the
serial module gets loaded at startup and stays loaded.

2)  Recompile the kernel with the serial driver compiled in (rather than
as a module).

- Kris


Diagramming Package for Linux

1999-07-14 Thread Kristopher Johnson
Does anyone know of any packages for Linux that provide the capabilities
of products like ILOG/Views or LOOX?

- Kris


Re: Argh! I think my last msg sent as HTML...

1999-07-12 Thread Kristopher Johnson


 
 Subject: Re: Argh! I think my last msg sent as HTML...
 Date: Mon, 12 Jul 1999 00:24:05 -0400
 From: Chris Concannon [EMAIL PROTECTED]
 To: Stephen Pitts [EMAIL PROTECTED]
 CC: debian-user@lists.debian.org
 
  I went through hell to get this one to work..once. After a reboot, it
  refused to work again. It works fine under Windows, so I guess it
  just doesn't like Linux. My advice: Get a D-Link 530TX. It was 24.95
  at CompUSA and it worked flawlessly with the via-rhine driver
  the first time I tried.
 
  Regarding Roadrunner, look at the rrlogind and rrdhcpcd packages.
  They should have what you need.
 
 I heard that there were various chipsets that the EtherFast is based on, all
 using Tulip, yet one had huge problems while the other two (or one,
 forgot) didn't. I'm not sure which mine is though. Are the rrlogind and
 rrdhcpcd packages included in the main distribution somewhere? If not, where
 can I get them?

I'm using RoadRunner with Debian 2.1.  I'm not using rrlogind or
rrdhcpcd, which are part of 'unstable' and require a 2.2.x kernel--I'm
just using dhcpcd.

If you're wondering, here's roughly what I did to get the cable modem
working:

1)  Let the MediaOne guys install the RoadRunner service on Win98. 
(Yeah, this is cheating, but it is necessary for step 2.)

2)  Use the winipcfg command on Win98 (or ipconfig /all on NT) to
figure out what IP, DNS, etc. was given by DHCP.

3)  Install Debian.  When asked for network configuration info, use the
info you got from Windows in step 2.  When selecting packages, make sure
to select dhcpcd.

Step 2 may not actually be necessary; you may be able to just give some
dummy IP address during the install and then let dhcpcd handle
everything later.  But it's what I did.  One cool thing about this
approach is that you can install all of Debian over the network (without
the CDs or without waiting days for your modem to download it all).

I'm using a Tulip-based Ethernet card, and have had no problems with it
and the cable modem.

- Kris


Correct way to select alternatives

1999-07-06 Thread Kristopher Johnson
What is the correct way to switch between different alternatives?  For
example, currently my /usr/bin/vi points to nvi.  What is the right way
to change it to point to vim or elvis?  I know how to use 'ln -s' to
create/change links, but I suspect that I should really use
'update-alternatives' or some related mechanism.  I've read the
update-alternatives man page, but didn't understand it--it seems to
apply only to package maintainers.

Thanks,
Kris


Re: WindowMaker and GNOME

1999-06-24 Thread Kristopher Johnson
Thanks for the suggestion.  I installed libwraster2, but I still can't
switch to WindowMaker within GNOME.

When I try, the following shows up in my .xsession-errors file:


in capplet_widget_state_changed
changing state
X connection to :0.0 broken (explicit kill or server shutdown).
11185814289298668600056480008 Panel panel 0:812:1152:52 0 1 8
11185814289302244330002840001 gtop gtop 363:13:707:788 0 0 4
got c 11185814289302244330002840001 gtop gtop 363:13:707:788 0 0
4
got c 11185814289298668600056480008 Panel panel 0:812:1152:52 0
1 8
WindowMaker-gnome fatal error: could not find user GNUstep directory
(/home/kjohnson/GNUstep/Defaults/).
Make sure you have installed Window Maker correctly and run wmaker.inst
Bad option: ShowXButton
Bad option: WindowListFontName
/convert: No such file or directory
/convert: No such file or directory
/convert: No such file or directory
/convert: No such file or directory

Gtk-CRITICAL **: file gtkcontainer.c: line 723 (gtk_container_remove):
assertion `widget-parent == GTK_WIDGET (container)' failed.

Gtk-WARNING **: invalid cast from `(unknown)' to `GtkWidget'

Gtk-CRITICAL **: file gtkwidget.c: line 3445 (gtk_widget_get_style):
assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-CRITICAL **: file gtkctree.c: line 5118
(gtk_ctree_node_set_foreground): assertion `GTK_IS_CTREE (ctree)'
failed.



I've looked for wmaker.inst on my system, but can't find it.

I'm going out of town for a week, and will try to figure this out on my
own when I get back.  But if anyone has any suggestions, I'd appreciate
hearing them.

- Kris


Heinrich Rebehn wrote:
 
 Kristopher Johnson wrote:
 
  I've installed GNOME and the wmaker-gnome package (using apt and a
  mirror of ftp.gnome.org). I can switch between IceWM and Enlightenment
  without any problem, but if I try to switch to WindowMaker using the
  GNOME Control Panel, it times out while trying to start.
 
  I'm running GNOME by using an .xsession with exec gnome-session in it.
 
  Any ideas about what's going wrong or what I can do to diagnose the
  problem?
 
  - Kris
 
  --
 
 Did you install libwraster2 ? It is needed by WindowMaker-gnome but is
 not automatically installed.
 
 Heinrich
 
 Heinrich Rebehn
 
 University of Bremen
 Physics / Electrical and Electronics Engineering
 - Department of Telecommunications -
 
 E-mail: mailto:[EMAIL PROTECTED]
 Phone : +49/421/218-4664
 Fax   :-3341


WindowMaker and GNOME

1999-06-22 Thread Kristopher Johnson
I've installed GNOME and the wmaker-gnome package (using apt and a
mirror of ftp.gnome.org). I can switch between IceWM and Enlightenment
without any problem, but if I try to switch to WindowMaker using the
GNOME Control Panel, it times out while trying to start.

I'm running GNOME by using an .xsession with exec gnome-session in it.

Any ideas about what's going wrong or what I can do to diagnose the
problem?

- Kris


apt-get didn't automatically install dependency

1999-06-13 Thread Kristopher Johnson
Last night, I did an apt-get install karpski. It went fine, but when I
tried to run it, it said it was missing libpcap0. So I installed the
libpcap0 package, and everything was fine.

I thought that apt-get was supposed to automatically install dependency
packages--is this true?  Does this problem indicate a bug in apt-get, or
a bug in the karpski package definition? Should I report this to
someone?

- Kris



RE: BE MORE SIMPLE!!!!

1999-06-12 Thread Kristopher Johnson
Yes, this was a great explanation.  Thanks!

And my apologies to Eric:  my response was intended to be good-natured, but
in re-reading it, I guess it actually looks pretty hostile.  Unfortunately,
I didn't really make my point clear.  I didn't mean to try to defend my
dumb question, or even to defend myself personally.  My reaction was to
the people who are glad that Linux isn't too easy, because they enjoy the
challenge.  Adversity builds character, I guess.

If you like to do things the hard way, then fine.  But it doesn't really
mean that you're more intelligent or more knowledgeable than people who
click a few buttons in a GUI to accomplish the same thing.  Most of us just
don't like spending our leisure time editing files in the /etc directory or
browsing through the kernel headers.  We're not asking to be spoon-fed or
to be freed from the burden of thinking; we're just looking for the most
efficient way to do what we want to do.

Thanks to everyone who replied helpfully.

Now, can someone please tell me which package contains the HOWTOs in HTML
format?  :-)

- Kris


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 1999 2:35 PM
To: Kirk Hogenson
Cc: Kristopher Johnson; debian-user@lists.debian.org
Subject: Re: BE MORE SIMPLE


Kirk Hogenson wrote:

[incredibly helpful explanation snipped]

 I hope this helps, and good luck getting your sound card working.
 And please ask here if you run into problems.  You are immune to
 What a dumb question attacks if you've read the Howto. :)

 Kirk

I'm not part of this thread, but I just wanted to say that Kirk's
explanation is
EXCELLENT!  It's got non-technospeak explanations; it's got a couple of
simple
real-world examples; it's just a great document. This is what a lot of
newbies want
(and even some of us semi-newbies).



Package for Linux HOWTOs

1999-06-11 Thread Kristopher Johnson
Is there a Debian package with the Linux HOWTOs and mini-HOWTOs?  I can't
find it, but I'm pretty sure I had one at some point.

---
Kris Johnson
[EMAIL PROTECTED]

attachment: winmail.dat

Re: Poor sound in GNOME

1999-06-11 Thread Kristopher Johnson
Thanks for the suggestion. It turns out that the three sounds in the gtk-events
folder (clicked.wav, activate.wav, and toggled.wav) have the clicky staticky
sound, but none of the other WAV files I played do.  So I think the gtk-events
sounds just suck, and I'll replace them.

- Kris

Jonathan Lupa wrote:

 On Thursday, June 10, 1999 5:30 AM, Kristopher Johnson
 [SMTP:[EMAIL PROTECTED] wrote:
  Can anyone suggest any possible fixes?

 DISCLAIMER: All of this is to the best of my knowledge which is somewhat
 limited, but I'm sure someone will step up to correct me if I'm wrong! =)

 I had a problem similar to this very recently with my SB AWE32 PnP.  It
 turns out that the driver was having problems allocating DMA buffers because
 low address memory had become so fragmented. Since I have a decent amount of
 RAM (128M), I recompiled the kernel to load up the DMA buffers at load time
 and maintain them.

 This can be done 2 ways:
 1. If you compiled sound support as a module, you need to pass the
 parameter dmabuf=1 to the module when it loads. Read the man page on
 update-modules for more information about how to get that into
 /etc/conf.modules.
 2. If you compiled sound support directly into the kernel, there is
 an option in the sound menu to preserve DMA buffers. mark it Y and
 recompile.

 CAVEAT 1: This may not really be the problem you are looking at. If not, I
 can't think of anything to try. =(

 BONUS: Even if it is not, if you have a reasonable amount of memory, it
 isn't going to hurt anything by doing this.

 CAVEAT 2: If you are using the kernel autoloader to load sound support, that
 may not be the best idea.  I would either stic k it in /etc/modules, or
 compile support in as necessary.

 Good Luck

 -Jonathan Lupa
 ~
 [EMAIL PROTECTED]



RE: BE MORE SIMPLE!!!!

1999-06-11 Thread Kristopher Johnson
I'm the guy that asked which package had the HOWTOs.  I know it seemed like
a dumb question, but I did try searching on HOWTO in both dselect and on
the Debian web site, and came up with nothing.  And I started paging through
the 2700+ packages shown in dselect, but gave up after an hour or so of
that.  Maybe it would help if the package was named doc-howto or something
useful like that, or if it was installed as part of the Complete Developer
Workstation profile I selected when installing Debian.

I agree that it would be helpful for more questions on this list to be
answered with instructions on how to find the information.  But I see too
many messages on this list (and throughout the Linux community) saying
people are stupid or people are lazy when they ask questions that have
obvious answers.

I think I'm a pretty smart and resourceful guy, and the whole reason I'm
using Linux is to learn about it.  If I was lazy, I would have just asked
How do I set up sound on my machine, which is what I really wanted to
know.  But, instead, I looked for the HOWTOs on my machine, couldn't find
them, searched for them in dselect and on the Debian website, and finally
decided it would be easier to ask a simple question than to install every
Debian package hoping to magically wind up with HOWTOs installed.

I know that there are some people who emerge from the womb knowing how to
configure device drivers and write perl scripts.  But the rest of us stupid
people need some help once in a while, and find it discouraging to be called
lazy or stupid when we do ask.  We're not looking to have anything spoon-fed
to us--we just need a little guidance when we hit a brick wall.

- Kris


-Original Message-
From: Eric Gillespie, Jr. [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 1999 3:01 AM
To: debian-user@lists.debian.org
Subject: Re: BE MORE SIMPLE


On Thu, Jun 10, 1999 at 09:31:54AM +0200,
Urban Gabor [EMAIL PROTECTED] wrote:
 no disrespect, but M$ makes you forget thinking. (Cf the subscription! :-)
 )

 I would suggest an other install description with step-by-step texts of
 what to do. And redesinging Debian web site can help a lot.


It is not Wintendo that makes people forget how to think, it is something
else. This is a problem with people in general, not just in relation to
computers. No one wants to think, because they're used to having things
spoon-fed to them. That's what push content was all about, people have to
be kept glued to the TVs, we can't have them going back to reading,
learning,
and thinking.

We should not encourage this process. I see so many questions on this list
that shouldn't be answered. Instead, the user should be told how to use
man pages, info pages, etc. For example, someone asked if there was a
package
containing the Howtos. Instead of telling him the name of the package, he
should have been told how to grep the Contents file, that way he can find
things on his own instead of asking the list every time. Remember, catch
a man a fish and you feed him that day, teach the man to fish, and he'll
never starve again.

--
Eric Gillespie, Jr. * [EMAIL PROTECTED]

Don't you try to out-weird me! I get stranger things
than you free with my breakfast cereal!
--Zaphod Beeblebrox


Poor sound in GNOME

1999-06-10 Thread Kristopher Johnson
When sounds play when I'm running GNOME, the sounds have a staticky
click or pop at the end of them.  I assume that this is some problem
with ESD, but I'm not sure.

The bad sounds don't happen when I'm not running GNOME.  They also
didn't happen when I used GNOME with Red Hat on this machine.  I have a
SoundBlaster AWE64 sound card.

Can anyone suggest any possible fixes?

- KDJ



KDE packages for slink

1999-06-07 Thread Kristopher Johnson
Last week, I was able to download slink KDE packages via this
/etc/apt/sources.list line:

deb http://snowcrash.tdyc.com/debian slink rkrusty

However, snowcrash.tdyc.com no longer seems to be responding. And I
tried downloading the .deb's from one of the KDE FTP mirrors, but dpkg
gave me error messages claiming that the CRCs were invalid.

So, my question: where can I get KDE for slink?

Thanks,
Kris