Linux-Misc Digest #190, Volume #25 Thu, 20 Jul 00 19:13:02 EDT
Contents:
Re: xfs fails during start up (Bob Tennent)
How to resize Linux Screen? (Neal Rhodes)
Re: How to resize Linux Screen? (Grant Edwards)
minicom (Trevor Brown)
compiling large files ([EMAIL PROTECTED])
Dualboot - Windows 2000 and Redhat 6.2 ("Shane R. Ward")
Re: How to resize Linux Screen? (Neal Rhodes)
Re: Please sign the "Grand Prix Legends" petition! ("Bruce Kennewell")
Re: Dualboot - Windows 2000 and Redhat 6.2 (wizztick)
Re: Howto run 2.4* kernel? (Johan Kullstam)
Re: color in emacs (M. Vogelgesang)
Re: compiling large files (Dances With Crows)
Re: monitor sync / startx problem (nates)
Re: compiling large files ("Jan Schaumann")
Re: Defraging against LILO? ("Scott Rose")
Re: Use "force" with rpm? (Mike Fontenot)
Re: [OT!!] Please sign the "Grand Prix Legends" petition! (Homer Jay)
Re: Use "force" with rpm? (Mike Fontenot)
Re: looking for tape device (Mike Fontenot)
Re: Random Power Shutdown (Chem-R-Us)
Re: Please sign the "Grand Prix Legends" petition! (David Steuber)
Re: Defraging against LILO? ("Michael Westerman")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Crossposted-To: linux.redhat.misc,comp.os.linux.x,redhat.x.general
Subject: Re: xfs fails during start up
Date: 20 Jul 2000 20:59:01 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 20 Jul 2000 13:22:48 -0700, Robert Sparr wrote:
>I have made some progress on the X Windows problem I posted earlier.
>I've found that xfs is failing to start.
>
>From /var/log/messages:
>Jul 20 06:11:41 lab_1_linux xfs: xfs startup succeeded
>Jul 20 06:11:41 lab_1_linux xfs: Fatal font server error:
>Jul 20 06:11:41 lab_1_linux xfs: Cannot establish any listening sockets
>
>I have found through experiment that trying to run:
>xfs -droppriv -daemon -port -1
>from the prompt it will fail in the same way.
>
>But, if I run xfs -daemon from the prompt, it works
>
>Once I've done this, I can killall xfs and then I can run:
>xfs -droppriv -daemon -port -1
>at the prompt and it runs fine, and then I can run
>/usr/bin/gdm -nodaemon from the prompt and go into X Windows.
>
Likely a permissions problem at /tmp that is preventing creation
of a socket for xfs. You should have
drwxrwxrwt root root /tmp/
drwxrwxrwt xfs xfs /tmp/.font-unix/
Bob T.
------------------------------
Date: Thu, 20 Jul 2000 17:10:54 -0400
From: Neal Rhodes <[EMAIL PROTECTED]>
Subject: How to resize Linux Screen?
I've been searching dejanews to no avail on this topic.
Situation: Telnetting into linux RH 6.1 system from the outside
world, maybe Qvtnet on PC, maybe SCO unix.
I resize my window to something other than 25x80. now, under SCO
unix I would have to adjust some shell variables to make Vi, and
other screen oriented programs aware of it, thusly:
eval `resize`
What is the corresponding thing under linux?
--
==============================================================================
Neal Rhodes MNOP Ltd (770)-
972-5430
President Lilburn (atlanta) GA 30247 Fax:
978-4741
[EMAIL PROTECTED]
http://www.mnopltd.com/
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: How to resize Linux Screen?
Date: Thu, 20 Jul 2000 21:15:57 GMT
In article <[EMAIL PROTECTED]>, Neal Rhodes wrote:
>I resize my window to something other than 25x80. now, under SCO
>unix I would have to adjust some shell variables to make Vi, and
>other screen oriented programs aware of it, thusly:
> eval `resize`
>
>What is the corresponding thing under linux?
Nothing.
The telnet client should inform the telnet server that the
window size has changed, and the telnet server should send a
signal to the app, and the app should do what's right.
That's they way it works for everything I do via telnet (mutt,
slrn, jed, emacs, ...).
--
Grant Edwards grante Yow! ... My pants just
at went on a wild rampage
visi.com through a Long Island
Bowling Alley!!
------------------------------
From: [EMAIL PROTECTED] (Trevor Brown)
Subject: minicom
Date: 20 Jul 2000 21:08:00 GMT
Hi:
I've run minicom a couple of times, and I'm having trouble configuring it
properly. At first, it told me that the administrator had to run minicom
-s, and so I did this. I also have no problem running minicom as root.
But when I try to run it as a normal user, it says "/dev/modem permission
denied" or some other such error.
How can I set this up to run when I'm logged in as a normal user?
Trevor
------------------------------
From: [EMAIL PROTECTED]
Subject: compiling large files
Date: Thu, 20 Jul 2000 21:06:58 GMT
I want to compile (in linux) a program I wrote in C++
in a microsoft windows IDE, but the program has
many files. How do I do this? I've compiled a
single-file program successfully. What is the
syntax when I'm working with several .cpp files
with .h files, etc.
-Dave L.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Shane R. Ward" <[EMAIL PROTECTED]>
Subject: Dualboot - Windows 2000 and Redhat 6.2
Date: Thu, 20 Jul 2000 21:29:02 GMT
So far I have done the following -
Created boot file using (sda5 = /root):
# dd if=/dev/sda5 of=/bootsect.lnx bs=512 count=1
Copied "bootsect.lnx" from Linux partition to boot drive ( C:/ ).
Modified "boot.ini" to include:
c:/bootsect.lnx="Linux"
When I select "Linux" at bootup I get a black screen with a blinking
cursur.
Any ideas??
Thanks,
Shane
------------------------------
Date: Thu, 20 Jul 2000 17:39:58 -0400
From: Neal Rhodes <[EMAIL PROTECTED]>
Subject: Re: How to resize Linux Screen?
Yes, I was aware of that mechanism, but it's not happening when using
either SCOTERM or a win95 pc using qvtnet. If I'm careful and make
sure I do the eval `resize` and resize in SCO, then do a telnet, it
works ok. If I attempt to resize while in linux, nope, it does not.
At least not for vi and linuxconf.
Grant Edwards wrote:
>
> In article <[EMAIL PROTECTED]>, Neal Rhodes wrote:
>
> >I resize my window to something other than 25x80. now, under SCO
> >unix I would have to adjust some shell variables to make Vi, and
> >other screen oriented programs aware of it, thusly:
> > eval `resize`
> >
> >What is the corresponding thing under linux?
>
> Nothing.
>
> The telnet client should inform the telnet server that the
> window size has changed, and the telnet server should send a
> signal to the app, and the app should do what's right.
>
> That's they way it works for everything I do via telnet (mutt,
> slrn, jed, emacs, ...).
>
> --
> Grant Edwards grante Yow! ... My pants just
> at went on a wild rampage
> visi.com through a Long Island
> Bowling Alley!!
--
==============================================================================
Neal Rhodes MNOP Ltd (770)-
972-5430
President Lilburn (atlanta) GA 30247 Fax:
978-4741
[EMAIL PROTECTED]
http://www.mnopltd.com/
------------------------------
From: "Bruce Kennewell" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,rec.autos.simulators
Subject: Re: Please sign the "Grand Prix Legends" petition!
Date: Fri, 21 Jul 2000 07:44:50 +1000
Read the analogy again.
--
Regards,
Bruce Kennewell,
Canberra, Australia.
===========================
Homer Jay <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thu, 20 Jul 2000 17:40:52 +1000, Bruce Kennewell <[EMAIL PROTECTED]>
wrote:
> >No...he's one of a band of people who believe that Linux will one day
become
> >the pre-eminent operating system.
> >They are a little like Mac owners: very, very devoted to their cause.
> >Regards, >Bruce Kennewell, >Canberra, Australia.
>
> I'm nothing like a Mac owner. Those kooks couldn't find their arse
> with both hands!
------------------------------
From: [EMAIL PROTECTED] (wizztick)
Subject: Re: Dualboot - Windows 2000 and Redhat 6.2
Date: Thu, 20 Jul 2000 21:45:47 GMT
yep,
have you installed LILO on /dev/sda5 ??
see the HOWTO's for more info.
"Shane R. Ward" <[EMAIL PROTECTED]> wrote:
>So far I have done the following -
>
>Created boot file using (sda5 = /root):
># dd if=/dev/sda5 of=/bootsect.lnx bs=512 count=1
>
>
>Copied "bootsect.lnx" from Linux partition to boot drive ( C:/ ).
>
>Modified "boot.ini" to include:
>c:/bootsect.lnx="Linux"
>
>When I select "Linux" at bootup I get a black screen with a blinking
>cursur.
>
>Any ideas??
>
>Thanks,
>
>Shane
>
>
------------------------------
Subject: Re: Howto run 2.4* kernel?
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Thu, 20 Jul 2000 21:57:03 GMT
[EMAIL PROTECTED] writes:
> In article <[EMAIL PROTECTED]>,
> ray <[EMAIL PROTECTED]> wrote:
> > David Steuber wrote:
> >
> > > [EMAIL PROTECTED] writes:
> > >
> > > ' Hi,
> > > ' Please excuse me if this is obvious...
> > > ' But how would you go about upgrading to one of the 2.4 beta
> kernels?
> > >
> > > It is mostly the same for all system.
> > >
>
> <snip>
>
> > I am running RH6.2, the 2.4.0-test4 compiled here without any
> issues. I did
> > compile in support for LVM, first
> > with the -test2 release, and again with -test4. What a wonderful
> addition to our
> > world. I did the process exactly as David has described, and there was
> no
> > unpleasantness. Go for it!
>
> Ok, sounds like I was reading more into the process then it deserved! I
> can compile & install kernels in my sleep, but thought that there might
> be more to it to jump to the next generation of kernel.
>
> Can you get > 2GB files now with your setup?
yes and no. the kernel may support the large files, but you go
through libc to get to them. lseek takes a long. long is a 32 bit
quanitity on most gcc ia32 arch setups. i think by recompiling libc
to support the long files and using things llseek (which takes a long
long) you can access the big files. most stuff won't do it without at
least a recompile. a minor porting effort may be required too.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
From: M. Vogelgesang <[EMAIL PROTECTED]>
Subject: Re: color in emacs
Date: Thu, 20 Jul 2000 23:47:14 +0200
On 20 Jul 2000 11:57:34 +0200, Stefano Ghirlanda
<[EMAIL PROTECTED]> wrote:
>Hi,
>I would like to know if emacs can display color in the linux console.
>I could not find any info on this in the emacs info files...
>Thanks for your help,
>Stefano
The current version of emacs cannot display colour in the console, only
xemacs can. But I heard that the next version of emacs (some time this
year??) is supposed to be capable of displaying colours even in the
console.
Manfred
--
To reply remove all the numbers in my e-mail address.
Alle Zahlen sind aus der e-mail-Adresse zu entfernen,
um mir per e-mail zu antworten.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: compiling large files
Date: 20 Jul 2000 22:01:36 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 20 Jul 2000 21:06:58 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>I want to compile (in linux) a program I wrote in C++
>in a microsoft windows IDE, but the program has
>many files. How do I do this? I've compiled a
>single-file program successfully. What is the
>syntax when I'm working with several .cpp files
>with .h files, etc.
g++ -o crud crud1.cpp crud2.cpp [...] crudN.cpp will work, but if you
are working on a big project, you would more than likely use a Makefile
(or several of them!) Any book on C programming in a Unix environment
should explain the basics of make. Basically, a makefile specifies
dependencies and actions to take to fulfill those dependencies. Here's
a simple makefile:
crud: crud1.o crud2.o
gcc -o crud crud1.o crud2.o
crud1.o: crud1.c myheader.h
gcc -c crud1.c
crud2.o: crud2.c myotherheader.h
gcc -c crud2.c
This says that "crud" depends on crud1.o and crud2.o--if either of those
files is newer than crud or crud does not exist, run the command below.
crud1.o depends on crud1.c and myheader.h--if either of those files is
newer than crud1.o, run the command below. Makefiles can (and often do)
get a lot more complex than this. "info make" for a reference, or
search http://google.com/ for "makefile tutorial" for a slightly less
painful introduction.
--
Matt G|There is no Darkness in eternity/But only Light too dim for us to see
Love is a snowmobile racing across the Arctic tundra that suddenly flips
over, pinning you underneath. At night, the Ice Weasels come. --Matt
Groening, "Love Is Hell"
------------------------------
From: nates <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,redhat.x.general,linux.redhat.misc
Subject: Re: monitor sync / startx problem
Date: Thu, 20 Jul 2000 18:06:15 +0000
Robert Sparr wrote:
>
> Yesterday, my x86 Linux box booted but failed to go to the GUI login
> screen (with the Red Hat logo) as it has normally done since I installed
> Red Hat 6.2 a couple of months ago.
>
> The machine runs through the normal text-response startup script, but
> when it gets to the point where it switches into GUI mode the monitor
> switches to a different resolution mode, stays black for a split-second,
> and then switches again into the same mode. (I know it is the same
> because this monitor flashes the sweep and refresh rates on the screen
> when it changes modes.) It does this repeatedly for several minutes
> without success. Eventually it reverts to a text interface and I can
> log in fine there.
interesting.
my redhat 6.1 x86 yesterday did the SAME thing. it did it once. i
gave it the 3-finger salute & it hasnt happened again. i had never seen
that before - many moons. ore than your couple.
curious.
any others have this problem yesterday? July 19th?
- nate
------------------------------
From: "Jan Schaumann" <[EMAIL PROTECTED]>
Subject: Re: compiling large files
Date: Thu, 20 Jul 2000 18:10:12 -0500
It was Thursday, July 20, 2000 5:06 PM, that [EMAIL PROTECTED] spoke the
following words:
> I want to compile (in linux) a program I wrote in C++ in a microsoft
> windows IDE, but the program has many files. How do I do this? I've
> compiled a single-file program successfully. What is the syntax when
> I'm working with several .cpp files with .h files, etc.
> -Dave L.
that depends on your compiler.
man yourcompiler
But you will certainly wantto learn about Makefile and then use make
man make
have no URL handy, but search the web and you'll find plenty about make.
-Jan
--
Jan Schaumann <http://www.netmeister.org>
Yow! Are we laid back yet?
------------------------------
From: "Scott Rose" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Defraging against LILO?
Date: Thu, 20 Jul 2000 17:12:40 -0500
I have the same problem. I'm running a dual Win98/Redhat 6.2 system. When
I run Defrag under Windows, it seems to corrupt the Linux partitions. My
Linux boot disk did not help, as the ext2 file sytsem was corrupted and fsck
could not fix it. I had to reinstall Linux, and not use defrag.
Unai Garro <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hi all,
>
> I wonder if someone might know what the solution for my problem could
> be. I know some other people that had the same problem, but no one knew
> how to solve it.
>
> I had installed both Linux Mandrake 7.0 and the Win98 on the same hard
> disk, when I decided to defragment the disk under Windoze. I thought
> that this should not be a problem, because Windows was not able to 'see'
> the Linux partitions. It has however destroyed the LILO, so it is not
> possible to boot up neither Linux nor Windoze.
>
> Someone told me that it might be possible to recover the system by
> reinstalling the linux as an upgrade, and that it would recover the
> LILO, but it was not possible to reinstall it, because it seems that it
> has also destroyed the partition system of Linux.
>
> Does anyone know if it is possible to recover the system after this
> problem, or any idea how to defrag the hard disk without destroying the
> Linux?
>
> Cheers,
>
> Unai
------------------------------
From: Mike Fontenot <[EMAIL PROTECTED]>
Subject: Re: Use "force" with rpm?
Date: Thu, 20 Jul 2000 22:44:08 GMT
bullwinkle wrote:
>
> Mike Fontenot wrote:
bullwinkle <[EMAIL PROTECTED]> wrote:
> What troulbe do you get trying to add the ATAPI tape drive?
> I had no trouble adding the HP Colorado 20M ATAPI EIDE tape drive
> to a system running RedHat 6.1 (2.2.12-20). I suspect your trouble
> may not with the kernel. I would think that SuSE would have no trouble
> when adding that drive using kernel 2.2.14.
I had no problems using my ATAPI EIDE tape drive
(as /dev/ht0) while I was running Redhat 5.0...that
driver was evidently built into the standard kernel.
When I recently installed SuSE 6.4, the tape drive
still seemed to work, but cpio and tar didn't work
correctly. Specifically, I could write a small
directory structure to tape with no complaint, but
when I then tried to read the structure back in from
that tape, it reached the end of the tape, and told
me to insert a 2nd tape, and nothing got restored at
all. (I.e., it seemed not to be able to recognize
the end of the small structure on the tape).
Mike Fontenot
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Homer Jay)
Crossposted-To: alt.os.linux.mandrake,rec.autos.simulators
Subject: Re: [OT!!] Please sign the "Grand Prix Legends" petition!
Date: Thu, 20 Jul 2000 16:45:21 -0600
On Fri, 21 Jul 2000 07:44:50 +1000, Bruce Kennewell <[EMAIL PROTECTED]> wrote:
>news:[EMAIL PROTECTED]...
>> On Thu, 20 Jul 2000 17:40:52 +1000, <[EMAIL PROTECTED]> wrote:
>> >They are a little like Mac owners: very, very devoted to their cause.
>> >Regards, >Bruce Kennewell, >Canberra, Australia.
>Homer Jay <[EMAIL PROTECTED]> wrote in message
>> I'm nothing like a Mac owner. Those kooks couldn't find their arse
>> with both hands!
>
>Read the analogy again.
Socrates (SOH-crates) said that an analogy is valid only if the two things
being compared are similar (and also, "Party on Bill and Ted!") Ok, Mac
owners are devoted, yes, but to what? A silly money making scheme. Wheee!
I'm using a computer that looks like a *toaster*! It's sooo kewl that
I didn't mind paying more. Now I'm gonna jam on down to the Kwikee Mart
in my new VW Bug and buy some Frutopia! (But, hey, the desktop publishing
thing is pretty good, I'll admit.) Yet, I feel... strangely... *obliged*
to restate my epithet that Mac owners are kooky. :) Ok, I'll pipe down
now, after...
--kook n. (US slang) crazy or eccentric person (see also: MacExpo attendee)
"Me lose brain? Hah hah hah. Why I laugh?" --Homer Jay
------------------------------
From: Mike Fontenot <[EMAIL PROTECTED]>
Subject: Re: Use "force" with rpm?
Date: Thu, 20 Jul 2000 22:48:36 GMT
Jan Schaumann wrote:
>
> This may not be a direct answer to your questions, but why not download the
> kernel from ftp://ftp.kernel.org (I believe) and compile it yourself?
> Sooner or later you will have tolearn hwo to compile the kernel yourself,
> so why not now? You certainly should read carefully through the appropriate
> HOWTO's from http://www.linuxdoc.org
>
> While recompiling the kernel for the first time might seem scary, it's not
> that difficult if you're careful.
>
SuSE won't provide any support if you compile
your own kernel; if you want their support,
you have to use one of their pre-compiled
versions.
Mike Fontenot
[EMAIL PROTECTED]
------------------------------
From: Mike Fontenot <[EMAIL PROTECTED]>
Subject: Re: looking for tape device
Date: Thu, 20 Jul 2000 22:53:17 GMT
md wrote:
>
> Hi,
>
> I would like to backup some files on tape
> but I don't know the device file. I tried
> /dev/tape, /dev/ftape, /dev/rmt* without success.
> I am using redhat 6.2
> Any help
>
> Thanks in advance
>
> md
On Redhat 5.0, I use /dev/ht0. (My tape drive is
an ATAPI EIDE TR-4 drive).
Mike Fontenot
[EMAIL PROTECTED]
------------------------------
Date: Thu, 20 Jul 2000 15:54:54 -0700
From: Chem-R-Us <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.hardware
Subject: Re: Random Power Shutdown
Fro-Man wrote:
>
>
> I can't think of anything that would just randomly shut a machine down...
I can. Think mobo has gone south. That happened to me, bad solder joint.
Depending on machine use, the joint would occasionally heat up and
*poof* shut the machine down. After sufficient cool down, it would start
up no problems. Longer the cool down period, the longer it lasted before
shutdown.
--
.^.
Chem-R-Us /V\
/(_)\
^ ^
------------------------------
Crossposted-To: alt.os.linux.mandrake,rec.autos.simulators
Subject: Re: Please sign the "Grand Prix Legends" petition!
From: David Steuber <[EMAIL PROTECTED]>
Date: Thu, 20 Jul 2000 23:00:03 GMT
"Gordon McLachlan" <[EMAIL PROTECTED]> writes:
' Linux is not an acceptable desktop operating system. It is useful as a web
' server OS, but other than that it is an oddity, much like those who hype it
' excessively.
So why have I been using an unacceptable desktop operating system
these past two years? I must be one of those oddities. Beats being
normal.
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=hoplite&submit=Look+it+up
The problem with AI is that it has a mind of its own
--- Devon Miller
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Defraging against LILO?
Date: Fri, 21 Jul 2000 09:06:58 +1000
What defrag tool are you using.
i use nortan speed disk (from nortan utils 3) and haven't had this problem.
though i don't defrag much and i don't know if i used the windows defrag
tool with linux installed....
Scott Rose <[EMAIL PROTECTED]> wrote in message
news:8l7tk7$gt$[EMAIL PROTECTED]...
> I have the same problem. I'm running a dual Win98/Redhat 6.2 system.
When
> I run Defrag under Windows, it seems to corrupt the Linux partitions. My
> Linux boot disk did not help, as the ext2 file sytsem was corrupted and
fsck
> could not fix it. I had to reinstall Linux, and not use defrag.
>
>
>
>
>
> Unai Garro <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >
> > Hi all,
> >
> > I wonder if someone might know what the solution for my problem could
> > be. I know some other people that had the same problem, but no one knew
> > how to solve it.
> >
> > I had installed both Linux Mandrake 7.0 and the Win98 on the same hard
> > disk, when I decided to defragment the disk under Windoze. I thought
> > that this should not be a problem, because Windows was not able to 'see'
> > the Linux partitions. It has however destroyed the LILO, so it is not
> > possible to boot up neither Linux nor Windoze.
> >
> > Someone told me that it might be possible to recover the system by
> > reinstalling the linux as an upgrade, and that it would recover the
> > LILO, but it was not possible to reinstall it, because it seems that it
> > has also destroyed the partition system of Linux.
> >
> > Does anyone know if it is possible to recover the system after this
> > problem, or any idea how to defrag the hard disk without destroying the
> > Linux?
> >
> > Cheers,
> >
> > Unai
>
>
------------------------------
** 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
******************************