Linux-Misc Digest #138, Volume #25               Sat, 15 Jul 00 12:13:02 EDT

Contents:
  Re: Printing to Jetdirect (benno)
  numerical computations under Linux (John Mamer)
  Re: numerical computations under Linux (Krzys Majewski)
  Re: View console output while in X? (Arlan Lucas de Souza)
  Re: Are there substantially more/less RPMs for RH or SuSE? (Martin Skj�ldebrand)
  Re: Sound Blaster Live and Redhat 6.1 (2.2.16) ("Nicholas John Murison")
  Re: E-mail program ([EMAIL PROTECTED])
  Re: resizing partitions in linux (John Thompson)
  Re: ftpacess logs - where are they? ("Berk D. Demir")
  Re: How to setup dialup account in Corel Linux?? (John Hasler)
  Re: Web Browser (Thomas Zajic)
  Re: setting system time from internet host (Rod Smith)
  Re: Editing X program colors? (Andrew Purugganan)
  Setup a Termcap for Handheld PC on ttyS1 (Andrew Purugganan)
  ACCESS WINDOWS FILES (Daniel)
  Re: resizing partitions in linux (Craig A Lebowitz)
  Re: Problem with a Maxtor 40Gb drive (Tim Lyth)
  Re: /etc/kppp.allow question (Valentin Guillen)
  Re: Why isn't [X]Emacs a word processor? (William W.)

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

From: benno <[EMAIL PROTECTED]>
Subject: Re: Printing to Jetdirect
Date: Sat, 15 Jul 2000 10:29:35 +0200

On 12 Jul 2000 07:27:52 GMT, [EMAIL PROTECTED]
(Villy Kruse) wrote:
>That would work, I've seen it work.  The only problem is that you can't
>query the print status, as by doing that the software will also query
>the jetdirect box for its print status.  If the box is busy it is not
>able to respond to any status request on the lpd port.  The lpd port
>is 515/tcp aka. 'printer' according to /etc/services.

That is because the printer can only handle 1 TCP connection at the
time so if you are printing to the box it can't handle other TCP
requests to query the status.

I have had succes using LPRng (next generation) with the following
optins. The jobs are spooled local on the Linux box.

# HP4000 Jetdirect printer at IP 192.168.0.101
hp4000|hp400 jetdirect printer:\
    :lp=192.168.0.101%9100:\
    :sd=/var/spool/lpd/hp4000:\
    :lf=/var/spool/lpd/hp4000/log:\
    :sh:sf:mx#0:
#

p.s. don't forget to make spooldir /var/spool/lpd/hp4000  user lp:lp

Benno

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

From: John Mamer <[EMAIL PROTECTED]>
Subject: numerical computations under Linux
Date: Sat, 15 Jul 2000 08:41:25 GMT

Hi!
  I recently ported some code to do linear programs from Win.NT /MSC/C++

to Intel Linux/GCC.  I noticed a significant slow down.  What're the
best options as far as compilers for numerical computing in C under
Linux (floating point, matrix operations)?  It GCC the only way to go?
Any opinions, experiences, insights etc. appreciated.

thanx
j.




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

From: Krzys Majewski <[EMAIL PROTECTED]>
Subject: Re: numerical computations under Linux
Date: 15 Jul 2000 02:27:02 -0700

I once overheard this conversation between two programmers:

Programmer0: ...I looked at their makefile, and it turned out they weren't even
using gcc's  -O2 option! Half an  hour later, I had  the program running
twice as fast. 
Programmer1: It took you half an hour to add the "-O2"? 

-chris



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

From: Arlan Lucas de Souza <[EMAIL PROTECTED]>
Subject: Re: View console output while in X?
Date: Wed, 12 Jul 2000 20:40:42 -0400

Hi Lloyd!

On Mon, 10 Jul 2000, Lloyd Llewelyn wrote:

> How can I see the output to the console while in X, without logging
> out of X?

This is a incomplete answer but I hope it would be useful. The terminal
emulators have an option to intercept console messages. For 'xterm' the
option is '-C'. But you must set some permissions (I don't know anything
about it) to the xterm console window works fine.

Regards,
Arlan


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

Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
From: [EMAIL PROTECTED] (Martin Skj�ldebrand)
Date: Sat, 15 Jul 2000 10:30:47 GMT

blowfish <[EMAIL PROTECTED]> writes:

> Jerome Mrozak wrote:
> > 
> > I'm choosing between distros and would like to NOT be stuck with a
> > distro that can't find the "latest and greatest" software, such as Gnome
> > updates, KDE updates, editors.
> > 
> > Being in the USA, I hear the most about RH and Mandrake.  But when all
> > is counted, what % of RPMs will work on both RH and SuSE, what % for RH
> > and not SuSE, and what % for SuSE and not RH?
> > 
> 
> Basically.  Most of the rpm from RH won't work on Mandrake, or SuSE.
> Or the rpm from SuSE won't work on RH or Mandrake, and Mandrake's rpm
> won't
> work on SuSE or RH.

That's interesting considering that Mandrake is based on RH. And is
claiming "compatibility". 

M.

-- 
Martin Skj�ldebrand
[EMAIL PROTECTED]
Sys admin, web designer, tech writer
Hungry? Visit http://www.bahnhof.se/~chimbis/tocb
Which Linux distro? Visit http://www.bahnhof.se/~chimbis/ratatosk

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

From: "Nicholas John Murison" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Sound Blaster Live and Redhat 6.1 (2.2.16)
Date: Sat, 15 Jul 2000 13:14:13 +0100

The SB Live!  works quite well on my Slackware box with kernel 2.2.16. 
All you need to do is to go to http://opensource.creative.com and download
the latest source snapshot.
-- 
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins Registered Linux User #153895 
http://counter.li.org


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

From: [EMAIL PROTECTED]
Subject: Re: E-mail program
Date: Sat, 15 Jul 2000 11:41:39 +0100

Grant Edwards <[EMAIL PROTECTED]> did eloquently scribble:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>>The Darkener <[EMAIL PROTECTED]> did eloquently scribble:
>>> Pine rocks.
>>
>>s/rock/suck/
>>
>>Elm on the other hand...

> Is a venerated but long-in-the-tooth ancestor of mutt.

> ;)

But still good, better than Pine, and still being maintained.
:)
(I'm used to elm [used it for 5 years] and see no reason to change.)
-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |
==============================================================================

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

From: John Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: resizing partitions in linux
Date: Sat, 15 Jul 2000 06:33:09 -0500

Craig A Lebowitz wrote:

> I'm running Red Hat 6.2 and I'd like to get rid of Windows and resizem
> my linux partition.  Can anyone suggest the best way to do this?  I
> really don't want to mess up my config at this point.

The simplest way to do this would probably be to run mkfs.ext2 on
the Win partition to wipe the FAT filesystem and make an ext2
filesystem on the partition.  You can then mount it aand use it
as needed from linux.  This method has the advantage of not
changing your existing partitions at all and therefore not
changing your partition numbering, which would require you to
modify your kernel to reflect the changed numbers of the root and
swap partitions.
 
> Also - what is a good way to see where HD space is being used on my
> filesystem?  

"df -h" from an xterm to show free space, "du -h" to show usage
information.

-- 


-John ([EMAIL PROTECTED])

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

From: "Berk D. Demir" <[EMAIL PROTECTED]>
Subject: Re: ftpacess logs - where are they?
Date: Sat, 15 Jul 2000 19:10:01 +0300

Jack wrote:

> hi,
>
> if i have:
>
> log transfers anonymous,real inbound,outbound
>
> in my /etc/ftpaccess file, where exactly ie which file is this information logged in?
>
> thanks

They are located under /var/log/xferlog (in my Red Hat 6.1 Box and Slackware 7.0 Box)

--bdd


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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: How to setup dialup account in Corel Linux??
Date: Sat, 15 Jul 2000 12:29:31 GMT

James E. Paschal writes:
> Here's what solved my problem::

> Corel's original /etc/ppp/options file does not work out of the "box".

What do you think is worng with it?
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: [EMAIL PROTECTED] (Thomas Zajic)
Subject: Re: Web Browser
Reply-To: [EMAIL PROTECTED] (Thomas Zajic)
Date: Sat, 15 Jul 2000 14:08:07 GMT

On Sun, 9 Jul 2000 21:54:36 -0700, [EMAIL PROTECTED] wrote:

> [ ... ]
> I tend to use (preference ranking, scale 1-10, 5 is a usable product):
> 
> [ ... ]
>   o 6.5 w3m:  text-mode browser -- supports frames, tables, and other
>     advanced features.  No Java, Javascript, or SSL support (AFAIK),
                                               ^^^^^^^^^^^^^^
>     the last is the only one I miss significantly. [ ... ]
> [ ... ]

w3m has had SSL support for quite a while now (current version is 0.1.10,
IIRC). You need to build the "monster model" or whatever it's called to
include SSL support.

   [zlatko@sphere]:~$ w3m -dump https://www.fortify.net/cgi-bin/ssl_2

   [ ... ]
   You have connected to this web server using the EDH-RSA-DES-CBC3-SHA
   encryption cipher with a secret key length of 168 bits.
   [ ... ]

There's also a SSL patch available for lynx, AFAIK.

HTH,
Thomas
-- 
=-------------------------------------------------------------------------=
-  Thomas "ZlatkO" Zajic   <[EMAIL PROTECTED]>    Linux-2.2.16/slrn-0.9.6.2+  -
-  "It is not easy to cut through a human head with a hacksaw."  (M. C.)  -
=-------------------------------------------------------------------------=

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: setting system time from internet host
Date: Sat, 15 Jul 2000 14:39:02 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Akira Yamanita <[EMAIL PROTECTED]> writes:
>
> To set the date from a public time server, I use rdate.
> ex. rdate -s bitsy.mit.edu

The bitsy.mit.edu site is a **STRATUM 1** time server. As such, you
really shouldn't be connecting to it to set the time on your own
system. These stratum 1 time servers are heavily loaded, and it's much
more efficient for them to feed time only to sites that themselves feed
time to a large number of systems (that is, to stratum 2 time servers).
Instead of connecting directly to a stratum 1 server, you should
connect to a stratum 2, stratum 3, or lower time server. There's a list
of stratum 2 time servers at
http://www.eecis.udel.edu/~mills/ntp/clock2.htm. It's also possible
that your ISP, employer, or whatnot runs one you can use.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: Editing X program colors?
Date: 15 Jul 2000 14:35:24 GMT

-~=Darek M=~- ([EMAIL PROTECTED]) wrote:
[ How does one edit the gray windows and scrollbars in X
[ applications? I am running BlackBox so its not as simple as in
[ KDE for example. No tool to do that.

[ By gray parts I mean, for example, when you open up Netscape or
[ XChat, the scroll bars are grey, and the parts with File Edit,
[ etc are black text on grey background.

http://www.linux.com/tuneup/database.phtml/X11/Netscape
there's a file Netscape.ad that is also well documented and tells you how

You've loaded Blackbox, eh? Well welcome to skinnin, part deux ;-)
--
jazz 
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??

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

From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Setup a Termcap for Handheld PC on ttyS1
Date: 15 Jul 2000 14:54:55 GMT

I managed to connect my z50 to my Lin Box using ttyS1, but sometimes a 
carriage return is missing from the output, and my prompts start losing 
alignment. I get a wrodwrap effect when I  use w3m or anything with about 
a pageful of output.

I even tried echo 'tset -s -Q -m device:?vt100'

What am I missing?
How do I set up a termcap or terminfo for this?
--
jazz 
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??

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

From: Daniel <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: ACCESS WINDOWS FILES
Date: Sat, 15 Jul 2000 11:11:04 -0400

Hi!

Im new with Linux so far i enjoy it.

I know I cannot access Linux disk within Windfows  but can I do the
opposite, can I access my othe files within Linux?

Thank in advance


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

Date: Sat, 15 Jul 2000 11:27:04 -0400
From: Craig A Lebowitz <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: resizing partitions in linux

This is very thoughtful advice, thank you very much.  How about getting rid
of LILO once the Windows partition is taken over by linux?

John Thompson wrote:

> Craig A Lebowitz wrote:
>
> > I'm running Red Hat 6.2 and I'd like to get rid of Windows and resizem
> > my linux partition.  Can anyone suggest the best way to do this?  I
> > really don't want to mess up my config at this point.
>
> The simplest way to do this would probably be to run mkfs.ext2 on
> the Win partition to wipe the FAT filesystem and make an ext2
> filesystem on the partition.  You can then mount it aand use it
> as needed from linux.  This method has the advantage of not
> changing your existing partitions at all and therefore not
> changing your partition numbering, which would require you to
> modify your kernel to reflect the changed numbers of the root and
> swap partitions.
>
> > Also - what is a good way to see where HD space is being used on my
> > filesystem?
>
> "df -h" from an xterm to show free space, "du -h" to show usage
> information.
>
> --
>
> -John ([EMAIL PROTECTED])


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

From: Tim Lyth <[EMAIL PROTECTED]>
Subject: Re: Problem with a Maxtor 40Gb drive
Date: Sun, 16 Jul 2000 01:16:59 +1000
Reply-To: [EMAIL PROTECTED]

The problem lies in the fact that the boot partition must be in the first 1024
sectors (I think, or at the start of the drive at least) of the hard drive or
else it won't be possible to boot from it unless you play around with (edit) the
LILO config file which you need to be in linux to edit, so you can't edit it.

Cheers,

Tim Lyth

Bertrand Sirodot wrote:
> 
> Hi,
> 
> I have tried to install RedHat 6.2 on my PC at home and I am running
> into some kind of problem with my hard disk. No matter what size I
> allocated to the /boot partition it always fails to allocate the
> partition due to "boot partition too big".  I have tried all sizes for
> the boot partition down to 8Mg and no joy.  The disk is an IDE Maxtor
> 40Gb - I also have Win98 Second Edition installed on this system.
> 
> Any help greatly appreciated.
> 
> Cheers.
> Bertrand.
> --
> [EMAIL PROTECTED]
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

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

From: Valentin Guillen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: /etc/kppp.allow question
Date: Sat, 15 Jul 2000 09:39:38 -0600

Jimmy,

> $ kppp
> Xlib: connection to ":0.0" refused by server
> 
> Xlib: Client is not authorized to connect to Server
> 
> kppp: cannot connect to X server :0
> $

This error message means that the client software, in this case (kppp)
is not authorized to connect to the X-server.  This has  NOTHING to do
with:

'/etc/kppp.allow'

I'm fairly certain that what's happening here is that you want to run
the kppp program so that you can dial out, but you're not in X windows
when you try do do that, right?

kppp IS an x program, so that you can only run it while you already have
X running.  The other possiblility is that you are attempting to use it
remotely, or by telnet, or similar. 
 
So, my friend, this has nothing todo with adding your username to the
file. I think that you're thinking that this "allow" file is similar to
a  ppp allow file, which is different. 

Why don't you write back and describe a bit more detail regarding
exactly what the main problem is you're having and maybe Icould help. 

Si acaso se te hace mas facil hacerlo en espanol, entonces escribeme or
has post en espanol, y tratare de contestarte en espanol.

Recuerde que para enviarme email, hay que remover la NO-QUIERO-SPAM de
mi dirreccion de correo!

Saludos,

Valentin Guillen

> 
> How come after creating '/etc/kppp.allow' adding my username, still get
> this error:

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

From: [EMAIL PROTECTED] (William W.)
Subject: Re: Why isn't [X]Emacs a word processor?
Date: Sat, 15 Jul 2000 16:04:39 GMT

In our last episode (Sat, 15 Jul 2000 06:17:55 GMT),
the artist formerly known as Robert Heller said:
>
>This is true, but since a lot of these old printers were so 'primitive'
>by todays standards, and because what passed for a 'video display' was
>equally 'primitive' (VT100), people were less inclined to want to bother
>with 'formatting' games for trivial documents, like memos and the like. 
>Now people are using MS-Word, complete with all sorts of
>bells-and-whistles, for documents that don't really need such treatment.

True enough. (Some have suggested that WYSIWIG word processors have
contributed to a decline in the quality of both writing and formatting,
since they have encouraged people who know nothing about typesetting to
spend a lot of time on creating what they mistake for nice formatting
and neglecting the content of their work in the process.)  But even at a
time when the output of a word processor was less sophisticated than
that of a typewriter, it's still not proper to call emacs a word
processor. (Or we could say vi instead of emacs since, by the time emacs
rolle around, printers had gotten a little more sophisticated and the
Apple Macintosh was making its debut as well.)  Vi and emacs differ
fundamentally from word processors in their basic conception and design.
By the same token, you can't call Word a code editor just because, with
some hair pulling and a lot of swearing, you can write some C code in
Word.

>Actually, I use LaTeX for lots of things -- Business Letters, flyers,
>posters, recently for a press release (LaTeX => dvips => efax
>(ps=>tiffg3)).

All good used of LaTeX, though if you had to create a short,
one-of-a-kind, print-and-forget document for which there was no good
template, Word would probably be a better choice than LaTeX.  The
difference is that Word will let you create reasonably complex, mediocre
quality layouts in a short time, whereas LaTeX will provide you with
high quality layout if you have a good template or macro package to work
with or are willing to invest some time in the endeavour.

Of course, if you want to *share* your document with the masses of
people who think that using Adobe Acrobat to read a PDF document is an
"advanced option," you're often stuck with the 100MB memo writer.

>For silly memos, a plain text file is actually best --
>using MS-Word is pure overkill.

If only the business world could recognize this.  Unfortunately, it's
uncommon enough to see someone use a reasonably universal format like
RTF, let alone plain text.  You need to own a copy of Word2000 just to
read some people's one paragraph memos.

>I find that MS-Word is over used and
>LaTeX is under-used.

I expect that, if you replaced Word with LaTeX (maybe with a LyX front
end so as not to cause too much emotional trauma to some users), you'd
get documents that were both better-formatted (because the user, who has
no typesetting experience, has less control over the specific layout in
LaTeX) and better organized (because the user has to think explicitly
about structure in LaTeX) printed work.

In fact, I think that Word is only truly useful to a small, niche
audience.  Most people need something which is a lot simpler, and most
others need somethign more complex.  One of the greatest ironies of Word
is that many of its features only make sense when creating a document
that's too large for Word to handle comfortably.  I'd bet that, apart
from the file format issue, most Word users would be better off using MS
Works (at a savings of about 90% on the purchase price, no less).

>But, yes, LaTeX does produce a very different class of document. 
>Partly because it is really a much more powerful system and partly
>because it looks as the whole process from a very different point or
>view:  MS-Word uses a *visual* design.  Which is really the *wrong* way
>to produce a *document* -- ask any *real* 7th grade English teacher. 

Absolutely.  It's too bad that computer users in general have been
brainwashed to think otherwise.

>LaTeX *requires* you to *logically* design your document and in fact
>makes it hard to design a document just for 'looks'.  And since you
>can't easily fiddle with things like margins and stuff, you are
>*forced* to concentrate on what you are *saying*.  What I am seeing
>these days are lots of documents that look 'pretty', but that don't say
>anything -- generally not worth printing out.

If that; I find that the Word documents produced by most people tend to
be pretty poor.  They're baroque and dense, rather than pretty.  I don't
know much about typesetting, but I know how little I know, so I keep my
documents simple and use standard styles and formatting.  Some people
don't seem to realize how hard block paragraph text in Arial is to read.
:-(


--
The Silly Dragon  |  It is pitch black.
   -=(UDIC)=-     |  You are likely to be spammed by a grue.

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


** 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