Linux-Misc Digest #816, Volume #19 Sun, 11 Apr 99 19:13:18 EDT
Contents:
Re: FTP or telnet scripting? (NF Stevens)
Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0 (garv)
Re: Looking for ps2tiff (John McKown)
Acrobat Reader 3.0 (Stefan Rabanus)
Re: Presentation tool for linux? (Roope Anttinen)
Re: Why does root overwrite write only files? (brian moore)
Re: FTP or telnet scripting? ("Michael Faurot")
Re: When did parallel port printing performance go to HELL? (Jim Hill)
Re: 2 Novice Questions (John Thompson)
Re: Why Linux still isn't my standard boot-up OS, or what are the Linux-equivalents
for these Windoze programs? (Harry Lewis)
Re: pine and reply-to address (Perry Pip)
Re: RPMs (Perry Pip)
Re: 2 Novice Questions (Ewan Dunbar)
non-root cant mount (Pedro Garrett)
Re: timezone and daylight savings problem ("Anthony W. Youngman")
Problem with printing postscript (Ramin Sina)
Re: need help selecting a college for C / Unix (William Burrow)
How to install the latest tk/tcl? (oak)
Q:mkiofs & cdrecord (bob friedman)
Re: timezone and daylight savings problem ("Anthony W. Youngman")
Re: Why Linux still isn't my standard boot-up OS, or what are the Linux-equivalents
for these Windoze programs? (Floyd Davidson)
Forever spawning process (Mark Robinson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (NF Stevens)
Subject: Re: FTP or telnet scripting?
Date: Sun, 11 Apr 1999 20:14:04 GMT
[EMAIL PROTECTED] (marek jedlinski) wrote:
>(RH 5.1)
>
>I've looked at the manpage for the plain old ftp client, and it does
>mention "macros" but doesn't really document them, so I'm stuck. I'm
>looking for a way to run simple unattended ftp or telnet sessions -
>basically to automatically a few files from my ISP's shell account (also
>running on RH Linux, btw). Just connect, chdir, get and close. Telnet would
>be nicer because I could also zip files before transfer. Is there anything
>that can do that? Can the basic ftp client run non-interactively?
>
You could try expect which probably comes with your distribution.
It was designed to control e.g. ftp and telnet sessions.
Norman
------------------------------
From: garv <[EMAIL PROTECTED]>
Subject: Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0
Date: Sun, 11 Apr 1999 13:27:20 -0700
Andrew Comech wrote:
>
> >
> >> stupid comment, but I cant help but chastise poor english, which I am a
> >> master of (poor english for those not following very closely).
> >> that do, it should be does.
>
> Commonwealth or no, where do they not spell it "separate"?
------------------------------
From: [EMAIL PROTECTED] (John McKown)
Subject: Re: Looking for ps2tiff
Date: 11 Apr 1999 20:28:28 GMT
Reply-To: [EMAIL PROTECTED]
Ghostscript (Aladdin version 5.50 at least), has a number of tiff*
output options, such as tiffcrle tiffg3 giffg32d tiffg3 tifflzw
tiffpack tiff12nc and tiff24nc.
On 11 Apr 1999 04:38:57 GMT, Hans Kr�ger <[EMAIL PROTECTED]> wrote:
>
>I need a program that can convert a postcript-file into a tiff-
>format.
>
>Thanks in advance
>Hans Kruger
------------------------------
From: Stefan Rabanus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
Subject: Acrobat Reader 3.0
Date: Sun, 11 Apr 1999 21:47:52 +0200
I've just installed acrobat reader 3.0 in the recommended directory
/usr/local/Acrobat3 (my distribution: RedHat 5.1, my kernel: 2.2.3) When
I tried to run it I first got some error messages concerning various
libraries. I put symbolic links to the libraries in the directory
/usr/local/Acrobat3/Reader/intellinux/lib. After that I got the
messages: Segmentation fault (core dumped)
Can anyone give me advice?
Stefan
--
Stefan Rabanus
Institut fuer Deutsche Philologie
Ernst Moritz Arndt-Universitaet, 17487 Greifswald
http://www.uni-greifswald.de/~dt_phil/rabanus.html
------------------------------
From: Roope Anttinen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Presentation tool for linux?
Date: 11 Apr 1999 19:26:37 GMT
Reply-To: [EMAIL PROTECTED]
In comp.os.linux.x Kenny Zhu <[EMAIL PROTECTED]> wrote:
> Is there any Linux applications for presentation purpose just like MS
> Power Point? Note I don't have KDE or other fancy window managers. I'm
> just running on XFree86 3.3.3.1 with FVWM 95-2. Thanks for your help in
> advance.
Well the koffice has one but you may try also StarOffice, which has an
abuility to import Powerpoint presentations. Beware that SO needs piles of
memory to run.
references:
koffice.kde.org, www.stardivision.com
Roope
--
MicroSoft? is that some kind of a toilet paper?
PS: Look for address here, not from headers. And remove NOSPAM's
___________________________________________________________________________
[EMAIL PROTECTED] / [EMAIL PROTECTED]
+358 9 812 7567 / +358 500 445 565 / +358 49 445 565
http://myy.helia.fi/~anttiner/index.html
===========================================================================
Helsinki Business Polytechnic - Institute of information technology
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Crossposted-To: comp.os.linux.questions
Subject: Re: Why does root overwrite write only files?
Date: 11 Apr 1999 20:48:45 GMT
On Sun, 11 Apr 1999 14:45:03 -0400,
Harry Rarig <[EMAIL PROTECTED]> wrote:
> I am running linux 2.0.36 with both the Slackware 3.5 and RedHat 5.2
> distributions. In both distributions, if the file permissions of a file
> owned by root are changed to "read-only", root can still write to the
> file without the OS complaining. Is there another shell parameter which
> must be set to prevent root from writing to a read-only file? I would
> like to use this capablility to prevent a shell script running with root
> privilege from inadvertantly clobbering my write protected files.
The reason for both distributions behaving the same way is because it's
a kernel issue. But don't hold your breath waiting for it to change:
root would not be root if it didn't have all power and much would break
if the lack of writability affected root.
That said, there is a way to make a file slighty more difficult to write
to even for root. man chattr for grins.
> The "noclobber" option pervents a total overwrite, but does not prevent
> a program from appending to a write-protected file. Solaris 2.5 behaves
> as expected on this front, and this capbability has saved me in the past
> from doing nasty things to my write protected files in a moment of
> weakness.
That's not a feature of Solaris, but a feature of the shell.
I'm not sure what you're after on this point:
# set noclobber
# echo blah > file
If 'file' exists, the above will fail. If it doesn't, the above will
succeed, exactly as it should, no?
As for:
# echo blah >> file
You have specifically said to appaned to the file in this case. Why
would it fail if the file existed? It -SHOULD- exist, or else use the
'>' to redirect. Heck, the error case would be if the file didn't
exist, not the existence of a file.
If Solaris uses noclobber on appending, Sun programmers are doing drugs.
Excepting attributes (again, see chattr), root always has permission to
write to what it wants. If you don't like that, or don't think it's
secure, perhaps you should look at why you're running this script as
root. Odds are it can be executed as a mortal user and be much safer.
--
Brian Moore | "The Zen nature of a spammer resembles
Sysadmin, C/Perl Hacker | a cockroach, except that the cockroach
Usenet Vandal | is higher up on the evolutionary chain."
Netscum, Bane of Elves. Peter Olson, Delphi Postmaster
------------------------------
From: "Michael Faurot" <[EMAIL PROTECTED]>
Subject: Re: FTP or telnet scripting?
Date: 11 Apr 1999 19:32:35 GMT
marek jedlinski <[EMAIL PROTECTED]> wrote:
: (RH 5.1)
: I've looked at the manpage for the plain old ftp client, and it does
: mention "macros" but doesn't really document them, so I'm stuck. I'm
: looking for a way to run simple unattended ftp or telnet sessions -
: basically to automatically a few files from my ISP's shell account (also
: running on RH Linux, btw). Just connect, chdir, get and close. Telnet would
: be nicer because I could also zip files before transfer. Is there anything
: that can do that? Can the basic ftp client run non-interactively?
You might want to look into something lftp for the ftp work. However
you can automate all of it with "expect". Most likely you already
have it installed on your system. See the man pages for how to use
it. If you need more help with it, O'Reilley has book about it
written by expect's author Don Libes.
--
==============================================================================
Michael | mfaurot | The luck that is ordained for you will be coveted
Faurot | phzzzt.atww.org | by others.
------------------------------
From: [EMAIL PROTECTED] (Jim Hill)
Subject: Re: When did parallel port printing performance go to HELL?
Date: 11 Apr 1999 19:45:02 GMT
Reply-To: [EMAIL PROTECTED]
In <eGfeMoEh#GA.187@upnetnews03>,
ELVIS <[EMAIL PROTECTED]> wrote:
>I remember back in the 1.2.x days printing to the parallel port (and using
>Linux as as TCP/IP print server) was fast and efficient.
>
>What happened?
>
>Since 2.0.x it's been dog slow (running 2.0.36).
>
>Is 2.2.dejour better?
I'd like to assure you that it is, but in the week since I upgraded from
2.0.36 to 2.5.5, I've been wondering what the hell happened to turn my
4ppm (stop laughing, dammit!) LaserJet 4L into a 3ppm model.
(Turning on TRUST_IRQ to optimize as suggested by the log suceeded only
in breaking printing...)
Jim
--
[EMAIL PROTECTED] http://www.swcp.com/~jimhill/
"People have grown used to thinking of computers as unreliable,
and it doesn't have to be that way." -- Linus Torvalds
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: 2 Novice Questions
Date: Sun, 11 Apr 1999 12:33:07 -0600
Thomas Zajic wrote:
>Julia Cristina Varela de Montoya wrote:
>
> > (2) In our UNIX installation at work, when I hit "<ESC> k" it displays the
> > command history on the command line, like doskey. I know it's a simple
> > parameter, perhaps having to do with vi, but I can't find how to do it in
> > LINUX, although it is storing the history.
> I use bash, and it works just like DOSKEY (well ... ;-), using the
> cursor keys (up and down).
Yes, it's nice. But is there some way to make it work like
4OS2, etc. where if you type a letter or letters at the
prompt and then press arrow-up or arrow-down it displays
only those commands in the history stack that begin with
that letter or letters? That can be a real timesaver when
you have a substantial history to scroll through...
--
-John ([EMAIL PROTECTED])
------------------------------
From: Harry Lewis <[EMAIL PROTECTED]>
Subject: Re: Why Linux still isn't my standard boot-up OS, or what are the
Linux-equivalents for these Windoze programs?
Date: Sun, 11 Apr 1999 22:15:26 +0100
Reply-To: [EMAIL PROTECTED]
> Which couldn't be done at all with a GUI. And nothing close to it can
either.
Really? I'm sure I could build a dialog to do _just_ that! The simplest
one would be a command button that links to the abomination plus a few
text boxes for options.
When I was a nipper I had a Commodore 64. I used avidly to read a mag
devoted to this computer, and every month this mag had a competition to
see who could come up with the best one-line program (C64 lines of code
were restricted to eighty characters and could have multiple BASIC
statements). The advocacy of the aforementioned abomination reminds me
of nothing more than that, except that, even as amateur programmers, we
knew that what we were doing was poor coding practice - it was just a
bit of fun, though.
Harry
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Subject: Re: pine and reply-to address
Reply-To: [EMAIL PROTECTED]
Date: Sun, 11 Apr 1999 21:40:55 GMT
>From the main menu, type 's' for setup and then 'c' for config and scroll
down to "customized headers". Then type 'a' for add value and enter the
header exactly as you want it to appear.
Perry
On Sun, 11 Apr 1999 22:44:19 +0200, benjamin <[EMAIL PROTECTED]> wrote:
>Hello ,
>I am runing Linux 2.2.4 and i use pine to compose mails.
>I just can't configure the reply-to address.
>I use the account 'user' on my Linux system, and i configured in pine
>the domain name 'domain.com'.
>And the reply-to address is :
>Nickname <[EMAIL PROTECTED]>
>How do i configure the value 'user' since it is not the same as my linux
>login ?
>I DIDN'T SEE THIS IN THE CONFIG FILE .PINERC,
>AND NO MORE IN THE SETUP MENU
>
>Thank you for helping.
>Benjamin.
>
>Runing Linux Kernel 2.2.4
>
--
Show the code....or hit the road.
Perry Piplani www.open-systems.com
[EMAIL PROTECTED] perrypip.netservers.com
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Subject: Re: RPMs
Reply-To: [EMAIL PROTECTED]
Date: Sun, 11 Apr 1999 21:45:02 GMT
On 11 Apr 1999 19:13:53 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>I'm having trouble installing the MySql RPM. The first time I tried to
>install it with
>
>rpm -i file.rpm it failed
>
>then i tried rpm -e file.rpm
To remove a package name type the name of the package, not the file. Type:
rpm -qa | grep mysql
to get the package names.
Perry
to uninstall it, but it says it isn't
>installed. And when I try to install again it says it can't install
>because it's already installed. What can I do?
>
>Thanks
>
>Ollie
>
>---- INFO ----
>[root@earth /root]# rpm -i MySQL-3.22.21-1.i386.rpm
>package MySQL-3.22.21-1 is already installed
>error: MySQL-3.22.21-1.i386.rpm cannot be installed
>[root@earth /root]# rpm -e MySQL-3.22.21-1.i386.rpm
>package MySQL-3.22.21-1.i386.rpm is not installed
>
>Please remove the KBGNYD before replying by email.
>
>***** Posted via the UK Online online newsreader *****
>
> Go to http://www.ukonline.co.uk to find out
> about other online services we offer our subscribers.
>
>
--
Show the code....or hit the road.
Perry Piplani www.open-systems.com
[EMAIL PROTECTED] perrypip.netservers.com
------------------------------
From: Ewan Dunbar <[EMAIL PROTECTED]>
Subject: Re: 2 Novice Questions
Date: Sun, 11 Apr 1999 17:16:11 -0400
On Sun, 11 Apr 1999, John Thompson wrote:
> Thomas Zajic wrote:
> > I use bash, and it works just like DOSKEY (well ... ;-), using the
> > cursor keys (up and down).
>
> Yes, it's nice. But is there some way to make it work like
> 4OS2, etc. where if you type a letter or letters at the
> prompt and then press arrow-up or arrow-down it displays
> only those commands in the history stack that begin with
> that letter or letters? That can be a real timesaver when
> you have a substantial history to scroll through...
Try hitting ^R at the beginning of a new line, then type a few letters.
================================================
Ewan Dunbar [EMAIL PROTECTED]
================================================
Visit Preston Manning: Action Hero at
http://earl.thedunbars.com/pmah/index.html
================================================
------------------------------
From: Pedro Garrett <[EMAIL PROTECTED]>
Subject: non-root cant mount
Date: Sun, 11 Apr 1999 21:30:03 +0000
I can't seem to get my RedHat 5.1 Linux (i386) system to allow non-root
users to mount my cdrom, zip disk, or FAT32 partition, even though I
specify "user" in the /etc/fstab mount options for these entries. Root
can mount these devices just fine.
The error message I get is: "mount: only root can do that"
Here's the cdrom line from fstab:
/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user 0 0
I've tried setting full "other" permissions on /mnt/cdrom, /dev/cdrom,
and /dev/hdb (my cdrom), but to no avail.
Any ideas what I'm doing wrong?
Thanks in advance for any help,
--Pedro
------------------------------
From: "Anthony W. Youngman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: timezone and daylight savings problem
Date: Sun, 11 Apr 1999 09:07:29 +0100
Reply-To: "Anthony W. Youngman" <[EMAIL PROTECTED]>
In article <7ebnlq$9aq$[EMAIL PROTECTED]>, Bill Unruh
<[EMAIL PROTECTED]> writes
>In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (TurkBear)
>writes:
>
>>Daylight time started on April 3 - what's strange about your system knowing
>that
>Actually 2AM Apr 4
>
Actually it was March 28 :-) We did it differently over here ...
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Trousers with a single hole in their waistband are topologically equivalent
to a doughnut. These sugarcoated trousers have yet to catch on at fast-food
outlets! (SuperStrings by F. David Peat)
If replying by e-mail please mail wol. Anything else may get missed amongst
the spam.
------------------------------
From: Ramin Sina <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Problem with printing postscript
Date: 11 Apr 1999 15:33:23 PDT
Hi all I was given the following script to print ps files on epson
styles 640. However, when printing, th eprinter leaves too much space at
the top of the page (too much margin) and chopps the bottom of the
page. Does anyone know how I can fix that so that the entire page is
pribted with normal margin?
I have Aladdin Ghostscript 5.50
Thanks,
Ramin Sina
#!/bin/bash
#gs @stc600ih.upp $1
#gs -sDEVICE=stc600 $1
gs @stc.upp -sOutputFile="|lpr" $1 -c quit
--
========================================================
Ramin Sina [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (William Burrow)
Crossposted-To: alt.os.linux
Subject: Re: need help selecting a college for C / Unix
Date: 11 Apr 1999 22:02:42 GMT
Reply-To: [EMAIL PROTECTED]
On 11 Apr 1999 11:08:50 -0400,
Frank Sweetser <[EMAIL PROTECTED]> wrote:
>sounds familiar to here... the CS dept got a bunch of NT/VC++ machines with
>virtually free licenses, on the condition that they require a class to use
>it. luckily, the students revolted, refusing to use VC++, and the teacher
>finally relented, letting students use the unix systems =)
Sadly, the students here clammer for J++ and commercial solutions. The
profs, OTOH, don't seem to much like Microsoft. Free handouts don't work
in Canada, as the govt. wants to collect sales tax on the value of the
freebies. Linux looks like it might have a real chance....
Emacs is the standard development editor in the CS labs, fer instance
(largely because commercial dev. environments didn't work properly with
the network).
--
William Burrow -- New Brunswick, Canada o
Copyright 1999 William Burrow ~ /\
~ ()>()
------------------------------
From: oak <[EMAIL PROTECTED]>
Subject: How to install the latest tk/tcl?
Date: Sun, 11 Apr 1999 22:37:46 GMT
I'm installing the latest tk/tcl but I'm unsure how to go about it.
Do I uninstall the tk/tcl that's already there first then install the
latest versions under /usr/local?
Also, I'd like to test it out as a non-root user before I install it
on the system - is there a way to do that?
Thanks,
-Tony
------------------------------
From: bob friedman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.powerpc
Subject: Q:mkiofs & cdrecord
Date: Sun, 11 Apr 1999 18:42:32 -0400
is there a way to create a CD (preferably bootable) of a hd without creating an image
file
by
somehow piping mkiofs through cdrecord???
or just creating a mountable CD without creating an image file first???
thanx in advance...
------------------------------
From: "Anthony W. Youngman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: timezone and daylight savings problem
Date: Sun, 11 Apr 1999 00:50:51 +0100
Reply-To: "Anthony W. Youngman" <[EMAIL PROTECTED]>
In article <7ebf5s$[EMAIL PROTECTED]>, Tony J. Podrasky
<[EMAIL PROTECTED]> writes
>>Daylight time started on April 3 - what's strange about your system knowing
>that
>>
>>>Hi,
>>>When I run date, it prints
>>>
>>>Mon Apr 5 12:52:47 EDT 1999
>>>
>>>Notice that it's April 5, yet it still says it's daylight savings
>>>time. Shouldn't the timezone be EST?
>>>
>>
>No - it *was* EST. Now we [you] are in EDT.
>
>My system switched from PST to PDT.
>
>The only problem is that the time remained the same.
>
>If anyone knows why the time remained the same instead of moving
>ahead one hour, please let me know.
>
Could it be that you've told it to assume the hardware clock is set to
local time, because you're dual-booting MickeyCrap OS's?
In that case linux will assume they have altered the clock, and if you
haven't actually used them then of course it'll be wrong. If you are
only using linux you should tell linux to set the hardware to GMT/UST
and it'll sort everything out.
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Trousers with a single hole in their waistband are topologically equivalent
to a doughnut. These sugarcoated trousers have yet to catch on at fast-food
outlets! (SuperStrings by F. David Peat)
If replying by e-mail please mail wol. Anything else may get missed amongst
the spam.
------------------------------
From: [EMAIL PROTECTED] (Floyd Davidson)
Subject: Re: Why Linux still isn't my standard boot-up OS, or what are the
Linux-equivalents for these Windoze programs?
Date: 11 Apr 1999 22:15:55 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
Harry Lewis <[EMAIL PROTECTED]> wrote:
>> Which couldn't be done at all with a GUI. And nothing close to it can
>either.
>
>Really? I'm sure I could build a dialog to do _just_ that!
Really. You just described accessing a CLI to do it.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
UPDATED Mar 20, North Slope images: <http://www.ptialaska.net/~floyd>
------------------------------
From: Mark Robinson <[EMAIL PROTECTED]>
Subject: Forever spawning process
Date: Sun, 11 Apr 1999 22:33:13 GMT
What happens if some user spawns a forever forking process? Will linux
stop it's growth? Is there a way to kill all of a users processes?
------------------------------
** 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
******************************