Linux-Misc Digest #229, Volume #26 Sat, 4 Nov 00 19:13:01 EST
Contents:
Re: cd burning ([EMAIL PROTECTED])
Re: help: man fg/bg colors == (David Efflandt)
Re: LinkSys betrayed us! Poor prospects for Linux. ("Les Mikesell")
Screen Flicker In X (Kevin Brown)
Re: Hostname Lookup Failure outgoing mail (David Efflandt)
Re: PAN Newsreader Questions/Discussion! (Douglas E. Mitton)
Capturing input/output ("Paul")
Copy files from FD to Netscape?? (ALDEL)
Re: How to check passwd is correct? (David Efflandt)
Re: localtime & zoneinfo (Mark Post)
Re: LinkSys betrayed us! Poor prospects for Linux.
Errata Re: newbie makes fatal mistake... (Stanislaw Flatto)
Re: Adding NIC + scanner ([EMAIL PROTECTED])
managing software ("Bartosz Aninowski")
Re: KDE boycotting RedHat? (Kevin Mooneyham)
Re: samba and etc/printcap? (Brad Friedman)
Just getting into linux ([EMAIL PROTECTED])
Re: How to check passwd is correct? ("Alan J. Flavell")
Re: slocate eating up inodes? (David Efflandt)
cd burner mounts as read-only... ([EMAIL PROTECTED])
Re: Capturing input/output ("bluster")
Re: KDE boycotting RedHat? (nuk)
Re: SMTP problem (David Efflandt)
Re: Capturing input/output ("bluster")
FTP problem (ipchains?) (Edwin Humphries)
Re: cd burner mounts as read-only... ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: cd burning
Date: Sat, 04 Nov 2000 20:05:02 GMT
YOU ARE D'MAN!!!
Never would have got it without your help. Thanks.
Darren
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> On Sat, 04 Nov 2000 05:05:32 GMT, [EMAIL PROTECTED] wrote:
> >I am having trouble getting a cd that I burn to play in my stepson's
> >stereo. His stereo will play cdr's that somebody else burned for him
> >using Windows and Adaptec Easy CD Creator. And, the cdr's that I
make
> >will play on my stereo.
> >
> >I am using Linux because I haven't been able to burn one at all in
> >Windows. Here is the command that I'm using:
> >
> >cdrecord -v dev=0,0,0 speed=2 -nofix -audio -pad /mnt/hda1/<wav file
> >directory>/*
> >Can anyone tell me what I might be doing wrong?
>
> If you want to create the CD all in one shot, leave the -nofix off. A
> lot of audio CD players cannot play an unfixated disk. The -nofix
> option is intended to let you create an audio CD in discrete steps
(burn one
> track with -nofix, play Quake for a while, burn another track with
> -nofix, etc.) Once you've burned all the tracks, just do "cdrecord
-fix
> dev=X,Y,Z" and the audio Cd should play in any audio CD player. HTH,
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us
to see
> Brainbench MVP for Linux Admin / Workin' in a code mine, hittin'
Ctrl-Alt
> http://www.brainbench.com / Workin' in a code mine, whoops!
> -----------------------------/ I hit a seg fault....
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: help: man fg/bg colors ==
Date: Sat, 4 Nov 2000 20:17:54 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 04 Nov 2000 12:35:37 -0500, John D Prokopek <[EMAIL PROTECTED]> wrote:
>Can some help me out?
>
>I am running rh6.2 and run my xterm with black fg on a yellow
>background.
>Normally everything displays find, EXCEPT man pages.
>for some reason man displays yellow on yellow. The only thing that
>is displayed in black is the ':' on the bottom.
>I have tried different console types and color combinations but it seems
>that no matter what I do the man page does not show except for the ':'
>
>help would be greatly appreciate
It would be nice if xterm did something to make colors, like yellow
visible on its white background.
The Konsole in KDE has a menu for settings and the Gnome Terminal has
some way to change settings too. But the Konsole is too wide if I need
to load 3 or 4 of them, so I simply use "xterm -r" to reverse the white
xterm background to black, like a normal console.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: "Les Mikesell" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Sat, 04 Nov 2000 20:18:20 GMT
"Paul Gienger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I too have this card, and never thought I'd use my primary box for linux
on
> a network. Now that I'm gonna have DSL, I'm really regretting that
choice.
> Looks like I'll be making a trip down to the local PC store for a decent
> 3com :( At least those work in every OS... :)
Wasn't the Linux driver included on a floppy in the box with the
card? Or, if you already have a dial-up connection working
just grab the newest before you switch.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Kevin Brown <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Screen Flicker In X
Date: Sat, 04 Nov 2000 20:40:26 GMT
I am running RedHat 7.0 with GNOME and the SawFish window manager in
XFree86 4.0.1. The entire screen gets little graphical errors/lines
around everything whenever something is being redrawn. The video card
is an onboard SiS 5597/5598 that shares main memory on a crappy PC100
motherboard. I recently replaced the 16 meg SIMMS with a 128meg DIMM,
and the problem got much worse. Can anyone tell me any way to fix this?
Thanks,
Kevin
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Hostname Lookup Failure outgoing mail
Date: Sat, 4 Nov 2000 20:57:59 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 04 Nov 2000 04:03:01 GMT, GEDEOND <[EMAIL PROTECTED]> wrote:
>Any Help would be appreciated.
>I am unable to locate the problem. I can receive mail in Redhat 5.2 from an
>IBM RS6000 -- but I cannot send mail out to it.
>It is in my /etc/hosts file, etc.
>Can anyone clue me in as to where I have not added misc2.com?
>
>Thanks in advance - Dave.
>
>Here is some info:
>
>/root> date | sendmail -v -bv [EMAIL PROTECTED]
>[EMAIL PROTECTED] deliverable: mailer esmtp, host misc2.com., user [EMAIL PROTECTED]
>/root> date | sendmail -v -bm [EMAIL PROTECTED]
>[EMAIL PROTECTED] Deferred: Name server: misc2.com.: host name lookup failure
>/root> sendmail -bh
>/root> sendmail -bH
>/root> date | sendmail -v -bm [EMAIL PROTECTED]
>[EMAIL PROTECTED] Deferred: Name server: misc2.com.: host name lookup failure
>/root> date | sendmail -v -bm -d9 [EMAIL PROTECTED]
>getauthinfo: root@localhost
>host_map_lookup(misc2.com) => misc2.com
>[EMAIL PROTECTED] Deferred: Name server: misc2.com.: host name lookup failure
>/root>
What do you get if you 'ping misc2.com' or 'telnet misc2.com 25'? I think
sendmail might be attempting to use DNS to lookup an MX record for the
destination first and cannot find any record of that name at all. Try
e-mail to its IP in brackets like:
date | /usr/lib/sendmail -v dlg@[192.168.1.1]
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (Douglas E. Mitton)
Subject: Re: PAN Newsreader Questions/Discussion!
Reply-To: [EMAIL PROTECTED]
Date: Sat, 04 Nov 2000 21:18:36 GMT
I just downloaded V0.9.1 today. I wasn't looking for any detailed
information so I probably won't join the mailing list just now.
Due to the favorable comparissons to Agent I've read in the various
groups, I was just looking for convenient useage tips.
I tried the "n" short cut but it didn't appear to change the behavior.
Basically I find it awkward to remove my hands from the keyboard (to
use the mouse) while reading news ... at least while following a
thread. Pan still requires that I click (or double) to get the
message body visible.
Thanks for your response. I'd hate to think I'm just not using right
...
"Jan Schaumann" <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>
>> I've been reading in the various Linux newsgroups about Pan, about how
>> its native Linux and very Agent-ish and I thought I'd give it a try.
>>
>> Now, I realize it is Beta but I have some questions about the proper way
>> to "use" it. Are there any Pan experts here who can give me some
>> pointers?
>
>The *real* pan-experts read the pan-user-mailinglist (it's
>[EMAIL PROTECTED] - see http://www.superpimp.org for how to
>scubscribe and where it's archived). Seriously, every question you aks
>there will be answered in a very short time, lots of helpful firendly
>people there.
>
>> I am a long term Agent user and my Usenet experience is very closely
>> tied to how Agent works, Pan looks very similar BUT it doesn't act the
>> same.
>>
>> There are a few things that I've seen BUT I will just ask about them
>> one-at-a-time as I encounter them.
>>
>> The first one that I found is the way the reading cursor proceeds
>> through the Subject window. Prior to this I have subscribed to a group,
>> loaded in the headers and proceeded to delete all that I'm not
>> interested in. Then I Flag all the remaining headers and click
>> "Download All Flagged Articles". (I tried to press "j" as I initially
>> read through the headers BUT it won't increment to the next header when
>> I do that.)
>>
>> Now I click on the first article, read it then I press delete, the next
>> article header is selected BUT the message body doesn't appear until I
>> click on the subject.
>>
>> Is there a way around this, such that as soon as the message subject is
>> selected the body is displayed. And also, maybe associated with it,
>> when I Flag each individual header that it increments to the next
>> automatically.
>
>What version do you use? I'm not sure, but I *think* that 0.9.1 does have
>single-click-preview enabled - that is, when you select a message you
>autmoatically download the body. There is the shortcut "n" (which does
>this) and tehre is "shift+n", which only selects the next article-header
>without downloading the body.
>In previous versions this was the other way around, but people complained
>that they would primarily use the option that downloads the body as well,
>so it was swapped (got me?).
>
>If you're interested in Pan and the latest advances, you might want to
>compile the latest from CVS (again see http://www.superpimp.org for
>details)...
>
>Also, 0.9.2 is about to be published in a couple of days.
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
------------------------------
From: "Paul" <[EMAIL PROTECTED]>
Subject: Capturing input/output
Date: Sat, 04 Nov 2000 21:41:06 GMT
I need to somehow capture and print out an interactive session with a C
program I wrote. I need to show what the user input and what the program
output to the screen. Is there an easy way to do this without modifying the
program to print to a file or something? Thanks
Paul
------------------------------
From: [EMAIL PROTECTED] (ALDEL)
Date: Sat, 04 Nov 2000 16:48:54 -0500
Subject: Copy files from FD to Netscape??
Have Mandrake 7.1, KDE running fine on Pent.1.
Want to copy files from Floppy dr. to Netscape bookmark.
Can find Netscape import, and access Fd, but do not know how to import
files from floppy.
Help much appreciated.
Albert, Wa3fib.
--
===========================================================
[EMAIL PROTECTED] (ALDEL)
===========================================================
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.lang.perl.misc
Subject: Re: How to check passwd is correct?
Date: Sat, 4 Nov 2000 21:51:40 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sun, 05 Nov 2000 01:01:12 +0800, Beggar <[EMAIL PROTECTED]> wrote:
>
>How can I write a program in shell script or perl to
>test user's input passwd is correct compare with /etc/shadow?
>Is that need to use "crypt()" ? any other quick method or
>function that I can pass the input and compare the string to
>the shadow file's passwd field?
>
>Please reply to "[EMAIL PROTECTED]"
At first I was thinking of getpwnam() but that just gets you an "x" with
shadow passwords.
Parsing /etc/shadow is easy, colon separated fields for each username,
like a password file for web authentication. The problem is, only root
can read it.
If you can overcome that, telling if a user supplied password is valid is
easy in Perl by simply crypting the plain text password with the crypted
password as salt:
crypt($plainpw,$cryptpw) eq $cryptpw || die "password failed";
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: localtime & zoneinfo
Date: Sat, 04 Nov 2000 22:02:51 GMT
On Sat, 04 Nov 2000 10:48:45 -0500, Wayne Pollock <[EMAIL PROTECTED]> wrote:
>I was curious how the /etc/localtime file interacted with the TZ
>environment variable. "man 5 localtime" and "man zoneinfo" didn't
>work. Where is this stuff documented?
Wayne,
As far as I can tell, there is _no_ interaction. On my Slackware system TZ
doesn't even get set.
Mark Post
Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.
------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Sat, 04 Nov 2000 22:11:21 GMT
On Fri, 03 Nov 2000 15:29:50 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.hardware [EMAIL PROTECTED] wrote:
>: Tested three systems on my server. Windows 2000 server, Novell 5.x, and
>: Redhat Linux server. Of the three, Windows 2000 server is the only one
>: that I could get up and running and working as a intranet file server
>: in and exceptable amount of time. The others have takin over a week to
>
>Then you are a retard. I could install and set up a linux machine using
>the exact same ethernet card (The Linksys one) in less than an hour. In
>fact, I did that just the other night.
Get over yourself, friend. Driver issues are often subtle, especially
with unusual or low end hardware. I've had mixed success with LinkSys,
directly related to the quality of the *computer* I tried it on. For
example, RedHat 6.1 on a 500 MHz eMachine with an el-cheapo Linksys
card was just hopeless: I actually returned the computer, it was such
a piece of
useless-undocumeted-weird-chipset-undocumented-no-support-buggy-etc-etc
underpriced junk.
What's the server and Linux version we're talking a bout here?
------------------------------
From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Errata Re: newbie makes fatal mistake...
Date: Sun, 05 Nov 2000 09:26:51 +1100
[EMAIL PROTECTED] wrote:
Hi newcomer.
Newbies make (simple, stupid, idiotic - check one) mistakes.
Fatal mistakes are the sole province of experts and gurus.
Have fun.
Stanislaw.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Adding NIC + scanner
Date: Sat, 04 Nov 2000 22:29:12 GMT
In article <8u1ksq$ebr$[EMAIL PROTECTED]>,
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
[snip]
> No, those work fine. No hassle, and 9-10MB/s in tcp on 100BT. Very
> impressive and about twice as fast as my older 3c905's. More reliable
> than my intel eepro100's.
Well, I've (relatively) no problem with the NIC (other than no Solaris
drivers, but that's another story).
> : It's quite some time since I've built a kernel and configured lilo,
and
> : it's here that I've been having problems. When I rebuilt my kernel,
> : vmlinux shot up from around 700K previously to about 1.8M. Is that
>
> Son't you mean bzImage? vmlinux is the uncompressed image, which you
> don't use. It gets compressed by gzip and header code added to become
> bzImage.
> You probably need to read some of the Kernel or Module HOWTOs to
remind
> yourself of what's up.
You're right! Time to get that surf board out.
Regards
Paul
--
Paul Floyd
http://paulf.free.fr (now with improved pictures!)
mail: as web, without http, replacing first dot with @
Is atrophy a shiny cup?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Bartosz Aninowski" <[EMAIL PROTECTED]>
Subject: managing software
Date: Sat, 4 Nov 2000 23:47:06 +0100
I am looking for simple but safety aplicication to
manage (from WWW) user quota, user accounts(e-mail, password etc) and
subdomain entry.
It could be not for admin just for users in order to setup all thing by
themselfs.
Bart
------------------------------
From: Kevin Mooneyham <[EMAIL PROTECTED]>
Subject: Re: KDE boycotting RedHat?
Date: Sat, 04 Nov 2000 18:01:34 GMT
Larry Autry wrote:
> [EMAIL PROTECTED] (Ed Hurst) wrote in <[EMAIL PROTECTED]>:
>
> >Anybody know why the KDE packagers are boycotting RH 6.x users? It's the
> >third day of KDE2 release now, and there are only a paltry few SRPMs on
> >all ftp sites.
> >
> >Ed
> >
> This link for RH 6.2 was in the KDE2 announcement page:
> http://master.kde.org/~bero/rc2/rh6.2/i386/
>
> If you missed the announcement page, here it is:
> http://www.kde.org/announcements/announce-2.0-RC2.html
>
> Larry Autry
> [EMAIL PROTECTED]
Isn't that a pre-release version?
------------------------------
From: [EMAIL PROTECTED] (Brad Friedman)
Subject: Re: samba and etc/printcap?
Date: Sat, 04 Nov 2000 22:52:38 GMT
Thanks for the help. I actually ended up just using lpd since that was
much easier to set up. The Linux How To was very straight forward.
Brad
Daryl Fonseca-Holt <[EMAIL PROTECTED]> wrote:
>
>You need to use smbprint from /etc/printcap, not smbclient.
>
>On Thu, 02 Nov 2000 21:06:43 GMT,
>Brad Friedman <[EMAIL PROTECTED]> wrote:
>>I am currently using my roommate's printer via our local network. When I
>>want to print I use samba by typing the following at the prompt:
>>
>>smbclient //hostname/printername -c 'print filename'
>>
>>This works fine, but I'd like to set up my /etc/printcap so that I can
>>just use lpr. I tried entering the following line in printcap:
>>
>>lp:lp=/dev/null:of="smbclient //hostname/printername 'print '":
>>
>>but that doesn't work. What am I doing wrong?
>>
>>
>>Brad
>>
>>
>>--
>>
>>
>>____________________________________________________________
>>Freedom of expression. Freedom of belief. Freedom of speech.
--
____________________________________________________________
Freedom of expression. Freedom of belief. Freedom of speech.
------------------------------
From: [EMAIL PROTECTED]
Subject: Just getting into linux
Date: Sat, 04 Nov 2000 23:01:30 GMT
Hi there,
I am still new at linux. I am using outlook express for all my emails.
I was wondering if there is any way to read them if I change to linux?
Regular email clients are in *.mbx if I am not mistaken and outlook
express has *.dbx
thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Alan J. Flavell" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.perl.misc
Subject: Re: How to check passwd is correct?
Date: Sat, 4 Nov 2000 23:53:36 +0100
On Sun, 5 Nov 2000, Beggar wrote:
> How can I write a program in shell script or perl to
> test user's input passwd is correct compare with /etc/shadow?
This isn't a Perl question.
Don't do that, for the reasons shown in the Apache FAQ item.
Every attempt to use logon credentials for other purposes just
adds extra insecurity to the logon system.
> Is that need to use "crypt()" ? any other quick method or
> function that I can pass the input and compare the string to
> the shadow file's passwd field?
If you absolutely must check a user's credentials then ask the system
to do it for you. Don't try to hand code it. The whole reason the
shadow file is made readable only by root is for security reasons.
If you want any damned program to be able to read it, you might as
well not use shadow passwords.
> Please reply to "[EMAIL PROTECTED]"
When you ask questions here, you expect to find answers here.
f'ups set.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: slocate eating up inodes?
Date: Sat, 4 Nov 2000 23:12:49 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 30 Oct 2000 09:07:24 -0300, Guillermo Labatte <[EMAIL PROTECTED]> wrote:
>I discovered my linux box was crashing every other day due to inode
>depletion.
>My first though was to increase inode-max. I did it, then checked
>inode-nr regularly. No matter how high I set inode-max, the number in
>inode-nr (first value) continued rising.
>So I created a log, sampling inode-nr values every two minutes. I
>discovered the numbers went more or less the same all day, but at 4am
>inode-nr increased in 14000 units every day. That is the time when
>cron.daily scripts run. I modified the scripts in order to create a log
>of inode-nr values (before and after the script execution). The culprit
>seem to be the slocate script. After its execution inode-nr is increased
>in 14000 units.
>So the question is... Is somebody aware of a problem with slocate? Is
>there a solution other than disable the script? Are other programs apart
>from slocate affected?
>
>Setup info:
>distribution: Mandrake 7.0
>kernel version: 2.2.14
>slocate version: Secure Locate v2.1 - Released October 19, 1999
> (library dependencies)
> libc.so.6 => /lib/libc.so.6 (0x00128000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00110000)
Just curious how you tell what inode-nr (mine is 12300 7266) and inode-max
(mine 12288) are for? For my main box running Mandrake 7.0 24/7 with a
generic 2.2.17 kernel, df shows 26% disk use and 12% inodes used for /,
and 9% use and 1% inodes for /var. My laptop runs less often overnight
and df shows / 91% used, but only 41% of its inodes used (/boot is using
1% of its inodes). I have never had an inode shortage even on a partition
that was relatively full.
Are you running postfix? I never could figure out how to configure it and
did not notice its jumbo log and saved cron msgs it could not send, until
my /var was almost full. I removed postfix and installed sendmail
instead, which works for me without any configuration.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED]
Subject: cd burner mounts as read-only...
Date: Sat, 04 Nov 2000 23:09:48 GMT
I have a scsi CD burner that mounts as "read-only." When I mount it, I
get the message:
"block device /dev/scd0 is write-protected, mounting read-only"
I'm a bit puzzled here because I have explicitly set my /etc/fstab to
mount the drive as both readable and writable. Can anybody suggest
what
to do on top of this in order to remove the write protection?
Using: SuSE 7.0 Pro
Burner: Yamaha CDRW
relevant /etc/fstab setting:
/dev/scd0 /cdrom2 iso9660 rw,noauto,user,exec 0 0
I know that the burner is a scsi device; my /var/log/boot.msg reads as
follows:
<4>scsi : 1 host.
<6>(scsi0:0:3:0) Synchronous at 8.0 Mbyte/sec, offset 15.
<4> Vendor: YAMAHA Model: CRW4416S Rev: 1.0f
<4> Type: CD-ROM ANSI SCSI revision: 02
<4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
Any suggestions?
Thanks,
Ken
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: Capturing input/output
Date: Sat, 4 Nov 2000 18:22:23 -0500
Paul <[EMAIL PROTECTED]> wrote in message
news:Sn%M5.389681$[EMAIL PROTECTED]...
> I need to somehow capture and print out an interactive session with a C
> program I wrote. I need to show what the user input and what the program
> output to the screen. Is there an easy way to do this without modifying
the
> program to print to a file or something? Thanks
>
> Paul
The linux command you need is called "script".
It will make a log file of everything which apears on the
screen. To end the log capture type CTRL-D (CTRL-D == EOF)
e.g.
$ script outputfile
$ my-c-prog
...
<lots of output>
...
$ ^D
see also: man script
Bluster
------------------------------
From: nuk <[EMAIL PROTECTED]>
Subject: Re: KDE boycotting RedHat?
Date: Sat, 04 Nov 2000 17:27:14 -0700
Kevin Mooneyham wrote:
> Larry Autry wrote:
>
> > [EMAIL PROTECTED] (Ed Hurst) wrote in <[EMAIL PROTECTED]>:
> >
> > >Anybody know why the KDE packagers are boycotting RH 6.x users? It's the
> > >third day of KDE2 release now, and there are only a paltry few SRPMs on
> > >all ftp sites.
> > >
> > >Ed
> > >
> > This link for RH 6.2 was in the KDE2 announcement page:
> > http://master.kde.org/~bero/rc2/rh6.2/i386/
> >
> > If you missed the announcement page, here it is:
> > http://www.kde.org/announcements/announce-2.0-RC2.html
> >
> > Larry Autry
> > [EMAIL PROTECTED]
>
> Isn't that a pre-release version?
I agree. Whenever someone questions where the heck the KDE 2.0 final release
rpm's are for RH 6.2, people pipe up giving this link or one similar to it.
But I challenge anyone to provide a url to official rpms for KDE 2.0 final,
the same version as released for SuSE 7.0, RH 7.0, etc. I've spent a
considerable amount of time looking, and with no success. You might find a
directory for KDE 2.0, and and it might have subdirectories for RedHat, w/
further subdirectories for 6.2 & 7.0, but the 6.2 directories only contain
SRPM's.
WHAT THE HECK IS THE DEAL?!!?
Monte
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: SMTP problem
Date: Sat, 4 Nov 2000 23:25:35 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 28 Oct 2000, Rafael - LumesITSupport <[EMAIL PROTECTED]>
wrote:
>I can not configure my qmail server. I can log to it if I telnet
>127.0.0.1 25 , but when I telnet using IP address (ex. telnet
>130.235.0.234 25 ) I am getting Connection closed by foreign host.
>In Host.allow I write down my IP, what I should configure to get my SMTP
>working
I am not familiar with qmail or if it has its own file called Host.allow,
but /etc/hosts.allow does not usually have anything to do with smtp
servers unless qmail is started from /etc/inetd.conf, and if so, would
need more in hosts.allow than just an IP (see 'man 5 hosts_access').
But it could be that you are blocking outside access with a firewall. Are
you doing anything with ipchains?
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: Capturing input/output
Date: Sat, 4 Nov 2000 18:29:49 -0500
Sorry, press ^d (CTRL-d) with a lower case d to stop logging.
bluster <[EMAIL PROTECTED]> wrote in message
news:FS0N5.423$[EMAIL PROTECTED]...
> Paul <[EMAIL PROTECTED]> wrote in message
> news:Sn%M5.389681$[EMAIL PROTECTED]...
> > I need to somehow capture and print out an interactive session with a C
> > program I wrote. I need to show what the user input and what the program
> > output to the screen. Is there an easy way to do this without modifying
> the
> > program to print to a file or something? Thanks
> >
> > Paul
>
> The linux command you need is called "script".
> It will make a log file of everything which apears on the
> screen. To end the log capture type CTRL-D (CTRL-D == EOF)
>
> e.g.
> $ script outputfile
> $ my-c-prog
> ...
> <lots of output>
> ...
> $ ^D
>
> see also: man script
>
> Bluster
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Edwin Humphries)
Subject: FTP problem (ipchains?)
Reply-To: [EMAIL PROTECTED]
Date: Sat, 04 Nov 2000 23:38:15 GMT
G'day,
An acquaintance set up ipchains firewalling on our office server, and
went much too fast for me to understand what he was doing.
Now, whenever I try to connect to an FTP server, I get a "PORT"
command error, and my guess is that the server firewall is set to
reject any FTP access. That's OK for external access (ie, outside
users getting access to any of our files in house, or using security
holes in FTP to crack into our system) but we need FTP access from
inside the office (both up- and down-loading).
Am I right in suspecting the ipchains setup?
How do I edit this to allow FTP access (both in terms of what do I
edit and how do I edit it, and what di I change and what do I change
it to)?
Am I going to create any security problems by making these changes? If
so, how do I get both reasonable security (recognising there's no
complete security except permmanent disconnection) AND FTP access?
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: cd burner mounts as read-only...
Date: Sat, 04 Nov 2000 23:43:16 GMT
[EMAIL PROTECTED] wrote:
> I have a scsi CD burner that mounts as "read-only." When I mount it, I
> get the message:
> "block device /dev/scd0 is write-protected, mounting read-only"
> I'm a bit puzzled here because I have explicitly set my /etc/fstab to
> mount the drive as both readable and writable. Can anybody suggest
> what
> to do on top of this in order to remove the write protection?
You can't.
You have to download a program which allows you to burn data to the
CD. I would recommend cdrecord.
Adam
------------------------------
** 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
******************************