File: README.upgrade

package info (click to toggle)
psh 1.8-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 816 kB
  • ctags: 520
  • sloc: perl: 7,331; makefile: 42; sh: 6
file content (46 lines) | stat: -rw-r--r-- 1,510 bytes parent folder | download | duplicates (3)
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

This file contains the most important things to know if you're upgrading
from an earlier version. For a more complete listing of changes, please
see CHANGES.pod

Upgrading from version 0.009 or earlier:

- New redirection handling!
  We switched to rc-like syntax instead of sh-like syntax.
  "foo 2> bar" does not work anymore - use
  "foo >[2] bar" instead.

- There's no comment strategy anymore. A line starting with # will now
  already be ignored by the parser, so comments are mandatory.

- The variables @Psh::mon and @Psh::wday were removed - please use
  Psh::Locale::months() and Psh::Locale::weekdays() instead.

- Do not use %Psh::text directly - instead use Psh::Locale::get_text and
  Psh::Locale::set_text

- The config variables
  @Psh::executable_no_expand,
  $Psh::executable_expand_arguments,
  $Psh::prompt,
  $Psh::prompt_cont,
  $Psh::history_length,
  $Psh::handle_segfault,
  $Psh::save_history,
  $Psh::echo,
  were removed. Please use the new option builtin.

- %Psh::strategy_which, %Psh::strategy_eval, @Psh::strategies,
  @Psh::unparsed_strategies do not exist anymore.
  Please use the strategy builtin.

- %Psh::built_ins and %Psh::fallback_builtin were removed.

Upgrading from version 0.007 or earlier:

- The @netprograms variable in Psh::Completion is no longer supported.
Please use the 'complete' builtin to add new command names for hostname
completion
- The %custom_completions variable in Psh::Completion is no longer
supported. Please use the new 'complete' builtin