1
\ *****************************************************************************
2
\ * Copyright (c) 2004, 2008 IBM Corporation
3
\ * All rights reserved.
4
\ * This program and the accompanying materials
5
\ * are made available under the terms of the BSD License
6
\ * which accompanies this distribution, and is available at
7
\ * http://www.opensource.org/licenses/bsd-license.php
10
\ * IBM Corporation - initial implementation
11
\ ****************************************************************************/
13
\ **************************************
14
\ Last change: MiR 13.11.2007 10:55:57
15
\ **************************************
17
: .ansi-attr-off 1b emit ." [0m" ; \ ESC Sequence: all terminal atributes off
18
: .ansi-blue 1b emit ." [34m" ; \ ESC Sequence: foreground-color = blue
19
: .ansi-green 1b emit ." [32m" ; \ ESC Sequence: foreground-color = green
20
: .ansi-red 1b emit ." [31m" ; \ ESC Sequence: foreground-color = green
21
: .ansi-bold 1b emit ." [1m" ; \ ESC Sequence: foreground-color bold
23
false VALUE scsi-supp-present?
25
: scsi-xt-err ." SCSI-ERROR (Intern) " ;
26
' scsi-xt-err VALUE scsi-open-xt \ preset with an invalid token
28
\ *************************************
29
\ utility to show all active word-lists
30
\ *************************************
33
get-order ( -- wid1 .. widn n )
34
dup space 28 emit .d ." word lists : "
41
." Context: " context dup .
42
@ 5b emit . 8 emit 5d emit
44
." / Current: " current .
49
\ *************************************
50
\ utility to show first word-lists
51
\ *************************************
58
. 8 emit 5d emit space
62
\ ****************************************************************************
63
\ open scsi-support by adding a new word list on top of search path
64
\ first check if scsi-support.fs must be included (first call)
65
\ when open use execution pointer to access version in new word list
66
\ ****************************************************************************
68
scsi-supp-present? NOT
70
s" scsi-support.fs" included ( xt-open )
72
true to scsi-supp-present?