Linux-Misc Digest #478, Volume #26                Wed, 6 Dec 00 10:13:02 EST

Contents:
  Re: lynx and https problem (Thomas Dickey)
  Re: Christmas Virus Warning (Eric)
  wrong margins on HP695C from Linux
  Re: Problem mounting audio cdrom (Eric)
  Re: Scaling images (Aulne)
  Re: VM on LINUX (Eric)
  Re: RAM-problems in Redhat7 (Eric)
  "/usr" versus "/usr/local" ("Flej Ling")
  What do these characters mean? ("Flej Ling")
  Re: problem with mkisofs (James Pearson)
  Re: How do I install ANYTHING in Linux???? ("Flej Ling")
  Re: another bash scripting question (Jean-David Beyer)
  Need help with script and corn ([EMAIL PROTECTED])
  Re: Adobe drops linux beta (Joshua Baker-LePain)
  Does anyone know!?!?! ([EMAIL PROTECTED])
  Re: "/usr" versus "/usr/local" ([EMAIL PROTECTED])
  Parser generator ("Flej Ling")
  modules (Mayerber Carvalho Neto)
  crontab question (NDQ)
  Re: Full screen PDF viewer (SKG) (Georg Skillas)
  Re: "/usr" versus "/usr/local" (Floyd Davidson)
  Re: How to fix bad sectors on HD? (Lori Holder-Webb)
  Re: Problem mounting audio cdrom (Lori Holder-Webb)

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

From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: lynx and https problem
Date: 6 Dec 2000 11:24:53 GMT

Tom Hoffmann <[EMAIL PROTECTED]> wrote:
> I have RH7 w/ lynx 2.8.4. When i try to access a secure login page, I
> get the message "This client does not contain support for https URLs".
> I looked at the lynx man page and at the lynx user guide. The only
> thing I found was the -validate option, but I can not get it to make a
> difference.

> -validate 
>         accept only http URLs (meant for validation). 
>         This flag implies security restrictions generally more severe
>       than -anonymous: restriction options as for -restrictions=all,
>       with the notable exception that *goto remains enabled for http
>       and https URLs*; in addition, the PRINT and DOWNLOAD commands
>       are completely disabled, and use of a Trace Log file is forced
>       off.

> Am I on the right track here ... is this the way to get lynx to process
> https URLs? Or am I totally misreading this?

(no - that's something different)

lynx is not normally distributed with https support due to export restrictions.
There's a pointer to an SSL patch on the release page.
The current version of lynx is 2.8.3

It's available at
        http://lynx.browser.org
        ftp://lynx.isc.org/lynx-2.8.3
2.8.4 Development & patches:
        http://lynx.isc.org/current/index.html

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Christmas Virus Warning
Date: Wed, 06 Dec 2000 12:27:47 +0100
Reply-To: [EMAIL PROTECTED]

DON'T MULTIPOST

Eric

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

From: <[EMAIL PROTECTED]>
Subject: wrong margins on HP695C from Linux
Date: Wed, 06 Dec 2000 11:30:08 -0000

Hello !

I'm using apsfilter and ghostscript on Debian Potato to print to a HP695C.
Everything works fine except for the margins. The end of my page (bottom in
portrait orientation) is cut off, whereas the beginning and the sides are
fine. Where and how can I change the margin settings ?

Moritz

--
Posted via CNET Help.com
http://www.help.com/

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Problem mounting audio cdrom
Date: Wed, 06 Dec 2000 12:30:51 +0100
Reply-To: [EMAIL PROTECTED]

Robert Clayton wrote:
> 
> Dave Brown wrote:
> >
> > Whenever I try to mount an audio cdrom I get the following error.
> > mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> >        or too many mounted file systems
> 
> As I recall, audio cdrom's do not have a filesystem of any sort (at
> least not directly mountable).
> 
> Sorry, don't know how to extract data from them (dd doesn't work, I've
> tried it).  Maybe someone out there knows?
> 

There's a great tool for that (As someone else already mentioned):

cdparanoia

Eric

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

From: Aulne <[EMAIL PROTECTED]>
Subject: Re: Scaling images
Date: Wed, 06 Dec 2000 11:45:43 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:

> Who ever said Aulne couldn't write what follows?:
> >In article <90idv2$pk9$[EMAIL PROTECTED]>,
> >  [EMAIL PROTECTED] (Jimenez Martinez Angel Luis) wrote:
> >
> >> Aulne ([EMAIL PROTECTED]) wrote:
> >> > Hello all,
> >>
> >> >   I have graphic files in either tiff or ps format that I have to scale down
> >> > in order to fit a full printer page.  Otherwise only a portion of the file is
> >> > printed.  Is there a utility somewhere that can do this?
> >
> >> Have you tried using The Gimp?? It works quite well for my needs. But if you
> >> want to convert between image formats and apply some modifications take a look
> >> at Imagemagick package. It has a console  program called "convert" which do
> >> these kind of things.
> >
> >Oops...  I forgot to mention that this scaling must be called from within a
> >program.  In order words, I need some utility that I can call with parameters
> >from my software.  Any suggestions?
> >
>
> Yup. Convert will work just fine. It's a very powerful command-line utility
> with about a million parameters.

Thanks guys.  This is exactly what I needed... and it was all along on my PC
without me knowing it!  Is there somewhere a detailed list (i.e. with a good
description of what a package can do) of every package included in say, Red
Hat or SuSE or Mandrake distributions?


Alain


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: VM on LINUX
Date: Wed, 06 Dec 2000 13:40:20 +0100
Reply-To: [EMAIL PROTECTED]

> 
> Thankx for ur help.
> But "top" is a command..Actually I dont need that.
> IN our program, we've to use any available structures
> for Virtual Memory by filling their members like-wise
> it does in WINDOWS NT.
> 

Check the proc FS

And check the source...
Linux has source-code available, use it at your will.

Eric

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: RAM-problems in Redhat7
Date: Wed, 06 Dec 2000 13:44:18 +0100
Reply-To: [EMAIL PROTECTED]

Erik Knave wrote:
> 
> Hi!
> 
> I recently installed RedHat 7 on my computer. It seemed to be no problems
> with the installation. But when I ran X I was suprised by how slow the
> system was, and so I checked with 'top' how much RAM i had according to the
> op-system. 'top' said 13 Meg, when in fact I have about 130 Meg (128 M)
> installed. I asked a friend, and he told me this could occur if the BIOS
> didn't report the proper amount of memory to the kernel.
> 
> And so, he told me to use the flag 'mem=128M' when booting in lilo. But when
> booting, the system said that no ram-disk space could be found, and so the
> boot was halted.  Have anyone outthere experienced the same kind of problem?
> 

Disable the memory-hole option in your BIOS

Eric

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

From: "Flej Ling" <[EMAIL PROTECTED]>
Subject: "/usr" versus "/usr/local"
Date: Wed, 6 Dec 2000 04:47:52 -0800

I have Redhat 6.0 installed and find that "/usr" and "/usr/local" have many
of the same folder names in them, for example:

/usr/bin and /usr/local/bin
/usr/sbin and /usr/local/sbin
/usr/doc and /usr/local/doc
/usr/etc and /usr/local/etc
/usr/man and /usr/local/man
/usr/lib and /usr/local/lib
/usr/include and /usr/local/include

Is this normal or have I configured things wrong? Does Redhat use only the
"/usr", only the "/usr/local", or both?

Flej Ling



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

From: "Flej Ling" <[EMAIL PROTECTED]>
Subject: What do these characters mean?
Date: Wed, 6 Dec 2000 04:54:16 -0800

In "Securing and Optimizing Linux: Redhat Edition" by Gerhard Mourani
(available at www.linuxdoc.org) he uses some special characters at the end
of "useradd" commands, for example, on page 374 under Apache installation:

"useradd -c "Apache Server" -u 80 -s /bin/false -r -d /home/httpd www
2>/dev/null || :"

What does the "2>/dev/null  || :" do?

Flej Ling




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

From: James Pearson <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Re: problem with mkisofs
Date: Wed, 06 Dec 2000 12:45:58 GMT

In article <90iu3v$kgv$[EMAIL PROTECTED]>,
  Lukasz Mach <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc James Pearson <[EMAIL PROTECTED]> wrote:
>
> > The output of mkisofs for the 2nd (or subsequent) sessions is not a
> > complete ISO9660 disk image, therefore you cannot mount it by
itself.
> > The easiest way to check the image is to use isoinfo - part of the
> > cdrecord/mkisofs package.
>
> > James Pearson
>
> hmm, there is advice in README.multisession and CD-Wrining HOWTO. This
> advice told me that i can mount inage of my SECOND session, and check
it.
>       After all , even if you have right, my image recorded to disk,
> doesnt work, so i think, that mkisofs makes no good work.
>

The README.multi file states that you can test the second session by
making another image using slightly different command line arguments to
mkisofs. You then mount this image using the loop back mount - not the
"real" second session image.

Many people have made multisession CDs with mkisofs - however there are
lots of possible problems - you don't say how your first session was
made - which version of mkisofs are you using etc.

James Pearson


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Flej Ling" <[EMAIL PROTECTED]>
Subject: Re: How do I install ANYTHING in Linux????
Date: Wed, 6 Dec 2000 05:10:52 -0800

>Ok, I'm just about completely frustrated.  I'm trying to convert myself
>from the evil blue screen world of windows, and trying to learn to use
>Linux.

Well done! I have done the same thing over the past five months or so, but
I'll keep the Windows stuff too. No sense burning any bridges.

>I have been playing with several different types and find that
>I like the Mandrake 7.x versions the best.

Ok. I use Redhat 6.0.

>My problem:
>I try downloading software from the internet to install and try out on
>Linux, but I can NEVER figure out how to install anything and make it
>work!  I keep getting errors saying I need to have QT, PHP,
>MySQL...etc..etc...installed.

Most packages don't require PHP or MySql, etc. In fact, most packages just
require themselves and work fine if you read and follow the INSTALL
instructions that come with it. If you are running into PHP or MySql or
PostgreSQL or MM or BCMATH or SSL or LIBJPEG, etc, etc, then you are
probably trying to install Apache webserver. Apache doesn't require these
things but quite often Apache is installed with these packages or utilities.

If you are installing wu-ftp then you just install it and use it. No extra
stuff required. The same is really true of Apache, though you are welcome to
add the extras - and it can be time-consuming and messy. For example, the
PHP Hypertext Preprocessor requires that you preconfigure Apache before
installing PHP before installing Apache!

The following method of installing Linux packages works well for me:

1) Get familiar with the basic Linux commands.
2) Go to www.linuxdoc.org  under "Printed Books" and download "Securing and
Optimizing Linux: Redhat Edition" by Gerhard Mourani. Print it (or go buy
the book). It's excellent. It explains how to set up wu-ftp, Apache
webserver, and a variety of other packages.
3) Use RPM's (either from your Linux CD or from the web) if you want to
quickly install something with no setup annoyances, but then don't expect to
tailor the package the way you want.
4) Get ".tar.gz" files rather than RPM's if possible. Unpack them using
"tar -xvzf <filename.tar.gz>" and you normally find installation
instructions in the file called "INSTALL". Read it, and read any other
installtion files in the package's folder or sub-folders.
5) Use "./configure", "make", and "make install" only if you want a bunch of
defaults applied. If you want to adjust anything then read INSTALL or else
the book suggested above, then use a more elaborate "./configure" by
specifying various options.
6) Once the package is installed then lock it down if necessary by securing
various folders, files, or users. See Gerhard's book for details.

It's not so bad once you get the hang of it. But somehow you've dived into
PHP and MySql. This requires extra effort and reading on your part.
Therefore go to www.google.com\linux and search for HOWTO's on PHP, MySql,
Apache, Frontpage, etc.

Flej Ling





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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: another bash scripting question
Date: Wed, 06 Dec 2000 08:22:39 -0500

Mike keithley wrote:
> 
> Where does one find a summary of the options if the if statement?

One place to look is in the bool "Learning the bash Shell" by Newham &
Rosenblatt, published by O'Reilly, pages 112 to 116 of the 2nd
Edition.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 8:20am up 1 day, 17:09, 3 users, load average: 2.14, 1.95, 1.90

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

From: [EMAIL PROTECTED]
Subject: Need help with script and corn
Date: Wed, 06 Dec 2000 13:22:36 GMT

Need help with script and corn!!

I got my sendmail querying up all my mail and then sending it to my ISP
once I am logged on.  I have to enter the "sendmail -q" command.

Can someone please send me a shell script that can check to see if my
ISP domain can be found and then run the sendmail -q command??

Please send it to me at [EMAIL PROTECTED]



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Subject: Re: Adobe drops linux beta
Date: 6 Dec 2000 13:38:55 GMT

Christopher Michael Collins () <[EMAIL PROTECTED]> wrote:

> Why not just release the code?

FrameMaker is a very expensive Desktop Publishing application available
for many platforms (including Solaris, HP-UX, and AIX).  Many who use it,
swear by it.  For Adobe, releasing the code would kill their ability to
sell it on all the other platforms.

There *is* more than Linux, and there are applications that justify
being sold.  That being said, for publishing, TeX/LaTeX (open source
and freely available) do the job quite nicely.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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

From: [EMAIL PROTECTED]
Subject: Does anyone know!?!?!
Date: Wed, 06 Dec 2000 13:33:08 GMT

Hello,
      I am trying to run the talk command but I get the message that
the connection is refused. I changed the disable = yes to no for the
talk file in the /etc/xinet.d/talk but still get the error. Am I
missing some other config file? I could not find any usefull
documention on the configuration of this. Any help would be much
appreciated. Thanks in advance.

John


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Re: "/usr" versus "/usr/local"
Date: Wed, 06 Dec 2000 13:40:33 GMT

Flej Ling <[EMAIL PROTECTED]> wrote:
> I have Redhat 6.0 installed and find that "/usr" and "/usr/local" have many
> of the same folder names in them, for example:

> /usr/lib and /usr/local/lib
> /usr/include and /usr/local/include
etc...

> Is this normal or have I configured things wrong? Does Redhat use only the
> "/usr", only the "/usr/local", or both?

Your setup is fine.  /usr is generally installed by the system, while /usr/local
is generally reserved for installs local to your system. If you install some
new software, it is likely that it will go into /usr/local. 



> Flej Ling



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

From: "Flej Ling" <[EMAIL PROTECTED]>
Subject: Parser generator
Date: Wed, 6 Dec 2000 05:44:15 -0800

Bison is described in man pages as "a parser generator that replaces yacc".
What is a parser generator and what is it good for?

Flej Ling



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

From: Mayerber Carvalho Neto <[EMAIL PROTECTED]>
Subject: modules
Date: Wed, 6 Dec 2000 11:06:22 -0300


Hi,

Is there any 'kernel modules' -specific newsgroup?

thanks.

---
Mayerber Carvalho Neto


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

From: NDQ <[EMAIL PROTECTED]>
Subject: crontab question
Date: Wed, 06 Dec 2000 15:01:33 +0100
Reply-To: NDQ <[EMAIL PROTECTED]>

Hi,
I'm under RH6.1. Before, I can edit crontab with command :
$ crontab -e

But now when I exit editor I see :

[quy@iris] ~$ crontab -e
crontab: no changes made to crontab

File /etc/cron.allow is OK, daemon crond is running...

Have you any idea for help me ?

Thanks,
-- 
NGUYEN-DAI Quy

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

From: Georg Skillas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Full screen PDF viewer (SKG)
Date: Wed, 6 Dec 2000 11:55:40 +0100
Reply-To: Georg Skillas <[EMAIL PROTECTED]>

On Sat, 2 Dec 2000, Kyle Parfrey wrote:

|Ghostview will display PDF much nicer than acroread, but won't print
|very well. To look at
|pdf's I have to use acroread, xpdf and ghostview! Acroread makes an
|absolute mess of most 
|of the fonts as well. If you can use ghostview for your presentation
|(even displaying pdf)
|why don't you? Its a great program.

Its as simple as: It has no full-screen mode.

George

|Kyle
|
|

======== = = =  =   =    =     =     =      =        =             = 
Dr. George Skillas              Tel.: ++1 513 556 5152; 281 8546
Dept. Chemical Engineering      FAX : ++1 513 556 3773
Univ. of Cincinnati
Cincinnati, OH 45221-0012       Mail: [EMAIL PROTECTED]
USA                                   [EMAIL PROTECTED]


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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: "/usr" versus "/usr/local"
Date: 06 Dec 2000 05:11:54 -0900

"Flej Ling" <[EMAIL PROTECTED]> wrote:
>I have Redhat 6.0 installed and find that "/usr" and "/usr/local" have many
>of the same folder names in them, for example:
>
>/usr/bin and /usr/local/bin
>/usr/sbin and /usr/local/sbin
>/usr/doc and /usr/local/doc
>/usr/etc and /usr/local/etc
>/usr/man and /usr/local/man
>/usr/lib and /usr/local/lib
>/usr/include and /usr/local/include
>
>Is this normal or have I configured things wrong? Does Redhat use only the
>"/usr", only the "/usr/local", or both?

Configure your PATH to use /usr/local/bin before /usr/bin (same
with sbin).  From that point on, if you change and program in
/bin, /sbin, /usr/bin or /usr/sbin, put the new version in
/usr/local/bin or /usr/local/sbin instead, and leave the
original where it is.  Because of your PATH, the new version
will be used.

However, a year or two from now when you want to upgrade to the
latest version of your distribution, change the PATH by deleting
/usr/local references, and in an instant your system is back to
being configured as per the original distribution.

The scripts used in the new distribution to upgrade will expect
programs to act the way the previous distribution programs did,
and may fail if the original programs are replaced by upgraded
versions with slight variations in functionality or output
formatting.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

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

From: Lori Holder-Webb <[EMAIL PROTECTED]>
Subject: Re: How to fix bad sectors on HD?
Date: Wed, 06 Dec 2000 08:47:22 -0600

Your drive could just be totally shot.  Not much of a consolation there,
but this happened to me.  Even when I managed to run badblocks and fsck,
it still continued to develop bad sectors.  Into the trash it went.

Jc wrote:
> 
> I've tried e2fsck -c and near the end of the drive it give me a bunch of
> "short read {UNRECOVERABLE ERROR}" messages ... I've run e2fsck -c twice and
> still I get these messages (but I don't know if it's for the same sectors or
> not though).
> 
> Jc
> 
> Jimenez Martinez Angel Luis wrote:
> 
> > Jc ([EMAIL PROTECTED]) wrote:
> > > I currently have RH 6.2 installed and recently I have been getting some
> > > problems and these seem to be caused by bad sectors on my HD since I
> > > keep getting read errors poping up on my console ...
> >
> > > How to I go about cchecking my HD for bad sectors, fixing them and then
> > > marking the sectors as bad?
> >
> > > Jc
> >
> > badblocks is the answer, but I think that e2fsck can do the same with a
> > comandline option:
> >
> > man e2fsck
> > man badblocks
> > --

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

From: Lori Holder-Webb <[EMAIL PROTECTED]>
Subject: Re: Problem mounting audio cdrom
Date: Wed, 06 Dec 2000 08:44:44 -0600

Robert Clayton wrote:
> As I recall, audio cdrom's do not have a filesystem of any sort (at
> least not directly mountable).
> 
> Sorry, don't know how to extract data from them (dd doesn't work, I've
> tried it).  Maybe someone out there knows?

Technical term appears to be "ripping" tracks or data.  Web searches for
cd+ripping should turn up a wealth of information about this topic.

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


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