Linux-Misc Digest #991, Volume #24 Thu, 29 Jun 00 19:13:04 EDT
Contents:
Re: "screen" problems while using a vt320 (Matthew Miller)
Re: good reference (Jim Harback)
Does Anyone Use GnuCash? ("Robert L. Cochran Jr.")
Re: Humerous Anecdote (J Bland)
Re: What is foobar, or foo bar, or whatever...?? (Zed Child)
Samba problem (Pete Barrett)
Accidently Disabled Wildcards for chown and chgrp commands. Help! ("Radicator")
Re: Linux Command. (J Bland)
Re: Chewtoy.com and echoes from the past (Craig McCluskey)
Re: What is foobar, or foo bar, or whatever...?? (Robert Heller)
Re: Bug in gcc under linux? (Robert Heller)
Re: How to let NT and LINUX live together ? ("Jennifer")
-- VFS: Unable to mount root -- Help! ("Lotto Alessandro")
GUI for sendmail ("Jim Turnbull")
Re: How to let NT and LINUX live together ? (Chris Ahlstrom)
How can i run a process writing with curses lib automatically without login? (
Please go into context) ("charity")
Re: How to let NT and LINUX live together ? ("Jennifer")
Re: Accidently Disabled Wildcards for chown and chgrp commands. Help! (Vilmos Soti)
Can't switch to terminal ("Amiri Jones")
Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'? ("Alan
Hodges")
Re: Does Anyone Use GnuCash? (Tom Hoffmann)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Matthew Miller)
Crossposted-To: comp.os.linux.questions,comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: "screen" problems while using a vt320
Reply-To: [EMAIL PROTECTED]
Date: Thu, 29 Jun 2000 21:07:16 GMT
Hi Pete,
On Thu, 29 Jun 2000 18:24:10 GMT, Pete Zaitcev <[EMAIL PROTECTED]> wrote:
>>
>> Hum, the comm. setup with the terminal right now is that xoff is off. I also
>> tested the settings with xoff set to 64 and 128. No change.
>
>My is at 128.
Well, I tried that and 64 but I've had no prior problems with xoff turned off.
>> [...] I'm almost desperate enough to recompile screen with debugging
>> symbols and sic gdb on it! But, I'm not to that point yet. It is really
>> bothersome to get no output from screen or error messages :(
>
>You are an oldtmer too, I see :) Before going the gdb route, try
>running screen under strace, something like "strace -o /tmp/xxx screen".
Thank you, though I'm not an old timer (I'm still a newbie w/ only three
years of unix, linux and netbsd behind me), yet. Me and gdb are only just
close personal friends :)
I've haven't used strace before, my privious slack install was without it,
but I see how useful it is now. Below is the last few lines from the
output:
readlink("/proc/self/fd/0", "/dev/ttyS1", 4095) = 10
stat("/dev/ttyS1", {st_mode=S_ISGID|0101, st_size=0, ...}) = 0
geteuid() = 0
getegid() = 0
open("/dev/ttyS1", O_RDWR) = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) ---
+++ killed by SIGINT +++
Well it seems that the open blocks on trying to open the serial device
I have the vt320 attached to. This is the last syscall regardless of
how long I wait.
I'm stumpted right now. Any ideas are welcome before ask the maintainer and
look foolish (it's probably something obvious).
Thanks Pete, Matthew
------------------------------
From: Jim Harback <[EMAIL PROTECTED]>
Subject: Re: good reference
Date: Thu, 29 Jun 2000 23:06:14 +0200
Sly,
Try Red Hat Linux Bible by Christopher Negus. It is Red Hat 6.1 specific
and is a very good source for the beginner-intermediate learner.
Jim
sylvain hutchison wrote:
> I'm looking for a good book to learn more about Red Hat 6.1, can anybody
> suggest me a good reference, thank you,
>
> Sly.
------------------------------
From: "Robert L. Cochran Jr." <[EMAIL PROTECTED]>
Subject: Does Anyone Use GnuCash?
Date: Thu, 29 Jun 2000 17:16:05 -0400
I'm a new Linux user and would like to know how to install GnuCash. I'd
like advice from someone who uses this software. I am running Red Hat
6.2 with kernel version 2.2.16-3, all bug fix and security updates
applied. I downloaded gnucash-1.4.1-1.i386.rpm from the ftp site at
ftp://ftp.gnucash.org picking the rpm from the Red Hat 6.x directory.
How do I install it?
Also there is what looks like a brand new GnuCash forum at
http://www.gnucash.org and the Linux user's group at
http://www.lugod.org had a presentation on using it on June 19, but it
does not look like they posted the notes for that topic yet.
Thanks
Bob Cochran
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: Humerous Anecdote
Date: 29 Jun 2000 21:30:31 GMT
>Just now, I clicked on File -> New -> Navigator Window
>
>My screen went blank
>
>The Blue Screen of Death appeared
>
>Deja Vue
>
>How can this be? I'm running Linux.
>
>My screensaver is set to random. It went into effect just as I was opening a
>new window. It chose to enterntain me with Bsod. How appropriate!
About as scary as seeing your linux machine suddenly get a kernel panic out
of nowhere.
"Oh no!" you cry...then realise it's the random screensaver.
My heart skipped a beat ;0)
Frinky
------------------------------
From: Zed Child <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,nf.comp.linux
Subject: Re: What is foobar, or foo bar, or whatever...??
Date: Thu, 29 Jun 2000 21:35:15 GMT
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 6/29/00, 4:50:35 PM, sylvain hutchison <[EMAIL PROTECTED]=
>=20
wrote regarding Re: What is foobar, or foo bar, or whatever...??:
> See what happened by joining them, you became a fucking retard, grow u=
p=20
and
> stop this imature attitude of yours.
> Zed Child wrote:
Give me a break. I'm only a Child.
Zed
------------------------------
From: Pete Barrett <[EMAIL PROTECTED]>
Subject: Samba problem
Date: Thu, 29 Jun 2000 22:39:05 +0100
I hope someone will be able to help me with this.
I have a small network at home, consisting of a Linux server (intended
to be used for backup and as a documentation server), another Linux
machine, and a Windows 98 machine. Because of the Windows machine, all
the Linux computers are running Samba, the server 1.9 something, the
other 2.0 something.
The Windows machine can see the Samba shares on both the Linux
machines without problem, reading and writing (where it's allowed to)
them, so there can't be that much wrong with the setup. But when the
Linux workstation tries to smbmount a Samba share on the server, there
are problems.
First, smbclient can see the exports on the other machine.
Second, smbmount appears to mount one of the shares on the other
machine correctly (it appears on the mount list, and so on).
Third, it can be umounted without problem.
BUT, if I smbmount one of the shares on /docs (which does exist), and
try to ls /docs, the server thrashes its HD, and the ls command
eventually fails. The same happens whenever I actually try to access a
smbmounted share from a Linux machine.
I've looked through the man pages for smb.conf, smbmount, smbclient,
and anything else I think might be relevant. I've looked through the
SMB HowTo. I've made some changes to the server's smb.conf file (such
as having it not display recursive directory structures), but none of
them have made any difference. If anyone knows what is going on, and
can point me towards the solution, I'd be thankful.
Thanks in advance.
Pete Barrett
------------------------------
From: "Radicator" <bankview1@[remove to send email]nucleus.com>
Subject: Accidently Disabled Wildcards for chown and chgrp commands. Help!
Date: Thu, 29 Jun 2000 21:40:50 GMT
Hi,
I have RedHat Linux 6.2 running on a Celeron 400 machine with 128 MB Ram.
I was doing some wholesale changing of the ownership of files in a directory
using the following command from my BASH shell:
# chown nobody *
Problem is, I accidently typed the following and hit ENTER:
#chown nobody *\
What happened, you see, is that as I went to hit the ENTER key my finger
first hit the backslash character then the ENTER key.
Of course, I was logged in as root (like an idiot).
So, now when I type the "chown nobody *" command I get the following error
message:
chown: invalid option -- 0
I have searched all the online docs I can find but no luck so far. I tried
shutting down and restarting but it was still screwed after the reboot.
The * wildcard still works for ls, dir, and grep commands but no longer for
chown or chgrp.
Douglas
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: Linux Command.
Date: 29 Jun 2000 21:35:52 GMT
>>Alas, piping ls through 'more' or 'less' costs you the pretty colors that
>>some linuxes use to differentiate file types...could be frustrating to a new
>>user. Like me.
>
>ls -l --color | more
>
>Or, in ~/.bashrc :
>alias lsm='ls --color | more'
>
>since it seems that modern versions of more can handle the color codes.
>less won't do the expected thing here, though, and the color codes will
>screw up things if you send the output of ls --color to sed or awk or
>what-have-you....
ls -l --color | less -r
will give nice pretty colours (-r forcing less to display control characters
properly).
Not as easy to remember (had to scan the man), but I much prefer less.
Frinky
------------------------------
From: Craig McCluskey <[EMAIL PROTECTED]>
Subject: Re: Chewtoy.com and echoes from the past
Date: Thu, 29 Jun 2000 16:44:38 -0500
David Steuber wrote:
>
> I posted in another news group about seeing repeated messages. Rod
> Smith noted the same phenomenon. Now I am seeing a bunch of junk with
> chewtoy.com in the From: header.
>
> What is going on?
I saw the same thing here and ended up emailing [EMAIL PROTECTED]
and [EMAIL PROTECTED] The mail to chewtoy was bounced and I heard
nothing from supernews, but the duplicate postings have stopped here.
Craig
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: What is foobar, or foo bar, or whatever...??
Date: Thu, 29 Jun 2000 21:55:58 GMT
Zed Child <[EMAIL PROTECTED]>,
In a message on Thu, 29 Jun 2000 11:12:24 GMT, wrote :
ZC> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
ZC>
ZC> On 6/29/00, 1:32:06 AM, Hendrix <[EMAIL PROTECTED]> wrote regarding What =
ZC> is=20
ZC> foobar, or foo bar, or whatever...??:
Do a web search for the 'Hacker Dictionary' or 'Jargon File' -- there
is a section in this (online) book about the 'meta symbols' foo, bar.
baz, etc.
ZC>
ZC>
ZC> > Hi foobarians,
ZC>
ZC> > I've heard so many linux sites, books, and even email messages that
ZC> > contain this phrase...??? What the heck is foo bar...???? The weird=
ZC>
ZC> > thing is that it also makes its presence in the movie "Saving Private
ZC> > Ryan", but they never define the term... Hmmm..... Ha...
ZC>
ZC> I was in the US Navy, and there it was short for, fucked up beyond all=20
ZC> repair. Fubar. Or foo bar. Now others may replace some of the words, but=
ZC> =20
ZC> it means the same thing, more or less.
ZC>
ZC> Another good one is SNAFU. Situation normal, all fucked up
ZC> RCH red cunt hair meaning a small amount
ZC> BFH big fucking hammer
ZC> BFS a big fucking seaman
ZC> ESAD eat shit and die
ZC> FOAD fuck off and die (also the title of a song by GreenDay)
ZC> FEA fuck 'em all
ZC> FTN fuck the navy
ZC> FTW fuck the world
ZC>
ZC>
ZC>
ZC> See what you missed by not joining up? You fuckin sissy.
ZC>
ZC>
ZC> Zed
ZC>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Bug in gcc under linux?
Date: Thu, 29 Jun 2000 21:55:59 GMT
[EMAIL PROTECTED] (Grant Edwards),
In a message on Thu, 29 Jun 2000 14:16:01 GMT, wrote :
GE> In article <[EMAIL PROTECTED]>, Robert Heller wrote:
GE>
GE> >Are you *sure* you are not walking off the end of the array allocated
GE> >for fileptr? How do you know 256 bytes is enough? Answer: you don't.
GE>
GE> I do, though.
GE>
GE> I checked the length of the string returned by getcwd, it was
GE> 12. The filename length (atrgv[1]) was 6. The total path
GE> length was 19. Including the null at the end, that makes 20.
GE>
GE> Getcwd was told to allocate 256 bytes.
GE>
GE> AFAIK, 20 < 256.
GE>
GE> >Under MS-Windows (VC++), either 256 bytes is always enough or else the
GE> >memory after the allocated space is not used by anybody, which allows
GE> >you to get by. But it is a bug in your code, not the compiler.
GE>
GE> The path was /home/grante/asdf12
GE>
GE> It failed.
GE>
GE> When the path was /home/grante/asdf1
GE>
GE> It succeeded.
GE>
GE> Both files existed with 0 length and identical permissions.
GE>
GE> It looks to me like getcwd isn't allocating 256 bytes as
GE> requested.
If that is what is happening, then the bug is in libc, not the C
compiler.
I just checked the man page: the allocation hack in getcwd is an
*extension* of the POSIX standard. This means you probably SHOULD NOT
DEPEND on getcwd as a cheap way around calling malloc yourself. It may
not work on ALL systems, only those with the extension.
You would probably be better off directly calling malloc() -- it is more
certain to work on all systems.
You should probably also allocate PATH_MAX + 2 + strlen(argv[1]) bytes,
not a hardwired 256 bytes.
GE>
GE> --
GE> Grant Edwards grante Yow! Did we bring enough
GE> at BEEF JERKY?
GE> visi.com
GE>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: "Jennifer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,alt.os.linux
Subject: Re: How to let NT and LINUX live together ?
Date: Thu, 29 Jun 2000 22:05:55 GMT
"Doc Shipley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> AFAIK, that will ONLY work if NT is installed on a FAT filesystem. If NT
> is installed on a NTFS partition, I haven't found a way to boot NT from
> lilo. I'm more than willing to be enlightened, though.
Here comes the enlightenment ;)
Had Win2K installed on a 4 gig drive, all 4 gigs were a single NTFS
partition.
Used partition magic to resize the partition and added 2 for Linux.
Installed Mandrake 7.0, including lilo.
Booted into Linux, added the following 2 lines to lilo.conf:
other=/dev/hda1
label=Win2K
Voila, when I get to lilo screen, I can boot to linux or W2K. I don't know
if it worked on NT4 with NTFS because I never tried it, but it works
beautifully on my laptop with W2K.
------------------------------
From: "Lotto Alessandro" <[EMAIL PROTECTED]>
Subject: -- VFS: Unable to mount root -- Help!
Date: Thu, 29 Jun 2000 21:57:58 GMT
Hi,
My computer have:
- 2G
- 32Mb
- AMD 166
- Win95 (1G)
- Linux RedHat 6.1 (1G)
My computer has 4 partitions:
- /dev/hda1 Win95, FAT32 (O.S. partition)
- /dev/hda2 Win95, FAT32
- /dev/hda3 Linux Native
- /dev/hda4 Linux Swap
I have used from win95 the utility "esplore2fs" to view the ext2
filesystem (hda3).
When I tried to copy a large file (18Mb) from linux in win95 with
explore2fs i had a system crash
due to insufficient space in /dev/hda1 (explore2fs work very well, all this
is my fault)
Then i have used the floppy "rescue" to try to mount /dev/hda3 for check it,
but the mount is impossible!
Now, i can boot in Win95 but I CAN'T RECOVER VERY IMPORTANT DATA (my thesis)
IN THE
LINUX PARTITION ----- I NEED HELP !
*) When i reboot in linux from LILO i have:
partition check:
hda: hda1 hda2 hda3 hda4
RAMDISK: Compressed image found a block 0
autodetecting RAID arrays
autorun ... autorun DONE
VFS: Mounted root (ext2 filesystem)
autopdetecting RAID arrays
autorun... aurorun DONE
Kernel Panic: VFS: Unable to mount root fs on 03:05
*) When i rebbot whit the floppy "boot" i have:
partition check:
hda: hda1 hda2 hda3 hda4
autodetecting RAID arrays
autorun ... autorun DONE
attempt to access beyond end of device
03:05: rw=0, want=2, limit=0
dev 03:05 blksize=1024 blocknr=1 sector=2 size=1024 count=1
EXT2-fs: unable to read superblock
attempt to access beyond end of device
03:05: rw=0, want=33, limit=0
dev 03:05 blksize=1024 blocknr=32 sector=64 size=1024 count=1
isofs_read_super:bread failed, dev=03:05, iso_blknum=16, block=32
Kernel Panic: VFS: Unable to mount root fs on 03:05
Lotto Alessandro
Venezia (Italy)
------------------------------
From: "Jim Turnbull" <[EMAIL PROTECTED]>
Subject: GUI for sendmail
Date: Thu, 29 Jun 2000 23:13:13 +0100
Is there an open source GUI for sendmail. I've seen Sendmail Pro advertised
at $99, but would obviously prefer a free option.
Thanks.
------------------------------
From: Chris Ahlstrom <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,alt.os.linux
Subject: Re: How to let NT and LINUX live together ?
Date: Thu, 29 Jun 2000 22:16:42 GMT
Jennifer wrote:
>
> Voila, when I get to lilo screen, I can boot to linux or W2K. I don't know
> if it worked on NT4 with NTFS because I never tried it, but it works
> beautifully on my laptop with W2K.
Congrats! Now we both have to work on removing that W2K stuff.
Chris
--
[ ] Check this box to always trust content from Chris.
------------------------------
From: "charity" <[EMAIL PROTECTED]>
Subject: How can i run a process writing with curses lib automatically without login?
( Please go into context)
Date: Thu, 29 Jun 2000 15:52:51 +0800
Hi,I have an application writing in C. One process is the background
process.One is the front process. The two processes exchange by a FIFO
named pipe file in HD).The front process was wrote by using curses lib. I
want the two processes run automatically after a suddenlly fault,such as
reboot.So I add the two processes in the
file /etc/rc.d/rc.local,like the following: (At the end of file )
cd /mysys
./process1& # the background process
./process2 # the front process
After system reboot, I got the interface writing with curses,but the trouble
is I can not login any way,except I quit the front process.
So how to sovle this trouble? I need the front runs well, at the same time I
can login via other ttys.
Thanks a lot.
------------------------------
From: "Jennifer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,alt.os.linux
Subject: Re: How to let NT and LINUX live together ?
Date: Thu, 29 Jun 2000 22:26:36 GMT
"Chris Ahlstrom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Congrats! Now we both have to work on removing that W2K stuff.
> Chris
Hallelujah brother! ;) Not that I'm necessarily a M$ basher, but the more
I've worked with Linux, the less I tolerate windows software and all it's
antics. Now if I could just get the video tweaked correctly :::sigh:::
------------------------------
Subject: Re: Accidently Disabled Wildcards for chown and chgrp commands. Help!
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 29 Jun 2000 22:34:54 GMT
"Radicator" <bankview1@[remove to send email]nucleus.com> writes:
> I was doing some wholesale changing of the ownership of files in a directory
> using the following command from my BASH shell:
>
> # chown nobody *
>
> Problem is, I accidently typed the following and hit ENTER:
>
> #chown nobody *\
>
> What happened, you see, is that as I went to hit the ENTER key my finger
> first hit the backslash character then the ENTER key.
>
> Of course, I was logged in as root (like an idiot).
>
> So, now when I type the "chown nobody *" command I get the following error
> message:
>
> chown: invalid option -- 0
>
> I have searched all the online docs I can find but no luck so far. I tried
> shutting down and restarting but it was still screwed after the reboot.
>
> The * wildcard still works for ls, dir, and grep commands but no longer for
> chown or chgrp.
Didn't you manage to create a strangely named file? do an ls and check it.
It should be at the beginning of the listing.
Vilmos
------------------------------
From: "Amiri Jones" <[EMAIL PROTECTED]>
Subject: Can't switch to terminal
Date: Thu, 29 Jun 2000 18:37:26 -0400
I'm running Gnome, with Enlightenment as my window manager, if that
matters. My problem is this: In the past, I used to be able to go from the
Gnome login prompt to a standard text login prompt with the Ctrl-Alt-F1 key
sequence. All of a sudden now, it doesn't work anymore. Nothing has
changed on this system; I've installed no new software or updated any
existing software. Does anybody know what might be causing this problem, or
how to correct it?
------------------------------
From: "Alan Hodges" <[EMAIL PROTECTED]>
Subject: Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'?
Date: Fri, 30 Jun 2000 09:02:29 +1000
Crossposted-To: microsoft.public.windowsnt.misc,linux.redhat.misc
No, I don't buy this either, though I agree with just about everything else
he says.
In fact, I have installed NT after having installed one of my company's
products which replaces the MBR with its own, and I have found that NT
install does _not_ overwrite the MBR. (Just as well too, for my purposes).
Ciao, Alan
Charlie Root <[EMAIL PROTECTED]> wrote in message
news:sHC65.14508$[EMAIL PROTECTED]...
>
<snip>
> Rod, still I don't buy NT ever messes with MBR because NT does not need
MBR
> at all. If multibooting NT and Linux not using the LILO, NT OS loader
likes
> to have the boot sector from the other operating systems available as a
> file. NT has 'boot.ini'that read like:
> --
> [boot loader]
> timeout=30
> default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
> [operating systems]
> multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
> multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
> C:\BOOTSECT.LNX="Linux"
>
> Where this resides? Not at MBR but at C:\ root directory with system and
> hidden attributes. Try boot it with MS-DOS floppy then do at C:\ prompt:
> 'a:\fdisk /mbr' you can still boot either OS because MBR is not being used
> at all.
>
>
------------------------------
From: [EMAIL PROTECTED] (Tom Hoffmann)
Subject: Re: Does Anyone Use GnuCash?
Date: Thu, 29 Jun 2000 23:03:34 GMT
On Thu, 29 Jun 2000 17:16:05 -0400, Robert L. Cochran Jr.
>I'm a new Linux user and would like to know how to install GnuCash. I'd
>like advice from someone who uses this software. I am running Red Hat
>6.2 with kernel version 2.2.16-3, all bug fix and security updates
>applied. I downloaded gnucash-1.4.1-1.i386.rpm from the ftp site at
>ftp://ftp.gnucash.org picking the rpm from the Red Hat 6.x directory.
>How do I install it?
as root:
rpm -ivh gnucash-1.4.1-1.i386.rpm
Hope this helps.
------------------------------
** 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
******************************