Linux-Misc Digest #200, Volume #26                Wed, 1 Nov 00 00:13:03 EST

Contents:
  Re: SU Problem...Any ideas? ([EMAIL PROTECTED])
  Re: SuSE6.4 and crashing netscape (Michel Catudal)
  Re: users,groups,persmissions etc (Zip)
  Re: Startup with a GUI :( (skeruno)
  Re: mp3 (Dances With Crows)
  Re: change user privilege... (Dances With Crows)
  Re: RedHat 7 install failed, need rescue help (Timothy Stark)
  Re: SU Problem...Any ideas? (Mark Post)
  Re: News Reader (Dances With Crows)
  Having trouble with wine (Neil)
  Re: which distribution is best??? (Rod Smith)
  Re: Having trouble with wine (jeff)
  Re: Netscape sucks: alternatives? ([EMAIL PROTECTED])
  Re: color prompt in tcsh ("David ..")
  Re: Microsoft vs Sony ([EMAIL PROTECTED])
  Re: News Reader (John Hasler)
  Re: LinkSys betrayed us!  Poor prospects for Linux. ("Peter T. Breuer")

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

From: [EMAIL PROTECTED]
Subject: Re: SU Problem...Any ideas?
Date: Wed, 01 Nov 2000 02:28:37 GMT

Everything looks fine. I can su to other logins, just not to root...it
says my password is incorrect...but like I said before, I have the
ability to SSH into linux using root.

Oh woe is me.



In article <01c0439c$e2c69c40$[EMAIL PROTECTED]>,
  "Paolo Panizza" <[EMAIL PROTECTED]> wrote:
> suauth man page may give a hint:
> --------------
> NAME
>        suauth - Detailed su control file
>        The file /etc/suauth is referenced whenever the su command
>        is called. It can change the behaviour of the su  command,
>        based upon
>
>               1) the user su is targetting
>               2) the user executing the su command (or any groups
>               he might be a member of)
> ------------
>
> can you check su on console? did you try to su to another user?
>
> [EMAIL PROTECTED] wrote in article <8tlep9$ql7
$[EMAIL PROTECTED]>...
> > I'm not sure what changed.....
>
>


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

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

From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: SuSE6.4 and crashing netscape
Date: 31 Oct 2000 20:42:07 -0600

Stewart Honsberger a �crit :
> 
> On 19 Oct 2000 22:40:05 -0500, Michel Catudal wrote:
> >Update to SuSE 7.0 and download the latest Netscape version from
> >SuSE's web site. 4.75 US version with 128 bits encription.
> 
> Whoa! Upgrading the OS is the Windoze solution to things. The Linux solution
> is much simpler, can result in all your daemons not missing a single beat,
> and will likely fix the problem rather than using a band-aid and not knowing
> what was wrong in the first place.
> 

Actually SuSE 6.4 is rather unstable compared to SuSE 6.3 and SuSE 7.0
I've had lotsa problems with SuSE 6.4 
As for XFree86 4.01 it is just as buggy as 4.0 in the crashing
dept. I think I will go back to a 3.3.x version

> I've suggested that XFree86 be upgraded to 4.01, compiled from source,
> preferably, and that the latest version of Netscape be installed from
> Netscape's site; after the old installation was rm -rf'ed.
> 

The Netscape version from the Netscape site crashes big time, the
one from SuSE is very stable and has never crashed on me. On top of that
it has multilanguage support which is non existant in the Netscape
site version. As to why Netscape only provide a trash version on
their site is a mystery.
The versions that came with the CDs were buggy.

-- 
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.

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

From: Zip <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: users,groups,persmissions etc
Date: Wed, 01 Nov 2000 02:51:00 GMT

Garry Knight <[EMAIL PROTECTED]> wrote:

>On Sun, 29 Oct 2000, John Karampetsos wrote:
>>who can point me to a location or document which specifies how to go about
>>assigning file permissions,creating users and groups etc in linux?
>
>The book "Running Linux" by Matt Welsh et al does a good job of doing this in
>about 6 pages. It also contains a mass of other useful stuff and I'd recommend
>it to anybody.

Do you happen to know where someone might find information on what strategies
are relevant in setting up groups on unix systems?

Any information would be greatly appreciated.

Zip

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

From: skeruno <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Startup with a GUI :(
Date: Wed, 1 Nov 2000 03:46:49 +0100

in your /etc/inittab you will see a line like :
id:3:initdefault: 
make it i
d:5:initdefault: 
next time you boot your sysyem you will boot with an GUI (ewww)
skeruno 




On Tue, 31 Oct 2000, Hilkiah Lavinier wrote:
>couple of ways.  With RH7 after I got X working I set graphical and
>networking as my default boot mode in linux conf, but that didn't work
>(dont' know why) so I just edited my /etc/lilo.conf file and I have at
>least 3 entries
>
>label=graphical
>image=<whatever ur image is>
>append=5
>restricted
>password=xxxxx
>
>label=text
>image=<whatever ur image is>
>append=3
>restricted
>password=xxxxx
>
>label=maintenance
>image=<whatever ur image is>
>restricted
>password=xxxxx
>append=1
>
>then chmod 600 /etc/lilo.conf
>
>works like a charm for me.
>
>
>
>Rahul Asave wrote:
>
>> Hi Everyone
>> I finally got Redhat 7.0 onto my computer. Seems like I did the
>> impossible :)
>> Anyways, it starts up in ... a DOS like mode, without any GUI login
>> prompt. How do I get it to startup in GUI mode and then use terminal
>> windows to give shell commands?
>> Please help!
>> Thanks a lot.
>> Rahul

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: mp3
Date: 1 Nov 2000 03:01:12 GMT
Reply-To: [EMAIL PROTECTED]

On 31 Oct 2000 22:26:41 GMT, John Nilsson wrote:
>Upgrading xmms from version 1.2.1 to 1.2.3 made the problem almost 
>disappear. The hdparm-thing seems to work too, according to the test-
>results:
>Before 'hdparm -m16 -u1 -c1 /dev/hda':
>  Timing buffer-cache reads:   128 MB in  1.27 seconds =100.79 MB/sec
>  Timing buffered disk reads:  64 MB in 17.24 seconds =  3.71 MB/sec
>After:
>  Timing buffer-cache reads:   128 MB in  1.27 seconds =100.79 MB/sec
>  Timing buffered disk reads:  64 MB in  8.65 seconds =  7.40 MB/sec
>
>I can't say that I have noticed any gain in performance so far, but on 
>the other hand I don't know if I'm supposed to. I don't have anything to 
>relate these figures to. Maybe some kind soul could enlighten me?

The "7.40 MB/sec" gives a reasonably close answer to the question "How
fast can my hard drive get data off the disk and deliver it to the CPU?"
Anything requiring lots of disk I/O (like loading Netscape, f'rinstance)
will benefit greatly from faster access speeds.

>And another (probably very stupid) question: Is there any drawback 
>with this? I mean, if one command line (which the one who answered my 
>question came up with almost without knowing anything at all about my 
>system) makes my harddrive alot faster, why isn't this taken care of 
>during install? 

Because back in the old days, there were problems with enabling certain
options on certain IDE devices and/or certain chipsets.  The hdparm man
page contains some gory details on that, and suggests that "-m16" is the
only truly safe option to play with.  -c1 and -u1 are almost universally
supported these days, and a lot of chipsets can benefit from -d1, which
enables DMA.  However, enabling DMA if your chipset and kernel aren't
configured correctly could possibly hang your machine and scribble all
over your drive.

Therefore, the default install doesn't play with hdparm commands.  It
gives you a configuration that's (pretty much) guaranteed to work, even
though it will be less than optimal.  You're supposed to figure out the
hdparm arcana on your own, I guess....


-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: change user privilege...
Date: 1 Nov 2000 03:01:15 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 01 Nov 2000 01:03:46 +0800, Beggar wrote:
>How to change one user's privilege so that he can perform some admin
>tasks, for example, I want a user can nice a program to -15 but I don't
>want to change it to root or change its uid or group id.
>
>How can I differentiate the task to the uesrs? who can do what, who
>cannot do what ? any tools to set this ?  Any document related to these
>stuff?

man sudo
man sudoers

"sudo" can give a user or group of users permission to run a command as
root.  It can be a bit annoying as the user must type their password
when they want to execute this command.  If you didn't install it, it's
on your distro CDs somewhere.

renicing a process to -15 is something that can *only* be done by root.
Read the man page for nice and you'll see that.  So any way of nicing
something -15 will have to assume root priviliges, at least temporarily.

>Please reply to [EMAIL PROTECTED]

"Post here, read here" is a fundamental rule of Usenet ettiquette.
http://deja.com/home_ps.shtml --if you don't have a newsswerver, use
the next best thing.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: Timothy Stark <[EMAIL PROTECTED]>
Subject: Re: RedHat 7 install failed, need rescue help
Crossposted-To: comp.os.linux.setup
Date: Wed, 01 Nov 2000 03:26:25 GMT

In comp.os.linux.setup Silviu Minut <[EMAIL PROTECTED]> wrote:
> This ia a known bug with the RH7.0 install program and it has been reported many 
>times
> to bugzilla.
> Someone in this group suggested that you should not specify mount a mount point for 
>dos
> partitions. I tried that and it worked. Then just leave the /home partition
> unformatted, and you're set. Any RH distribution will allow you to select the
> partitions you want to format, so if RH7.0 still fails, you can re-install 6.1.

Ah! I had the same problem! I already submitted a bug report to Red Hat. 
Oh, well. I will try that without /dosc mount.

Thank you for info!

-- Tim Stark

-- 
Timothy Stark   <><     Inet: [EMAIL PROTECTED]
==========================================================================
"For God so loved the world, that he gave his only begotten Son, that 
whosoever believeth in him should not perish, but have everlasting life.
Amen." -- John 3:16 (King James Version Bible)

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

From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: SU Problem...Any ideas?
Date: Wed, 01 Nov 2000 03:37:18 GMT

On Mon, 30 Oct 2000 18:13:46 GMT, [EMAIL PROTECTED] wrote:

>I used to be able to telnet into my box as a regular user and "su -"
>for root privileges. However, now I can not...it says the Password is
>incorrect...but I know the password for root and I can login as root
>via SSH.

What do you have in /etc/suauth  ?

Mark Post

Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: News Reader
Date: 1 Nov 2000 03:45:14 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 01 Nov 2000 01:58:00 GMT, Philip wrote:
>I was wondering if someone could recommend a news reader for Linux. I am
>looking for something which will allow me to archive postings.  Lately
>my news provider has cut back to only keeping a week or 2 weeks of
>information and I've been losing some of the threads.

Use slrnpull and slrn, setting the "expire" date in slrnpull.conf to
however long you want?  (OK, this may be biased... look at my User-Agent
header line.)  "leafnode" is another option, a bit more full-featured
than slrnpull but a bit more complex to set up.

BTW, neither of these things are newsreaders, but spooling systems
designed primarily to allow you to read and post news while offline.
They do OK for archiving, though you may have problems if you want to
store tens of thousands of articles (running out of inodes, etc.)

Most real newsreaders have an option to save articles to a file as well.
In slrn, you can just press "o", and the current article will be
appended to ~/News/$NEWSGROUP_NAME .  You lose the thread hierarchy, but
it's extremely convenient and requires little thought.  Similar options
exist in tin, Emacs, and most likely PAN.  HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

Date: Tue, 31 Oct 2000 20:02:39 -0800
From: Neil <[EMAIL PROTECTED]>
Subject: Having trouble with wine


This is the first time I have attempted to use Wine and the documentation
is not much help. My _Running Linux_ says almost nothing about how to use
Wine.

I have Red Hat 6.2 running on a normal PC. I don't have MS
Windows running on this machine.

I downloaded the latest rpm and installed it. Then I downloaded
an executable, made a directory called windows then typed

wine app.exe

I got the following:

Could not stat /mnt/fd0, 
ignoring drive A: Could not stat /c, 
ignoring drive C: Could not stat /cdrom,
ignoring drive D: Invalid path 'c:\windows' for 
windows directory Perhaps you have not properly edited
or created your Wine configuration file. This 
is either /etc/wine/wine.conf or $HOME/.winerc
or it is determined by the -config option or from
the WINE_INI environment variable.
Wine has used /etc/wine/wine.conf as configuration file.          

I guess I don't understand what exactly I need to do to make this 
work. How can I make this happen without having Windows installed 
on this machine? How do I configure wine to work on my machine? Thanks.

-- 
Neil



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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: which distribution is best???
Date: Wed, 01 Nov 2000 04:00:25 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Alan Shiers <[EMAIL PROTECTED]> writes:
> Hi there:
>     I'm am in the process of getting familiar with a distribution of
> Linux from Corel.  While it is my understanding that Linux itself is
> regarded as one of the most stable of OS's, I am having a particularly
> difficult time liking this particular distribution of it.  No matter how
> hard I try, the installation of software is near impossible. There
> doesn't seem to be a standard way to install new software!  So far I've
> encountered three file types: *.sh, *.bin, *.deb.  Lord knows how many
> others there are.  Compared to installing software in Windows, Microsoft
> definitely has this procedure sewn up real pretty.  Just one file type:
> *.exe
> Double click on it and it runs a setup wizard.

This isn't really accurate. There are also .zip files for Windows,
which usually require customized installation in some way. Various
other exotic package formats also exist. As to the Linux file formats,
I've no idea what the .bin file you encountered was. The .sh file was
presumably a shell script of some sort. If you're really concerned with
package installation difficulty, stick to one format (presumably .deb
for Corel). You can find most programs packaged in .deb format (check
http://www.debian.org/distrib/packages/ for a package listing). If you
stick to .deb packages (or .rpm packages for RPM-based distributions),
you'll probably have fewer difficulties with conflicting libraries,
etc., than you have with Windows. (I note that many of the packages
about which you complain specifically are commercial programs. Many
commercial Linux programs do seem to spurn the Linux package formats
[.deb and .rpm], for various reasons. Open source programs can usually
be found in these formats, though.)

> I've tried to install the JDK1.3 from Sun, Forte developers IDE from
> Sun, WordPerfect from Corel, PKZip from PKWare,  all with a different
> file type and instructions as to how to install, none of which work, at
> least, not with Corel Linux.

No doubt there are reasons for each of these failures. (For WP, it's
probably a missing library, because WP8 for Linux uses a rather old
library package that's not installed by default with many newer
distributions.) You'll need to post details to have any hope of
resolving this problem, though.

> Now, all this frustration leads me to these questions...are all
> distributions of Linux in the same boat?  Is everyone else having the
> same difficulties I am having with Corel Linux?

There are certainly differences between Linux distributions in terms of
overall level of software compatibility, just as there are differences
between MS OSs for software compatibility. On the whole, Red Hat may be
the most compatible, simply because it's one of, if not the, most
popular distribution, and so most packages get tested against Red Hat.
Some distributions, such as Mandrake, are very close to Red Hat, and so
are nearly as compatible.

It should be emphasized, though, that cross-distribution compatibility
problems are usually solvable. It's usually just a matter of adding an
appropriate package to the problem system, or changing some
configuration file. It's also usually possible to recompile the program
(except of course for commercial programs). Of course, if you're a
newbie, these things may scare you a bit, but you're best served by
Linux if you're willing to learn about such things. If you don't want to
learn anything at all about how the OS REALLY works underneath the GUI,
you're best served by Windows -- or MUCH better, MacOS.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: [EMAIL PROTECTED] (jeff)
Subject: Re: Having trouble with wine
Date: 1 Nov 2000 04:25:54 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 31 Oct 2000 20:02:39 -0800, Neil <[EMAIL PROTECTED]> wrote:
> 
> This is the first time I have attempted to use Wine and the documentation
> is not much help. My _Running Linux_ says almost nothing about how to use
> Wine.
> 
> I have Red Hat 6.2 running on a normal PC. I don't have MS
> Windows running on this machine.
> 
> I downloaded the latest rpm and installed it. Then I downloaded
> an executable, made a directory called windows then typed
> 
> wine app.exe
> 
> I got the following:
> 
> Could not stat /mnt/fd0, 
> ignoring drive A: Could not stat /c, 
> ignoring drive C: Could not stat /cdrom,
> ignoring drive D: Invalid path 'c:\windows' for 
> windows directory Perhaps you have not properly edited
> or created your Wine configuration file. This 
> is either /etc/wine/wine.conf or $HOME/.winerc
> or it is determined by the -config option or from
> the WINE_INI environment variable.
> Wine has used /etc/wine/wine.conf as configuration file.          
> 
> I guess I don't understand what exactly I need to do to make this 
> work. How can I make this happen without having Windows installed 
> on this machine? How do I configure wine to work on my machine? Thanks.


Wine will work without installing Windows.  Do you have a wine.conf?  Here's
what my /etc/wine.conf (Debian2.2) looks like:

;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; Path=xxx       (Unix path for drive root)
;; Type=xxx       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; Label=xxx      (drive label, at most 11 characters)
;; Serial=xxx     (serial number, 8 characters hexadecimal number)
;; Filesystem=xxx
;;           (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; Device=/dev/xx (only if you want to allow raw device access)
;;

[Drive A]
Path=/floppy
Type=floppy
Label=Floppy
Serial=87654321
Device=/dev/fd0

[Drive C]
Path=/c
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive D]
Path=/cdrom
Type=cdrom
Label=CD-Rom
Filesystem=win95

[Drive E]
Path=/tmp
Type=hd
Label=Tmp Drive
Filesystem=win95

[Drive F]
Path=${HOME}
Type=network
Label=Home
Filesystem=win95

[wine]
Windows=c:\windows
System=c:\windows\system
Temp=e:\
Path=c:\windows;c:\windows\system;e:\;e:\test;f:\
SymbolTableFile=/usr/lib/wine.sym

# <wineconf>

[DllDefaults]
EXTRA_LD_LIBRARY_PATH=${HOME}/wine/cvs/lib
DefaultLoadOrder = native, elfdll, so, builtin

[DllPairs]
kernel  = kernel32
gdi     = gdi32
user    = user32
commdlg = comdlg32
commctrl= comctl32
ver     = version
shell   = shell32
lzexpand= lz32
mmsystem= winmm
msvideo = msvfw32
winsock = wsock32

[DllOverrides]
kernel32, gdi32, user32 = builtin
kernel, gdi, user       = builtin
toolhelp                = builtin
comdlg32, commdlg       = elfdll, builtin, native
version, ver            = elfdll, builtin, native
shell32, shell          = builtin, native
lz32, lzexpand          = builtin, native
commctrl, comctl32      = builtin, native
wsock32, winsock        = builtin
advapi32, crtdll, ntdll = builtin, native
mpr, winspool           = builtin, native
ddraw, dinput, dsound   = builtin, native
winmm, mmsystem         = builtin
msvideo, msvfw32        = builtin, native
mcicda.drv, mciseq.drv  = builtin, native
mciwave.drv             = builtin, native
mciavi.drv, mcianim.drv = native, builtin
w32skrnl                = builtin
wnaspi32, wow32         = builtin
system, display, wprocs = builtin
wineps                  = builtin

[options]
AllocSystemColors=100

[fonts]
;Read documentation/fonts before adding aliases
Resolution = 96
Default = -adobe-times-

[serialports]
Com1=/dev/ttyS0
Com2=/dev/ttyS1
Com3=/dev/modem,38400
Com4=/dev/modem

[parallelports]
Lpt1=/dev/lp0

[spooler]
LPT1:=|lpr
LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
LPT3:=/dev/lp3

[ports]
;read=0x779,0x379,0x280-0x2a0
;write=0x779,0x379,0x280-0x2a0

[spy]
Exclude=WM_SIZE;WM_TIMER;

[Registry]
; Paths must be given in /dir/dir/file.reg format.
; Wine will not understand dos file names here...

;UserFileName=xxx               ; alternate registry file name (user.reg)
;LocalMachineFileName=xxx       ; (system.reg)
                        
[Tweak.Layout]
;; WineLook=xxx  (supported styles are 'Win31'(default), 'Win95', 'Win98')
WineLook=Win98

[programs]
Default=
Startup=

[Console]
;XtermProg=nxterm
;InitialRows=25
;InitialColumns=80
;TerminalType=nxterm

# </wineconf>


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

From: [EMAIL PROTECTED]
Subject: Re: Netscape sucks: alternatives?
Date: 31 Oct 2000 20:32:43 -0800

[EMAIL PROTECTED] (Christopher Browne) writes:

> In our last episode (Tue, 31 Oct 2000 17:24:26 GMT),
> the artist formerly known as Ilya said:
> >I have 128MB of RAM and 256MB of swap, typically run 4-5 Netscape
> >sessions and eventually get Netscape to swap like crazy, often
> >freezing and crashing my workstation. Even if I kill all Netscape
> >processes and rm all cache files, I still need a reboot to clear
> >things up. It can easily bring system load up to 2 or 3 and keep going,
> >reboots usually fix it.
> 
> Sounds to me like you've got something Rather More Wrong going on.
> 
> Rebooting should absolutely NOT be necessary; not in the slightest.
> 
> If your machine is outright freezing and crashing, then it is highly
> likely that the system is suffering from hardware problems, probably
> relating to having bad RAM.
> 
    ...<snip>...

I had problem with machine freezing up, needing reboots etc, happened
often when I ran Loki's linux port of "Civilization Call to Power" and
I thought it was that program.  Then I noticed that the CPU fan sometimes
stopped.  I bought a new fan and the problem went away.

The thing is, it almost always happened when I was running that graphic
and CPU intensive program.  I suspect it caused the CPU to heat up more.
Running 4-5 netscape sessions may do the same thing.

    --- my real email address would be [EMAIL PROTECTED], but you
    --- need to remove the "UhUh" and the "Spam".

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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: color prompt in tcsh
Date: Tue, 31 Oct 2000 21:29:49 -0600

Brad Friedman wrote:
> 
> I'm having some trouble colorizing my prompt in tcsh. I checked the man
> page, but that only gives me specifics on what the prompt contains, not
> colors. I also consulted dejanews but couldn't find anything for tcsh. Can
> someone please point me in the right direction?
> 
> Thanks,
> Brad

This works for me but I don't use tcsh.
You can set the color of the command line prompts to be one color for
root and something else for the users on the system. With
the following it will be system wide for all users. 

    vi /etc/bashrc 
Comment out the existing "PS1=" line and directly below it place the
following. 

    if [ `id -un` = root ]; then 
        PS1='\[\033[1;31m\]\h:\w\$\[\033[0m\] ' 
    else 
        PS1='\[\033[1;33m\]\h:\w\$\[\033[0m\] ' 
    fi 

This will make the command prompt for root RED and the command prompt
for all users YELLOW. You can change the color of the
prompts by changing the numbers 31m & 33m in the lines above. This will
also shorten the command prompt by using only the
hostname from the prompt. It will also show the full path to the
directory you are in.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: [EMAIL PROTECTED]
Subject: Re: Microsoft vs Sony
Date: Wed, 01 Nov 2000 03:36:10 GMT

Christopher Browne <[EMAIL PROTECTED]> wrote:
: Apparently the DreamCast uses one of the Hitachi "Super-H" family of
: processors; this implies that if it is running a form of Windows, that
: would be WinCE.

My understanding of the dreamcast is this:

Developers have a choice of WinCE or the DreamcastOS
the OS is loaded directly from the CD (I believe)

Some folks choose to go w/ WinCE for easier porting of already established
Windows games.

-- 
   Jeff Gentry  [EMAIL PROTECTED]  [EMAIL PROTECTED]
"You're one of those condescending UNIX users! ...."
"Here's a nickel kid ... get yourself a real computer."

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: News Reader
Date: Wed, 1 Nov 2000 03:55:48 GMT

Philip writes:
> I was wondering if someone could recommend a news reader for Linux. I am
> looking for something which will allow me to archive postings.

What you want is a news server.  I run cnews and use suck to download
news, but you might be happier with leafnode.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us!  Poor prospects for Linux.
Date: 1 Nov 2000 04:49:41 GMT

In comp.os.linux.misc Eric Bourland <[EMAIL PROTECTED]> wrote:
: Respectfully, I don't agree with you. I have been trying for weeks to
: install a Netgear FA-311 card in Linux. I have read all kinds of HOW-TOs,
: been to scyld.com, and researched the matter at various web sites ... but I
: am unable to understand the instructions offered in any of these places.

But what can possibly be difficult to understand about:

     download the source code
     compile it to produce a driver module
     install the driver module in /lib/modules/...
     configure /etc/conf.modules with the new alias for eth0

? If step 2 is the difficult one, then try:

    gcc -O2 -D__KERNEL__ -DMODULE foo.c

(you may need a -DMODVERSIONS if your kernel is compiled that way). If
that doesn't work, then either you don't have gcc or you don't have the
kernel source, and you ought to get and install them.

Give us a clue as to the difficulty you encounter and you may get help.
Is the difficulty figuring out which driver to get and compile and
install? I would have thought most netgear card drivers were already on
your system.


Peter

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


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