Simon Tatham
3a2a06b1fc
Improved session logging courtesy of Roman Pompejus
...
[originally from svn r846]
2001-01-07 18:24:59 +00:00
Simon Tatham
947c03869e
Squelch some spurious resize events.
...
[originally from svn r845]
2001-01-07 17:18:24 +00:00
Simon Tatham
1f22416c3c
Oops - that do-we-need-to-resize-window check failed to spot font changes
...
[originally from svn r843]
2001-01-07 16:38:35 +00:00
Simon Tatham
175d849778
Fix the System Caret so it really is invisible, and the right size
...
too.
[originally from svn r842]
2001-01-07 16:35:44 +00:00
Simon Tatham
f2b13650c8
`Change Settings' now behaves sensibly w.r.t. window size.
...
[originally from svn r841]
2001-01-07 16:27:48 +00:00
Simon Tatham
5a908bb1d7
Apply `getservbyname' to the Port Number field in case it's
...
non-numeric. Patch due to Christian Biesinger.
[originally from svn r839]
2001-01-07 15:12:20 +00:00
Simon Tatham
a24c502f4f
AltGr should now work again even when Compose key disabled
...
[originally from svn r838]
2001-01-07 14:30:00 +00:00
Simon Tatham
d5240d4157
Make memory management uniform: _everything_ now goes through the
...
smalloc() macros and thence to the safemalloc() functions in misc.c.
This should allow me to plug in a debugging allocator and track
memory leaks and segfaults and things.
[originally from svn r818]
2000-12-12 10:33:13 +00:00
Simon Tatham
9147f68fb6
Ron Kuris's "copy everything to clipboard" patch
...
[originally from svn r808]
2000-11-21 19:28:25 +00:00
Simon Tatham
f7aec0aa10
Patch from Robert de Bath: increase timer resolution.
...
[originally from svn r807]
2000-11-21 19:00:32 +00:00
Simon Tatham
8c0c31a0e9
Software invocation of the System menu now pops up the actual menu, rather
...
than just putting the window into the state where Down will do so
[originally from svn r793]
2000-11-07 17:50:59 +00:00
Simon Tatham
a739876719
Fix side-effect of Always On Top patch: any reconfiguring in mid-session
...
was zapping the window to the top left corner of the screen
[originally from svn r780]
2000-10-30 10:39:10 +00:00
Simon Tatham
21299d2c39
Reset compose state to zero when PuTTY window gains focus
...
[originally from svn r779]
2000-10-30 10:16:32 +00:00
Simon Tatham
091acb4e06
Add support for Always On Top. Patch due to Janes "Ender" Brown.
...
[originally from svn r773]
2000-10-27 09:46:04 +00:00
Simon Tatham
fc63ad0046
Gaaah, I might have known. Split combined app cursor / app keypad
...
disablement option into two options so the app cursor keys and app
keypad can be controlled separately. The Pedantic Software Award in
this case goes to the Midnight Commander for its egregious failure
to just use the terminal in Perfectly Normal mode.
[originally from svn r766]
2000-10-25 14:20:47 +00:00
Simon Tatham
fc9b38ed01
Add configurable option to disable application keypad/cursor keys totally
...
[originally from svn r760]
2000-10-24 13:49:23 +00:00
Simon Tatham
779069ccd3
Add a couple of ellipses in system menu
...
[originally from svn r759]
2000-10-24 13:40:19 +00:00
Simon Tatham
384eeb3f76
Fix miscellaneous compiler warnings. Thanks to Jacob Nevins
...
[originally from svn r755]
2000-10-24 10:47:49 +00:00
Simon Tatham
36156d858c
Improved entropy gathering.
...
[originally from svn r750]
2000-10-23 15:20:05 +00:00
Simon Tatham
bbbda4110b
Created a shiny new abstraction for the socket handling. Has many
...
advantages:
- protocol modules can call sk_write() without having to worry
about writes blocking, because blocking writes are handled in the
abstraction layer and retried later.
- `Lost connection while sending' is a thing of the past.
- <winsock.h> is no longer needed in most modules, because
"putty.h" doesn't have to declare `SOCKET' variables any more,
only the abstracted `Socket' type.
- select()-equivalent between multiple sockets will now be handled
sensibly, which opens the way for things like SSH port
forwarding.
[originally from svn r744]
2000-10-23 10:32:37 +00:00
Simon Tatham
6eb613e3c4
Three new configurable options:
...
- Robert de Bath's Compose key is now off by default and configurable on
- The ages-old controversy over whether ALT by itself should bring the
System menu up is now controllable by a config option
- You can now independently configure whether scrollback resets on a
keypress _and_ whether it resets on screen activity.
[originally from svn r741]
2000-10-21 16:30:58 +00:00
Simon Tatham
77c8e3c17c
Chinese support patch from zmx@cdpa.nsysu.edu.tw
...
[originally from svn r740]
2000-10-20 18:36:15 +00:00
Simon Tatham
e32603347c
Introduce a sane interface function, from_backend(), for backends to
...
use when they have data from the network. Replaces the utterly daft
inbuf / inbuf_head / term_out() interface, which only made sense
when feeding to terminal.c. (terminal.c now implements
from_backend() as a small function that gateways to the old
interface.)
As a side effect, from_backend() also has an `is_stderr' parameter,
so scp can once again separate the server's pronouncements on stderr
from the actual protocol progress on stdout.
[originally from svn r729]
2000-10-20 13:51:46 +00:00
Simon Tatham
31374678c0
Trim trailing whitespace off saved session names on the command line
...
[originally from svn r728]
2000-10-20 13:23:24 +00:00
Simon Tatham
8e7a270f7f
Miscellaneous cleanups and reorgs in preparation for building
...
PuTTYgen. In particular, moved self-managing controls stuff out of
windlg.c into the new and reusable winctrls.c.
[originally from svn r714]
2000-10-18 15:36:32 +00:00
Simon Tatham
e67f143e61
Implement a much more visually appealing, but much more internally
...
grotty, hack to get around Explorer maximising the config box.
[originally from svn r707]
2000-10-12 12:56:33 +00:00
Simon Tatham
fa731eaf82
Add UNE 10053 to the cleartext ones
...
[originally from svn r703]
2000-10-11 19:56:22 +00:00
Simon Tatham
fd5588d087
Robert de Bath's big patch:
...
- cope with strange WinSock wrappers not supporting SIOCATMARK
- define yet more terminal compatibility modes
- support UK-ASCII (just like US-ASCII but # is a sterling sign)
- support connection keepalives at a configurable interval
[originally from svn r692]
2000-10-09 12:53:32 +00:00
Simon Tatham
e48981def4
Miscellaneous fixes to try to make other compilers happier
...
[originally from svn r691]
2000-10-09 12:19:09 +00:00
Simon Tatham
f7d6cd2059
Alt-Enter was fouling up on Win95; added explicit handler
...
[originally from svn r687]
2000-10-07 08:10:32 +00:00
Simon Tatham
b584238186
Create settings.c and move the load/save session code out of
...
windlg.c into it. Allows plink and pscp to no longer link with
windlg.c, meaning they lose some of the sillier stub functions and
also can provide a console-based form of verify_ssh_host_key().
[originally from svn r683]
2000-10-06 13:21:36 +00:00
Simon Tatham
7b6106d62a
Add a parameter to write_clip() so that windlg.c need not call term_deselect
...
[originally from svn r681]
2000-10-06 12:32:25 +00:00
Simon Tatham
7fc8ef792f
Add ability to configure the initial window title
...
[originally from svn r661]
2000-10-02 12:24:58 +00:00
Simon Tatham
138b090f3e
Oops - remove ugly debugging test pattern in cursor
...
[originally from svn r652]
2000-09-29 12:04:27 +00:00
Simon Tatham
a3df90a2e3
Try to improve the caret usage
...
[originally from svn r651]
2000-09-29 10:32:07 +00:00
Simon Tatham
aad0a52dfb
Rationalised host key storage. Also started code reorg: persistent-state
...
routines have been moved out into a replaceable module winstore.c.
[originally from svn r639]
2000-09-27 15:21:04 +00:00
Simon Tatham
4f3def030a
Add an invisible System Caret for blind-helper-software to track
...
[originally from svn r627]
2000-09-25 16:17:53 +00:00
Simon Tatham
f80f9d4299
Implement "putty -cleanup"
...
[originally from svn r626]
2000-09-25 15:47:57 +00:00
Simon Tatham
0fb760b16d
Robert de Bath has a better alternative to revs 1.47/48 [r582,r583];
...
back out those changes and commit the simpler version
[originally from svn r625]
[r582 == 147fca411c
]
[r583 == 22f91a3604
]
2000-09-25 11:11:46 +00:00
Simon Tatham
117fd9affc
Enable PuTTY command line to deal with "user@host" format
...
[originally from svn r620]
2000-09-25 09:27:26 +00:00
Simon Tatham
6522c357fc
Avoid rapid-fire resize events during NT opaque drags
...
[originally from svn r617]
2000-09-22 14:10:58 +00:00
Simon Tatham
196d42f89c
Everyone's favourite trivial change: Shift-Ins now pastes
...
[originally from svn r616]
2000-09-22 13:23:35 +00:00
Simon Tatham
e70425dda6
Enable better build-time flexibility over which WinSock to include
...
[originally from svn r615]
2000-09-22 13:16:49 +00:00
Simon Tatham
c0ac8ab9b4
Bug fix: line discipline selection is not enabled until after ssh
...
authentication phase to stop user/password prompts behaving oddly
[originally from svn r614]
2000-09-22 13:10:19 +00:00
Simon Tatham
e5ef37f3f5
Prevent network errors from summarily closing the window when CoE is off
...
[originally from svn r613]
2000-09-22 11:04:57 +00:00
Simon Tatham
985207d4a9
Num Lock shouldn't send anything in non-app-keypad mode
...
[originally from svn r612]
2000-09-22 09:49:34 +00:00
Simon Tatham
60b9871947
Work around the missing underline in some fonts
...
[originally from svn r609]
2000-09-22 09:30:11 +00:00
Simon Tatham
180b62b6b0
Miscellaneous ssh2 fixes. plink is now relatively sane
...
[originally from svn r608]
2000-09-21 14:34:32 +00:00
Simon Tatham
b18de5b924
Ensure backend netevent handlers are never reentered -
...
fixes many strange problems with the ssh.c coroutines
[originally from svn r603]
2000-09-20 11:40:23 +00:00
Simon Tatham
22f91a3604
Oops - remove diagnostics :-)
...
[originally from svn r583]
2000-09-11 09:36:12 +00:00
Simon Tatham
147fca411c
Saner handling of WM_SYSCOMMAND:SC_KEYMENU to avoid problems on an
...
isolated press of the Alt key
[originally from svn r582]
2000-09-11 09:23:52 +00:00
Simon Tatham
8394a48620
Added a fourth application: plink, a command line connection utility
...
[originally from svn r575]
2000-09-08 14:45:20 +00:00
Simon Tatham
5ca4d2d1c5
telnet:// URLs don't always have the //. (Incorrect but common.)
...
[originally from svn r518]
2000-08-05 08:58:07 +00:00
Simon Tatham
0d5d39064a
Robert de Bath's Big Patch, part 1
...
[originally from svn r516]
2000-07-26 12:13:51 +00:00
Simon Tatham
1657255cd7
Oops; telnet:// URLs can have a trailing slash
...
[originally from svn r515]
2000-07-21 10:58:33 +00:00
Simon Tatham
777e064ed5
Enable handling of telnet:// URLs on command line
...
[originally from svn r514]
2000-07-21 10:53:24 +00:00
Simon Tatham
9922072a8d
Peter Schellenbach's patch: re-implement the PuTTY cryptographic
...
functions as calls to the MS Crypto API. Not integrated into the
Makefile yet, but should eventually allow building of an SSH-enabled
PuTTY which contains no native crypto code, so it can be used
everywhere (and anyone who can get the MS encryption pack can still
use the SSH parts).
[originally from svn r425]
2000-03-24 09:45:49 +00:00
Simon Tatham
455cc2d387
Spelling fix to RDB's comments: fascist is spelled thus :-)
...
[originally from svn r422]
2000-03-17 10:40:36 +00:00
Simon Tatham
ee51d18b48
RDB's patch:
...
- use WM_TIMER for various things (blinking cursor; updates while
moving/sizing; coping with overloading influx of netevents)
- clip text output to avoid underlines outside character cell
- even more careful font selection (we can now do OEMANSI by
default)
- a few extra keyboard mappings from the VTxxx terminals
[originally from svn r418]
2000-03-17 10:34:41 +00:00
Simon Tatham
96dbf9c6e6
First stab at the ability to compile puttytel.exe, an SSH-free
...
variant which is patent-safe in the US and legal in France and
Russia. This is a horrible hack in some ways: it's shown up serious
deficiencies in the module boundaries. Needs further work, probably
once the SSH implementations are recombined.
[originally from svn r410]
2000-03-15 15:08:48 +00:00
Simon Tatham
7aa84c296f
Let's spell '\t' as VK_TAB in that last patch, in fact, just in case
...
[originally from svn r409]
2000-03-13 15:04:07 +00:00
Simon Tatham
41be6d6f4d
Shift-Tab now sends ESC [ Z
...
[originally from svn r408]
2000-03-13 14:45:32 +00:00
Simon Tatham
dbc12bdd58
Robert de Bath's patch: be much more careful about font heights and
...
widths, including underline mode and OEM/ANSI size mismatch.
[originally from svn r405]
2000-03-11 14:15:24 +00:00
Simon Tatham
6ce983dc28
Robert de Bath's patch: a few more character translations for OEM
...
line drawing mode
[originally from svn r404]
2000-03-11 14:11:02 +00:00
Simon Tatham
3ee28098bc
Robert de Bath's patch: integrate line disciplines into Telnet and have them
...
interoperate sensibly with ECHO negotiations
[originally from svn r401]
2000-03-11 14:06:11 +00:00
Simon Tatham
11821d4d27
Fix some picky compiler warnings kindly provided by Borland C++ 5.5
...
[originally from svn r396]
2000-03-08 10:21:13 +00:00
Simon Tatham
812ea3f61c
Disable warn-on-close for inactive windows
...
[originally from svn r357]
1999-12-21 10:19:05 +00:00
Chris Emerson
ba279cafd0
Added keyboard shortcuts on the system menu.
...
I haven't tried to compile it, but the changes are trivial.
[originally from svn r345]
1999-12-06 14:57:49 +00:00
Simon Tatham
396d6cd422
Turn #ifdef LOG into a command-line option for debugging use
...
[originally from svn r330]
1999-11-30 11:22:30 +00:00
Simon Tatham
a8d5838ebc
Robert de Bath's multi-purpose patch, slightly modified.
...
- ^E answerback is now `PuTTY'.
- The framework is now in place for the scrollback to reset to
bottom on display _or_ keyboard events _or_ both. An actual
configurable option isn't yet present, but most of the code is in
place.
- Try to deal with the problems where incoming data gets dropped
after decoding but before display.
- Scrollback behaviour has changed: instead of keying it off
`scroll' versus `delete top line', things now go into the
scrollback from _either_ of those but only if the primary screen
is selected. Should fix problems with `less' and talkers.
- must_update variable has gone because rdb correctly observed that
it didn't seem to be doing a great deal :-)
[originally from svn r328]
1999-11-30 10:52:07 +00:00
Simon Tatham
8446532e4a
Cleanups to remove warnings for GNU/mingw32 compilation
...
[originally from svn r325]
1999-11-22 10:07:24 +00:00
Simon Tatham
55b8c21f0f
Fix potential segfault on malloc failure
...
[originally from svn r323]
1999-11-17 14:22:12 +00:00
Simon Tatham
143424030c
Should be able to switch line disciplines mid-session
...
[originally from svn r288]
1999-11-09 14:20:51 +00:00
Simon Tatham
429b6f4a83
Added local-editing line discipline to make raw backend usable
...
[originally from svn r287]
1999-11-09 12:05:34 +00:00
Simon Tatham
edf8b22b98
Oops - Shift-PgUp/PgDn conflicted with NetHack mode
...
[originally from svn r285]
1999-11-09 11:19:34 +00:00
Simon Tatham
f6c63320ea
Changes from executor:
...
- NetHack keypad mode (Shift only works with NumLock off)
- Alt-Space handling (best I could manage; not too bad considering)
- Event Log rather than Telnet Negotiation Log
[originally from svn r284]
1999-11-09 11:10:04 +00:00
Simon Tatham
1f5bcfd90e
Clean up sizetip patch: remove separate header file and // comments
...
[originally from svn r278]
1999-11-08 11:13:53 +00:00
Simon Tatham
e913e99b40
Oleg Panashchenko's Cyrillic support patch
...
[originally from svn r277]
1999-11-08 11:08:09 +00:00
Simon Tatham
97994b235d
Warn-on-close is now configurable off
...
[originally from svn r273]
1999-11-05 09:50:49 +00:00
Simon Tatham
7205ae9199
Prompt before summarily closing a session
...
[originally from svn r272]
1999-11-04 13:44:21 +00:00
Simon Tatham
5e76cd7a17
John Sullivan's sizetip patch - experimental
...
[originally from svn r269]
1999-11-03 14:08:26 +00:00
Simon Tatham
0e3f5802b3
Fix potential buffer overrun in new saved-session menu
...
[originally from svn r267]
1999-11-01 17:18:08 +00:00
Simon Tatham
6693daa636
Mark Baker's raw-TCP back end (untested and experimental as yet)
...
[originally from svn r266]
1999-11-01 16:40:40 +00:00
Simon Tatham
2ec48b843b
Stop putting meaning in bottom four bits of WM_SYSCOMMAND wParam
...
[originally from svn r265]
1999-10-28 16:29:06 +00:00
Owen Dunn
9fc2b746b0
Added saved sessions submenu from system menu.
...
[originally from svn r263]
1999-10-28 16:07:25 +00:00
Simon Tatham
a019c66786
Add the ability to do ssh by default: using -ssh command line option,
...
or by manually adding protocol and port settings to Default Settings in the
Registry, or by compiling with -DSSH_DEFAULT
[originally from svn r260]
1999-10-27 14:28:11 +00:00
Owen Dunn
27acfb1639
Changed default title bar format to host.name - PuTTY
...
[originally from svn r221]
1999-09-20 15:58:50 +00:00
Simon Tatham
4e889024e3
Jimen Ching's patches to remove compiler warnings
...
[originally from svn r183]
1999-07-20 13:01:56 +00:00
Simon Tatham
b84caf5446
Put that ReleaseCapture call just _before_ return, not after!
...
[originally from svn r172]
1999-07-05 16:35:34 +00:00
Simon Tatham
16fcf56bd3
Change default mouse pointer to an I-beam
...
[originally from svn r125]
1999-03-23 17:14:00 +00:00
Simon Tatham
ba5f955f3e
Add AltGr support at last! Thanks to <andre@via.ecp.fr> for the technique
...
if not all of the details.
[originally from svn r92]
1999-03-12 17:14:06 +00:00
Simon Tatham
ac015f51e0
Add DeleteObject calls to go with the CreatePen calls in do_text. Should
...
fix a fairly nasty-looking resource leak. Thanks to Andrew Mobbs.
[originally from svn r34]
1999-02-10 11:11:11 +00:00
Simon Tatham
ee9e246617
Fix various segfaults and heap trashes. Thanks to Andrew Mobbs.
...
[originally from svn r29]
1999-02-09 15:39:08 +00:00
Simon Tatham
a1078ecce4
Fix double/triple click, and improve drag select
...
[originally from svn r19]
1999-01-22 09:35:08 +00:00
Simon Tatham
e68a529cc9
Add SSH don't-allocate-pty option, and corresponding LF-implies-CR
...
terminal setting
[originally from svn r16]
1999-01-15 11:30:40 +00:00
Simon Tatham
60ab6a5d82
John Sullivan's patches plus more fixes:
...
- Stop using the identifier `environ' as some platforms make it a macro
- Fix silly error box at end of connection in FWHACK mode
- Fix GPF on maximise-then-restore
- Use SetCapture to allow drag-selecting outside the window
- Correctly update window title when iconic and in win_name_always mode
[originally from svn r12]
1999-01-08 13:10:19 +00:00
Simon Tatham
c74130d423
Initial checkin: beta 0.43
...
[originally from svn r11]
1999-01-08 13:02:13 +00:00