Linux-Misc Digest #172, Volume #24               Sun, 16 Apr 00 22:13:03 EDT

Contents:
  Re: multifile editor (Ian Mortimer)
  win98 and multiple linuxes ([EMAIL PROTECTED])
  Re: uninstaling corel linux (Dances With Crows)
  Re: How Microsoft inhibits competition & innovation ("Erik Funkenbusch")
  Re: How Microsoft inhibits competition & innovation ("Erik Funkenbusch")
  remote access error messages... ([EMAIL PROTECTED])
  Re: How Microsoft inhibits competition & innovation ("Erik Funkenbusch")
  Re: Redhat 6.2 broke! (Kevin)
  Re: How Microsoft inhibits competition & innovation ("Quantum Leaper")
  Re: How Microsoft inhibits competition & innovation (Mark Bratcher)
  New Kernel Compile Problem (wayne)
  Re: Windows 2000 & Linux (Ben Walker)
  how do I get pop3 working? ("Kirk Wythers")
  Re: No sound, no PPP, no nfss (mh)
  removing empty lines from multiple files... (Tom Berger)
  Re: How Microsoft inhibits competition & innovation (Kevin)
  Re: How Microsoft inhibits competition & innovation (Kevin)
  Re: User can't access zip disk? ("Andrew E. Schulman")
  Re: Q: Best printer for linux box? ("Gordon Reeder on Tux.1")
  Re: soundcard driver (Kevin)
  Re: Redhat 6.2 broke! (Kevin)
  Copying files (Kevin)
  Re: Email for linux console (Munge)
  Re: A few questions -> help!! (Dave Brown)
  Re: bash prompt (Johan Kullstam)
  Re: /dev (Charles Brands)
  Vi Lovers Home Page renewed ("Thomer M. Gil")

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

From: Ian Mortimer <[EMAIL PROTECTED]>
Subject: Re: multifile editor
Date: Mon, 17 Apr 2000 01:16:48 +0000

Charles Esson wrote:
> 
> I know I should be using "vi" "find" and "grep".
> 
> I would however like an editor that.
> 
> 1) displays the line number.

in vi type :set nu

> 2) allows me to search all file in the directory and sub directory with
> a couple of clicks and a sting entry.

you can execute shell commands in vi using :!<command here>
eg. :!grep -s foobar *.c  (or whatever)

> 3) allow me to have multiple windows open.

I think there is an app called xvi or something that allows multiple
windows or you could just have multiple xterms open !

HTH,

Ian :)

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

From: [EMAIL PROTECTED]
Subject: win98 and multiple linuxes
Date: Mon, 17 Apr 2000 00:12:53 GMT

I am having 4.3 GB hdd with win98 and RH6.1. RH6.1 with 1.6GB
partition of / and /boot with kde workstation install. Now I want to go
for another hdd of 8 GB. I want only win98 in first HDD and Linuxes
(RH6.1 and SuSE 6.3 etc. in second HDD. I would like your advice
regarding partition and procedure for installing the above three with
possible lilo.conf files at various stages. How to manage various /boot
partition for various distros as install /boot/boot.b is common in first
linux lilo.


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

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: uninstaling corel linux
Date: 16 Apr 2000 20:22:14 EDT
Reply-To: [EMAIL PROTECTED]

On Sun, 16 Apr 2000 22:50:40 +0100, Tim Hicks 
<<yCqK4.2834$[EMAIL PROTECTED]>> 
shouted forth into the ether:
>I was just about to post a very similar question regarding Rh6.1.  I assume
>that the fdisk /mbr method will work for that as well.  My question now is,
>what exactly does that do?  I always get a little nervous when I'm using
>fdisk, and I don't want any surprises when I do it!  My Win98 partition
>won't be affected by that operation will it?

FDISK /MBR (note capitalization!  This is an MS-DOG option) will overwrite
the first 446 bytes of the master boot record with a piece of code that
says, "Jump to the first partition marked 'bootable' and begin executing
the code from that partition's bootsector."  It will not mess with the
partition table, and it shouldn't break Lose9x.  Just make sure you have
your Lose9x "C:" partition marked bootable with fdisk or FDISK, otherwise
you *will* have problems.

Note that this will not work with LoseNT, since its bootloader is
different.  (Now where did I put that copy of the 446-byte NT MBR...?)

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: "Erik Funkenbusch" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Sun, 16 Apr 2000 19:33:35 -0500

Rod Smith <[EMAIL PROTECTED]> wrote in message
news:eLFJ4.4537$[EMAIL PROTECTED]...
> In article <MnCJ4.2083$[EMAIL PROTECTED]>,
> "Erik Funkenbusch" <[EMAIL PROTECTED]> writes:
> > Eric Peterson <[EMAIL PROTECTED]> wrote in message
> > news:HxrJ4.2775$[EMAIL PROTECTED]...
> >> > The aforementioned mouse.
> >>
> >> Sorry, but I saw a similar mouse advertised in the late 80s.
> >> It failed because it was too expensive, but MS did NOT innovate it.
> >
> > Interesting.  Nobody else in the universe except for you has seen this
> > mythical mouse.  You have no names and no way to prove your statements.
> > Name the mouse and manufacturer or retract your statement.
>
> I recall hearing something about such a mouse in the 80s, too. I don't
> recall the name of the manufacturer, though.

Ahh.. the urban legend continues.

> >> > Squiggly-underline spellchecking.
> >> > Squiggly-underline grammar checking.
> >>
> >> So a squiggly line is innovative?
> >> Spell and grammar checkers existed long before MS adopted them.
> >
> > On-the-fly correct-as-you type grammar checking did not exist before.
>
> I don't know when Microsoft "invented" this feature, but it was present in
> a word processor on the Atari ST line in 1986 or 1987. Well, for spell
> checking, anyhow, not grammar checking.

"Yes, it did exist... oh.. no.. well.. no it didn't.. it was something
else".





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

From: "Erik Funkenbusch" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Sun, 16 Apr 2000 19:35:41 -0500

Hank Shiffman <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Erik Funkenbusch wrote:
> >
> > Eric Peterson <[EMAIL PROTECTED]> wrote in message
> > news:HxrJ4.2775$[EMAIL PROTECTED]...
> > > > The aforementioned mouse.
> > >
> > > Sorry, but I saw a similar mouse advertised in the late 80s.
> > > It failed because it was too expensive, but MS did NOT innovate it.
> >
> > Interesting.  Nobody else in the universe except for you has seen this
> > mythical mouse.  You have no names and no way to prove your statements.
> > Name the mouse and manufacturer or retract your statement.
>
> Nonsense.  I too remember articles about this mouse, although it may
> have appeared in the very early 90s.  I was at Sun from 1988 and using a
> more traditional optical mouse at the time.  So your statement about
> "nobody else in the universe" is now demonstrably false.

Demonstrably?  Simply because multiple people claim to vaguely remember
something that they can not name or produce any proof of?

There are thousands of people that claim to have been abducted by aliens as
well.  Does that make it demonstrably true?



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

From: [EMAIL PROTECTED]
Subject: remote access error messages...
Date: Mon, 17 Apr 2000 00:15:25 GMT

A quick question for ya:

Whenever I log onto my school's linux webserver through telnet to check
email with pine, I recieve the following message:

_setutent: Can't open utmp file: No such file or directory

then the login and password prompts (which work fine) apprear.  After
successfully loging in, the above message is restated twice and the
default welcome message is displayed and I can use the connection as
normal.

Then when running a few commands such as who:

who: /var/run/utmp: No such file or directory

Any clue as to what this means, what the damage is, and how to fix it?
BTW - This happens on all logins to all users as far as i can tell, and
mail/website both work fine so its (thankfully) not affecting them.
<knock knock knock...>

Thank You,
BibbDoo




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

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

From: "Erik Funkenbusch" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Sun, 16 Apr 2000 19:36:25 -0500

Robie Basak <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Fri, 14 Apr 2000 05:33:25 -0500, Erik Funkenbusch said:
> >Eric Peterson <[EMAIL PROTECTED]> wrote in message
> >news:HxrJ4.2775$[EMAIL PROTECTED]...
> >> > The aforementioned mouse.
> >>
> >> Sorry, but I saw a similar mouse advertised in the late 80s.
> >> It failed because it was too expensive, but MS did NOT innovate it.
> >
> >Interesting.  Nobody else in the universe except for you has seen this
> >mythical mouse.  You have no names and no way to prove your statements.
> >Name the mouse and manufacturer or retract your statement.
>
> IIRC, Xerox invented the mouse/GUI. Apple took the idea from them (Lisa?),
> and Microsoft from Apple.

We're talking about the optical mouse that can be used on virtually any
surface (as opposed to the opticals that needed special mouse pads).





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

From: Kevin <[EMAIL PROTECTED]>
Subject: Re: Redhat 6.2 broke!
Date: Mon, 17 Apr 2000 00:30:14 GMT

KDE KKE whatever. A better name is needed.
David .. wrote:
> 
> KP wrote:
> > 
> > I switched to the GNOBE from KKE and now, it doesn't work.  I can move 
the
> > mouse around and nothing happens! I tried to use the command prompt to
> > switch back to the KKE interface, but it won't work, nothing opens!  I
> > suppose I should just unistall Linux and wait until it gets better.
> 
> KKE and GNOBE might not work but maybe KDE or GNOME might.
> 
> -- 
> Registered with the Linux Counter.  http://counter.li.org
> ID # 123538


--
Posted via CNET Help.com
http://www.help.com/

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

From: "Quantum Leaper" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Mon, 17 Apr 2000 00:33:07 GMT


"pwnichols" <[EMAIL PROTECTED]> wrote in message
news:svmK4.105571$[EMAIL PROTECTED]...
> What a dumb argument. The first mouse type pointing device was developed
by
> Zerox!
>

No it wasn't it was developed in the late 60s at the same time as Doug
Englebart was demoing the first workable GUI.



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

From: Mark Bratcher <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Sun, 16 Apr 2000 20:40:36 -0400

Erik Funkenbusch wrote:
> 
> Robie Basak <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > On Fri, 14 Apr 2000 05:33:25 -0500, Erik Funkenbusch said:
> > >Eric Peterson <[EMAIL PROTECTED]> wrote in message
> > >news:HxrJ4.2775$[EMAIL PROTECTED]...
> > >> > The aforementioned mouse.
> > >>
> > >> Sorry, but I saw a similar mouse advertised in the late 80s.
> > >> It failed because it was too expensive, but MS did NOT innovate it.
> > >
> > >Interesting.  Nobody else in the universe except for you has seen this
> > >mythical mouse.  You have no names and no way to prove your statements.
> > >Name the mouse and manufacturer or retract your statement.
> >
> > IIRC, Xerox invented the mouse/GUI. Apple took the idea from them (Lisa?),
> > and Microsoft from Apple.
> 
> We're talking about the optical mouse that can be used on virtually any
> surface (as opposed to the opticals that needed special mouse pads).

Oh, _that_ innovation! I'm so glad MS accomplished that little bit of
productivity for me. I mean, those mouse pads are so expensive! And now
that I don't have to have one, I can do maybe double the amount of work
in a day I used to be able to do. Between innovations like that and the
3D cartoon of Albert Einstein who pops up to help me with Word, I can
easily overlook all of the very annoying bugs in Windows and Office,
having to do with real features, that they seem to avoid fixing. :-)

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

From: wayne <[EMAIL PROTECTED]>
Subject: New Kernel Compile Problem
Date: Sun, 16 Apr 2000 17:40:51 -0700

I recompiled Mandrake 7.0 for modules (kwitnv and bttv complained the
kernel was not modular). I now get messages , particularily in Netscape,
"VPBINDPROC_DOMAIN: Domain not bound".
How do I fix that and what the heck is it? I did load NIS as a module,
not knowing if that was needed or not.

Wayne


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

From: [EMAIL PROTECTED] (Ben Walker)
Subject: Re: Windows 2000 & Linux
Date: 16 Apr 2000 18:41:23 -0600

In article <[EMAIL PROTECTED]>,
Richard F. Jr. <[EMAIL PROTECTED]> wrote:
>http://linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html
>
>"Kwizatz Haderach" <[EMAIL PROTECTED]> wrote in message
>news:iPhK4.93135$[EMAIL PROTECTED]...
>Hi
>
>I have a bit of trouble running Linux & Windows 2000 on the same machine.
>I need to configure the NT Loader in such a way that it can boot my
>Linux-system.
>
>Does anyone know how to do this or where I can find info?

Try reading

http://metalab.unc.edu/pub/Linux/docs/HOWTO/mini/Linux+NT-Loader

I've got this to work with NT 4.0.  It should work with 2000.

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

From: "Kirk Wythers" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,linux.redhat.misc
Subject: how do I get pop3 working?
Date: Sun, 16 Apr 2000 18:48:28 -0700

I'm trying to set up my office machine as a pop3 server. I have tried both
the standard poper that ships with redhat 6.2 and qpopper. Both give me the
same "relaying denied" error message when I try and access the machine from
home (by the way I can ftp and telnet to the machine just fine). Does this
message mean anything to anybody? Have I overlooked something simple?

Thanks in advance,

Kirk





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

Date: Mon, 17 Apr 2000 00:53:30 +0000
From: mh <[EMAIL PROTECTED]>
Subject: Re: No sound, no PPP, no nfss

I solved the sound problem and the "nfss" (actually, nfssvc) FAILED
status message.  

I missed the "OSS sound modules" option during compiling.  Non-obvious,
since there is a separate "Sound Blaster compatibles" loadable module (I
have an SB AWE64).  I also discovered that "nfssvc" was referring to
"nfsd" and that nfsd is apparently "experimental" and not an option
dislplayed by default.  That was certainly a surprise.  Also, it is
apparently only needed for NFS servers, not clients. 

I still have not solved the "PPP not compiled into the kernel or loaded
as a module" error message, but it only appears the first time I run
kppp.  I would still like to know how to use multiple System.map files
for loading multiple kernels.  Feel free to offer suggestions.

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

From: Tom Berger <[EMAIL PROTECTED]>
Subject: removing empty lines from multiple files...
Date: Mon, 17 Apr 2000 00:45:08 GMT

Hi there!

Ok, I suck :-(. All I want to do is this:

removing empty lines from a bunch files.

I don't get it. I know about "sed /^$/d" and it does its job well - on
standard output :-\.

But I really don't want to run 'sed' on each file, redirect the output
and then copy back the output files to their original file names (which
is further complicated by the fact that there are files in the same
directory which should stay untouched...).

I've tried out the 'replace' script by Richard K. Lloyd with every
sensible (and some unsensible) combination of hex ASCII codes, but this
doesn't work either.

Now its 2.30 AM and I admit defeat ... Can someone help me:

The command should

- read a specified set of files from a directory
- remove all empty lines from these files
- write back the changed files

Thanks

tom

--
"Never trust a Shoggoth!"
Thomas Berger, [EMAIL PROTECTED]


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

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

From: Kevin <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Mon, 17 Apr 2000 01:13:15 GMT



Walter Dnes wrote:
> 
> BTW, X-Windows has been around a long time.

X-Windows?  What's that?  Do you have a URL for this program?

I've never heard of X-Windows.  I've heard of the X Windowing
System, but never X-Windows.

My point: If you were wrong about something as well-known
as the X Windowing System's name, then perhaps you're wrong
about everything.

Kevin.

-- 

Java Programmer, Matrix fanatic
"There is no spoon."
  - Neo

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

From: Kevin <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.java.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: Mon, 17 Apr 2000 01:20:09 GMT



pwnichols wrote:
> 
> What a dumb argument. The first mouse type pointing
> device was developed by Zerox!

Speaking of dumb things, who the hell is Zerox?

Or perhaps you meant Xerox?

Kevin.

-- 

Java Programmer, Matrix fanatic
"There is no spoon."
  - Neo

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

From: "Andrew E. Schulman" <[EMAIL PROTECTED]>
Subject: Re: User can't access zip disk?
Date: Sun, 16 Apr 2000 21:22:24 -0400

> In /etc/fstab I have the line
>         (for linux-formatted disks)
>         /dev/sda1       /zip    ext2    rw,user,noauto,exec
>         (for NTFS-formatted disks)
>         /dev/sda4       /dzip    vfat   rw,user,noauto,exec,umask=100
> Also, when I do an "ls" from the root directory I see:
>         drw-rw-rw-   5 kyasuda  users       16384 Jan  1  1970 dzip
>    Which means that the users (everybody) should have access to this disk drive!

Is vfat the right type for NTFS?  When you 'ls /dzip' as root, do you
see the disk contents?

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

From: "Gordon Reeder on Tux.1" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,comp.periphs.printers
Subject: Re: Q: Best printer for linux box?
Date: 16 Apr 2000 21:22:47 EDT

Rod Smith wrote:
> 
> [Posted and mailed]
> 
> In article <[EMAIL PROTECTED]>,
>         [EMAIL PROTECTED] writes:
> > I recently bought a Lexmark OptraColor 40. It is network PS printer and
> > supports Linux/Unix as well as windows. It work great for both systems
> > for me. Check www.buy.com clearance page. When I bought it was $94 (new)
> > compared to more than $300 in stores.
> 
People have reported good sucsuss with Epson Stylus 400/600/800
series and Some HP printers.  Watch out, some HP printers(722) 
are win printers.  The 800 series should work.  I have an 832
hooked to this system.

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

From: Kevin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: soundcard driver
Date: Mon, 17 Apr 2000 01:30:08 GMT

It does kind of suck.  I installed the driver on my Turtle Beach Montego 
II, which uses, the Aureal chipset, and had it work the first time for the 
CD, but after that nothing worked on the next bootup.
Big M wrote:
> 
> 
> I'm having a prob setting up the driver for my Aureal Vortex s/c...
> I've got the tarball onto my drive and expanded it, entered the 
directory it
> setup and become root. According to the readme file, the next step is the
> command: make install20  but.... it's not having any - it says no such
> command, or similar, so it appears that I'm stuck.
> As I'm a novice, I was wondering if some kind soul had any solutions?
> I'm running Mandrake 7.0 from a coverdisk.
> One other thing.... sorry, but as I'm a bit unsure of myself, could you
> spell it out - if poss. It would be greatly appreciated by a humble 
newbie
> looking for help and encouragement.
> Thanks in advance,
> Cheers!
> M
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


--
Posted via CNET Help.com
http://www.help.com/

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

From: Kevin <[EMAIL PROTECTED]>
Subject: Re: Redhat 6.2 broke!
Date: Mon, 17 Apr 2000 01:30:07 GMT

Sorry, I don't know how to read and write "nerd." I just installed Linux 
about a week ago and I don't understand the "nerd" language like you do.  
Perhaps you could save your time and post solutions to problems rather 
than useless criticism. But, if you want to you can add my first post to 
your list of funny, nerd jokes.
Juergen Heinzl wrote:
> 
> 
> In article <8ddbet$rii$[EMAIL PROTECTED]>, KP wrote:
> >I switched to the GNOBE from KKE and now, it doesn't work.  I can move 
the
> >mouse around and nothing happens! I tried to use the command prompt to
> >switch back to the KKE interface, but it won't work, nothing opens!  I
> >suppose I should just unistall Linux and wait until it gets better.
> [...]
> 
> If you really switched from *GNOBE* to *KKE* you had better
> start with learning how to read and write before trying the
> trolling game.
> 
> Five * for the lamest of the lamest posting this week 8-]


--
Posted via CNET Help.com
http://www.help.com/

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

From: Kevin <[EMAIL PROTECTED]>
Subject: Copying files
Date: Mon, 17 Apr 2000 01:30:10 GMT

I'm having problems copying files in Linux. I am new to Linux and I have 
Redhat Linux 6.2 and am having problems copying. I am trying to copy and 
move files dragging and dropping.  I get a "KFM Error, could not write 
file:myfilename perhaps access denied."  I changed the file permissions 
after that by right clicking and selecting as much as I could. It still 
didn't work. What do most of you do to get this to work?  

kp

--
Posted via CNET Help.com
http://www.help.com/

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

From: Munge <[EMAIL PROTECTED]>
Subject: Re: Email for linux console
Date: 17 Apr 2000 00:37:49 GMT

[EMAIL PROTECTED] <Bryan Hoyt> wrote:
: Any advice on what program I should use to download and send email from the linux 
:console?
: I want something relatively powerful, like Netscape Messenger, but for the console. 
:Thanks

Use pine. 



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

From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: A few questions -> help!!
Reply-To: [EMAIL PROTECTED]
Date: 16 Apr 2000 20:55:55 -0500

In article <[EMAIL PROTECTED]>, Leonard Evens wrote:
>[EMAIL PROTECTED] wrote:
>> 
>> "Mr. Bojangles" wrote:
>> -- Snip --
>> >
>> > 2) I am running RH 6.0, and was invoking X from the command line(startx).
>> > I had gkrellm and panel in my .xinitrc file, and then switched to runlevel
>> > 5(graphical login).  Now gkrellm does not start.  Does it use a different
>> > init script with the graphical login?
>> 
I believe the file you want to use if running the graphical login is .Xclients.
I'd verify that, but I don't run the graphical login.

>I used to think that and I can understand why people do.  But with
>more experience, I think it is better to boot in runlevel 5.
>That saves time when logging in because you don't have to start X.
>Also rarely X hangs for peculiar reasons when starting, so you
>also avoid that.   If you run into trouble, Ctrl-Alt-Backspace
>will get you out.  Then you can reboot with linux 3
>at the boot prompt in case you need to troubleshoot without being
>in X.

Incidentally, I've found that if running Gnome/Enlightenment, that you 
probably don't want to kill X with ctrl-alt-backspace.  You may 
get away with it a few times, but sooner or later your gnome files 
will get hosed, and some gnome things will stop working.  It's a 
pain to fix.

I've also had students encounter problems with the "reboot" button in 
gnome logout causing the same.

-- 
Dave Brown  Austin, TX

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

Subject: Re: bash prompt
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Mon, 17 Apr 2000 01:57:45 GMT

Floyd Davidson <[EMAIL PROTECTED]> writes:

> Michael Powe <[EMAIL PROTECTED]> wrote:
> >>>>>> "Arlan" == Arlan Lucas de Souza <[EMAIL PROTECTED]> writes:
> >
> >    Arlan> Hi What should I do to change my PS1 variable in a xterm
> >    Arlan> window?
> >
> >    Arlan> According the Bash-Prompt-HOWTO, PS1 string should be set
> >    Arlan> in .bashrc. It's dont work to me. I try also in
> >    Arlan> .bash_profile and .xinitrc. However, if I start another
> >    Arlan> shell session from a xterm window the prompt is set
> >    Arlan> correctly to this second shell session.
> >
> >Yes, typically all your environmental stuff should go into ~/.bashrc,
> >which is invoked in ~/.bash_profile.  The xterm must be started with
> >the -ls option, which makes it a login shell.  Otherwise, it won't
> >read the login files.  It sounds like the first one is not a login
> >xterm, but the second one is.
> 
> You might want to invoke xterm with the -ls option for other
> reasons, but it is not necessary in order to cause ~/.bashrc
> to be sourced by bash started by an xterm.
> 
> Bash sources the ~/.bashrc file all non-login interactive
> shells.  For non-interactive shells the BASH_ENV variable (or
> ENV for older versions of bash) points to a file to be sourced.
> Login shells source /etc/profile and then the first of
> ~/.bash_profile, ~/.bash_login, or ~/.profile that is found.

> Hence, to cause ~/.bashrc to be sourced by a login shell it is
> necessary to put that into ~/.bash_profile (or which ever file
> is used if not that one).  It is also convenient to set ENV and
> BASH_ENV at the same time, so that non-interactive subshells
> also source ~/.bashrc.  Typically almost the only things
> required to be in a ~/.bash_profile are PATH (and MANPATH etc.)
> plus,
> 
>   export BASH_ENV=~/.bashrc
>   export ENV=~/.bashrc
>   . ~/.bashrc

you are correct.  you must source .bashrc in .bash_profile for it to
run in the login shell.  however i feel that .bashrc should contain
interaction specific commands.  therefore, make BASH_ENV point to a
different file, e.g., .bashenv.  then you can alias stuff like ls in
.bashrc without having all your scripts suddenly break.

> The various PATH variables should be set only in login shells
> because then constructs like PATH=~/bin:$PATH can be used
> without adding another "~/bin:" to the PATH for each depth of
> subshell execution.

yes.  i set every environment variable in .bash_profile.  PS1 is not
(necessarily) an environment variable.  i would set PS1 in
.bash_profile, but it gets clobbered -- see below.

> However, while not necessary, it would not be wrong to set
> environment variables and define functions in ~/.bash_profile
> because they will be passed to all subshells.  Usually they are
> just put into ~/.bashrc and redefined for every subshell.
> 
> Aliases must be defined in ~/.bashrc, as they are not
> automatically passed to subshells.  Since that is true of
> aliases, most people put functions and variables into 
> ~/.bashrc also just to have everything in one file for
> easy editing.

also PS1 gets clobbered by non-interactive shells.  notice that startx
is a non-interactive shell invocation.  thus children of X do not
inherit PS1.  this is why i advocate setting PS1 in .bashrc.  it is,
after all, a purely interactive setting.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

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

From: Charles Brands <[EMAIL PROTECTED]>
Subject: Re: /dev
Date: Sun, 16 Apr 2000 21:58:52 -0400

Many thanks to Robie, Brian, and Cybrinjn for your reply.
I am convinced 20K of space is not worth taking any chances.
I will go to directories/websites you mentioned to learn as much about
these files as I can which was the most important motivation to begin
with.
Thamks again.
Charles Brands





On 16 Apr 2000 13:01:34 GMT, [EMAIL PROTECTED] (Robie Basak)
wrote:

>On Sat, 15 Apr 2000 21:08:41 -0400, Charles Brands said:
>>Hi
>>
>>I would like to prune my /dev directory of anything I don't need.
>
>I wouldn't recommend it; you never know when you'll need something,
>and they don't use up much space (just an inode).
>
>>Unfortunally for most  files in that directory I have no idea what
>>they are for. I know that these files represent devises and that hda
>>represents my first harddrive, therefore I can guess the meaning of
>>hdb but for the others I am without a clue. None of the linux books I
>>have mentione the files in the /dev directory other than hda(x). I was
>>wondering if someone knows a website that describes these files so
>>that learn there meaning.
>
>If you do:
>  cat /proc/devices
>it'll tell you the major numbers of the ones you're currently using;
>if you do:
>  ls -l /dev
>it'll tell you the major and minor numbers of the devices. This way
>you can work out which ones you're using.
>
>Also, try /usr/src/linux/Documentation/devices.txt if you have the
>kernel source installed (www.kernel.org) - it gives a comprehensive
>list.
>
>However, there are some special ones (/dev/log etc.) which won't
>appear in /proc/devices (or the kernel source), which is why I
>wouldn't recommend pruning it (OK so they aren't devices nodes, but
>anyway). I also wouldn't remove /dev/MAKEDEV, as this is how you
>restore them.
>
>Seriously, you'll probably find that you've cleared about 20K of space
>and stuff will stop working, so I wouldn't bother.
>
>Robie.


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

From: "Thomer M. Gil" <[EMAIL PROTECTED]>
Subject: Vi Lovers Home Page renewed
Date: Mon, 17 Apr 2000 02:02:32 GMT


Hi,


The Vi Lovers Home Page has been renewed. It is now better, clearer and even
more complete than ever before.

http://www.thomer.com/thomer/vi/vi.html

Some changes:

- More links to Vi related sites
- Better lay-out
- Better description for each link
- Links are ordered by their quality/applicability

Vi is probably the most widely used editor under UNIX but is also available
for Windows and a bunch of other operating systems.

The Vi Lovers Home Page is an excellent starting point if you're looking for
documentation, FAQs, Vi versions, Vi merchandise, Vi humor, Vi images, etc.

http://www.thomer.com/thomer/vi/vi.html

Thomer M. Gil

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


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