voici mon shell de gestion des files d'attente.
Pour récupérer les réponses à la commande dialog, je n'ai pas trouvé
d'autre moyen à l'intérieur du shell que de rediriger l'erreur standard sur
un fichier provisoire ( $$xxx )
si quelqu'un a une méthode plus propre, je suis preneu[[ printer : 2049 dans WINMAIL.DAT ]].
Benoit Lion
_________________________________
Service Informatique
Inspection Académique de Chambéry
tel : 04 79 62 53 19
fax : 04 79 69 72 99
________________________________
-----Message d'origine-----
De: Christophe Girod [SMTP:christophe.girod@???]
Date: mercredi 20 janvier 1999 08:54
À: guilde@???
Objet: fonction dialog
Recement qqu a parler de la command dialog, jsuis donc aller voir le man
et ... on laisse tomber je vien de voir la reponse, je me demander comment
on gerer les reponses mais c'etait expliquer dans la section diagnostic.
mais bon si qqu peut m'envoyer un ptit exemple ca serait sympa
begin 600 printer
M(R$@+V)I;B]S: HC"B,)<')I;G1E<@HC"B,@"6=E<W1I;VX@9FEL97,@9"=A
M='1E;G1E<PH*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PHC"6EN
M:71I86QI<V%T:6]N('9A<FEA8FQE<PII;FET7W9A<B@I"GL*5$5-4$\](B]T
M;7 O)"1R97-U;'1A="(*5$U07TQ)4U1%24U0/2(O=&UP+R0D;&ES=&5?:6UP
M(@I435!?4D537T-/34U!3D1%/2(O=&UP+R0D<F5S=6QT871?8V]M;2(*5$U0
M7TY"7TI/0E,](B]T;7 O)"1N8FIO8B(*"FQP8R!S=&%T=7-\9W)E<" B.B)\
M8W5T("UD)SHG("UF,2 ^("1435!?3$E35$5)35 *(R!E>&5M<&QE(&%W:R Z
M('9O:2 O=7-R+V)I;B]T97AI,FEN9&5X"DY"7TE-4#U@8V%T("1435!?3$E3
M5$5)35!\('=C("UL8 I#2$%)3D5?3% ]8&-A=" D5$U07TQ)4U1%24U0('P@
M87=K("<*>PH)>CUZ*S$*"7!R:6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@(&1I86QO9R M+6UE;G4@(D9I;&4@9"!A='1E;G1E(B R," T," D
M3D)?24U0("1#2$%)3D5?3% @,CXD=&5M<&\*(&9I"@H*:68@6R D/R ](# @
M70IT:&5N"@E.54U?24U07T-(3TE3244]8&-A=" D5$5-4$]@"DE-4%]#2$])
M4TE%/6!C870@)%1-4%],25-414E-4"!\87=K("UV('IC:&]I>#TD3E5-7TE-
M4%]#2$])4TE%("<*>R *"6EF("@@3E(@/3T@>F-H;VEX("D*"7!R:6YT9B D
M,0I]"B<*8 IR971U<FX@, IE;'-E"G)E='5R;B Q"F9I"GT*(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*(PE%=&%T
M(&EM<')I;6%N=&4*971A=%]I;7 H*0I["B @8VAO:7A?:6UP"B @:68@6R D
M/R ](# @70H@('1H96X*"6QP8R!S=&%T=7,@)$E-4%]#2$])4TE%(#X@)%1-
M4%]215-?0T]-34%.1$4*"61I86QO9R M+71E>'1B;W@@("1435!?4D537T-/
M34U!3D1%(#(P(#4P"@D*("!F:0I]"B,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C"B,)171A="!J;V)S(&EM<')E<W-I
M;VYS"F5T871?:F]B<R@I"GL*("!C:&]I>%]I;7 *("!I9B!;("0_(#T@,"!=
M"B @=&AE;@H)(R!L<'$@+6P@+5 D24U07T-(3TE3244@/B D5$U07U)%4U]#
M3TU-04Y$10H);'!Q("U0)$E-4%]#2$])4TE%("UL('P@87=K("<*>PH)9FQA
M9U]L:6=N93UI;F1E>"@D,RPB6R(I.PH):68@*"!F;&%G7VQI9VYE("$](# I
M"@E[(&YB:F]B/6YB:F]B*S$*"0EP<FEN=&8H(DIO8B!N=6WI<F\@.B E<R B
M+'-U8G-T<B@D-"PQ+#,I*0H)?0H)96QS90D*"0EI9B H(&EN9&5X*"0Q+"(O
M(BD@(3T@," I"@D)<')I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C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*9&5L7VIO8G,H*0I[
M"B @8VAO:7A?:6UP"B @:68@6R D/R ](# @72 @"B @=&AE;@H*"2,@9F%B
M<FEQ=65R(&QA(&-H86EN92!D97,@:F]B<R!P;W5R(")D:6%L;V<B"B @(" @
M(" @;'!Q("U0)$E-4%]#2$])4TE%("UL('P@87=K("<*>PH@(" @(" @(&9L
M86=?;&EG;F4]:6YD97@H)#,L(FIO8B(I.PH@(" @(" @(&EF("@@9FQA9U]L
M:6=N92 A/2 P*0H)"7L@9FQA9U]F:6-H:65R/3$*"0D@(&YB:F]B/6YB:F]B
M*S$@( H@(" @(" @(" @(" @(" @("!P<FEN=&8H(B5S("(L<W5B<W1R*"0T
M+#$L,RDI"@D)?0H@(" @(" @(&5L<V4*(" @(" @(" @(" @(" @(&EF("@@
M:6YD97@H)#$L(B\B*2 A/2 P(" F)B!F;&%G7V9I8VAI97(@/3T@,2D*(" @
M(" @(" @(" @(" @('L@<')I;G1F*"(E<R!O9F8@(BPD,2D*"0D@(&9L86=?
M9FEC:&EE<CTP(" @"@D)?0I]"@E%3D0@>PH)"7!R:6YT9B H(B5D("(L(&YB
M:F]B*2 ^("(O9&5V+W-T9&5R<B(*"2 @("!]"B<@/B D5$U07U)%4U]#3TU-
M04Y$12 R/B D5$U07TY"7TI/0E,*("!.0E]*3T)3/6!C870@)%1-4%].0E]*
M3T)38" *("!I9B!;("1.0E]*3T)3(#T@,"!="B @=&AE;@H)9&EA;&]G("TM
M;7-G8F]X(")A=6-U;B#I9&ET:6]N(&5N(&%T=&5N=&4B(#$P(#0P"B @96QS
M90H@(" @(" @(" @(" @9&EA;&]G("TM<V5P87)A=&4M;W5T<'5T("TM8VAE
M8VML:7-T(")#:&]I<VER(&QE<R!J;V)S(. @<W5P<')I;65R(&%V96,@/&5S
M<&%C93XB(#(P(#8P(#$R(&!C870@)%1-4%]215-?0T]-34%.1$5@(#(^97-S
M86D*(" @(&EF(%L@)#\@/2 P(%T*(" )=&AE;@H)"69O<B!J;V(@:6X@8&-A
M="!E<W-A:6 *"0ED;PH)"0ED:6%L;V<@+2UI;F9O8F]X(")3=7!P<F5S<VEO
M;B#I9&ET:6]N("1J;V(@96X@8V]U<G,B(#$P(#0P"@D)"6QP<FT@)&IO8B ^
M("]D978O;G5L; H)"61O;F4*"69I"B @(&9I"B @9FD*?0HC(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PHC"7!R;V=R
M86UM92!P<FEN8VEP86P*:6YI=%]V87(*=VAI;&4@6R!T<G5E(%T*9&\*"6UE
M;G5?9V5N90H)8V%S92 D/R!I;@H),2D@971A=%]I;7 [.PH),BD@<W1O<%]I
M;7 [.PH),RD@<W1A<G1?:6UP.SL*"30I(&5T871?:F]B<SL["@DU*2!D96Q?
3:F]B<SL["@EE<V%C"F1O;F4*"CL*
`
end
begin 600 WINMAIL.DAT
M>)\^(@$(`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`? $```$````1`````P``, (````+``\.``````(!_P\!````.P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&=U:6QD94!I;6%G+F9R`%--5% `9W5I
M;&1E0&EM86<N9G(``!X``C !````!0```%--5% `````'@`#, $````/````
M9W5I;&1E0&EM86<N9G(```,`%0P!`````P#^#P8````>``$P`0```!$````G
M9W5I;&1E0&EM86<N9G(G``````(!"S !````% ```%--5% Z1U5)3$1%0$E-
M04<N1E(``P``.0`````+`$ Z`0````,`<3H`````'@#V7P$````/````9W5I
M;&1E0&EM86<N9G(```(!]U\!````.P````````"!*Q^DOJ,0&9UN`-T!#U0"
M`````&=U:6QD94!I;6%G+F9R`%--5% `9W5I;&1E0&EM86<N9G(```,`_5\!
M`````P#_7P`````"`?8/`0````0````````"4$8!!( !`!0```!213H@9F]N
M8W1I;VX@9&EA;&]G`.$&`06 `P`.````SP<!`!0`"0`?`#L``P!1`0$@@ ,`
M#@```,\'`0`4``D`' `Z``,`30$!"8 !`"$```!&-#(S-C0V-C0P0C!$,C$Q
M03,X03 P-C P.#)$.#9!,P#6!@$#D 8`< <``!\````+``(``0````L`(P`!
M`````P`F```````+`"D```````,`+@```````@$Q``$```#)````4$-$1D5"
M,#D``0`"`% `````````.*&[$ 7E$!JANP@`*RI6P@``;7-P<W0N9&QL````
M``!.251!^;^X`0"J`#?9;@```$4Z7$UA:6P@97AC:&%N9V5<<&5R<V\N<'-T
M`!@`````````$\33(<]2TA&CB@!@""V&HZ* ````````& `````````3Q-,A
MSU+2$:.*`& (+8:CPH ``! ```#T(V1F0+#2$:.*`& (+8:C% ```%)%.B!F
M;VYC=&EO;B!D:6%L;V<``````P`V``````! `#D`("P'64]$O@$>`' ``0``
M`!0```!213H@9F]N8W1I;VX@9&EA;&]G``(!<0`!````%@````&^1$]8W69D
M(_6P0!'2HXH`8 @MAJ,``!X`'@P!````!0```%--5% `````'@`?# $````;
M````0F5N;VET+DQI;VY 86,M9W)E;F]B;&4N9G(```(!"1 !````V0,``-4#
M``#C!0``3%I&=7 MF2O3``H!"S X`?<@`J0#XPD"`&-H"L!S970P/B '$P*#
M`% "\@_Y5&$6: -Q`H,R#X=P<G&:,A"9,Q,;#_]]?0J B0C((#L);S(U-0*
MV0J!=6,`4 L#8P!!"V! ;F<Q,#,V"Z8@P'9O:6-I( 1@`Z P<VAE; ,@`0`@
M9[D'D'1I&V$!``0@9@,0<0>19"=A`D )\!V +@L*H@J 4 AA(')<)^!E.6-U
M<!ZB"7 %P/L=`AZ3< (@$% $(1ZP$("U"V @!:!M`X$;\60',:!O9RP@:AP`
M;AU0EQLP"K $('0#8'5V'J+='3)U(N <``1@>0GP((4Z)PN =!\3") >861U
MW1N%<0I0&^()<6D%$!P@^Q]Q'K!R"7 >81Q (5$+$?L;@!YA=0.@'. 0$ B1
M(I =`V!V! `;`"/1*" DY"1X*D @*1WD'>0`D/4F(FPF,"<HH2#P** CX=T>
MHG02<!OQ"U!U!" I4?T3H&4B`RA@! `I00GP)6$A'=5<;V)J'6%P:#\>H P!
M*JD91@+1$4%S,;@W($()\!L`!4!,'&%]'>1?,R\T+1WD!F$I@&/I' !);@(0
M<@# '% F,3,=Y#80<W %D!Q306.V80LP'K%M-I(;XD,0(#L&T!\3>1WD'8 #
M(#H@4# T(#<C8#83T#60,R Q.1WD9F$J8,\Z0#I6(V !P" Y.S4T+_\T3S"X
M#- !P3&R&E PJ1+Q^3"I;&D:0# A`V =@#> E" M0S)-!Y!S81P@[QTQ!; F
M\ N 94,S*I9"Q \P(PLQ0L0"`&DM,C+C`<!"03(V,Q,`#-!&XZ!B($1E.@R#
M8A" GSCP!1 <0"V@&Z @1R;0`01P(%M33510.ML0$$D&+D102;% 0\ FT-8M
M"X "$"X#4%TJE4@1MQU@2$@'@'(%`":Q(!K!?2^0;BF 'V$[(#S0.E X&#HU
M-$PV%'(G8S#52%=G+D!L`0! !W!#P/M+\4PW3R^ $&!(5P(1-X3_(:1$[T7Z
M0E0+MBJD`9$'\/T%D&4'@ (P)B F,"P1"K&_'0`E@1P`(.@AF"XS9%-1_RP0
M&\ ?81KQ'W(;0 !P'>3I$& @+ER0(!MA"V$$$/\<`$DP!M ?82(A3H$<@EM%
M_R#P"7 @(R(#!X ;X2%#!<#_(1(=D1WD&V$G`1]F7R0$(#L`P"Y18QZP`9 R
M465X?PM0-I(E@08B(.$04%-W9_LR,!Q!8QW58L,&X!MQ*V'_6"$W8".P&T >
ML$YP)!$H@W\%,&-C5[ +4!P`-_!DH7*]8U)S!L *L"J:%I$`:R ````>`$(0
M`0````$``````````P" $/____] ``<P8*WD[$Y$O@% ``@P8*WD[$Y$O@$+
M`"2 "" &``````# ````````1@`````#A0````````,`)H (( 8``````, `
M``````!&`````!"%````````"P`G@ @@!@``````P ```````$8`````%(4`
M```````#`"F "" &``````# ````````1@````!2A0``=! ``!X`28 (( 8`
M`````, ```````!&`````%2%```!````!0```#@N,#(``````P!*@ @@!@``
M````P ```````$8``````84````````+`%. "" &``````# ````````1@``
M```.A0````````,`5( (( 8``````, ```````!&`````!&%`````````P!6
M@ @@!@``````P ```````$8`````&(4````````>`&6 "" &``````# ````
M````1@`````VA0```0````$`````````'@!F@ @@!@``````P ```````$8`
M````-X4```$````!`````````!X`9X (( 8``````, ```````!&`````#B%
M```!`````0`````````>`#T``0````4```!213H@``````,`#33]-P``A, "
M`I &``X````!`!\!```@`" ``````&$``A* `P`.````SP<!`!0`"0`;`!X`
M`P`P`0(3@ ,`#@```,\'`0`4``D`&P`>``,`, $"$( !``@```!P<FEN=&5R
M``0#`A& !@"4"0```0`)```#R@0`````(00`````!0````$"____``4````)
M`@`````$````!P$!`&4```!!"\8`B `@`" ``````" `( ``````* ```" `
M```@`````0`!``````````````````````````````````````#___\`\ ``
M`_ ```/P```#\ ```_ ```/P```#\ ```_ ```/P```#\ ```_ ```/P```#
M\ ```_ ```/P```#\ ```_ ```/P```#\ ```_ ```/P```#\ ```_ ```/P
M```#\ ```_ ```/P```'\ ``#_ ``!_P```_\ ``?_ ``/\$````!P$!``4`
M```)`@$````%`````0(!````!0````$"____``4````)`@`````$````!P$#
M`"$$``!!"T8`9@`@`" ``````" `( ``````* ```" ````@`````0`(````
M`````````````````````````````````````( ``( ```" @ " ````@ "
M`(" ``# P, `P-S `/#*I@``````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````/#[_P"DH* `@(" ````_P``_P```/__`/\```#_
M`/\`__\``/___P``````````````````````````````````````````````
M``#X!P<'!P<'!P<'!P<'!P<'!P<'!P<'!P<'`````````/C_____________
M_________________P<`````````^/______________________________
M!P````````#X______________________________\'`````````/C_____
M_________________________P<`````````^/______________________
M________!P````````#X______________________________\'````````
M`/C_______\``````/__________`/___P<`````````^/____\`_P#_````
M``#_____````____!P````````#X_____P#______P`$``````````#___\'
M`````````/C________\_/S\`/S\`````/L``/___P<`````````^/_____\
M__S__/P`_/S\`/O[^P``____!P````````#X______S______P``_/P`^_O[
M``#___\'`````````/C________Y^?GY````_ #[^P```/___P<`````````
M^/_____Y__G_^?D``0``````````____!P````````#X______G______P#Y
M^0`````"``#___\'`````````/C_______\``````/GY^0`"`@(``/___P<`
M````````^/____\`_P#_`````/GY``("`@``____!P````````#X_____P#_
M_____P```/D``@(```#___\'`````````/C______________P``````````
M_____P<`````````^/________________\`````________!P````````#X
M______________________________\'`````````/C_________________
M_____________P<`````````^/______________________________!P``
M``````#X________________________^ ```````````````/C_________
M_______________X__\'^ ``````````^/________________________C_
M!_@```````````#X________________________^ ?X`````````````/C_
M_______________________X^ ``````````````^/__________________
M______@```````````````#X^/CX^/CX^/CX^/CX^/CX^/CX^ ``````````
M! ````<!`0`%````"0(!````!0````$"`0````,``````%*5`@&0!@`(````
M<')I;G1E<@`$`P(%D 8`L ````\````#`" .PQD``!X``3 !````" ```'!R
M:6YT97(`0 `', `%';A.1+X!0 `(, `%';A.1+X!`@$"-P$`````````'@`#
M-P$````!``````````,`!3<!````'@`'-P$````(````<')I;G1E<@`#``LW
M'P$```,`^G\`````0 #[?P! W:-71;,,0 #\?P! W:-71;,,`P#]?P`````+
1`/Y_``````,`(0[E<P$`&QY
`
end