|
+ P5 P( z; y. G6 x: U#
, w/ L+ ~, G+ C' Q/ Z) _# ALLEGRO GLOBAL Environment file; l$ C% v1 y' F6 O1 k. I3 T- u
#" h+ F5 h$ N% H" y6 d6 ^
8 W" {3 r- d; j4 a# The following variables are set by the software if not preset by user:
9 `& R, {* f$ N7 a$ m# CDS_SITE, ALLEGRO_SITE, TELENV, ALLEGRO_INSTALL_DIR, z3 |/ J3 z( X/ Z Z
# ALLEGRO_INSTALL_TOOLS, ALLEGRO_INSTALL_ROOT, ALLEGRO_TYPE,* r: e9 t- U; R/ [$ T$ n
# __UNIX (if UNIX), _PROGRAM, HOME
, u3 P' h+ g3 S) K; o#/ p, L0 P4 g% C1 f4 E) G
# You may set the Operating System variable:% Y' [2 e" G& s
# ALLEGRO_PCBENV <alternative directory>/ H6 {+ b/ v/ ^8 T. S2 U, D4 {& Z5 i
# to overwrite the default of the user's pcbenv directory. This variable
1 r5 b( S* Z7 l% \$ R# must be set at the OS level and has no effect if set in an Allegro env file.
i0 w4 _0 A& `1 c @# The directory given must exist. If no directory is found the system will
W2 i3 u7 _( z7 U" k& E1 i# fallback to its default location.3 ]+ \4 f1 ]" l: [( e" V
#" R0 o6 R, @- _( L1 w/ N
# The following variables are preset at startup, direct settings in env; Q+ @! ?5 ?" p# }, G
# files will be overridden7 {- F, _# G- C! o# F4 ^
# LOCALENV: seeded based upon <HOME>/pcbenv (or if set ALLEGRO_PCBENV)
$ T/ q9 t( ?, @' J& q# LOCALPATH: seeded based upon . LOCALENV, ALLEGRO_SITE, GLOBALPATH
2 F* q" }6 U3 c+ `; f( T, ~! |3 Q# Variable names are case insensitive
0 h) F4 m5 _/ \+ R @, I; x1 F5 I& n) [5 ~: d* P5 T
#--------------------------------------------------------------------
' \$ w! K! h4 U$ A6 O0 B" p6 O& Q& y9 ~0 D# System Variables2 q! ] g+ [/ V
set GLOBAL = $ALLEGRO_INSTALL_DIR/text' k' G7 X# Z( s$ K9 N$ f
- ^$ u; y6 M0 w4 X" C1 ]1 w8 [- J# change from LIBPATH because it conflicts with IBM's shared library
! X: ?2 z* x' L; r5 l' f# environment variable
* p+ Z. l ^( y, J5 x% Vset ALIBPATH = $ALLEGRO_INSTALL_DIR/pcb_lib4 b( ]4 P/ s% v* ]: s7 U0 e
# A* L& _( B1 o2 s' `2 G \set COMPLIBPATH = $ALLEGRO_INSTALL_DIR/allegrolib2 {4 D$ T8 R0 B0 f3 {5 a
# o* e1 k- `1 V6 h. p- J) eset GLOBALPATH = . $GLOBAL4 `- v# s) {1 ^" l- Z
2 ], K; A+ J2 p6 |/ I# Allegro Data Services Variable
* k1 `1 T) x$ o& oset ADSPATH = $GLOBALPATH
4 }; K. Q% [" y* R, P; O! G0 m9 ?$ s$ u8 X& A6 Y9 X' Z/ |/ q
# Present for compatiblity with older versions of Allegro.
8 C* \( I7 \. O+ z; o" o; Kifnvar ALLEGRO_SITE "set ALLEGRO_SITE ."
# O, F$ B' [+ ?6 G+ C. H c- d3 Nifnvar CDSPLAT "set CDSPLAT "1 `/ w) J" e' W% y- x! M3 y S7 ^" ?3 [
ifnvar ALLEGRO_INSTALL_DLL "set ALLEGRO_INSTALL_DLL "
5 }2 L5 p& ^& t! \& d
. ~: p7 ^, J3 Z4 L+ d1 a5 T#--------------------------------------------------------------------
* f% [' J/ P; `% z# Configuration variables (Don't change)
* {' Q. K/ G6 v9 f+ r; Jset BMPPATH = . $ALLEGRO_SITE/icons $GLOBAL/icons $ALLEGRO_INSTALL_ROOT/share/fsp/legends $ALLEGRO_INSTALL_ROOT/tools/fsp/legends
! w, |/ K6 R+ I" bset FORMPATH = . $ALLEGRO_SITE/forms $GLOBAL/forms' S( O, e ]/ a( k8 e( L8 n3 y
set MENUPATH = . $ALLEGRO_SITE/menus $GLOBAL/cuimenus
* P1 _7 g: ~( n j/ ?9 C5 N6 D! K Z R, @' [) e5 K" T4 Q- X6 N: R( Q1 r
set MATERIALPATH = . $LOCALENV $ALLEGRO_SITE $GLOBAL $GLOBAL/materials. f/ y$ h; q$ x
set CAPATH = . $LOCALENV $ALLEGRO_SITE $ALLEGRO_INSTALL_DIR/channelanalysis
& Y3 b9 V" A, f* pset AMIMODELPATH = . $LOCALENV $ALLEGRO_SITE/ami/$CDSPLAT $ALLEGRO_INSTALL_DIR/channelanalysis/ami/toolkit/dll/$CDSPLAT' \" V1 _. b( ` l) s
( |; @7 e$ } g& Q% z& N3 m* a#Configuration paths' z8 P, F* w7 R5 u2 [. m
set PRFEDITPATH = . $LOCALENV/configure/prfedit $ALLEGRO_SITE/configure/prfedit $ALLEGRO_INSTALL_DIR/configure/prfedit
) l5 A8 Q- `8 sset BATCHHELPPATH = . $ALLEGRO_INSTALL_DIR/batchhelp' ?7 T. n5 l3 G: G5 n$ t- a$ W2 l7 J
set SPROUTEPATH = $ALLEGRO_INSTALL_DIR/configure/sproute! [6 M" o, O& I6 D5 M! i
4 V9 v0 D# U9 p0 B4 W, Y
set HELPPATH = . $ALLEGRO_INSTALL_DIR/help $GLOBAL/help8 `1 r8 H" y0 F, }8 }
set PDFPATH = . $ALLEGRO_INSTALL_DIR/help/pdf# V9 E' O4 X- G" r
8 k F, V4 c3 H, ?6 G* d# Graphics demo env
4 ]6 G4 f+ N, P+ w3 D' {set IMAGEPATH = . $ALLEGRO_INSTALL_DIR/examples/image3 B; Y9 l1 D( A. @1 | Z9 r
. |9 G7 d( a/ J- i9 v% a
# Allegro Plugin search path
& s. T' F% l6 Kset AXLPLUGINPATH = . $LOCALENV/$CDSPLAT $ALLEGRO_SITE/$CDSPLAT $ALLEGRO_INSTALL_DLL
- ?5 \" t4 j( ?' P. V+ J; |5 Q" P' K# `# U% s9 f1 m
# Library path for Interfaces# K! k, `; u" y" ^: u( R& C$ h+ L, d! R
set INTERFACEPATH = $ALLEGRO_INSTALL_ROOT/share/library/interface
4 L9 o7 ?! e9 G1 {* q
9 v8 H+ p( o; \+ A; g#--------------------------------------------------------------------
: f9 V' L" k3 p2 y# Drawing font* Y" F, U/ |+ g4 [4 W
set VECTORFONTPATH = . $GLOBAL" ]+ ~6 `" o& a
set ANSIFONT = ansifont. n9 v1 U2 c, @! n; J
set KANJIFONTPATH = . $GLOBAL/fonts/kanji4 E; e% N9 b) s" D' C
set KANJIFONT1 = kanjifont1
: x8 @* }5 W( ]+ A! _6 T4 ?set KANJIFONT2 = kanjifont2# g8 |' W: b1 G& k/ n
' e; ~: P3 b, E/ _" Z9 T#-------------------------------------------------------------------- g% C5 |& P4 z- _. c- O0 k5 S
# Display Variables
" [, k. i5 b1 y9 ]' C( l! u/ \- O: P7 {. b
set display_backingstore on3 A M4 E! E7 a: U
( F& b2 o) j. t! w# E8 \# disable repair under ratsnests ) m' y7 J3 O* U+ a n
set display_shapefill_analysis 1
) l1 m! R. O$ ~0 e
6 W7 K* J8 A9 F* F1 l# disable HTML datatips by default4 h/ o' t5 H }+ k- R9 ]- i
set disable_html_datatip_style
# J) Z- z+ F' t3 P
) I0 m3 m, u1 z/ a3 p* j# set infinite_cursor_bug_nt9 b g) `2 j1 u6 j# T8 m
[, Y8 G ~( w( f# enable html as default for long message windows
& h! [% v8 |3 p' nset allegro_html% j* y8 F5 }; p$ p1 ^& v- O* G3 \
0 ~, W6 q% E, k3 H+ L/ Y4 f5 x
#--------------------------------------------------------------------
4 Z0 J1 h1 G+ l$ x+ o#--------------------------------------------------------------------
# `6 Y4 M3 b: S8 m- l+ o/ qset compalib = $ALIBPATH/symbols $COMPLIBPATH/symbols
( j$ V( x( F2 {# K: n* R2 L4 [set topfilelib = $ALIBPATH/templates $COMPLIBPATH/templates
; A, l ^' J. j) L! |' @3 t# x) |set signal_install_dir = $ALLEGRO_INSTALL_DIR/signal
* T7 h5 Y7 P2 Yset signal_optlib_dir = $signal_install_dir/optlib* n, d+ {- b( q
! |' I- C& O+ e0 \$ @
set MODULEPATH = . $ALLEGRO_SITE/modules* k& c! H9 |) z9 r4 _: M; u
set TILEPATH = . $ALLEGRO_SITE/modules; s# {& g8 `* [. ]0 a3 R# [
set WBPATH = . $ALLEGRO_SITE/wbtiers1 C- b3 \7 s6 H
set PADPATH = . symbols .. ../symbols $ALLEGRO_SITE/padstacks $compalib9 ^* V S$ M, o+ [: {
set PSMPATH = . symbols .. ../symbols $ALLEGRO_SITE/symbols $compalib0 ?$ @6 v5 x2 |. e
set pcell_lib_path = $ALLEGRO_SITE/../../rfsip/sip_pcells . sip_pcells .. ../sip_pcells $ALLEGRO_INSTALL_DIR/../rfsip/sip_pcells
9 X$ d3 w4 I5 D; _- T7 w/ E3 Q3 Q7 V# xset TECHPATH = . $ALLEGRO_SITE/tech $GLOBAL/tech; r# W M; W& f& r5 K1 W
set PARAMPATH = . $ALLEGRO_SITE/parameter `% ?2 z& @( d3 [. o( F
set TOPOLOGY_TEMPLATE_PATH = . templates .. ../templates $ALLEGRO_SITE/topology $topfilelib
- n$ I( R) S0 b8 B, u9 P- J1 V* H$ K `* q$ \2 K3 C( Q( J Z2 m
# SigNoise data installation directory6 _- v! Y2 ]7 h9 T
set SIGNOISEPATH = . $LOCALENV $ALLEGRO_SITE/signal $signal_install_dir $signal_optlib_dir $GLOBAL
; k0 ]1 ~% T. N% g4 T, A) Y( n
' L$ p- Z& c0 ^4 j& G# SigNoise model variables.. C* l; w9 s, x( g
set SI_MODEL_PATH = . $ALLEGRO_SITE/signal $signal_install_dir
! N4 v) T% _7 b$ \set SI_MODEL_FILE_EXT = Generic_IBIS(ibs) IBIS_Buffer(buf) IBIS_EBD(ebd) IBIS_ICM(icm) IBIS_Pin_List(pin) IBIS_Package(pkg) Quad(mod) Generic_SPICE(spc) HSpice_Input(sp) HSpice_Output(lis) Spectre(spc) Touchstone(s?p,s??p,ts) DML(ndx,dml) Interconnect(iml) ABIML(abiml), h4 ^0 {5 I L) L
4 e% V& y& ]$ m#--------------------------------------------------------------------; |% `/ g! a& a* O/ Y' R4 q3 {
# Non-HDL Supported Design Search Path Variables' ~" v C9 Y$ X& ^: V
set MISCPATH = . $ALLEGRO_SITE/misc $GLOBAL) a! R6 |. f- N
set ARTPATH = . .. $ALLEGRO_SITE
1 ^' D" m: L, H( X1 t9 cset APTPATH = . .. $ALLEGRO_SITE
' n7 G Y7 R* M2 W# M; Rset CLIPPATH = .
; `8 X+ U2 g/ U3 Oset DCLPATH = . .. $ALIBPATH $COMPLIBPATH
7 E7 c; z: X9 l( l- f4 r9 g# e: bset DEVPATH = . devices .. ../devices $ALLEGRO_SITE/devices $ALIBPATH/devices $COMPLIBPATH/devices
, l( @* b$ ~6 a6 p/ \ b8 e. U2 `set DFAAUDITPATH = . $ALLEGRO_SITE/assembly $ALLEGRO_INSTALL_DIR/assembly
2 ~* \4 w* v V2 Jset DFACNSPATH = . dfa .. ../dfa $ALLEGRO_SITE/dfa/ b: \: Z4 b. b1 R% N
set NCDPATH = . .. $ALLEGRO_SITE/nclegend $GLOBAL/nclegend
. W* U q$ P; I' ?' rset SCRIPTPATH = . $ALLEGRO_SITE/scripts $GLOBAL/script
( m) e9 a/ ^7 X& s( r7 H4 d, s' {set TEXTPATH = . $ALLEGRO_SITE/extracta $GLOBAL/views
@) c0 _9 ^8 l7 m& X8 M/ rset VIEWPATH = . $ALLEGRO_SITE/views' Q: J s9 U) I
set XTALK_TABLE_PATH = . xtalk_tables .. ../xtalk_tables $ALLEGRO_SITE/xtalk $ALIBPATH/xtalk_tables
3 g0 a; I% w0 I% ^8 m0 |0 r6 Nset WIZARD_TEMPLATE_PATH = $ALLEGRO_SITE/new_templates $ALLEGRO_INSTALL_DIR/pcb_lib/symbols/template # @! O3 \% f- \. C2 Q) B
set LDFPATH = .6 M2 t9 b) o7 y) R8 T- @
$ k/ W6 m: z! H' l% i$ c. E# System Configuration .scf file search path
' w& P8 N6 ^$ |set SCFPATH = . scfs .. ../scfs - P8 V8 a+ D5 L8 c3 T
/ v. v! y* I( ~! @2 N' ?7 c; h- c5 ]: v
# Display the headsup meter in a fixed position in the control panel.
: L5 B: w( @/ E; _ c% N) R: Iset allegro_dynam_timing_fixedpos$ K! \8 B; K/ Y' |/ `) e
0 _/ P$ h1 Z* h# g- u# `1 i
# For IC Packaging tools (APD and SiP tools), the following defaults the) V! o/ K1 j# e/ p/ D, d4 \; Q
# HUD for the wirebond tools to updating 25 times per second. / \9 i1 b( ?! q" u3 j
* E6 U& p2 x$ z0 S& \
set wirebond_hud_update_frequency 25! V3 x0 E" e8 |' I z& ~" J+ |
# By default, suppress bond wire DRCs that are 3D in nature but being1 P, f' ]$ x7 a! m, V0 t( w
# checked in 2D. By default, the APD/SiP tools will only report wire
, d. T# Z' g0 r! _+ j0 h9 ]# violations if they occur over top of the end item (finger or pin) and
k9 ~* j8 @' o1 a1 H8 x3 q1 d# the two wires are on different nets.
3 w7 k+ r" Y- M' g9 f: k+ mset wirebond_suppress_bondwire_drcs7 {' ?! {( j0 \3 s( c! F4 l
( |3 U4 G1 n' I+ _4 t& @2 @
# enable license caching for better toolswap performance; s/ ?0 ~1 F. f4 H* I/ Z4 D
set allegro_license_caching
$ C/ M5 v; {# W6 i8 l' A/ V2 b
3 M! {- W9 I6 u! }# S#--------------------------------------------------------------------- W0 s9 G0 j0 a% W: T4 r$ D
#--------------------------------------------------------------------$ e( I4 s) N6 f: g6 V* L/ R
# alias
* f5 a. `" k* o7 W% s+ n9 I0 g# May use function keys F2-F12, most Alpha-numberic keys with control
* s% A% v6 d* u8 h4 U# `# modifier (although Control - C, V and X are reserved for copy, paste and cut)9 f- z6 y U* J, Q. x% E
# and Navigation Keys (Home, Up arrow, Esc, etc.) These items may be modifed
. H8 m5 G7 }- ~0 U4 x) p; a# by the following:
+ ?- T% u8 f4 `7 ?4 V) V# Modifier Indicator Example6 V" U6 ^$ y# S+ I% n" Q* t6 H% l
# Shift S SF2
^9 [8 @6 F3 e/ _0 _# Control C (function keys) CF2
/ h. d) r) I8 q6 y0 E- R# Control ~ (alpha-numeric) ~N
, @2 |# K+ P0 G' ?0 J# Meta A AF2* \& r5 R' q$ k6 ~' w9 K [
# Modifiers may be combined. Some examples:
6 J( T" k4 I2 u4 \% ^0 [# CSF2 Control-Shift F2) {2 d7 f- s( V5 [
# ASF2 Meta-Shift F27 T( {7 m# ?1 l7 m
# CAF2 Control-Meta F25 {. ?2 M1 d' r/ A& _1 `
# CASF2 Control-Meta-Shift F2, |7 w! o8 m- i$ y) u
# ~SZ Control-Shift Z
7 [% g! x1 ^% i+ ^# SUp Shift-Up Arrow
' h( v5 D$ P A' R2 _$ [9 G: s# CUp Control-Up Arrow2 [& b' i5 d1 u2 h8 n
#
" F8 i0 K% c, J2 }) |3 Y7 u# funckey
2 c: K. g8 }( E8 B& M# use the funckey when you wish to have alphanumeric keys operate& O; S( \! w" z) y3 L" D* L
# like the Function keys when the cursor is in the Allegro canvas.
2 x' I$ H: F4 j/ B) R% c# , |% K) Y% p# P) F( c, L
# Example -- following starts the move command without a Enter key) B4 F! `+ h& f$ I( s- v
# funckey m move
, H, e# T0 y% |' o3 H. Z: H8 j p9 ~/ S
#--------------------------------------------------------------------
( `3 q' ^: g/ S8 ?1 `# Bind roam operations to function keys# n& k( q8 W+ w" ^8 A
set roamInc = 96# o/ x- ~/ } v( n7 \# u }( [
funckey Up "roam y -$roamInc". l: g5 A7 _4 U* G' @& `" Z- h+ Y
funckey Down "roam y $roamInc"
" A! n& b3 I" c! m$ ^5 D$ n& k, Sfunckey Left "roam x -$roamInc"
- z) C" {. W. b4 Dfunckey Right "roam x $roamInc"4 H7 U. j( {' e5 t) P+ |5 H
! k* O" q1 S+ X: n) q3 @
# Bind incremental pick by grid unit functions to ctrl and shift--arrow keys
$ t" `" V5 z E' K% Jalias CUp "ipick 0; ipick_to_gridunit 0 +1"
& v( |$ a8 N; ?: t8 N4 z. _; _alias CDown "ipick 0; ipick_to_gridunit 0 -1"
) a: y4 q" P" B M8 {, @% J3 m5 jalias CLeft "ipick 0; ipick_to_gridunit -1"6 Z; o/ J. q" g2 A; Q) ~6 N C
alias CRight "ipick 0; ipick_to_gridunit +1"
" e# J8 x+ q$ Z* h7 v/ Yalias SUp "move; ipick_to_gridunit 0 +1"9 |2 _5 K" m, t9 R) ~2 v$ w# D1 B( k! ^
alias SDown "move; ipick_to_gridunit 0 -1"1 J8 k/ s4 ?9 ^0 T4 q
alias SLeft "move; ipick_to_gridunit -1"
[( @, C# ?( Q3 \- valias SRight "move; ipick_to_gridunit +1"
) ]6 Q0 f! U- c" _& |* E
0 p$ ?. Z/ k+ L. G1 r' l3 w+ K# example of a funckey to emulate Layout capability
$ {5 G, b. ?" n2 R# The "-cursor" option can be added to any Allegro command with the pick familty
: ^& T7 x5 S/ L# and we utilize the position under the cursor when the command is execute. So
2 O2 ~# N$ H5 X, J4 }! F& X- n$ \# this example would center the display to position under the cursor when the 'c' key
: |$ `+ C! N: E4 M z( p& ]# is pressed.8 ]4 w# F. g1 D
# funckey c "zoom center; pick -cursor"" V/ c+ m) j, p( C7 {; E$ j0 Q
. z q, t4 j, R0 g6 L/ z7 Y2 c
#--------------------------------------------------------------------/ _$ r2 K8 Q$ I& }# R$ r- V6 }
# F1 is normally reserved by the system for Help so we don't use it+ O9 c+ {' R( @1 @# W
alias F2 zoom fit
* o$ M% U$ ?9 aalias F3 add connect
% V& S8 I/ |6 e1 Ralias F4 next
) d5 U$ C& p1 @/ V/ I e# alias F3 add connect
& f9 j5 y9 Z/ C$ b) ^# alias F4 show element
* j+ h: I7 z+ {' B- z% Salias F5 zoom in
3 H, |' Z& _# N8 s& \$ Lalias F6 zoom out
6 A, F4 S9 h+ p4 s4 u4 |# alias F5 redraw
* r% Y0 W" z* O" C, z# alias F6 done
2 c: L6 i( K6 talias F7 next
3 C( T. A9 y- ]3 v0 D ealias End next
; i4 d% D9 c, Ealias F8 save
& V! X6 K" F8 G9 n& v' f1 }1 kalias F9 cancel1 B3 F( z& B* j' i( Y/ O% B
alias F10 grid toggle
) y c6 l% | _# q' Calias F11 zoom in
3 S% | n, ~! m# a* ^/ ^( j Ualias F12 zoom out! G# y. F9 V# [* I: O
alias Pgup zoom in #ning) l4 n7 s" Z, |/ i u
alias Pgdown zoom out #ning
: \! S2 g3 ~/ x! _; s' Oalias SF2 property edit: u! B! C8 a- Y F1 b& n
alias SF3 slide
4 G+ R5 P/ _8 ?* Jalias SF4 show measure) _( t; A+ ?5 ]. c* K
alias SF5 copy8 B7 ?' f* a( |( C$ K- [
alias SF6 move 0 }% `( x2 W7 o+ h |3 m' [# L
alias SF7 dehilight all
1 e! F6 f" P" Nalias SF8 hilight pick
) q% S% J8 e7 a4 J& g, ?9 M+ Dalias SF9 vertex
- t \; X% {* V* n( Z: Y1 \7 J" x( Ialias SF10 save_as temp1 S1 n' C" g- H- C
alias SF11 zoom previous
( j' A6 Q, z2 jalias SF12 zoom world/ R0 S" P7 W/ A+ v. r: G# U' s
alias CF2 next# J y0 _3 ^ O( L
alias CF5 color192
" F+ d8 G1 M8 Y* _- |8 Balias CF6 layer priority
, j& D8 @+ C* @alias CSF5 status7 _$ h. K1 p' w) F/ s
alias ~N new) N# b% V) d |5 p
alias ~O open5 ^' R( F Y: K9 z
alias ~S save! S8 x6 \4 T5 D* e
alias ~D delete5 u( M3 f+ Q# W( z2 _
alias ~Z undo& h& `/ n7 [) g" m- J/ B4 y1 z
funckey + subclass -+
' t5 E5 B% H" k; z: t& qfunckey - subclass --
) y( H& q6 r( s6 S8 |) b% kalias jc FIND component #查找元件 C. y, k* F, c. e
alias nn Assign Net #查找元件
. j, r# S% f3 Q* xfunckey ' ' iangle 90 #以90度旋转选中的物体
4 N/ B6 R/ \7 Z#--------------------------------------------------------------------
5 E! n! N0 f: I& {2 y# OTHER ALIASES
, k% e5 z% U1 jalias edps padedit
; Z! d% o V! d+ jalias rps "replace padstack"& d" G) E9 N* z4 ^
alias unplrp report unplaced
) T$ T7 @2 c# m" K7 v4 p" o0 [alias x pick
1 w0 N# @6 r# Y7 P1 Dalias y pick l
4 V: i( U5 L6 x E9 k) n" X& Halias ix ipick
5 Q( }, m" T4 q' {. Balias iy ipick 0% p5 `9 p8 v) f8 R4 i$ `
alias reopen 'open -q $module'1 Z# \' Y- m: a& Z0 j$ v0 d
alias revert 'open -q $module'+ d# H* x$ U) E+ L0 g- F
# Z5 P9 Y' `8 l* p- K, i% L- b4 c
# autoroam' x* v$ _( y6 `* |5 p/ r$ r
alias sar set pcb_autoroam
1 R7 v# K, l0 I" Y2 @4 B' kalias uar unset pcb_autoroam6 J% C* m& y: q
- V! K9 z1 t, x! ualias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'
+ _7 e" p2 x V3 H0 @- N! @alias ~B bubset
, e6 {& x; Q% `, s2 s8 M& C: O0 Palias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode'. c4 {) a( U& B) O0 E/ W9 |
alias ~C smoothset! V3 @# s4 O+ P" r. D+ F4 J, \
7 J$ @4 l% N% a$ g" B/ w) j, p. `3 h; F9 {% m
#--------------------------------------------------------------------
+ I6 L0 g: }! l4 u$ u% f# COMMAND DEFAULTS7 G+ w* [3 n% S. ^/ z3 r- w
# allow slide to work on arcs by default
8 e" R5 v5 m6 r4 E% @set slide_arcs
, w/ Y7 f' Y* h/ S9 @3 a- M: r$ Q
# Compatibility aliases
" W' A' `- X3 G% |( Z% ]+ Yalias window zoom% o6 J: V9 I& R0 I- }$ b/ q) a6 V
alias hilite hilight: Z! ?( O" J o8 o. g' P% W
alias dehilite dehilight
9 @' w/ k' R8 L$ w& V- o7 {alias pickx pick
6 _! k$ M- _/ K& @% u+ _alias picky pick l6 l; v, t3 ]1 G3 X* W! d+ a2 t& M% ~
alias ipickx ipick" e/ ^# v" R1 g! `
alias ipicky ipick 0" t, y. g- g- C# l) O
alias cdnshelp cdsdoc
9 P" |1 S- a9 M
6 W1 \+ O5 s2 i0 M1 a/ q#--------------------------------------------------------------------
* d4 F6 u' L# d6 }, o# MOUSE WHEEL SUPPORT : E! |: g/ D. }& B9 m
# Environment Variables - Note quote variables so they are evaluated) t# L, T( a+ R2 v) o5 t# g
# at button time not when this file is read.+ r( `& k7 p+ t( ^( }1 b
# - _wheelcnt variable is set based upon number of detents wheel moved
" W, [/ s" ^; B# range is -4 to 4 (no 0)
G" _5 M7 _% R# _/ L$ }& ]! I# - sx1 and sy1 are cursor coordinates when wheel is moved
: b/ O9 d: l% K+ k2 |6 J#
: q, p2 K3 n- f! Q1 p# Button values
* q% Q; C1 _# f, i* H$ F# wheel_up: when wheel is moved up9 P3 Q( m J, a) X! p/ ?0 u
# wheel_down: when wheel is moved down
0 o" Q6 a% Q Q# wheel: up/down if either of above 2 buttons are not assigned
7 d' K$ n6 }+ I4 Z8 \' A2 e% I#
2 J8 i8 H, }8 P6 c y) @# Keyboard modifiers (note we are case insensitive)
! h y' `- g- `# S - shift key
$ j1 ?! S0 |* s! d0 f- I/ ^$ v# C - control key" b8 m* j7 n/ w8 c9 C
# SC - shift and control
7 [: G; ]0 A* _# Example: SCwheel - for wheel button assignment with both shift & control keys
9 P* K9 f, p ?/ J4 N#
4 p' }- Q1 Y# Z: x( @& c& F0 V
) t& ]( V* y2 B+ F' r& ~. q0 I# Button factor may be factorion (e.g. 0.5), I- H) f2 {* _/ k' z
set buttonfactor = 13 a& K5 M) Z$ U6 V5 ^
1 Y' G2 L: O7 Q! Lbutton wheel_up "zoom in $buttonfactor"
& }- v7 s& Z' j( ?) ^button wheel_down "zoom out $buttonfactor"* L; t9 F! E4 d
button Cwheel_up "zoom in $buttonfactor", J; L* B1 q1 M4 `: \$ U
button Cwheel_down "zoom out $buttonfactor"
+ _: e& \1 z/ i% i# B
, A$ v4 @( q9 ^source -q $ALLEGRO_SITE/site.env
$ M: N, |6 z ?+ P2 Y: `请问是哪句,我怎么没找到! |
|