From: jwinstea@jarthur.claremont.edu (Jim Winstead Jr.) Subject: Re: 0.95a changes (beginnerly mode) Date: Fri, 20 Mar 1992 05:55:02 GMT
In article <1992Mar20.045758.20714@athena.mit.edu> tree@midget.towson.edu (Denise Tree) writes:
> I have changed over to .95a from .12 and like the improvements but
>a few changes have me confused. In ver.12 I set a prompt with:
> PS1='[\u] \w>'
> PS2='[\u] \w|'
> export PS1 PS2
>in rc in /etc and also in .profile which was in two dirs in ver .12. This does
>not work in .95a and I can't find a .profile (naturally I wrote one and it had
>no effect. What am I missing?
Setting the prompt in /etc/rc would have no effect, but that has
absolutely nothing to do with your problem. :)
The problem is that the new /bin/sh on the 0.95a root floppy doesn't
have all the wonderful little goodies you can include in your prompt
like bash (the old /bin/sh) does. There are ways to work around this,
but they're messy and you're better off using 'bash' as your
interactive shell, anyways. How do you do this?
1) get out the ol' 0.12 root floppy.
2) mount it (most likely something like 'mount /dev/at0 /mnt')
3) cp /mnt/bin/sh /bin/bash
4) edit your /etc/passwd so the last field is /bin/bash instead of
/bin/sh.
>Also: has anyone had any problems with uemacs-linux in .95a? It worked fine in
>.12 but refuses to save a file now.
If you're logged in as non-root, make sure the directory you're saving
to has file permissions set up such that you're allowed to write to it.
>And: I have never used the Gnu compiler (Linux is my first experience with
>unix) .....where are the docs located? I tried to find a site that had the
>docs by themselves, to no avail...I can't ftp a 3meg file to my school account.
There is a manual page with the gcc 2.0 compiler, but it wouldn't be
of much use if you have no experience with unixish c compilers. The
best thing you could do, I think, is to poke around on your school's
machine for manual pages on 'cc'. The semantics are essentially the
same.
>------------------------
> Denise Tree
> Towson state univ.
> BIO major... not BIOS major!
I think BIOS major would be more fun. :)
-- Jim Winstead Jr. (CSci '95) | "Catch a fish!" Harvey Mudd College | -Geddy Lee, jwinstea@jarthur.Claremont.EDU | San Diego Sports Arena Disclaimer: Mine, not theirs! | January 20, 1992