<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 30/12/15 20:17, Martin Davies G0HDB
wrote:<br>
</div>
<blockquote
cite="mid:56843BDA.12225.282E7CC@g0hdb.amdavies.demon.co.uk"
type="cite">
<div align="left"><font face="Arial" size="2" color="#7f0000"><span
style=" font-size:10pt">> Could the changes that you have
made caused this? Send me a 'diff -u </span></font></div>
<div align="left"><font face="Arial" size="2" color="#7f0000"><span
style=" font-size:10pt">> /spider/perl/console.pl
/spider/local' and the same for Console.pm.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt">The output of the two 'diff -u' commands is:</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">sysop@GB7DXC-Pi /spider/local $ diff
-u /spider/perl/console.pl /spider/local/console.pl</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">sysop@GB7DXC-Pi /spider/local $ diff
-u /spider/perl/Console.pm /spider/local/Console.pm</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">--- /spider/perl/Console.pm
2015-09-10 17:48:40.180967561 +0000</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+++ /spider/local/Console.pm
2015-12-29 23:30:54.526963743 +0000</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">@@ -32,17 +32,20 @@</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> package main;</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> $maxkhist = 100;</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">-$maxshist = 500;</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+# $maxshist = 500;</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+# 2015-12-29 - The above is the
original entry; the following is amended as per info from
G1TLH</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+$maxshist = 5000;</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> if ($ENV{'TERM'} =~ /(xterm|ansi)/)
{</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> # $ENV{'TERM'} =
'color_xterm';</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+# 2015-08-30 2213z - changed
$mycallcolour to bold and WWV/WCY colour from cyan to
magenta</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> $foreground = COLOR_BLACK();</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> $background = COLOR_WHITE();</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">- $mycallcolor =
COLOR_PAIR(1);</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+ $mycallcolor =
A_BOLD|COLOR_PAIR(1);</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> @colors = (</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> [ '^DX de
[\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)',
COLOR_PAIR(1) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> [ '^DX',
COLOR_PAIR(5) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> [ '^To',
COLOR_PAIR(3) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">- [ '^(?:WWV|WCY)',
COLOR_PAIR(4) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">+ [ '^(?:WWV|WCY)',
COLOR_PAIR(6) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> [ '^[-A-Z0-9]+ de
[-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> [ '^[-A-Z0-9]+ de
[-A-Z0-9]+ ', COLOR_PAIR(6) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt"> [ '^WX',
COLOR_PAIR(3) ],</span></font></div>
<div align="left"><font face="Arial" size="2" color="#0000ff"><span
style=" font-size:10pt">sysop@GB7DXC-Pi /spider/local $</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt">As you'll see, the 'diff -u' on the two
console.pl files didn't show any differences, and 'diff -u'
on the Console.pm files only shows the changes I made to the
$mycallcolor font (now set to bold) and the change of the
WWV/WCY font colour from cyan to magenta.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="
font-size:10pt">What PuTTY emulation are you using for
accessing your system(s)? I don't recall having changed
anything from the defaults apart from setting the PuTTY
window's number of columns (to 128) and rows (to 63, to fit
my monitor screen height) in the PuTTY config I'm using, and
the PuTTY scrollback works fine when I'm not running
console.pl</span></font></div>
</blockquote>
<br>
<tt>Please be careful about what you quote in replies as there is a
40KB limit on the list. Any more and I have to approve it :-)<br>
<br>
There is nothing in the diffs that would scare this horse. <br>
<br>
I am using the standard putty, I have no idea which version. But
the difference probably is the putty config setting that you are
using. I would try just using the default values and then
maximising the window. This will let putty hopefully do the "right
thing" [tm]. The point is that a window on the *nix box has some
environment variables set on it to describe the lines and columns
of the window. These *should* change (or rather *be* changed) by
the thing that is controlling the window (in this case putty).
This allows any program running in that window to discover and
then track the underlying size changes imposed by the user.<br>
<br>
On mine (putty on WinXP), changing the size of the window seems to
be tracked correctly whether I am running console.pl or not. So,
if console.pl is running, changing the size of the window will
expand and contract the console.pl window. This can be seen by
watching the two numbers (lines and cols respectively) to the left
of the time on the divider line between the keyboard and the
display section. They should correspond to the actual values of
the window. If they don't then "it will never work". <br>
<br>
Making sure that the divider line's "shape" remains correct on
changing the size of the window would be the next thing to look
at.<br>
<br>
Dirk G1TLH<br>
<br>
<br>
<br>
</tt>
</body>
</html>