SHA256
1
0
forked from pool/x3270
x3270/mknod.patch

35 lines
907 B
Diff
Raw Normal View History

Accepting request 329516 from home:scarabeus_iv:branches:Base:System - Version bump to 3.4: * Recreated tarball and build approach so adapt our system * Fixed a number of warnings found by the MacOS C compiler, which turned out to be real issues. * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just like Ascii and Ebcdic. * [all] Fixed an NVT-mode emulation problem. * [all] Fixed a synchronization issue with scripts and file transfers. * [c3270, wc3270] Fixed a crash when the Transfer action was called from a script. * [x3270] Fixed a crash when visible control characters are turned on in 3278 mode. * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13). * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE, to get rid of compiler warnings with newer versions of glibc (bugs:#12). * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages. * [c3270, wc3270] Made the help for file-transfer reflect the current defaults. Added help for Keymap. * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size of the console window correctly. * [pr3287, wpr3287] Fixed a problem with printer session start-up when both a specific printer LU and an SSL tunnel (L:) are specified. * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps. The semantics are the same as the x3270 action of the same name. * [all] Made the parameter to ResumeScript optional, and relaxed the restrictions on when PauseScript can be used, so it can now be used from macros and command files read with the Source action. * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270 file transfer dialog. * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C. OBS-URL: https://build.opensuse.org/request/show/329516 OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
Index: x3270/Examples/peer_script.bash
===================================================================
Accepting request 329516 from home:scarabeus_iv:branches:Base:System - Version bump to 3.4: * Recreated tarball and build approach so adapt our system * Fixed a number of warnings found by the MacOS C compiler, which turned out to be real issues. * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just like Ascii and Ebcdic. * [all] Fixed an NVT-mode emulation problem. * [all] Fixed a synchronization issue with scripts and file transfers. * [c3270, wc3270] Fixed a crash when the Transfer action was called from a script. * [x3270] Fixed a crash when visible control characters are turned on in 3278 mode. * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13). * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE, to get rid of compiler warnings with newer versions of glibc (bugs:#12). * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages. * [c3270, wc3270] Made the help for file-transfer reflect the current defaults. Added help for Keymap. * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size of the console window correctly. * [pr3287, wpr3287] Fixed a problem with printer session start-up when both a specific printer LU and an SSL tunnel (L:) are specified. * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps. The semantics are the same as the x3270 action of the same name. * [all] Made the parameter to ResumeScript optional, and relaxed the restrictions on when PauseScript can be used, so it can now be used from macros and command files read with the Source action. * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270 file transfer dialog. * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C. OBS-URL: https://build.opensuse.org/request/show/329516 OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
--- x3270/Examples/peer_script.bash.orig
+++ x3270/Examples/peer_script.bash
@@ -60,9 +60,9 @@ ip=/tmp/ip.$$
op=/tmp/op.$$
rm -f $ip $op
trap "rm -f $ip $op" EXIT
-trap "exit" INT QUIT HUP TERM
-mknod $ip p
-mknod $op p
+trap "exit" INT QUIT HUP BUS PIPE TERM
+mknod $ip p || exit 1
+mknod $op p || exit 1
# Start x3270
x3270 -script -model 2 <$ip >$op &
Accepting request 329516 from home:scarabeus_iv:branches:Base:System - Version bump to 3.4: * Recreated tarball and build approach so adapt our system * Fixed a number of warnings found by the MacOS C compiler, which turned out to be real issues. * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just like Ascii and Ebcdic. * [all] Fixed an NVT-mode emulation problem. * [all] Fixed a synchronization issue with scripts and file transfers. * [c3270, wc3270] Fixed a crash when the Transfer action was called from a script. * [x3270] Fixed a crash when visible control characters are turned on in 3278 mode. * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13). * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE, to get rid of compiler warnings with newer versions of glibc (bugs:#12). * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages. * [c3270, wc3270] Made the help for file-transfer reflect the current defaults. Added help for Keymap. * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size of the console window correctly. * [pr3287, wpr3287] Fixed a problem with printer session start-up when both a specific printer LU and an SSL tunnel (L:) are specified. * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps. The semantics are the same as the x3270 action of the same name. * [all] Made the parameter to ResumeScript optional, and relaxed the restrictions on when PauseScript can be used, so it can now be used from macros and command files read with the Source action. * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270 file transfer dialog. * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C. OBS-URL: https://build.opensuse.org/request/show/329516 OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
Index: x3270/Examples/peer_script.sh
===================================================================
Accepting request 329516 from home:scarabeus_iv:branches:Base:System - Version bump to 3.4: * Recreated tarball and build approach so adapt our system * Fixed a number of warnings found by the MacOS C compiler, which turned out to be real issues. * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just like Ascii and Ebcdic. * [all] Fixed an NVT-mode emulation problem. * [all] Fixed a synchronization issue with scripts and file transfers. * [c3270, wc3270] Fixed a crash when the Transfer action was called from a script. * [x3270] Fixed a crash when visible control characters are turned on in 3278 mode. * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13). * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE, to get rid of compiler warnings with newer versions of glibc (bugs:#12). * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages. * [c3270, wc3270] Made the help for file-transfer reflect the current defaults. Added help for Keymap. * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size of the console window correctly. * [pr3287, wpr3287] Fixed a problem with printer session start-up when both a specific printer LU and an SSL tunnel (L:) are specified. * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps. The semantics are the same as the x3270 action of the same name. * [all] Made the parameter to ResumeScript optional, and relaxed the restrictions on when PauseScript can be used, so it can now be used from macros and command files read with the Source action. * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270 file transfer dialog. * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C. OBS-URL: https://build.opensuse.org/request/show/329516 OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 14:56:07 +02:00
--- x3270/Examples/peer_script.sh.orig
+++ x3270/Examples/peer_script.sh
@@ -59,9 +59,9 @@ ip=/tmp/ip.$$
op=/tmp/op.$$
rm -f $ip $op
trap "rm -f $ip $op" 0
-trap "exit" 2 3 1 15
-mknod $ip p
-mknod $op p
+trap "exit" 2 3 1 7 13 15
+mknod $ip p || exit 1
+mknod $op p || exit 1
# Start x3270
x3270 -script -model 2 <$ip >$op &