1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
Commit Graph

617 Commits

Author SHA1 Message Date
Simon Tatham
52a688abd1 The host-key-unknown prompt now offers the same three options as the
host-key-changed prompt: update-cache-and-connect, connect-without-
updating-cache, and abandon-connection. (Previously the middle one
was missing.)

[originally from svn r1122]
2001-05-13 14:11:49 +00:00
Simon Tatham
fb473cc16c Placate gcc's `-Wall' warnings.
[originally from svn r1121]
2001-05-13 14:02:28 +00:00
Simon Tatham
93e27a40ae Trim leading whitespace off the hostname if it's there.
[originally from svn r1120]
2001-05-13 13:23:12 +00:00
Simon Tatham
8422d9e2e8 Oops - initialise sesslist_has_focus.
[originally from svn r1119]
2001-05-13 13:11:53 +00:00
Simon Tatham
b14d3260d8 Jacob's patch to make pressing Return on a selected saved session
load it and go, and simultaneously allow Alt-L on a selected saved
session not to change the focus.

[originally from svn r1118]
2001-05-13 11:58:36 +00:00
Simon Tatham
e59d3712c2 Borland and Cygwin makefiles now support XFLAGS.
[originally from svn r1117]
2001-05-13 11:46:00 +00:00
Simon Tatham
839353ad3a Control characters are now allowed as part of the password, if
they're not special control characters processed by the line input
routines.

[originally from svn r1116]
2001-05-13 11:44:57 +00:00
Simon Tatham
c0d65a351e Define WM_MOUSEWHEEL (to 0x20A) if it's not defined by windows.h.
[originally from svn r1115]
2001-05-13 11:19:20 +00:00
Simon Tatham
e45f75a2be Attempt to report the error condition right when an SCP connection
with a pre-supplied password fails to authenticate.

[originally from svn r1114]
2001-05-13 11:15:16 +00:00
Simon Tatham
5723ec04de Fix the SCO function keys, which weren't quite right.
[originally from svn r1113]
2001-05-13 10:58:51 +00:00
Simon Tatham
275e14673b Added a new large icon for the PuTTY config box. Doesn't show up in
the actual window at all, but appears in the Alt-Tab task switcher
box in place of the tedious Windows Default icon.

[originally from svn r1112]
2001-05-13 10:45:56 +00:00
Simon Tatham
ead5547e26 A patch to the new character set stuff to add the Windows code pages
themselves (Win1250 - Win1258).

[originally from svn r1111]
2001-05-10 10:31:44 +00:00
Simon Tatham
26f1085038 RDB's Unicode patch. Fonts are now used in Unicode mode where
possible and we have a single unified means of trying to display any
Unicode code point. Instead of the various ad-hoc translation modes
we had before, we now have a single `codepage' option which allows
us to treat the incoming (and outgoing) text as any given character
set, and locally we map that to Unicode and back.

[originally from svn r1110]
2001-05-10 08:34:20 +00:00
Simon Tatham
e001f1533e From RDB: a patch to allow special keys (^C, ^Z, Delete, Return) to
send Telnet special sequences (Interrupt Process, Suspend, Erase
Char, End Of Line) instead of their ASCII equivalents. In particular
Return -> Telnet End Of Line is _always_ enabled irrespective of the
configuration, while the others are optional. Also in this patch, an
entertainingly ghastly use of `switch' to allow literal ^M^J to do
the same thing as magic-^M (the Return key) when in Raw protocol.

[originally from svn r1109]
2001-05-09 15:12:26 +00:00
Simon Tatham
c2eb57a034 `realhost', passed back from all the backend init functions, was
scoped within those functions. It's now dynamically allocated.

[originally from svn r1108]
2001-05-09 14:01:15 +00:00
Simon Tatham
d1d65fa6d0 From RDB: telnet can now start up in passive mode, in which it
doesn't do any negotiation until the remote side does.

[originally from svn r1107]
2001-05-09 13:51:07 +00:00
Simon Tatham
7d86bbfbe2 From RDB: a few extra escape sequences seen in SCO terminals.
[originally from svn r1106]
2001-05-09 13:35:08 +00:00
Simon Tatham
9f32a1da35 From RDB: according to VT manuals, application cursor keys should
never be enabled when app keypad is disabled. Also CTRL+arrows flips
the application-ness to make it easy to generate the other sequences
if required.

[originally from svn r1105]
2001-05-09 13:30:06 +00:00
Simon Tatham
cefaa787ba We can now save the protocol and port number in Default Settings.
[originally from svn r1104]
2001-05-09 13:26:14 +00:00
Simon Tatham
00ebbfaab4 From RDB: yet another fix in the ongoing quest to deal correctly
with font point sizes :-(

[originally from svn r1103]
2001-05-09 13:12:46 +00:00
Simon Tatham
bc1a43efe8 RDB's alternative way to interpret the window size in Change
Settings: it describes the size of the _unmaximised_ window.
Maximisedness is a separate property which Change Settings doesn't
affect. So if you change the font while the window is maximised, the
terminal size adjusts accordingly. The downside is that you can't
read the width and height of a maximised window out of Change
Settings. Suggestions that restore this property are welcome.

[originally from svn r1102]
2001-05-09 13:03:16 +00:00
Simon Tatham
9318b84598 Fix due to Robert de Bath: backspace should not cross line
boundaries when auto wrap is disabled.

[originally from svn r1101]
2001-05-09 12:48:01 +00:00
Simon Tatham
19b6dcc1ae Fix de Bath's last-ditch bell overload
[originally from svn r1100]
2001-05-06 16:18:58 +00:00
Simon Tatham
c1c1bc4715 Strip off and ignore `:port' on the end of a hostname.
[originally from svn r1099]
2001-05-06 15:09:32 +00:00
Simon Tatham
3730ada5ce Run entire source base through GNU indent to tidy up the varying
coding styles of the various contributors! Woohoo!

[originally from svn r1098]
2001-05-06 14:35:20 +00:00
Simon Tatham
93101b5a71 Wez Furlong's patch to add xterm mouse reporting and proper mouse
wheel support.

[originally from svn r1097]
2001-05-06 14:20:41 +00:00
Simon Tatham
059998d17b Remove diagnostics and attempt to work around VC compiler bug :-(
[originally from svn r1096]
2001-05-03 10:10:53 +00:00
Simon Tatham
56a5e6fdf3 Extra diagnostics in the hope that we can track down the problem with
the nightlies. I must remember to take it all out again when we do!

[originally from svn r1095]
2001-05-02 14:45:25 +00:00
Simon Tatham
463c2651ae TEMPORARY ONLY: enable debugging on default build to try to get
tomorrow's nightly to show us what the problem with term_size is.

[originally from svn r1094]
2001-05-02 08:59:36 +00:00
Simon Tatham
50f50a009b Reduce out-of-focus timer interval to 2 seconds so we still have
some control over keepalives when not in the foreground.

[originally from svn r1093]
2001-04-28 18:23:58 +00:00
Simon Tatham
0086b20625 Add Jordan Russell's patch for a sunken-edge border like a DOS box.
Configurable, of course, because I for one like the border as thin
as possible.

[originally from svn r1092]
2001-04-28 18:02:19 +00:00
Simon Tatham
f30937f737 Debugging improvements. Started using Dave Hinton's dmemdump
function (woohoo!), improved that function so it provides an ASCII
dump as well as hex (whee!), removed all remaining spurious \r in
debug statements (ooh!), and made enabling of packet debugging in
SSH a matter of one ifdef rather than lots (phew!).

[originally from svn r1091]
2001-04-28 17:35:18 +00:00
Simon Tatham
d27112ea87 Put the \001 prefix back on scp error messages when they're sent to
the server. (Not sure _why_ they're sent to the server; scp is
weird.) It may be pointless when sent to the screen, which is why I
removed it, but it's extremely pointful on the wire :-(

[originally from svn r1090]
2001-04-28 17:18:47 +00:00
Simon Tatham
321adcb4b9 The bell overload times are now measured in milliseconds, although
the config box still enters them in seconds (it allows fractions).

[originally from svn r1089]
2001-04-28 15:47:26 +00:00
Simon Tatham
296cad5962 Remove stray diagnostics. When will I learn?
[originally from svn r1088]
2001-04-28 15:33:48 +00:00
Simon Tatham
fc56312b45 Implement lazy horizontal resizing of screen and scrollback.
[originally from svn r1087]
2001-04-28 15:32:25 +00:00
Simon Tatham
9525da2826 Arrange that explicit visual bells performed using ESC[?5h and
ESC[?5l in immediate succession will still give a visibly long flash
of the screen.

[originally from svn r1086]
2001-04-28 14:39:16 +00:00
Simon Tatham
580cde3fde Add the missing "all" target in the Cygwin makefile
[originally from svn r1085]
2001-04-28 12:07:41 +00:00
Simon Tatham
713679a0fa Jacob's patch to make passphrase boxes work more sanely
[originally from svn r1084]
2001-04-28 11:41:33 +00:00
Simon Tatham
1c998f6482 Only update the system caret when we have the focus. This was
apparently causing the weird caret behaviour in Change Settings,
because that routine was still being called...

[originally from svn r1083]
2001-04-28 11:27:04 +00:00
Simon Tatham
76dfe1cac9 Fix completely stupid agent_exists test. (Hint to self: you have to
actually _call_ a boolean-returning function, not just test its
address for nonzerohood.) Thanks Jacob.

[originally from svn r1082]
2001-04-28 11:25:58 +00:00
Simon Tatham
64b27d6bf4 Add -lwinmm to Cygwin makefile. Thanks Jacob.
[originally from svn r1081]
2001-04-28 11:25:03 +00:00
Simon Tatham
8695ee2def Remove my dire-warning `FIXME' in IPv4 dotted-decimal handling
because Jeroen points out that it's perfectly OK the way it is :-)

[originally from svn r1080]
2001-04-28 11:24:45 +00:00
Simon Tatham
ea2e1dd9ae Dave Hinton's debugging patch.
[originally from svn r1079]
2001-04-28 09:24:19 +00:00
Simon Tatham
b7844a20af Add some fflushes to make it easier for piped programs to talk to
plink and pscp

[originally from svn r1078]
2001-04-28 08:42:06 +00:00
Simon Tatham
62e5e4c2e1 Updated dependencies thanks to Dave Hinton's mkdeps script
[originally from svn r1077]
2001-04-28 07:49:23 +00:00
Owen Dunn
dbe43bd461 Using plink with CVS - need to make sure the saved session uses SSH
[originally from svn r1065]
2001-04-18 15:23:36 +00:00
Simon Tatham
7850ccb1d9 Useful workaround I was given, to fake storing settings in a file.
[originally from svn r1064]
2001-04-17 10:39:19 +00:00
Simon Tatham
34d2d98bdd Two more small bugs introduced by the B-tree reorg: scroll() now
requires fix_cpos() to be called after it (otherwise cpos might point
to a line that isn't where you remember it being), and a mis-aimed
incpos() was causing forward selection dragging not to include the
char under the mouse. Both fixed.

[originally from svn r1063]
2001-04-17 09:25:52 +00:00
Simon Tatham
04b2c2b53e Fix alternate-screen bugs introduced by move to B-trees. Alternate
screen wasn't being correctly cleared on creation, and also wasn't
inhibiting scrollback like it should have.

[originally from svn r1061]
2001-04-17 08:53:31 +00:00