Linux-Misc Digest #539, Volume #21               Wed, 25 Aug 99 19:13:13 EDT

Contents:
  Re: HP720C driver. what was it again? ("Jamie")
  Re: why not C++? (Johan Kullstam)
  Re: Installing a printer when no x is avalible (Aeon Flux)
  Re: Give back on ppp connect/Netscape problem (John Hasler)
  Re: need to select appropriate Linux distributions (John Hasler)
  Re: starting 2nd X server via xdm..? (Stuart R. Fuller)
  Re: Can't mount Win98 Fat32 hdd...can anyone help...!!! (Leonard Evens)
  Epsom Stylus Photo 700 (Leonard Evens)
  Re: Linux has finally crashed (Bob Tennent)
  Re: Acroread and WP segfault in libc's free call. (Aeon Flux)
  Re: Is there a way to mount a samba share as a directory? (Ben Vince)
  Caldera Open Linux 2.2 (Ben Vince)
  Re: Server Chat & Web forum software for Linux? ([EMAIL PROTECTED])
  Re: Can't connect modem (Leonard Evens)
  Re: mount (Leonard Evens)
  Re: AT&T Korn Shell ("T.E.Dickey")

----------------------------------------------------------------------------

From: "Jamie" <[EMAIL PROTECTED]>
Crossposted-To: nl.comp.os.linux
Subject: Re: HP720C driver. what was it again?
Date: Wed, 25 Aug 1999 17:24:35 -0400

It's called ppa.  Go to www.httptech.com/ppa/

Jamie

J H Houtsma <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> This printer uses a special HP-windows only-protocol. But i know there
> was somebody who wrote a driver for linux fot these printer.
>
> What was it again?
>
> Thanks,
> jan



------------------------------

From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 24 Aug 1999 12:38:59 -0400

[EMAIL PROTECTED] (Randall Parker) writes:

> In article <[EMAIL PROTECTED]>, 
> [EMAIL PROTECTED] says...
> > I've also found it more difficult to debug C++ than C (especially the
> > code of other people,) because (operator) overloading can make otherwise
> > innocent looking code do much more than you had expected.
> 
> I have worked on C++ dev projects where everyone agreed not to do 
> operator overloading precisely so that the code would stay 
> comprehensible.

overloading operators essentially alters the language.  it shouldn't
be taken lightly.  this doesn't mean it cannot be a big win.  things
that work like numbers are usually good targets for heavy
overloading.  complex has already been done this way.

> I think the desire to make string classes and then be able to concatenate 
> strings together with + is the reason most found the idea appealing. 
> However, I think operator overloading is a bad idea for the most
> part.

on the other hand, overloading does make sense at times.  for
instance, in reed-solomon codec i found myself needing to do math in
the field GF(256).  i wrote up a GF(256) class and overloaded all the
math operators to do GF(256) math as naturally as integers or floats.
similarly, polynomials composed of GF(256) coefficients can be done.
however, i find C++ rather lacking when it comes to manipulating
objects with rapidly varying sizes.

one thing that bothers me in C++ is the lack of additional operations.
for example, in matrix math, you might want two kinds of
multiplication.  element-wise or as a matrix.  matlab uses .* and *
respectively.  C++ doesn't offer any new operators.  if C++ had a few
unnassigned operations, you could overload them with perhaps less
confusion than redefining something as basic as addition.

-- 
johan kullstam

------------------------------

From: [EMAIL PROTECTED] (Aeon Flux)
Subject: Re: Installing a printer when no x is avalible
Reply-To: [EMAIL PROTECTED]
Date: Wed, 25 Aug 1999 19:11:01 GMT

On Tue, 24 Aug 1999 23:20:41 +0200, "Martin Nilsson"
<[EMAIL PROTECTED]> wrote:

>How do I install a printer (Oki OL610ex) on my RH 6.0 system. I haven't any
>X window because the computer is old and is a server. Printtool doesn't work
>if you don't have X. And how do I solve the problem that i only get 1 line
>printed at my paper (tested the printer on my workstation but it has X
>installed). Yes I know that I should change LF -> LF,CR but how.
>
>/Martin
>

With Slackware I use apsfilter script to setup the printer.  It has
some bugs and outputs...printer setup failed...however, after trying
to print I see it worked anyway.


Aeon Flux


------------------------------

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.windows.x.kde,linux.redhat.install
Subject: Re: Give back on ppp connect/Netscape problem
Date: Wed, 25 Aug 1999 18:03:34 GMT

Matthew O. Persico writes:
> How is it done under Windows? I just enter a phone number, username,
> password, click a couple of TPC/IP settings (dynamic IP, dynamic DNS) and
> I'm off.  No fiddling with scripts.

That is how it is done with pppconfig in Debian as well.

> No fidding with /etc/resolv

pppconfig takes care of that as well, but of course you can edit the files
by hand if you have good reason.

> ...from the number of PPP subject I read aross many a Linux news group,
> on the Linux side, ISP connection is fraught with peril?

Because Red Hat doesn't have pppconfig :)

If an ISP makes a change that causes Windows DUN to stop working they will
fire whoever screwed up and move heaven and earth to fix the problem.  If
they make a change that breaks Linux connections, they will just say "We
don't support Linux".
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

------------------------------

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: need to select appropriate Linux distributions
Date: Wed, 25 Aug 1999 18:07:29 GMT

Gilles RONVAL writes:
> A distribution is good, in my opinion, if :
> - it provides all what you need and let you install only what you need;
> - it is (almoste!) bug-free;
> - it is easy to install and manage for a UNIX (Solaris, HP-UX...) 
>   administrator;
> - it is documented at least on the web;
> - successive releases respect at least backward compatibility;
> - the distributor is not going to move away tomorrow without leaving any 
>   address...

> Such thing does not exist, probably, but thank you very much if you can
> help me in any way to find something approaching.

It exists.  We call it Debian.  www.debian.org .
-- 
John Hasler                This 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.

------------------------------

From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: starting 2nd X server via xdm..?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 25 Aug 1999 22:10:02 GMT

Sean Gilley,0B206,,2336 ([EMAIL PROTECTED]) wrote:
: I'd like xdm to start a second xserver automatically when my machine
: starts.  I'd like my first X server to be unchanged.. that is I don't
: want to have to select a machine, I just want a console login screen
: to come up.  For the second, I want it to behave as if I typed:
: 
:       X -indirect <hostname> :1
: 
: as root.
: 
: I've played around with the xserver file in the xdm configuration directory,
: but it always fails miserably.  Can anyone tell me how to do this?

Here's what I did:

My /etc/X11/xdm/Xservers file:
==============================
# $XConsortium: Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#       XTerminalName:0 foreign
#
:1 local /etc/X11/xdm/run_local_Xserver /usr/X11R6/bin/X :1 -bpp 16
:0 local /etc/X11/xdm/run_local_Xserver /usr/X11R6/bin/X :0 -bpp 16

I wrote a short script to insert a short delay between each server starting
up.  I found that if they both start up at the same time, I had trouble with
it where neither seemed to come up.  I reckon that the servers were
interfering with each other.  

My /etc/X11/xdm/run_local_Xserver:
==================================
#! /bin/sh
#
# Start the X server, with a delay based on which display this is.
#
if [ $# -lt 2 ] ;then
    echo Need at least two arguments:
    echo        the name of the X server
    echo        the display number
    exit 1
fi

if [ `expr length $2` -lt 2 ] ;then
    echo Argument 2 must be a display number '(:n)'
    exit 1
fi

disp=`echo $2 | tr -d :`
delay=`expr $disp \* 5`
echo Waiting $delay seconds
sleep $delay

exec $*

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Can't mount Win98 Fat32 hdd...can anyone help...!!!
Date: Wed, 25 Aug 1999 16:42:12 -0500

Cantona wrote:
> 
> I boot Win98 off a 6Gb hdd with three 2Gb fat16 partitions...
> 
> ...I also have a 4Gb hdd with a single fat32 partition...
> 
> ...the problem is I can't mount the fat32 hdd...!!!
> 

It is unclear where these drives are.  If you have two
drives on the same machine, it is not clear that the second
drive would be /dev/hda.   Perhaps you could do
fdisk -l
and let us know what it shows.

> When I type:
> 
> # mount -t vfat /dev/hda2 /dosd
> 
> I get this error:
> 
> mount: wrong fs type, bad option, bad superblock on /dev/hda2,
>        or too many mounted file systems
>        (aren't you trying to mount an extended partition,
>        instead of some logical partition inside?)
> 
> I have also tried editing /etc/fstab but also get an error on booting
> linux...!!!
> 
> My partitons on the 6Gb hdd mount okay with no problems...!!!

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Epsom Stylus Photo 700
Date: Wed, 25 Aug 1999 16:56:33 -0500

Does anyone have information about how to print using
an Epson Stylus Photo 700 (or related) printer.   Any
information about a printtool filter, use under ghostscript,
and most desirable printing with gimp would be appreciated.

The usual Epson Stylus Color printers use a different
print engine.
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: [EMAIL PROTECTED] (Bob Tennent)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: Linux has finally crashed
Date: 25 Aug 1999 21:29:54 GMT
Reply-To: rdt(a)cs.queensu.ca

On Mon, 23 Aug 1999 17:42:55 -0600, George P. Staplin wrote:
 >
 >Last year I moved to a new area that experienced many power outages and my
 >extended 2 file system was damaged beyond repair many times.  
 >
If you can't afford an UPS, you had better mount your file systems to
use synchronized transfers. Do man mount and read about the sync option.

Bob T.

------------------------------

From: [EMAIL PROTECTED] (Aeon Flux)
Crossposted-To: alt.os.linux.mandrake,alt.os.linux
Subject: Re: Acroread and WP segfault in libc's free call.
Reply-To: [EMAIL PROTECTED]
Date: Wed, 25 Aug 1999 19:24:35 GMT

On Wed, 25 Aug 1999 14:50:30 -0400, "Ilya A. Kriveshko"
<[EMAIL PROTECTED]> wrote:

>Folks,
>
>I have installed Adobe Acrobat Reader on my Linux Mandrake system,
>but wasn't able to run it. It segfaults in a call to free():
>
>(gdb) run
>...
>Program received signal SIGSEGV, Segmentation fault.
>0x406e2d2f in free () from /usr/i486-linux-libc5/lib/libc.so.5
>(gdb) where
>#0  0x406e2d2f in free () from /usr/i486-linux-libc5/lib/libc.so.5
>#1  0x40601628 in __DTOR_END__ () from
>/usr/i486-linux-libc5/lib/libXt.so.6
>#2  0x10001b7b in ?? ()
>Cannot access memory at address 0x10000000.
>
>Similar thing happens with WordPerfect 8 that I installed (i.e. it
>segfaults in
>the same free() call, but with a different call stack):
>
>(gdb) run
>...
>Program received signal SIGSEGV, Segmentation fault.
>0x40131d14 in free () from /usr/i486-linux-libc5/lib/libc.so.5
>(gdb) where
>#0  0x40131d14 in free () from /usr/i486-linux-libc5/lib/libc.so.5
>#1  0x400e116c in __DTOR_END__ () from
>/usr/i486-linux-libc5/lib/libX11.so.6
>Cannot access memory at address 0x7ffd5960.
>
>I am rather a novice with Linux, but I've heard that such problems may
>be due
>to using wrong versions of libc/glibc. I apparently have libc.so.5.3.12.
>
>Does anybody know how to fix this? Thanks.
>-----
>Ilya.

Shouldn't you use the glibc versions with Mandrake? 

If so, you also may want to check your kernel compatibility with these
programs.  Binaries that run on 2.0 want run on some 2.1 systems or
the 2.2.* kernel.

Other than that, play around with your lib path or ldconfig.


Aeon Flux


------------------------------

From: Ben Vince <[EMAIL PROTECTED]>
Subject: Re: Is there a way to mount a samba share as a directory?
Date: Wed, 25 Aug 1999 19:30:57 GMT

If sbmount is simular to mount (like i've heard) all you have to do is 
create a directory using the *mkdir <dir name>* Command and then use the 
sbmount command as follows:

sbmount /<NETWORK DRIVE> /<NEW DIRECTORY>

I hope this is of some use to you. If not email me soon as i'm about to put 
SAMBA on my machine tonight to link up my windows machine to my linux 
machine.

Regards,

Ben Vince

email me:  [EMAIL PROTECTED]

K. Eggleston wrote:
> 
> > See 'man smbmount'
> 
> ah-hah... I had a feeling this one'd be right in my face.
> 
> > 
> > Regards,
> > 
> > Phil
> > 
> > K. Eggleston <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Hi...  Is there a way to mount a particular samba share as a 
directory?
> > > I'd like to work with files on remote machines just as if they were 
local
> > > on my machine.  FTP and smbclient are good but working with my remote
> > > files using bash would be best.
> > >
> > > Thanks,
> > > -Kim
> > 
> > 
> > 


==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

------------------------------

From: Ben Vince <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Caldera Open Linux 2.2
Date: Wed, 25 Aug 1999 19:30:56 GMT

Hi,

Does anybody know how to set up an ISA Creative AWE64 Soundcard? I've 
looked on the Caldera Knowlage Base and they say that there is a problem 
with the installation and that you have to retry the installation of the 
Sound Daemon but everytime i retry i get the same error ("One or More 
Damons are already installed"). I've even tried deleting the "Conflicting" 
daemons. Has anybody elso got it to work? Please help, Thanks,

Regards

Ben Vince

==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Server Chat & Web forum software for Linux?
Date: Wed, 25 Aug 1999 21:50:04 GMT

Try www.customchat.com


In article <0_0s3.3905$[EMAIL PROTECTED]>,
  "Michael Moon" <[EMAIL PROTECTED]> wrote:
> I am researching setting up a Linux server for a web site and would
like to
> set up a web forum and a chat room.  Would anyone be able to point me
in the
> direction of Chat software and web forum software that would run on a
Linux
> box.  I will probably be using Apache for the web server software.
>
> Thanks,
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Can't connect modem
Date: Wed, 25 Aug 1999 16:47:17 -0500

Scott Lanning wrote:
> 
> Scott ([EMAIL PROTECTED]) wrote:
> > I've got a USR 56k non-PCI modem.  It is NOT a winmodem.
> > For some reason, in windows it's set up on COM 5,  IRQ 4, which
> > shares the same resourses as COM 1. The is nothing on COM 1.
> > So I used Linuxconfig to set the modem up on ttyS0.  I've used
> > setserial to set the IRQ of ttyS0 to 4.
> 
> Did you try ttyS4 ?  (I dunno...)
> 
> > So when I use minicom to test to see if I can dial out, it
> > initializes the modem (or so it says) but when it says it's
> > dialing, it is really doing nothing.
> 
> Is the modem in minicom setup right? Sometimes it can be /dev/modem,
> which is a symbolic link. Is /dev/modem pointing to ttyS0?
> 
> --
> Scott Lanning: [EMAIL PROTECTED], http://physics.bu.edu/~slanning
> "How can we make our teaching so potent in the motional life of man,
> that its influence should withstand the pressure of the elemental
> psychic forces in the individual?" --Albert Einstein

Using modemtool, make sure that /dev/modem is a link to what
you want.

Also, when you use minicom, and type AT do you get the
OK response.  If so, you are in fact connected to the modem.
If when you type in 
ATDT ph#
it doesn't dial, it may be that you have to initialize the
modem with an appropriate string.

However, I believe I have the same modem, and I think the
default initialization string works fine.

If AT does not elicit OK, either you don't have the right
link as mentioned above or you have some interrupt or other
resource conflict.


-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: mount
Date: Wed, 25 Aug 1999 16:50:11 -0500

cedric wrote:
> 
> While booting up I get the following message,
> Mount: /dev/hdc can't read superblock failed
> 
> Here is the entry in /etc/fstab
> /dev/hdc        /mnt/LS120      ext2    default 0 0
> 
> Ideas?
> [EMAIL PROTECTED]
> www.pacifier.com/~cedric

What is this device?  Is it a CD drive or what?   It is
possible there is no media present.   I have got similar
messages from CD drives and Zip drives in the past, when
no media are present.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: AT&T Korn Shell
Date: Wed, 25 Aug 1999 22:46:15 GMT

Jan Just Keijser <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, J H Houtsma <[EMAIL PROTECTED]> 
> wrote:
>>I remember a while ago AT&T distributed a free ksh-binary for Linux.
>>Anyone remembers the link? I looked for hours but can't remember/find it.
>>I do not mean pdksh etc.. But the ATT version.

> Try http://www.research.att.com/sw/tools/reuse
quoting from their agreement:

    3. In return for this license, you grant AT&T Corp. a nonexclusive
       perpetual paid-up license to make, use, sell, have made, copy,
       distribute, and make derivative works of any changes which you
       make in the source code. At AT&T Corp.'s request, you will provide
       AT&T Corp. with a copy of the source code for such changes.
    4. AT&T Corp. has no obligation to support the source code it is
       providing under this license. To the extent permitted under the


-- 
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to