Linux-Misc Digest #819, Volume #25               Wed, 20 Sep 00 20:13:02 EDT

Contents:
  Re: End-User Alternative to Windows ([EMAIL PROTECTED])
  Re: vi (Thomas Dickey)
  Group Passwords (john slimick)
  Re: Problem with fopen under RedHat 6.2 (Serban-Mihai Popescu)
  Extended partition trouble (peracchi)
  Re: SCSI tape drive problem w/ RH 6.1 (Richard J. Freedman)
  man pages for iproute2 ? or How to get info
  Re: PPP/internal modem setup (Bill Unruh)
  Re: Problems with Big partitions? ("David Anso")
  Re: strange effect when killing a process trying to view /proc/kcore (Dances With 
Crows)
  Re: End-User Alternative to Windows (Matthias Warkus)
  Need to view full name of process name disregarding brackets ([EMAIL PROTECTED])
  DIALD as a T-1 Backup ([EMAIL PROTECTED])
  remote setup of email / virtual domains rh 6.2 ("Michael Ware")
  Re: my rpm is screwed up ("Rinaldi J. Montessi")
  (Q) What should one do with application/pgp-signature data? (Timothy Murphy)
  Re: Extended partition trouble (Dances With Crows)
  Re: New Linux Install ("kosh")

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Wed, 20 Sep 2000 20:14:08 GMT

In article <8qasqn$im1$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Brian V. Smith) wrote:

> Really?  Which ones were those that came with the source code?

IBSYS, SCOPE, SOS, MTS, OS/360, CP/67, TSS/360 and many more. Several of
these had fixes distributed only in source form; you had to reassemble
in order to install the fix.

--
--
Shmuel (Seymour J.) Metz

"A BIND is a terrible thing to waste"


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

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

From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: vi
Date: 20 Sep 2000 20:22:26 GMT

L S <[EMAIL PROTECTED]> wrote:
> Thanks!  So how do I disable it?

if the application is termcap-based, xterm's titeInhibit resource works
ok, but generally Linux is using terminfo, which can't be tweaked in
quite the same way.  One can either remove the \E[?47h, \E[?47l strings
from the smcup/rmcup in the terminfo, or using a reasonably recent
xterm, disable it via the popup menu (which in turn assumes that it's
using the newer 1049 codes).

The XFree86 xterm supports ANSI color and VT220 emulation
There's an faq at
        http://dickey.his.com/xterm/xterm.faq.html
        ftp://dickey.his.com/xterm


> Thomas Dickey wrote:
>> 
>> L S <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >         Can someone tell me how to stop vi from restoring me screen
>> > when I exit vi?  This behavior is not how unix vi works and it drives
>> > me nuts (short trip).  Must be the same guy that demands you use
>> > "--help" instead of the traditional "-?".
>> 
>> that's xterm, not vi.
>> 
>> xterm implements an alternate-screen, which is activated in the
>> terminal initialization sequence (ti/te or smcup/rmcup, for termcap
>> and terminfo respectively).
>> 
>> --
>> Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>> http://dickey.his.com
>> ftp://dickey.his.com

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

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

From: [EMAIL PROTECTED] (john slimick)
Subject: Group Passwords
Date: 20 Sep 2000 20:41:37 GMT
Reply-To: slimick@pitt,edu

I must not be looking in
the right places, but I simply
can not find any information
on how one sets a group password.
Yes, it's great that we have gone past
the Unix "leave the group password
out in the open", and I'm impressed
that we can shadow the group passwords,
but how do you set one???

Thanks in advance

john slimick
[EMAIL PROTECTED]

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

From: Serban-Mihai Popescu <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Problem with fopen under RedHat 6.2
Date: Wed, 20 Sep 2000 20:42:07 GMT

Doug Dodson wrote:
> fault.  This code is being ported from a Solaris machine where it ran
> fine.  Here is the output of "gdb sfg core".  We are just wondering if
And again, the fact your code worked fine on Sloaris doesn't mean it is
also correct; this is only a consequence of the Sloaris "forgiveness"
w.r.t. incorrect handling of malloc'ed memory (like free'ing twice the
same pointer or using a pointer after it has been freed).

Serban

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

From: peracchi <[EMAIL PROTECTED]>
Subject: Extended partition trouble
Date: Wed, 20 Sep 2000 20:47:08 GMT

Hi everbody, Please help, I've got myself in a bad problem. ANY comments/help
is much appreciated. In short, I installed win98se in one partition
(primary), a few days later, i installed linux (eDesktop 2.4) in a logical
partition inside a extended partition. System Commander controls the boot
process.  After boot in linux, the system will not boot anymore unless i use
some program to mark the first primary partition as active. � Now, if the
above isn't enough to catch the problem here are the details: � I have a
Fujistu 12GB HD that is partitioned as bellow:

| primary | primary | primary |  extended (9397MB) (hda4)  | |  604MB  | 
604MB  |  902MB  |  101MB  |  3004MB  |  2000MB  | 4290MB  | | Win98SE |
Win98SE |  WinME  | linux swap | linux ext2 | linux ext2 |  fat32  | |  hda1 
|  hda2  |  hda3  |  hda5  |  hda6  |  hda7  |  hda8  |

When i choose boot the linux in hda7, System Commander marks hda4 (extended)
and hda7 as bootable. After i reboot the system, System Commander don't
appear anymore.  Instead i receive a message asking for a boot/system disk. I
need use SCDISK from System Commander to mark hda1 as bootable to the system
boot again and System Commander take control. Another way is run cfdisk in
linux before reboot to mark hda1 as bootable.

What is wrong? In other situations i already use System Commander with a
configuration like this and have no trouble. Lilo is installed on hda7.

Thanks for help!

P.S.: sorry for my poor english!  ;^)


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

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

From: [EMAIL PROTECTED] (Richard J. Freedman)
Crossposted-To: comp.os.linux.hardware
Subject: Re: SCSI tape drive problem w/ RH 6.1
Date: 20 Sep 2000 20:58:37 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 20 Sep 2000 13:58:16 GMT, Harshal <[EMAIL PROTECTED]> wrote:
>
>
>Thanks for all your help.
>
>I can now use the tape drive if I manually load the aic7xxx and st
>modules.
>
>But even though I have the 'alias scsi_hostadapter aic7xxx' line in
>/etc/conf.modules, the module is not automatically loaded on re-boot.
>
>Do I have to use '/sbin/mkinitrd' to generate a new ramdisk image?
>
>Thanks again,
>- Harshal
>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

Yes.
-- 
Dick Freedman

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

From: <[EMAIL PROTECTED]>
Subject: man pages for iproute2 ? or How to get info
Date: Wed, 20 Sep 2000 17:10:44 -0400

I' was going throught the advanced routing howto and eventually put in tc
and ip .
Now for the documentation : It's in textinfo or something, definitely not
for the man pages .
I have never used the former , and so far have been using man.

So how do I access this thing ?









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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: PPP/internal modem setup
Date: 20 Sep 2000 21:20:42 GMT

In <8qb0id$9k1$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:

]I am trying to setup a PPP on Linux 6.1 on my Gateway system with
]internal modem. My problem is that I am unable to get the dial tone for
]the link setup. The dialing volume is set to high.

]I checked the system using setserial, both on ttyS0 & ttyS1. ttyS0 gives
]me UART as 16550A and ttyS1 tells me that the UART is unkown. I am not
]sure if this information is correct because I am able to connect to the
]ISP from Windows 98. Also the Windows system information tells me that
]the modem is set on COM2.

]Pls. tell me what could be the problem.

The most probably answer is that you got saddled with a winmodem. It is
in general unuseable in Linux. 

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

From: "David Anso" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.list
Subject: Re: Problems with Big partitions?
Date: Thu, 21 Sep 2000 09:23:13 +1200

2 Suggestions:

1.  It could be a hardware problem rather than software if it came back
after a while.  Is the machine overheating at all?  Try cooling the machine
more... blah.. blah.. blah...

2.  It might make no difference, but you could make it two raid partitions,
and join them using Raid0 and see what happens.  Doesn't make sense that it
would solve the problem, but worth a go.

--

David

"GianPiero Puccioni" <[EMAIL PROTECTED]> wrote in message
news:8q5a7i$d61$[EMAIL PROTECTED]...
>
> Hi,
>
> I still have the problem I asked about time ago, that is, a big
> partition (around 50 Gbytes) gives a lot of problems. I followed the
> suggestion to upgreade the kernel from 2.2.12 (RH 6.1) to 2.2.16 without
> any improvement. I tried to upgrade NFS too as it is possible the
> problem is triggered by the fact that the filesystem is accessed by NFS
> (even if it is mounted read-only). No success, and anyway it seems the
> corruption happens even when NFS is not used. After some time the
> filesystem is unreadable both from NFS and from the local system, I can
> umount it but it doesn't remount (it gives a "bad fs") and even fsck
> cannot read it ("short read"). This keeps happening even after a reboot,
> fsck, or even fdisk, can't read the partition . After a while I was able
> to reread the disk (just retrying or maybe it was that I left the
> machine off for a while resetting something?). I suppose one solution
> could be to split the disk in two smaller partitions but I'd rather try
> to avoid that as it could give problems organizing the content.
>
> Summing up the hardware:
>
> OS    RedHat 6.1 (no X-win and / on a separate IDE disk)
>          with kernel 2.2.16  and nfs update
> disc  SEAGATE  Model: ST150176LW
> scsi   Adaptec AHA-294X Ultra2 SCSI
>
> the partition is (given by sfdisk -s /dev/sda1)
> 48845601
> the filesystem is (given by df)
> /dev/sda1             48078504  10178036  35458188  22% /vol00
>
>
> Any suggestion?
>
> Thanks,
>        GianPiero
> --
> *  Istituto Nazionale di Ottica                        GianPiero Puccioni
*
> *  Largo E.Fermi 6                           E-Mail :  [EMAIL PROTECTED]
*
> *  I-50125  Firenze - ITALY    =>this space intentionally left non-blank<=
*
>



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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: strange effect when killing a process trying to view /proc/kcore
Date: 20 Sep 2000 21:29:21 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 20 Sep 2000 11:17:33 +0100, O. Mayer wrote:
>Being a curious being, I tried to watch the content of /proc/kcore
>using Midnight Commanders view-command (f3). That caused MC not to
>react to the keyboard anymore nor to come with any output / result so I
>had to log in with another session to kill the process running MC.
>What's strange about this is that, after killing this process without
>any problems, the memory usage droped back from about 360M to 96M. Can
>anybody of you explain this behaviour?
>
>The system is Red Hat 6.2 on a 4-processor i686 (Kernel 2.2.14-5.0smp)
>mainly running apache with PHP and mySQL.

/proc/kcore is the entire contents of system RAM.  If you try to view it
using a tool like less or vi, that process will try to allocate a great
deal of memory in order to show the entire {64, 96, 128, 256}M file.
Hence the extreme memory usage there.  When you killed the process, it
released all the memory it was holding, which accounts for the memory
usage dropping.

/proc/kcore is really not meant for use by anyone other than kernel
hackers, but if you don't mind your system freezing like that, go ahead
and explore....

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Those who do not understand Unix are
http://www.brainbench.com     /   condemned to reinvent it, poorly.
=============================/           ==Henry Spencer

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

From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Wed, 20 Sep 2000 22:22:32 +0200
Reply-To: [EMAIL PROTECTED]

It was the 20 Sep 2000 17:40:39 GMT...
...and Brian V. Smith <[EMAIL PROTECTED]> wrote:
> In article <8q8t84$rp5$[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
> |> In article <[EMAIL PROTECTED]>,
> |>   jabali <[EMAIL PROTECTED]> wrote:
> |> 
> |> > You are mixing up hardware with software. All operating system
> |> software are
> |> > proprietary (excepting Linux of course) - single source product.
> |> 
> |> Not true. Originally most operating systems were free, and came with the
> |> source code.
> 
> Really?  Which ones were those that came with the source code?

For most early-era operating systems, there was not much of a
difference between binary and source code. Writing operating systems
in high-level languages is a pretty recent development. :)

mawa
-- 
Try IRCnet #linux one day. I might be there.

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

From: [EMAIL PROTECTED]
Subject: Need to view full name of process name disregarding brackets
Date: Wed, 20 Sep 2000 21:53:06 GMT

I need to be able to see the full process name even when it has brackets
(without it being cut off).

I have done the following (below).  Can someone please help me.

In article <8qach1$gf6$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Some processes have brackets around the name.  This happens if the
> program is being swapped from disk.  Now i need to display the full
name
> of the process disregarding any brackets (if it has any).
>
> I have tried doing the following
>
> > ps -ef
>
> =>this show the full listing and shows brackets around the name(if it
> has any)
>
> eg.
> root      1911     1  0 15:04 ?        00:00:52 [AServerautoindexer]
>
> >ps -e
> => this shows the name of the process and it doesn't have brackets
even
> if it had some before.
>
> eg.
> 1911 ?        00:00:52 AServerautoinde
>
> HOWEVER, if the name is long enough, it gets cut off.  I need to be
able
> to see the full name AND no brackets.  In this case i need this for
> linux.  Can anyone help me with this?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>






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

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

From: [EMAIL PROTECTED]
Subject: DIALD as a T-1 Backup
Date: Wed, 20 Sep 2000 21:55:45 GMT

I guess this is probably a really stupid question, but...

Can I use DIALD to dial an ISDN line in the case that the T-1 went
down?  I know it can't immediately know if the router's T-1 link went
down, but when packets started not making it out past the router, could
the Linux server use DIALD to do the ISDN link?

Thanks,
Chris


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

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

From: "Michael Ware" <[EMAIL PROTECTED]>
Subject: remote setup of email / virtual domains rh 6.2
Date: Thu, 21 Sep 2000 09:40:38 +1000

Hello, A new server has just been installed and contains Red Hat 6.2 .  I
will be using a Windows 98 machine and remotely, ie over the internet,
configuring new POP email addresses hosted at different virtual domains on
the server.  I will also be creating the virtual servers on the linux box,
with email addresses attached to them.  For Example, I need to create the
following: (ie once the domain is registered)

Using the Apache server, www.myserver.com.au will need to be created. and an
email address [EMAIL PROTECTED] will also need to be created.

i will need www.myserver.com.au to link to a directory, ie
home/www/mynewserver/

I will require access over the internet and therefore I will need to use
telnet to access it.
Please tell me how, in as much detail as you wish, to set up the email
accounts, ie what files i need to modify, etc, and the easiest way for me to
do this.   I am not using any third party email server software such as
qpopper, its just a standard Red Hat Linux 6.2 system.

Thank you very much for your time, very much appreciated.

Cheers
Michael Ware
[EMAIL PROTECTED]

ps I would also appreciate an email.




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

From: "Rinaldi J. Montessi" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: my rpm is screwed up
Date: Wed, 20 Sep 2000 18:55:04 -0400

Cevat Ustun wrote:
> 
> What could be the problem behind rpm
> deciding not to work all of a sudden?
> More specifically, querying returns nothing,
> --rebuilddb seems to have no effect and the installation
> of even the simplest of packages returns
> with a bunch of dependency errors (so I cannot
> reinstall the rpm package itself among other things)...
> 
> Cev.


Sounds as if you recently upgraded your rpm package.  Check here: 
http://www.mailgate.org/linux/linux.redhat.rpm/msg05460.html

-- 
Rinaldi]$
"The federal government has taken too much tax money from the people,
too much authority from the states, and too much liberty with the
Constitution." --Ronald Reagan

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

From: [EMAIL PROTECTED] (Timothy Murphy)
Subject: (Q) What should one do with application/pgp-signature data?
Date: 21 Sep 2000 00:31:17 +0100

Probably a rather ignorant question,
but what exactly is one meant to do with email
with a pgp signature at the end?
I tried adding the line

application/pgp-signature: pgp %s

to my .mailcap
but that doesn't seem to be what is required.


-- 
Timothy Murphy  
e-mail: [EMAIL PROTECTED]
tel: 086-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Extended partition trouble
Date: 20 Sep 2000 23:58:04 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 20 Sep 2000 20:47:08 GMT, peracchi wrote:
>Hi everbody, Please help, I've got myself in a bad problem. ANY
>comments/help is much appreciated. In short, I installed win98se in one
>partition (primary), a few days later, i installed linux (eDesktop 2.4)
>in a logical partition inside a extended partition. System Commander
>controls the boot process.  After boot in linux, the system will not
>boot anymore unless i use some program to mark the first primary
>partition as active. � Now, if the When i choose boot the linux in
>hda7, System Commander marks hda4 (extended) and hda7 as bootable.
>After i reboot the system, System Commander don't appear anymore.
>Instead i receive a message asking for a boot/system disk. I

Odd, but I think this hackaround will work:

0. Use fdisk within Linux to set /dev/hda1 as active.
1. dd if=/dev/hda of=/sbin/hackboot.raw bs=512 count=1
2. Edit the shutdown script (/etc/rc.d/init.d/halt on RedHat,
/sbin/init.d/halt on SuSE, no idea for Caldera) so that it includes the
following line somewhere before the "halt" command:
  dd if=/sbin/hackboot.raw of=/dev/hda bs=512 count=1

BTW, LILO and grub can boot other operating systems without all this
silliness.  You may wish to look into using one of those.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Those who do not understand Unix are
http://www.brainbench.com     /   condemned to reinvent it, poorly.
=============================/           ==Henry Spencer

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

From: "kosh" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.setup,comp.os.linux.advocacy,alt.os.linux.mandrake
Subject: Re: New Linux Install
Date: Wed, 20 Sep 2000 17:57:44 -0600

In article <[EMAIL PROTECTED]>, "James M. Luongo"
<[EMAIL PROTECTED]> wrote:

> OK, thanks for all the help.  I have Mandrake 6 on cd, that's why I
> didn't know about grub.  I was planning on downloading the 7.1 ISO from
> mandrake's website.  I'll let you know if I have any problems with the
> install.  I have a number of ide and scsi devices, and also 2 USB
> devices and an SB Live, i heard there was some probs with that.  But
> I'll see what happens.
> 

Actually I have a sblive and a usb logitech optical mouse. It detected
both  of them and set them up just fine. Also have a geforce and it found
that and  got it installed also. You should do pretty well.

> 
> kosh wrote:
>> 
>> In article <[EMAIL PROTECTED]>, "James M. Luongo"
>> <[EMAIL PROTECTED]> wrote:
>> 
>> > I plan on installing Linux Mandrake 7.1 for the first time.  I need
>> > some help.  How big should the partitions be?  And, I heard something
>> > about LiLo not recognizing a Linux partition after a certain disk
>> > cylinder (or sector, whatever).  I think it was 1023, but I'm not
>> > sure.  Is this true?  Help!
>> 
>> If you are installing Mandrake 7.1 just read the docs it has with it. I
>> have installed Mandrake 7.1 on many boxes and never had a problem on
>> anything  more modern then a P90. It does a very good job at detection.
>> If you put the kernel where lilo can't reach grub is used
>> automatically. The mandrake 7.1 install is about the easiest linux
>> install I have ever used.
>> 
>> That is why whenever I help a customer who wants to get rid of windows
>> I help them dual boot Mandrake and let them install it with me
>> watching. Usually they never ask me a single question during the
>> install. Usually I get comments about how easy it is to set up.
>

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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to