prompt (was Re: .plan file)

prompt (was Re: .plan file)

Post by Q. Alex Zh » Wed, 18 Jan 1995 00:53:01

] I can't believe people are still doing this.  For every 'cd' command,
] you are executing 5 other commands....sheesh...  Just let the shell
] take care of it for you.  Add the following to your .bash_login or .login:
] bash:   Host=$(uname -n | cut -d. -f1)
]       PS1="$Host:\w >"

Or for Z-shell (zsh): in ~/.zlogin

= Q. Alex Zhao    ~{0"UT~}    ! Graphics, Visualization & Usability Center

  FAX:   404-853-9378         ! Georgia Institute of Technology
  Lab:   404-894-9636         ! Atlanta, Georgia 30332-0280


1. Name pipe files and finger .plan files...

I read with interest in the FAQ file here, the suggestion about using a name
pipe (made with mknod) in regards to finding, and possibly using the name of
the person fingering you in a plan file. However, the FAQ just brushes on the
idea and looks more at how to find remote user names.

Would some kind soul(s) be willing to explain to an intermediate shell user/C
programmer how to receive a (local, or perhaps remote) users name when
fingered and possibly how to show that name in the .plan file (ex. "Geez, Jo
Blow sure is nozy...").

Oh, some assumptions to answer: running SunOS 4.1 with BSD. Name pipes are
allowed with mknod and it appears fingerd will accept them as .plan files.

Please email responses to me, as I don't get to this group often, and this is
a pretty FAQish question.  Thanks in advance for any help.


James Miller

2. Linux Journal issue #3 (July)

3. Why am I not prompted for a password?

4. Sco Gateway to Netware

5. why am i still prompted for a password when i rlogin?

6. Help: Perl Script Doesn't Write Out

7. Role of Plans and Planning in Program Development

8. configuring name based virtaul host

9. Proper use of .plan file?

10. Any plans for Linux <=> NT file interoperability?

11. .plan files

12. Not the Same Old .Plan File Question

13. .PLAN file