Linux-Misc Digest #989, Volume #18               Thu, 11 Feb 99 19:13:09 EST

Contents:
  Re: KDE opens more and more Xterms each time! (Rick Walker)
  Flush swap manually? (oak)
  Re: Microsoft Linux 1.0 (John Hasler)
  Re: Newbie question (Tommy Willoughby)
  mmap or shmget? ([EMAIL PROTECTED])
  Re: a.out will not work (Rob O'Connell)
  Re: simple question about text editing tools (Ben Russo)
  Looking for nice editor, FTP a must. (Chad M. Townsend)
  Re: What is on this floppy? (Ben Russo)
  making backups with Zip dives (Neil Zanella)
  Re: KDE is a Memory Hog. ([EMAIL PROTECTED])
  Re: How can I get the 2B channels up in my ISDN Modem using RH5.2 (Xaymara Perez)
  Re: K6-2 and Linux, Are there any Bug? (concord)
  WindowMaker ([EMAIL PROTECTED])
  Re: Criminally Insane Programmers Are Attracted To Open Source Code (Bev)
  Re: Linux on a Sparc (Tadpole) (Ben Russo)
  Re: linux printing (Rob Fargher)
  Re: LINUX PPP on a SPARC10 (Bill Unruh)
  Re: Europarlement wishes to ban Proxy servers (Steve Salgo)

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

From: [EMAIL PROTECTED] (Rick Walker)
Subject: Re: KDE opens more and more Xterms each time!
Date: 11 Feb 1999 22:02:46 GMT

Marco Tephlant ([EMAIL PROTECTED]) wrote:
: Tarcus wrote:

: > This is the problem. IIRC Kde does "session management", it remembers
: > what apps  you had running when you exit and tries to restart them
: > again.  Unfortunately it doesn't pay any heed to the fact that the
: > user might want to start the apps from something more flexible, like
: > the .xinitrc file, so an xterm and xclock starts from that, then KDE
: > starts, remembers that you had some xterms and xclocks running, and
: > starts them.  When you shut down, it remembers how many you had and
: > decides to start them again when you next re-enter KDE.
: >
: > Just switch off session management and remember that Windows95 is the
: > model for KDE.

: I tried removing the xterm and xclock from the xinitrc file but then kde
: wont start at all!
: Thanks for the info,  how do you switch off session management (my KDE
: installation that SuSe
: installed seems broken as none of the KDE help files work!)

As previously mentioned, KDE will restart all apps currently
running when KDE is shutdown.  To live with this feature 
you must remove all invocations from your .xinitrc file.

If you want to turn off session management, KDE 1.2 (IIRC) has a dialog
where you can give regular expressions based on app-name, etc., to
prevent certain classes of apps from getting restarted.   You can use
this for any subset of apps, so you can let KDE manage your xosview,
kwm, khelp, etc., while ignoring terminal apps (xterm, rxvt, kvt).

You have to make a choice of style here.  Using session management with
.xinitrc-started progs is a mess.  Hopefully, now that you know what's
going on, you can find a nice compromise for yourself. 

Best regards,
--
Rick Walker 



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

From: oak <[EMAIL PROTECTED]>
Subject: Flush swap manually?
Date: Thu, 11 Feb 1999 22:22:25 GMT

     Anyone know how I can manually flush swap?
     I know people say that the system is smart and will do it on it's
own, but that sometimes doesn't happen when running a lot of applications.
     For example, when I'm working with serveral gigabytes of
multimedia files I'll sometimes find that swap is
 being used, but when I want to go back and work on other things that
don't require a lot of memory usage I find that there's
 a lot of stuff still in swap and my hard drive works harder than usual.
Most troubling is my hard drive's red light
which STAYS on, even when the hard drive isn't being accessed!
     There's no way the system can know that I don't intend to work on
anything it has saved in swap, there's no way 
the system can know that I'm going to use a whole new set of
applications so it makes good sense in such cases 
to clear out swap manually.
     The same can be said with memory in ram. Anyone know how I could
flush ram so that there's nothing in the buffers?

Thanks,

-Tony


========================================================
 Abbreviate - af 2 millenia, a btr wy t rd n wri.
         http://www.eskimo.com/~oak/abr/

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Microsoft Linux 1.0
Date: Wed, 10 Feb 1999 17:23:46 GMT

Neil Cherry writes:
> Would kinda be neat to have as a war trophy. :-)

But only if you bought it for $1.99 from Cheap Bytes.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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

From: Tommy Willoughby <[EMAIL PROTECTED]>
Subject: Re: Newbie question
Date: Wed, 10 Feb 1999 18:33:17 GMT

Gregory S. Lyons <[EMAIL PROTECTED]> wrote:
> I've frequently seen commands referenced with a number in parentheses
> following the command name. What does this refer to?

The number is the section of the man pages. A command might have entries
in multiple sections, and if you just type man <command> you'll just get
the first page found. So if command foo has man entries in section 1, 2,
and 5, typing "man foo" will return only the man page in section 1. To see
the others, you'd have to specify, eg. "man 5 foo", or "man 2 foo".

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

From: [EMAIL PROTECTED]
Subject: mmap or shmget?
Date: Wed, 10 Feb 1999 17:32:22 GMT

Hello,

I'm looking for a simple method to access shared memory allocated by one
Unix-Tasks from different other Tasks in a SMP/ccNUMA environment,
synchronization is not needed. What is better: shmget/shmat or mmap? Thanks
for hints.

H. Schickle

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Rob O'Connell <[EMAIL PROTECTED]>
Subject: Re: a.out will not work
Date: Thu, 11 Feb 1999 16:25:58 -0600

try at you prompt typing:

prompt#./a.out
(so just dot followed by slash followed by your command...)
if this works then the current dir is not on your path and you need to
explicity say where to run the file from

Rob


@erols.com wrote:

> i recently installed Red Hat 5.1 on 3 PCs and they all work great, except
> for running a c program.  i tried cc hello.c
>                                                       a.out
> but it gives error message: bash a.out: command not found
> (i also tried gcc -o hello hello.c but it give similar error hello not
> found)
>
> Please help!
>
> Jerry Squadron

--
Rob O'Connell - "Work is the curse of the drinking class" - Oscar Wilde
lab#: (608) 2659467 mob#: (608) 3473838 home#: (608) 2519918
Work address: Plasma Physics, 1150 University Ave., Madison WI 53706
mailto:[EMAIL PROTECTED] http://aida.physics.wisc.edu/~oconnell




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

From: Ben Russo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: simple question about text editing tools
Date: Thu, 11 Feb 1999 15:31:35 -0500

Steve Sanyal wrote:

> Hi,
>
> My editor put in tab characters, and my programs look horrendous because
> of the indenting.  I have since switched to "emulate tabs" mode only.
>
> Is there an easy way that I can replace each existing tab character with
> 3 spaces?
>
> If so, can someone please tell me the command?
>
> Please send your reply by email, if possible.
>
> Thanks
>
> Steve

You need to tell everyone what editor you are using.


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

From: Chad M. Townsend <[EMAIL PROTECTED]>
Subject: Looking for nice editor, FTP a must.
Date: Wed, 10 Feb 1999 18:27:26 GMT



I am looking for a editor like 'Codewrite for win95'.  The most important
feature I need is the ability for it to be able to FTP files in and out.  Like
BBEdit for Macs, anyone see anything like that?  Does emacs do that?

-chad


========================================================
Chad M. Townsend         Virtual Community Network, Inc.
Chief Technical Officer  Your Local Community Online!

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: What is on this floppy?
Date: Wed, 10 Feb 1999 13:30:37 -0500

Michael Talbot-Wilson wrote:

> Hi.  Does anyone know of a program that will look at a floppy and
> make some guesses as to whether or what file system is on it?  One
> can cat the device and see what it looks like, or try to untar and
> see if it works, but I guess this could be automated.

mount will try to determine what file system there is if there is
a partition table with type labels.  But floppies don't have a
partition table AFAIK.  Have you tried mount with no -t option?

-Ben.


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

From: Neil Zanella <[EMAIL PROTECTED]>
Subject: making backups with Zip dives
Date: Fri, 29 Jan 1999 03:56:50 -0330


Hello,

I am wondering whether it is OK to simply do a mk2efs /dev/sda on

a parallel port Zip drive, and back up studd with cp after mounting

with mount -t ext2 /dev/sda4 /mnt/zip ?

What's the best way to make backups? Are there any advantages to using

bru to do this? Is what I am doing safe?

Thanks,

Neil Zanella
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: Re: KDE is a Memory Hog.
Reply-To: [EMAIL PROTECTED]
Date: Thu, 11 Feb 1999 22:04:05 GMT

David A. Frantz <[EMAIL PROTECTED]> wrote:
: 
: You can have all of the above and still have an app that is conservative in
: its resource usage.    The way KDE uses memory you would have to wonder just
: how careful the implementers were in there coding.
: 
: Dave
: 

You don't have to wonder - you can check it yourself, you've got the
source, haven't you. No use casting aspersions on peoples work if you
can check your facts.

Anyway, looking through the code of kwm, for example, reveals code
that's as well-documented as anything, and that's a good sign in my 
book, it usually means the coder has thought about his code, instead
of just churning it out. 

As for the actual footprint: a fresh installed KDE takes about 29 mb,
of which 12 mb are shared files like pixmaps, that fall outside the
field of frugal coding - you wouldn't want the KDE developers to drop
the standard XPM format, would you, or settle for less documentation,
4 mb of shared libraries and 10 mb of executables. 

That compares very favourably with packages like StarOffice (75 mb), 
Netscape (28 mb), or the contents of my /usr/X11R6/bin directory,
which is more than 20 mb, or even Emacs, which is a single program of
2 mb.

Actually, I'd say that KDE offers a lot of functionality in a, all
things considered, remarkably small package...
-- 

Boudewijn Rempt  | www.xs4all.nl/~bsarempt

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

From: Xaymara Perez <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking,comp.dcom.isdn
Subject: Re: How can I get the 2B channels up in my ISDN Modem using RH5.2
Date: Wed, 10 Feb 1999 12:17:05 -0500

Mark Cooperstein wrote:
> 
> for one thing, the init string below won't work because you MUST escape any
> ampersands "&" with a backslash character, eg:
> ATS71=1S80=1\&D2
> 

I will try that... but you think that is going to solve the problem?

> I don't have any experience with the IQ and Linux, although I do own an IQ and
> have used it extensively with DUN and Win98.  Currently, I have an Motorola
> BitSurfr PRO hooked up to a 2.1.130 Linux box and it works great with both
> channels.  It took some diddling to get it to work at 230K, but eventually I
> figured it out.

My ISDN modem works fine with Win98 and NT... What do you use to connect
then?
> 
> Are you sure that your ISP will allow a 2B connection for your account?
> (Stupid question, but I had to ask....).  If you haven't setup with them for
> 2B ISDN, they will usually nuke the second channel as soon as it tries to
> authenticate.

Yes I can... actually I pay $45 for unlimited 2B access... I can connect
with the two channels on Windows
> 
> Mark
> 
> In article <79o9k4$6ns$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> >Any response you get from this I would also like to read...
> >I have the exact same problem..
> >Keith
> >
> >In article <[EMAIL PROTECTED]>,
> >  Xaymara Perez <[EMAIL PROTECTED]> wrote:
> >> I have a 3Com Impact IQ ISDN modem (external) on a machine running Linux
> >> RedHat 5.2 (and the 2.2.1 kernel).  I can connect to my ISP just fine
> >> but with one channel instead of the two channels.  How can I connect
> >> with the two channels?  I thought that changing the initstring from ATZ
> >> to ATs71=1s80=1&d2 would do it, but it still connects to only one
> >> channel.  I did changed the speed to 115200 and I'm using the command
> >> ifppp0 up  to connect.
> >>
> >> Any suggestions?
> >>
> >
> >-----------== Posted via Deja News, The Discussion Network ==----------
> >http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
> 
> **  Remove ".nospam" when replying or email will bounce back to you...

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

From: concord <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.slackware,comp.os.linux.development.system,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: K6-2 and Linux, Are there any Bug?
Date: Thu, 11 Feb 1999 23:05:48 +0000

>

Same thing here - only I've got a Tekram motherboard with the exact same
setup.

Frank

> I have Red Hat 5.1 running with an AMD K6-2 350, 64MB PC 100 RAM, and FIC
> 2013 board.  I don't know about your board, but I think AMD is ok.


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

From: [EMAIL PROTECTED]
Subject: WindowMaker
Date: Wed, 10 Feb 1999 18:51:33 GMT

Finally got Windowmaker .50 Installed and working. Have a problem in trying
to create the Program Menu. It is currently empty. Looking at the menu script
in the ~/GNUstep/Library/Windowmaker directory. There is a file called menu.
One of the lines in that file looks like this:

""Programs" OPEN_MENU | wmconfig --output wmaker 2>/dev/nul"

Is the 2> a mistake. And it appears that the line is supposed to make a
generic Programs Directory but it doesn't. Is there something wrong with the
script or do I need to modify the script by hand to add my programs?
Thanks...

This is on a RH5.2 Machine...

Bill Sends...


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Bev <[EMAIL PROTECTED]>
Subject: Re: Criminally Insane Programmers Are Attracted To Open Source Code
Date: Wed, 10 Feb 1999 10:54:19 -0800
Reply-To: Bev <[EMAIL PROTECTED]>

David Kastrup wrote:
> 
> "Mark Harrison" <[EMAIL PROTECTED]> writes:
> 
> > Max F Lang wrote in message <[EMAIL PROTECTED]>...
> > >In the 80's among OS/2
> > >developer groups it was pretty well known that BG -hated- children,
> > >esspecially babies. Couldn't stand to be around them. Now he has two(?).
> >
> > You get used to them... if you're not careful, you actually
> > become quite fond of them.
> 
> You don't need to get used to them if you are working 20h/day and have
> a large enough mansion.

Besides, they'll disappear soon enough when they get to be eatin' size.

-- 
Cheers,
Bev      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"I worry that the person who thought up Muzak may be 
 thinking  up something else."         --Lily Tomlin


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

From: Ben Russo <[EMAIL PROTECTED]>
Subject: Re: Linux on a Sparc (Tadpole)
Date: Wed, 10 Feb 1999 13:40:26 -0500

Paul Hovnanian wrote:

> I (we) have a stack of Tadpole "SparcBooks" which are notebook
> computers with Sparc-compatible processors, running SunOS 4.1.2.
>
> These are no longer supported by the vendor, who recommends that
> we upgrade for $$. The above OS is not guaranteed to be Y2K compliant,
> so we may end up tossing them.
>
> Is anyone familiar with these things? Would it be possible to
> run Linux for a sparc on them (they are binary compatible with
> an old Sparc 1+ we used to have)? The display hardware appears to
> be some sort of VGA-compatible LCD with a 640x480 VGA output. They
> have built-in ethernet, modem and parallel port.
>
> Although technology has long sinbce passed these by, loading them with
> linux would seem to be the only alternative to tossing them out.
>
> Anyone familiar with these things? Please e-mail me, our news-server
> doesn't keep a large backlog.
>
> --
> Paul Hovnanian (here)    mailto:[EMAIL PROTECTED]
>                (there)   mailto:[EMAIL PROTECTED]
> Send spam to:            mailto:[EMAIL PROTECTED]
> -----------------------------------------------------------------------

http://www.geog.ubc.ca/s_linux.html

And if you get it up and running, go to the linux laptop page and post the

difficulties you had, and what your Config files look like.


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

From: fargher@*NO_PORK_LUNCHEON_MEAT*.POBoxes.com (Rob Fargher)
Subject: Re: linux printing
Reply-To: fargher@*NO_PORK_LUNCHEON_MEAT*.POBoxes.com
Date: Thu, 11 Feb 1999 23:37:36 GMT

In article <79t2dd$dre$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>My printer is locally connected. I typed lpr myFile, and saw the
>myFile got spooled to the /var/spool/lpd/lp0 as specified in the
>/etc/printcap file. However, I got the message saying that
>"wait for lp0 to be ready. (offline?)" and nothing came out from
>the Deskjet. I do have a device file at /dev/lp0 and I know my
>printer is connected to LPT1 (I can print it from Win95), which
>presumably is /dev/lp0.

  I'm in exactly the same situation as you, running the 2.2.1 kernel. When
I boot, the logon messages say, "lp driver loaded, no devices found".  
/proc/devices does not show an lp device.  If your /proc/devices file doesn't
show an lp device, you aren't going to be able to print.

  So far, I figure the problem is that printer support hasn't been compiled 
into the kernel, even though I configure it for parallel port support.  At
this point I'm stumped, I don't know what else I have to do to get the 
kernel to support printing.

Cheers,
Rob 

-- 
Please remove the *NO_PORK_LUNCHEON_MEAT* from my e-mail address to 
reply via e-mail.

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: 
comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.hardware,alt.os.linux,comp.protocols.ppp,linux.redhat.install
Subject: Re: LINUX PPP on a SPARC10
Date: 29 Jan 1999 08:10:54 GMT

In <78qsci$k8u$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Moe) writes:

>I'm trying to connect via PPP to the University of Wisc PPP server. The modem 
>connects and then I see garbage chars (in /var/log/messages that is).

>What would I see if they're assuming I'm going to start using PPP right away? 
>And how do I login? 

You would see exactly that. The user authorisation will then be done via
PAP (probably) or CHAP. Your username and password then go inot the 
/etc/ppp/pap-secrets or /etc/ppp/chap-secrets file.
So, have the chat script finish after it sees the CONNECT message, and
let pppd take over. Look in /var/log/messages for a 
<auth pap> or <auth chap> in one of the lines. That will tell you
which.

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

From: [EMAIL PROTECTED] (Steve Salgo)
Crossposted-To: comp.os.ms-windows-nt.misc
Subject: Re: Europarlement wishes to ban Proxy servers
Date: Thu, 11 Feb 1999 23:30:30 GMT
Reply-To: [EMAIL PROTECTED]

I wouldn't worry. The goverment cannot stop everyone who runs a proxy
server.

On Thu, 11 Feb 1999 16:43:28 +0100, Raymond Doetjes
<[EMAIL PROTECTED]> wrote:

>This is a multi-part message in MIME format.
>--------------7A2472CF162E61570EAE2074
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Those fucking guys with ties in Brussel, are thinking about banning
>proxy servers from the internet!!!
>They clame to provide copyright security this way.
>But infact it is the start of a new plan to let people pay tax per



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


** 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