diff --git a/abck b/abck index d7ab9d5..c005040 100755 --- a/abck +++ b/abck @@ -11,7 +11,7 @@ ########## -VERSION = "$Id: abck,v 1.93 2001/07/19 00:03:37 tundra Exp $" +VERSION = "$Id: abck,v 1.94 2001/07/19 01:18:19 tundra Exp $" @@ -190,6 +190,7 @@ # New one else: + originalname = hostname depth = 2 DONE=FALSE while not DONE: @@ -198,8 +199,8 @@ default = HostDepth(hostname, depth) # Ask the user about it - st = raw_input(PROMPT % (logrecord, hostname[-40:], - " " * (40 - len(hostname)), + st = raw_input(PROMPT % (logrecord, originalname[-40:], + " " * (40 - len(originalname)), default)) # Parse the response @@ -225,7 +226,7 @@ sendto = default DONE = TRUE - NameCache[hostname] = sendto # Cache it + NameCache[originalname] = sendto # Cache it return sendto