Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37749292
en ru br
ALT Linux repos
S:5.45.4-alt4
5.0: 5.44-alt3
4.1: 5.44-alt2
4.0: 5.43-alt3
3.0: 5.43-alt1

Other repositories
Upstream:5.44.1

Group :: Development/Tcl
RPM: expect

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: expect-5.39-fixcat.patch
Download


--- expect-5.39/fixcat.orig	1998-10-15 01:53:23 +0300
+++ expect-5.39/fixcat	2004-02-21 18:08:50 +0200
@@ -8,14 +8,5 @@
 # If this file is sitting in an architecture-specific library directory,
 # then it serves as a marker that your /bin/cat buffers by default.
 
-# test for when catting to/from files
-log_user 0
-spawn -open [open "|cat" "r+"]
-send "\r"
-expect "\r" {exit 1}
+exit 0
 
-# test for when catting to real tty
-#log_user 0
-#spawn /bin/cat
-#send "\r"
-#expect "\r\n\r\n" {exit 1}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin