File: INSTALL

package info (click to toggle)
psh 0.009-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 536 kB
  • ctags: 305
  • sloc: perl: 5,008; makefile: 51
file content (48 lines) | stat: -rw-r--r-- 1,439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
REQUIREMENTS
------------

Currently, psh works on any modern Unix system with perl5. It has been
most extensively tested on GNU/Linux systems with perl 5.005, and also
works with perl 5.004. Earlier versions of perl will probably cause psh to
fail.


INSTALLING psh
--------------

Follow the standard procedure (from the source directory):
	perl Makefile.PL
	make

As superuser (if required):
	make install

Copy pshrc to ~/.pshrc.


WITHOUT root ACCESS
-------------------

If you don't have root access you'll have to move the files manually. You
can make your own modules directory and put something like alias
perl="perl -I~/.pm" in your shell's startup dotfile, and copy the modules
there. Then copy psh wherever you want it, such as ~/bin.


MAKING psh YOUR LOGIN SHELL
---------------------------

If you'd like to make psh your login shell, you'll need to change your
entry in /etc/passwd. Here's an example for a Linux distribution with
bash:
	chsh -s `which psh`
Depending on your setup, you may need to add the full path to psh to
another file, such as /etc/shells.

It's possible that if you don't have root access, your Unix flavor won't
allow you to change your login shell. You can try to work around this by
putting something like
	exec psh
in your shell's startup dotfile. Be careful that this file isn't executed
by a shebang (#!) invocation of the shell, or shell scripts written for
that shell may mysteriously fail.