|
+ G& ]1 z2 k' W# _0 g#7 M6 H! w+ l' \) F
# ALLEGRO GLOBAL Environment file! A, \9 t+ W% B3 a+ X' f
#/ i$ }! a, [! G P s3 P
5 f; s& t$ X( i9 O; X
# The following variables are set by the software if not preset by user:
/ ~ }/ h. i0 Y& o/ @# CDS_SITE, ALLEGRO_SITE, TELENV, ALLEGRO_INSTALL_DIR, ) y4 i) V3 O _7 |. n n% J
# ALLEGRO_INSTALL_TOOLS, ALLEGRO_INSTALL_ROOT, ALLEGRO_TYPE,
0 L/ D2 V) v9 \; q# __UNIX (if UNIX), _PROGRAM, HOME) G8 ^: X: S% P$ u8 ^
## h- s; N4 v+ F* H$ y
# You may set the Operating System variable:
; V0 d' q% Q; C# ALLEGRO_PCBENV <alternative directory>
+ e1 L% A( u' s' K' _# to overwrite the default of the user's pcbenv directory. This variable* A& Y# A5 W7 f- s7 _
# must be set at the OS level and has no effect if set in an Allegro env file.
) s* I/ @. a( z: X0 Q) ]' ^6 L# The directory given must exist. If no directory is found the system will
* L! z0 z; L! k$ Q4 Y3 g: Q# fallback to its default location.; e% O1 i0 _4 f1 ~1 y
#
; U( V# w5 K# A* `$ I# The following variables are preset at startup, direct settings in env9 ?& O3 @6 E/ a+ K* H
# files will be overridden3 L3 o0 T3 n& W( r, |
# LOCALENV: seeded based upon <HOME>/pcbenv (or if set ALLEGRO_PCBENV)8 ^/ ~. p1 g! o; A4 |2 c/ e" J. o
# LOCALPATH: seeded based upon . LOCALENV, ALLEGRO_SITE, GLOBALPATH7 Q* g+ L+ F- B5 x) H% x
# Variable names are case insensitive
5 S p2 u, S+ i; W
# E. J5 ?& R7 X" f#--------------------------------------------------------------------7 H6 q$ F: V% k/ P! h( G
# System Variables
+ Y5 U% ?9 N8 g# ]. \0 _5 }set GLOBAL = $ALLEGRO_INSTALL_DIR/text/ a+ T4 C% A7 Y& f4 @% W- |9 Z& C
) i2 G+ }3 `/ `' r5 C1 z# change from LIBPATH because it conflicts with IBM's shared library' S" j6 K8 p$ f. y& j* ]
# environment variable! C( {: K5 k: i+ f/ F3 C1 G
set ALIBPATH = $ALLEGRO_INSTALL_DIR/pcb_lib' E. F5 a. P6 \1 d* O
5 Y6 I: `% j9 R$ G) [% M
set COMPLIBPATH = $ALLEGRO_INSTALL_DIR/allegrolib
: [' p3 N w. X @
6 l q1 A5 ^; D3 D2 Nset GLOBALPATH = . $GLOBAL! [/ X5 `' Q' A
" w" Z( S% Q7 n6 M, ^% c# g
# Allegro Data Services Variable9 G2 B5 f9 o3 g8 a$ C0 N5 L; j
set ADSPATH = $GLOBALPATH
/ [% C5 z _* N8 F% {/ Q- W W! e: B8 d1 f+ T ?( r. z' R ^8 p
# Present for compatiblity with older versions of Allegro.9 @& X, z0 X: L
ifnvar ALLEGRO_SITE "set ALLEGRO_SITE ."0 N+ C( Y2 U( Q; L8 A. X
ifnvar CDSPLAT "set CDSPLAT "
% b3 _$ y8 ~" Hifnvar ALLEGRO_INSTALL_DLL "set ALLEGRO_INSTALL_DLL "
+ |. u2 p- {9 S* Z2 | f7 \9 x8 ^4 L9 n" J3 ?9 P
#--------------------------------------------------------------------
" s! E) W7 Z' k* V6 x# Configuration variables (Don't change)
4 A% a5 T9 S& C" nset BMPPATH = . $ALLEGRO_SITE/icons $GLOBAL/icons $ALLEGRO_INSTALL_ROOT/share/fsp/legends $ALLEGRO_INSTALL_ROOT/tools/fsp/legends
6 N0 c1 B c; \" s q" Gset FORMPATH = . $ALLEGRO_SITE/forms $GLOBAL/forms1 j! Q6 \4 I- b1 m; ^0 S
set MENUPATH = . $ALLEGRO_SITE/menus $GLOBAL/cuimenus6 s& A, a- _- `: q5 x; G8 c! c
& }, A1 t. H9 ]2 U1 u, a& A
set MATERIALPATH = . $LOCALENV $ALLEGRO_SITE $GLOBAL $GLOBAL/materials
( F+ A8 z% h i/ }8 qset CAPATH = . $LOCALENV $ALLEGRO_SITE $ALLEGRO_INSTALL_DIR/channelanalysis
" R; Q' O1 }9 v4 Rset AMIMODELPATH = . $LOCALENV $ALLEGRO_SITE/ami/$CDSPLAT $ALLEGRO_INSTALL_DIR/channelanalysis/ami/toolkit/dll/$CDSPLAT9 r& X5 e' B0 u( _7 A
3 G- O) m5 T+ q2 i: W7 E7 o9 h' M
#Configuration paths
7 p5 G0 o/ a/ m4 Pset PRFEDITPATH = . $LOCALENV/configure/prfedit $ALLEGRO_SITE/configure/prfedit $ALLEGRO_INSTALL_DIR/configure/prfedit
9 C* g5 m2 _7 Dset BATCHHELPPATH = . $ALLEGRO_INSTALL_DIR/batchhelp
3 c, I) H8 o% n' n9 L9 }- aset SPROUTEPATH = $ALLEGRO_INSTALL_DIR/configure/sproute
$ p; |7 q. d3 m
- n; D0 Y" ] n( u% ]. M$ \set HELPPATH = . $ALLEGRO_INSTALL_DIR/help $GLOBAL/help r/ n% D% ^% w' K
set PDFPATH = . $ALLEGRO_INSTALL_DIR/help/pdf
3 _. x$ v3 k% f
" j3 J( L% b4 p' a* V7 t# Graphics demo env) Z' V6 ?& h9 v9 R' ^8 J1 }5 \
set IMAGEPATH = . $ALLEGRO_INSTALL_DIR/examples/image
6 w% Y* S: d" h3 H% [0 c, P9 t9 L
G9 o0 ]+ f4 m1 k0 x# Allegro Plugin search path
, ^ x/ p0 ?' s* k i1 B/ Q! S jset AXLPLUGINPATH = . $LOCALENV/$CDSPLAT $ALLEGRO_SITE/$CDSPLAT $ALLEGRO_INSTALL_DLL i2 N" T% x0 v3 y" {9 Q6 i
8 V; X+ h9 z9 W, c" H f+ E$ r# Library path for Interfaces
" T& X! E* k8 D3 ~/ [set INTERFACEPATH = $ALLEGRO_INSTALL_ROOT/share/library/interface0 z/ `' F# ^9 P6 K0 q4 m
- R& E* h8 x. G6 x+ s
#--------------------------------------------------------------------
& s; Z( q# [! C O# Drawing font
0 l* t# R( B7 ?, A4 w; Oset VECTORFONTPATH = . $GLOBAL
# ? Q# J. Q3 j6 Rset ANSIFONT = ansifont
; v& A% }8 D+ d9 {8 N5 b. l5 k" Qset KANJIFONTPATH = . $GLOBAL/fonts/kanji
9 }; g6 F& Z7 |set KANJIFONT1 = kanjifont1. g3 ]4 U1 [+ O1 [! `4 I7 u
set KANJIFONT2 = kanjifont2; T% }. I, L) k( X. r( K
. A0 L g4 B, S [6 _, @( q; F6 D
#--------------------------------------------------------------------4 h) M6 S( w, R! {' j3 U$ X
# Display Variables
+ _2 N3 M. N. G p0 D0 K
+ U/ J" j1 X; ] D. M7 M) x: |) _set display_backingstore on
R0 T# V0 H9 S8 d
4 W5 U; N( e! K6 l9 l# disable repair under ratsnests
7 e3 y- N! I6 z' U6 t. R4 @set display_shapefill_analysis 1
9 G, a$ R* Z0 @1 J! }
/ b, O# ?* w$ I# disable HTML datatips by default% W) Y9 [! j# F9 |9 E5 {
set disable_html_datatip_style, O4 @4 q1 ^& f; _* ?' R& |
9 l, o: b% a# ?$ @9 B
# set infinite_cursor_bug_nt
# K8 K, g" e7 K/ K) `" J
3 m3 P( h) g) B% h# enable html as default for long message windows
( l& z+ A# S6 m0 s, {' r% }set allegro_html
. f0 A4 O6 Y- E
2 \, F/ Z G6 _/ s# {#-------------------------------------------------------------------- d1 Z3 ~) m: [! ~- N0 L% A) A
#--------------------------------------------------------------------
4 {0 Z+ [# W* vset compalib = $ALIBPATH/symbols $COMPLIBPATH/symbols A$ |4 `) u$ ]
set topfilelib = $ALIBPATH/templates $COMPLIBPATH/templates0 u" }' V( O( N
set signal_install_dir = $ALLEGRO_INSTALL_DIR/signal
; q% G H; a) mset signal_optlib_dir = $signal_install_dir/optlib! J5 _" Q9 E$ _8 l. r# b
8 W0 |5 E3 D2 ?4 ^! S$ Gset MODULEPATH = . $ALLEGRO_SITE/modules
' Y" x% O+ W7 X' E- mset TILEPATH = . $ALLEGRO_SITE/modules
% X( V' L3 Q ]5 R2 Uset WBPATH = . $ALLEGRO_SITE/wbtiers( i2 H5 J: d+ c O9 w
set PADPATH = . symbols .. ../symbols $ALLEGRO_SITE/padstacks $compalib
2 i/ K- }% _7 Y: Pset PSMPATH = . symbols .. ../symbols $ALLEGRO_SITE/symbols $compalib* c4 a% S; ]6 f) h
set pcell_lib_path = $ALLEGRO_SITE/../../rfsip/sip_pcells . sip_pcells .. ../sip_pcells $ALLEGRO_INSTALL_DIR/../rfsip/sip_pcells
4 |5 O$ {- @3 S/ X5 e/ wset TECHPATH = . $ALLEGRO_SITE/tech $GLOBAL/tech2 A. i/ G/ U0 S$ ^
set PARAMPATH = . $ALLEGRO_SITE/parameter - Z4 O1 v' G6 n9 Y
set TOPOLOGY_TEMPLATE_PATH = . templates .. ../templates $ALLEGRO_SITE/topology $topfilelib. x/ S, G" I0 k' g) R; n
% y' Y; ]- s# A0 C, o& }# SigNoise data installation directory
) _; v" x1 y$ e0 w1 ]set SIGNOISEPATH = . $LOCALENV $ALLEGRO_SITE/signal $signal_install_dir $signal_optlib_dir $GLOBAL
/ l1 B0 }* f: P2 u; p8 a4 I8 c1 ^4 \6 e. Y' U( |' U
# SigNoise model variables.
1 e. }$ S# e9 v& d) gset SI_MODEL_PATH = . $ALLEGRO_SITE/signal $signal_install_dir ^& m% ^# Y( |5 Y
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)$ Q0 c: F# K4 ?8 i" }9 g
: Y0 C# J% q. Q#--------------------------------------------------------------------% `" @7 J' ?5 |) g
# Non-HDL Supported Design Search Path Variables
! @, z) w5 T0 a2 w- j. `set MISCPATH = . $ALLEGRO_SITE/misc $GLOBAL( @/ B5 M: `+ _) ]' A
set ARTPATH = . .. $ALLEGRO_SITE
% d5 L! I9 `! Zset APTPATH = . .. $ALLEGRO_SITE' k( Y% U) r/ V" j" v/ a
set CLIPPATH = .8 D8 E' | K" N6 Y
set DCLPATH = . .. $ALIBPATH $COMPLIBPATH Q5 E0 @4 a' N
set DEVPATH = . devices .. ../devices $ALLEGRO_SITE/devices $ALIBPATH/devices $COMPLIBPATH/devices. ^3 ?; n' o/ y! T0 U$ C9 J
set DFAAUDITPATH = . $ALLEGRO_SITE/assembly $ALLEGRO_INSTALL_DIR/assembly
{9 G8 _$ u- i# @0 l5 Fset DFACNSPATH = . dfa .. ../dfa $ALLEGRO_SITE/dfa
p6 q. F* S" R6 V( a/ o# @# R2 Q/ k0 h# gset NCDPATH = . .. $ALLEGRO_SITE/nclegend $GLOBAL/nclegend
; g/ _+ N4 J' o& z/ ~5 ?set SCRIPTPATH = . $ALLEGRO_SITE/scripts $GLOBAL/script
# @6 ?7 e4 n* Yset TEXTPATH = . $ALLEGRO_SITE/extracta $GLOBAL/views9 F" F- o) d$ b1 G$ ^1 |* E7 ~ W: _2 {
set VIEWPATH = . $ALLEGRO_SITE/views
g! v& Z/ q8 C& {. o" Tset XTALK_TABLE_PATH = . xtalk_tables .. ../xtalk_tables $ALLEGRO_SITE/xtalk $ALIBPATH/xtalk_tables/ e0 l7 I6 g) O4 s2 h+ _4 J
set WIZARD_TEMPLATE_PATH = $ALLEGRO_SITE/new_templates $ALLEGRO_INSTALL_DIR/pcb_lib/symbols/template : O* N! L$ j. W: M; {7 p5 O9 }
set LDFPATH = .
& O, m! I, u9 V( A0 [1 Z% L/ x- j7 {$ g3 @8 {( r' Z! M
# System Configuration .scf file search path. C. I$ W, r! I3 ^1 |( n- c
set SCFPATH = . scfs .. ../scfs , ~* `7 c: ]6 R9 M
. c7 X, X* z. s B2 e. d" `9 Q- c
# Display the headsup meter in a fixed position in the control panel.
$ W7 A# m! c0 T$ v* X# \set allegro_dynam_timing_fixedpos* [2 Z" j( d' H. {, @
& Q6 Z h9 t% [, x
# For IC Packaging tools (APD and SiP tools), the following defaults the
& y& d% y" D \+ x1 N7 Z2 U# HUD for the wirebond tools to updating 25 times per second.
% T: m$ A; Z) p8 G; Z( h% s
/ B, Y6 a' D. p! L+ _set wirebond_hud_update_frequency 25
( T1 V: I" P, P1 t# By default, suppress bond wire DRCs that are 3D in nature but being, k/ Q! y' u2 K- S9 F# `. O
# checked in 2D. By default, the APD/SiP tools will only report wire
; p( \% n7 N3 t5 \! o) ]# violations if they occur over top of the end item (finger or pin) and
% C8 N8 J+ r, v9 k# the two wires are on different nets.6 G+ b3 R5 G; w6 d4 w% U+ B# T" Q8 C
set wirebond_suppress_bondwire_drcs1 U5 K. f, `4 \& W% D
. r! o) ~8 a' ?1 h# enable license caching for better toolswap performance
3 d* d( g6 g$ h2 b8 H2 Xset allegro_license_caching
k4 \. U) a' A( j/ `7 v+ S; u& m; S9 z; }% {
#--------------------------------------------------------------------$ h' C2 L1 M; K$ x! H
#--------------------------------------------------------------------3 R/ B% H7 d; Y4 |' E$ N" E( t
# alias
. |& L, B: ?& U! d# May use function keys F2-F12, most Alpha-numberic keys with control 7 j7 r5 m( ?% q/ r; U
# modifier (although Control - C, V and X are reserved for copy, paste and cut)
5 a/ J2 A' E- O& [# and Navigation Keys (Home, Up arrow, Esc, etc.) These items may be modifed
" t* P7 h" k( Z! K8 Q0 r: l. a& i# by the following:3 l/ k, M/ K1 Q% v9 U1 T
# Modifier Indicator Example
! `% F2 `0 v9 a) q* b- f3 v# Shift S SF2 ) W9 w. r! i. r7 H L% u
# Control C (function keys) CF2" \0 w- z6 I9 e) X' h3 B
# Control ~ (alpha-numeric) ~N
8 w, Z. R. ^2 p# ~7 S$ j# Meta A AF2
" N" I+ A3 r; u* E4 H) b# Modifiers may be combined. Some examples:
$ h1 k& H+ [" ]: C$ }# CSF2 Control-Shift F21 ~& X }9 f& G
# ASF2 Meta-Shift F2: x4 ^" v' K, J S/ b" p# J, S5 K
# CAF2 Control-Meta F2
& q- A) `' q. f- J5 x0 }$ a& @& o# CASF2 Control-Meta-Shift F2
: P* J7 Q: y# X7 |3 n' k+ U# ~SZ Control-Shift Z+ s; _% m9 z5 R5 G7 [
# SUp Shift-Up Arrow, U) j2 b+ g$ a2 ]
# CUp Control-Up Arrow8 I2 x# v6 M' @. Q
#
* `: {( n$ ~! v/ @& t8 W/ u# |# funckey1 s/ ]! E" `, W
# use the funckey when you wish to have alphanumeric keys operate
! Y& u4 X, Q# D. f# like the Function keys when the cursor is in the Allegro canvas.
" K( G, G* M, t" D$ |#
4 N- \3 P7 z/ a7 x8 S' R4 z# Example -- following starts the move command without a Enter key
: ~* ^! a- [0 {% g1 d# funckey m move
% E1 s7 S+ w" D- q) h
5 L: t2 L: P: A0 i#--------------------------------------------------------------------
* D, p( |1 B+ C! g# Bind roam operations to function keys
, n8 g1 v+ X. b3 `- lset roamInc = 962 U- Y; u# q' m. `, O5 J& l
funckey Up "roam y -$roamInc"" }: ~! m6 H# c/ A' S) e6 R
funckey Down "roam y $roamInc"6 {0 Y, q# c& @+ f2 I4 T8 [
funckey Left "roam x -$roamInc" n8 S; L. V! _
funckey Right "roam x $roamInc" f8 Z* j+ b: B
$ k4 `: a: P" i8 ~, v# y* L! ]
# Bind incremental pick by grid unit functions to ctrl and shift--arrow keys
" T' H2 c/ ]: q, W. [alias CUp "ipick 0; ipick_to_gridunit 0 +1": h/ Q1 g% F4 g# |3 E( k, S: V
alias CDown "ipick 0; ipick_to_gridunit 0 -1"; v" C! K4 D0 r; J* C# i
alias CLeft "ipick 0; ipick_to_gridunit -1"/ D4 T% k/ r4 O1 [& B) I& G, r2 r w+ s
alias CRight "ipick 0; ipick_to_gridunit +1"& R( U7 s+ j! c6 w0 L; Z# m1 ]) A; v
alias SUp "move; ipick_to_gridunit 0 +1"$ G* Y( H' x. @2 i8 }9 \
alias SDown "move; ipick_to_gridunit 0 -1"+ M @" z. M* J4 E
alias SLeft "move; ipick_to_gridunit -1"! C+ _4 b& B. a/ b8 I+ \0 Q
alias SRight "move; ipick_to_gridunit +1"3 \( |& r% p: V7 T9 Y. R6 H" k
M' N7 r; K# x+ x5 M" C# example of a funckey to emulate Layout capability
) M# v( u& m- Z- u; O. f& r# The "-cursor" option can be added to any Allegro command with the pick familty
- n; y2 M" c$ S. B; i0 H! }# and we utilize the position under the cursor when the command is execute. So
5 @% M2 v# ]! P) P5 ^& N# this example would center the display to position under the cursor when the 'c' key( j T+ C* i8 ^
# is pressed.
! X! _9 l4 {0 K$ w7 b7 x. Y3 S# funckey c "zoom center; pick -cursor"
# r4 M/ ?; Z3 T" R
8 W4 Q/ W1 p" \! C* w#--------------------------------------------------------------------7 N: b! F6 i' E% I2 P$ o" z; U
# F1 is normally reserved by the system for Help so we don't use it) F5 H; f5 N# K" H) t
alias F2 zoom fit
6 s" b7 o6 |) [- ~alias F3 add connect% D9 D/ Y# G# s( _
alias F4 next
" D! g: b) B% w) V& ]7 C" d# alias F3 add connect, ^0 V, u: ?: i5 u- Q
# alias F4 show element
7 t7 W) y7 t8 k" g8 [alias F5 zoom in& u0 s/ C( `2 q$ P
alias F6 zoom out8 V1 b4 X) D9 C6 J
# alias F5 redraw5 F3 f7 ^, ^& |- g
# alias F6 done; I: B( o/ y. A5 L. v. G! u
alias F7 next
' V2 v0 {0 F' ^alias End next
0 c; l+ N2 t7 R* D- c/ X/ z+ Halias F8 save
* _% I* y! |2 @( Talias F9 cancel$ y/ s5 P6 U" P$ A4 F' C9 }
alias F10 grid toggle
; q* P6 b m- @9 s1 T& j# ealias F11 zoom in
! r+ j4 v; D5 e4 e7 w s% Y, j zalias F12 zoom out/ ]. z' P$ S; E a
alias Pgup zoom in #ning. [: H% l" R1 ?
alias Pgdown zoom out #ning
( {/ Q4 j2 B3 g" b, g8 e5 Dalias SF2 property edit
0 z. W! V5 T$ K8 c. r L calias SF3 slide; f; z! R( t) R- {' G& h4 _5 q
alias SF4 show measure
& @) I* Z* {& Walias SF5 copy+ A- u @! P4 e
alias SF6 move
* D2 y* G' h# S; T5 F Galias SF7 dehilight all7 ?* F/ K3 ?- B. I, H6 h
alias SF8 hilight pick
7 |% Z5 J2 v4 \alias SF9 vertex% P: X7 b" w$ A) n. _% r% T
alias SF10 save_as temp! b2 a- L3 w- v2 h
alias SF11 zoom previous$ @ j2 I, f' G) q: j
alias SF12 zoom world. T, h& D8 h3 |& D
alias CF2 next
7 x2 G, i% S6 ]. xalias CF5 color192' N0 u/ z/ j; q
alias CF6 layer priority
) I% B7 z5 c, i: `! x" Aalias CSF5 status$ ?9 O' D' }: s9 f& K
alias ~N new9 q" g; c9 P% ]+ G) l
alias ~O open
3 J- A# c/ D$ L* U5 |# k3 \% falias ~S save
8 B( y& L' ~3 P/ q, Aalias ~D delete
" j& K& D0 B6 g- p) B0 l8 y8 c4 S% aalias ~Z undo( {: z8 N" P, G
funckey + subclass -+
/ ]# o7 l& q) d {- g% D Cfunckey - subclass --: ]5 W5 r( p6 y/ T* E9 q
alias jc FIND component #查找元件
( i4 H2 F" W `' Z8 e, Balias nn Assign Net #查找元件
4 e) Y+ j. f" j; n! U3 @funckey ' ' iangle 90 #以90度旋转选中的物体& d& e+ r& y/ r9 c2 c$ P
#-------------------------------------------------------------------- r# r: F) F6 Z5 M; Z" v
# OTHER ALIASES
" Y3 Q+ a! S& y0 i: \' h0 }1 Halias edps padedit
# N( e* K7 y+ B7 Ualias rps "replace padstack"
& c8 E! D, h1 H+ }$ S+ [alias unplrp report unplaced
) J5 f! |' `3 [$ A' S% Walias x pick
5 f# h: \; {' g7 Lalias y pick l% c p$ i" z2 Q9 ~
alias ix ipick
2 }4 u1 J( c: O, malias iy ipick 0. d4 c' p# y% k h3 ]1 p
alias reopen 'open -q $module'
* Y! k+ G; ~9 @1 C- \1 Galias revert 'open -q $module'$ m2 e8 d4 x# l/ h4 d$ s1 a8 S
/ d: A: L3 d0 C% h r% s- G
# autoroam. {" y3 V' o7 P8 r$ s
alias sar set pcb_autoroam
4 M! a1 s( n6 X5 L/ halias uar unset pcb_autoroam4 _+ t K8 S6 }3 E$ t: P$ w+ ?, {: P
4 j8 X. o8 u& Q
alias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'
2 j) U% ~2 z+ ^; i6 kalias ~B bubset
! B9 ^% |6 g+ h- H( K# l+ J4 Jalias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode'0 @: C8 ^" R# f ?
alias ~C smoothset* K5 N# ?) x- Q5 T- Z! s3 U# I
7 ?# {' i2 ]1 j: ]
" b' ~9 U$ X7 C& S% Q#--------------------------------------------------------------------+ U+ M5 K- E" ]# d# a0 X: P
# COMMAND DEFAULTS
6 @6 K% p3 L, l2 ]$ `# allow slide to work on arcs by default
" d. i3 c) w0 r/ D& Rset slide_arcs
% a) }# h7 G& C
: B/ A i% [2 S+ S/ a' t# Compatibility aliases1 a9 j# L+ R+ Y9 }8 D" p( l# m
alias window zoom
2 Q/ [' R" ~* G# Halias hilite hilight
0 i' u, k0 V, y; l q. S# A& I ]alias dehilite dehilight
$ R' y }' Z& a$ X7 N6 }$ } `alias pickx pick( i9 S- \8 W9 A% K
alias picky pick l
$ t+ h( I/ V7 i) e* r& m7 Ealias ipickx ipick* Q d4 p8 i4 Y: _
alias ipicky ipick 0
5 k4 L# c2 V; [# D, C5 \alias cdnshelp cdsdoc/ I# o; w- a2 b: y; I
. Z( p9 F; e' j+ ?#--------------------------------------------------------------------
: Z0 q$ ]8 I1 O# MOUSE WHEEL SUPPORT 5 a7 T; M$ m! W$ R6 I! S& W/ p. k
# Environment Variables - Note quote variables so they are evaluated/ e" i7 {7 d7 p! G l8 e9 e, c
# at button time not when this file is read.2 d# L$ T2 R* c, J8 f7 J* n: Y9 \
# - _wheelcnt variable is set based upon number of detents wheel moved
6 T. e8 f1 ]; h- u' m/ X# range is -4 to 4 (no 0)+ Q; H. ?( l7 r1 c
# - sx1 and sy1 are cursor coordinates when wheel is moved7 J4 B* n$ j( U+ Y* M8 T0 x4 _
#
. ]: a; P4 c8 m! A1 m# Button values6 B, I$ q, M% P; Y$ q
# wheel_up: when wheel is moved up
2 l! k* z/ [8 j% Q" U# wheel_down: when wheel is moved down
9 \( N* }$ w: k# `# wheel: up/down if either of above 2 buttons are not assigned: U4 ?& S0 f0 f
#
* _+ F4 g; J- O& b6 m5 U# Keyboard modifiers (note we are case insensitive)0 c; b9 _: j8 @7 A0 W5 d4 G4 G- U, W5 q% g
# S - shift key/ d$ t: B8 D8 _. h5 i L
# C - control key
! y% V+ _" i4 K3 m2 z7 B# SC - shift and control" t8 I9 U6 A" z P1 ]9 G
# Example: SCwheel - for wheel button assignment with both shift & control keys
3 f' q5 u/ {# {, g4 K8 K' L#
9 M* r7 O& ?- x& z" @& o
7 c: H3 }, T" A# Button factor may be factorion (e.g. 0.5)
5 U2 {- `! v0 N* gset buttonfactor = 1
" I8 T9 `* x. P' S" m; O* n1 S1 Y6 L" t7 x3 w' L
button wheel_up "zoom in $buttonfactor"
) O! x+ ~" Y/ C* c9 @button wheel_down "zoom out $buttonfactor"! m$ I! t3 f3 C9 S$ Q" V& f
button Cwheel_up "zoom in $buttonfactor"
* S+ o( X. W% L* ]% O( p/ H; Sbutton Cwheel_down "zoom out $buttonfactor"
, V* u/ B. h( G5 r4 G% {# X3 x4 x1 I' Q7 x$ m: |7 A
source -q $ALLEGRO_SITE/site.env
) c' J+ L: p/ f( {8 @* E# D* ^请问是哪句,我怎么没找到! |
|