Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
87 check-ins using file ssh.c version abe635daf2
|
2002-10-22
| ||
| 08:27 | Make -ut work the right way round! :-) check-in: b42bbd8274 user: simon tags: trunk | |
| 08:26 | Stop `pterm -ut-' leaving the unnecessary utmp helper as a zombie process (Debian bug #165887). check-in: 9a67f6a55f user: simon tags: trunk | |
| 05:31 | Thanks to Richard B for pointing out that xterm has its own variants of the alternate-screen and save-cursor control sequences, with subtly different semantics and entertaining interactions with the usual ones. No thanks to xterm for doing so in the first place :-( This checkin should sort it all out. check-in: c17e8cfefd user: simon tags: trunk | |
| 04:40 | Justin Bradford's patch for increased proxy robustness. check-in: 76e58c77c8 user: simon tags: trunk | |
|
2002-10-21
| ||
| 18:01 | Make sure SIGINT and SIGQUIT haven't been nobbled in our child process by weird POSIX-required shell behaviour. check-in: 179d3e66f2 user: simon tags: trunk | |
| 18:00 | Don't bother closing fds 0-2 before dup2ing over them; there's no need, and it means we always have a valid open stderr. check-in: e44f39631e user: simon tags: trunk | |
| 17:59 | VT100 line drawing characters should only happen between 0x5F and 0x7E, not everywhere else. Silly me thought nobody would bother to depend on this :-) check-in: 9f5e3fc49d user: simon tags: trunk | |
|
2002-10-20
| ||
| 08:23 | Implement Richard's really clever idea about bell overload mode: it's automatically deactivated by any keypress, so that command-line beeps from (e.g.) filename completion don't suddenly stop occurring, but it still provides a rapid response to an accidental spewing of a binary to your terminal. check-in: 89a7cd7830 user: simon tags: trunk | |
| 07:44 | ScrollOnKey wasn't working because I failed to set seen_key_event in pterm.c. check-in: ba3068e889 user: simon tags: trunk | |
|
2002-10-18
| ||
| 10:26 | Reject unrecognised command-line options; thanks rjk. check-in: 6b1f39e18f user: simon tags: trunk | |
| 05:38 | Fix typo in man page. Thanks Richard. check-in: f623806109 user: simon tags: trunk | |
|
2002-10-17
| ||
| 11:58 | Oops - that fix wasn't _quite_ right, since it killed all non-function keys completely :-/ check-in: 13faee9f62 user: simon tags: trunk | |
| 11:51 | Make the shadow bold offset configurable, after discovering that 7x13 goes the other way to all other X fonts I've ever seen. (Arrgh.) check-in: 4245aa8933 user: simon tags: trunk | |
| 11:45 | This should fix the bug causing Alt-Shift to generate Escape. check-in: 2163edba1a user: simon tags: trunk | |
|
2002-10-16
| ||
| 17:54 | Add the -xrm command-line option, to allow specification of an arbitrary X resource which doesn't have a dedicated command-line option. check-in: a258b8a88b user: simon tags: trunk | |
| 17:43 | Add a man page. check-in: f1505a5669 user: simon tags: trunk | |
| 11:32 | Temporarily change the default for cut-and-paste of line drawing characters, under Unix only, because the stub Unicode layer makes the usual default break moderately painfully. check-in: 2ef611e291 user: simon tags: trunk | |
| 11:00 | A few more command-line options. check-in: c544ce865f user: simon tags: trunk | |
| 09:32 | Oops, forgot to add BoldFont to the settings module. check-in: 53b9f89c82 user: simon tags: trunk | |
| 09:32 | Implement reading of X resources, and -name to change the name under which to look them up. check-in: dc7f9c04de user: simon tags: trunk | |
| 07:30 | Add a file to the source archive mentioning the version number of the latest release. This is so that .tar.gz snapshots for the Unix port can be versioned as `0.53-20021016' or similar, meaning that (e.g.) Debian version numbering can be monotonic between releases and snapshots. check-in: 0372c5661c user: simon tags: trunk | |
| 07:17 | Fix utmp and pty handling so that GTK never complains about running set[ug]id. All privs-requiring pty operations are done at the very start of the run, then privs are dropped before initialising GTK. Utmp is handled by forking a still-privileged subprocess at this point, and later asking it (through a pipe) to stamp utmp. The subprocess cleans up utmp on exit, which has the additional advantage that if the main pterm process suffers some sort of unexpected termination (up to and including SIGKILL) the subprocess can still mop up utmp. check-in: 7f9a81d03e user: simon tags: trunk | |
| 06:35 | Fix for `hostname-whitespace'; thanks to Justin Bradford. check-in: 39093dcc64 user: simon tags: trunk | |
| 04:40 | Bug `shift-backspace': whichever of ^H and ^? is configured for Backspace, Shift-Backspace should do the _other_ one. Thanks to Justin Bradford. check-in: 74ba290d86 user: simon tags: trunk | |
| 04:28 | Oops - check in leftovers from yesterday's development. That's what I get for running most of my cvs commands in the unix subdir :-/ check-in: 2d5d551feb user: simon tags: trunk | |
|
2002-10-15
| ||
| 13:42 | Support bold-as-font, by means of a separate bold font (if one was supplied) or shadow bolding (if not). As usual, can't yet be turned on without a recompile. check-in: b2569827d3 user: simon tags: trunk | |
| 13:36 | Configure the pty so that it agrees with our idea of whether Backspace sends ^H or ^?. check-in: 8a75f4f208 user: simon tags: trunk | |
| 13:18 | Support underline and vertical-line cursors as well as block. check-in: 3931a8354d user: simon tags: trunk | |
| 12:41 | If we can't load the specified font, give an error message rather than segfaulting. check-in: d6f20644bd user: simon tags: trunk | |
| 12:38 | Printer support: cfg.printer is assumed to be a Unix command through which to pipe printed data. Of course by default printing is disabled; typically cfg.printer would be set to `lpr', perhaps with some arguments. check-in: 50eaa1e2b3 user: simon tags: trunk | |
| 12:24 | Scrollbar can now be configured to go on the left (although the current configuration mechanism doesn't support it). check-in: 94f7e9d448 user: simon tags: trunk | |
| 12:18 | Support ALT + numeric keypad for typing in strange character codes. check-in: 5a7aebaff7 user: simon tags: trunk | |
| 11:52 | Add newline at EOF in uxucs.c. Thanks Richard. :-) check-in: 206255935f user: simon tags: trunk | |
| 11:50 | Support scrolling with the mouse wheel (X servers apparently usually send a button 4 press for an upward wheel movement and a button 5 press for a downward one). Untested since my own trackball's button 4 does nothing obvious. Someone with a mouse wheel should give this a workout. check-in: 622fd3d843 user: simon tags: trunk | |
| 11:40 | Fixes to terminal.c to support blinking and visual bells under Unix. check-in: b34b6047b5 user: simon tags: trunk | |
| 11:38 | Support for blinking text and blinking cursor. Won't actually be accessible until there's a way to configure it on, but it worked in tests. check-in: a0a5506f59 user: simon tags: trunk | |
| 11:24 | Use the appalling gnome-terminal hack for server-controlled resizes rather than the gtk_window_set_policy approach; the GNOME people say that the former is the Right Thing in spite of the latter looking obviously plausible. check-in: 6cb6d56d5f user: simon tags: trunk | |
| 10:44 | Remove some rogue diagnostics. check-in: 842a63a48e user: simon tags: trunk | |
| 10:16 | Don't forget to initialise the pixel size parameters of the window as passed to the pty... check-in: f47218505b user: simon tags: trunk | |
| 09:58 | Richard's patch to fix `make clean' under Unix. check-in: 93fe7922e6 user: simon tags: trunk | |
| 09:55 | Richard's patch to make the scrollbar configurably absent. (Still want a new option to configure it to be on the LHS though. And some lunatic is bound to ask for an xterm-style scrollbar too... :-) check-in: c816ac1e38 user: simon tags: trunk | |
| 09:31 | Support for all the server-side window configuration requests, including server-controlled resizing. Irritatingly I've had to use a deprecated option to gtk_window_set_policy() to make this work, resulting in me raising GNOME bug #95818 to ask for it to be un- deprecated again... check-in: ef25478d2b user: simon tags: trunk | |
| 08:07 | Introduce the ability to control whether the shell run in pterm is a login shell or not. Also moved these new pieces of configuration into the Config structure, though they won't stay there forever since they will need to be moved out into platform-dependent config. check-in: 889a957cfd user: simon tags: trunk | |
| 07:42 | Finish up utmp processing: add the -ut- command-line option to suppress stamping it at all. (I suppose this ought to be part of the cfg structure really.) check-in: 48d2913a94 user: simon tags: trunk | |
| 07:29 | Support for utmp, wtmp and lastlog. Probably not terribly portable as yet, but seems to work plausibly on Linux. check-in: 04380af359 user: simon tags: trunk | |
| 05:52 | Deal with the warnings generated when passing a pointer-to-enum to gppi as a pointer-to-int. check-in: b55c35f796 user: simon tags: trunk | |
| 05:49 | Support for BSD-style pty devices. Tested under Linux; might need minor tweaks to run under other BSD-style OSes. check-in: 29530e8f6a user: simon tags: trunk | |
| 04:30 | Trim wide text properly at the RH edge of the screen. check-in: 1d7a84f45a user: simon tags: trunk | |
|
2002-10-14
| ||
| 19:22 | Support for line attributes: ESC #3, #4 and #6 for double-width and double-height text. check-in: 3a57c840d6 user: simon tags: trunk | |
| 18:39 | Don't cause the mouse pointer to reappear just because it's changed shape. check-in: b5dce740cb user: simon tags: trunk | |
| 18:32 | Only engage a GTK idle function when absolutely necessary, otherwise the whole app spins on it and takes up CPU all the time. check-in: 7a5991bb3f user: simon tags: trunk | |
| 17:14 | Set up the palette _before_ trying to paint the window black. check-in: 65d1404fa3 user: simon tags: trunk | |
| 05:33 | Add the -log option, which activates full session logging. Should be handy next time I need to debug any weird terminal problems... check-in: c3440c092b user: simon tags: trunk | |
| 05:29 | Bell overload was working in principle, but wasn't scaled to Unix's greater time resolution. Oops. check-in: 924bd61e8e user: simon tags: trunk | |
| 05:21 | Support server requests for colour palette changes. check-in: 12a36f9ab5 user: simon tags: trunk | |
| 05:14 | Don't forget to call term_paste() when we get the chance, or big pastes won't go through. (Not sure whether I should remove this weird behaviour completely for pterm. It's a bit bizarre.) check-in: 03a780c15b user: simon tags: trunk | |
| 05:06 | Support NetHack keypad mode. :-) check-in: e8759a8b36 user: simon tags: trunk | |
| 04:58 | Support for hiding the mouse pointer on keypresses. Currently activated by `-hide' on the command line. check-in: 26a987d390 user: simon tags: trunk | |
| 04:18 | xterm-class programs should exit when their primary child process dies, rather than waiting around until the last open handle on the pty closes. check-in: fe669158ac user: simon tags: trunk | |
| 04:06 | SEL_NL is different between Windows and Unix; move it out into the platform-specific header files. check-in: 85f63b0224 user: simon tags: trunk | |
| 04:04 | Oops. Defining max() the wrong way round was breaking rect select. check-in: d0017c34d9 user: simon tags: trunk | |
| 03:56 | Various faffs in the pty allocation process to get controlling terminals right. Irritatingly this was working when run from another [xsp]term but not when run from my GNOME panel. I think it's now more robust. check-in: ed8734df95 user: simon tags: trunk | |
|
2002-10-13
| ||
| 19:05 | Window title configurability: -T to set it from the command line, support for the xterm escape sequences to set it, and support for the xterm escape sequence to query it. check-in: bcb2aa106a user: simon tags: trunk | |
| 18:57 | Don't forget to set $TERM when we spawn the pty. Of course I haven't noticed this until now because I've always been spawning it _from_ another xterm! :-) check-in: d49f2941d0 user: simon tags: trunk | |
| 18:48 | gnome-terminal insists on receiving the selection as COMPOUND_TEXT rather than STRING, so we can now supply that too. Pasting both ways between pterm and gnome-terminal now works. check-in: 525fd6d0f4 user: simon tags: trunk | |
| 07:54 | Added two simple command-line arguments: -fn (so I can have my Font Of Choice back :-) and -e to run a command other than $SHELL. check-in: 7a2269ba51 user: simon tags: trunk | |
| 07:44 | Resizing of pterm now works, and the size information is correctly sent on to the pty. check-in: 2fb4abdb44 user: simon tags: trunk | |
| 07:17 | Deal with the appalling mouse pointer colours. (Why doesn't GTK let us select our own mouse pointer fg and bg for standard pointers? It's ludicrous that we can only do it for pixmap-derived ones. :-( ) check-in: c8de8d4871 user: simon tags: trunk | |
| 06:27 | Shift-Ins pastes. check-in: 4b2f26182c user: simon tags: trunk | |
| 06:24 | Selection now supported in pterm. Required small modifications outside the unix subdir, owing to more things needing to become platform-dependent. check-in: e4d89ad7c0 user: simon tags: trunk | |
| 04:57 | Fix underline, which I cleverly broke while adding support for the window border. Oops. check-in: ebd5e8cfd3 user: simon tags: trunk | |
| 04:54 | Scrollbar now exists and functions; so do Shift-PgUp / Shift-PgDn. check-in: 3bcb27e451 user: simon tags: trunk | |
| 03:56 | The Great Defaults Change (and about time too)! SSH now defaults to protocol 2, and background-colour erase now defaults to on. check-in: 1f6b063eb7 user: simon tags: trunk | |
|
2002-10-11
| ||
| 07:29 | Initialise some members of the Proxy_Socket structure that were left uninitialised. This problem only showed up with mingw builds of PuTTY (maybe MSVCRT is more forgiving with malloc initialisation than CRTDLL?). The 'error' field was causing me most trouble, and I think the other two were necessary too before things started working. Note however that I don't fully understand the code, and that there are more uninitialised fields in the structure. check-in: d8e30b5284 user: jacob tags: trunk | |
|
2002-10-10
| ||
| 09:42 | Stop hard-coding a nonstandard font. We now default to `fixed', and pick up the font's real width and height. This means I now _can't_ use my font of choice until I implement some command-line options; I wonder what feature will appear next :-) check-in: 3628bd7d8c user: simon tags: trunk | |
| 09:39 | Update to reflect 0.53 release. check-in: 79f1b92c1c user: jacob tags: trunk | |
| 07:40 | And that's it! pty.c is now a real pty backend rather than a loopback interface; pterm now runs $SHELL and gives every impression of being not a bad terminal emulator. I'm quite pleased with that. :-) check-in: df838b2e56 user: simon tags: trunk | |
| 07:14 | Half-decent keyboard handling for pterm. Not very well done - it would have been better to abstract the general key-handling rules away from the platform-specific keysyms rather than doing clone- and-hack as I've done - but it'll serve for now. Now all I need is a real pty back end and pterm should be a just-about-usable prototype. check-in: 85cfc8acc0 user: simon tags: trunk | |
| 06:33 | Temporary hack which makes vt100 line drawing work in the prototype pterm. check-in: a571f42c1a user: simon tags: trunk | |
| 05:40 | A sensible minimum of do_text() and do_cursor() is now implemented. This means pterm actually _looks_ like the PuTTY terminal emulator engine, instead of merely giving evidence to the expert eye that said engine is hidden in there somewhere :-) check-in: 3d9a36b500 user: simon tags: trunk | |
|
2002-10-09
| ||
| 13:09 | First phase of porting. pterm now compiles and runs under Linux+gtk. The current pty.c backend is temporarily a loopback device for terminal emulator testing, the display handling is only just enough to show that terminal.c is functioning, the keyboard handling is laughable, and most features are absent. Next step: bring output and input up to a plausibly working state, and put a real pty on the back to create a vaguely usable prototype. Oh, and a scrollbar would be nice too. In _theory_ the Windows builds should still work fine after this... check-in: 2d8039929a user: simon tags: trunk | |
|
2002-10-07
| ||
| 17:21 | Oops. Dirsep in Makefile.cyg should be / not \. check-in: fb7695beb0 user: simon tags: trunk | |
| 12:43 | Remove "-log" option from Plink. AFAICT this code has been dead since Roman Pompejus' improved logging (Jan 2001). check-in: a0a2b7568d user: jacob tags: trunk | |
| 12:31 | Fix pscp-cmdline-port-bug for PSFTP too. (Also removes what appears to be a gratuitous re-implementation of the "-l user" option.) check-in: 17d1c99570 user: jacob tags: trunk | |
| 11:52 | Fix code which was clobbering people's -P arguments in PSCP (moved it to before the deferred command line processing). Also removed a couple of unused variables. check-in: a1e4761e51 user: jacob tags: trunk | |
| 11:45 | Begin destabilisation in the wake of 0.53! This checkin contains the beginning of a Unix port. It's nowhere near done, and currently it won't even compile on Unix. But this represents the start of the process of separating out platform-specific code, and also contains the mkfiles.pl changes required to support a Unix makefile and a non-flat source tree. check-in: 1baf2504b1 user: simon tags: trunk | |
|
2002-10-01
| ||
| 13:30 | Remove last vestiges of `buggymac' in the Config structure. Might have been cause of a Plink bug since it no longer got initialised. check-in: 53f6591e2e user: simon tags: trunk | |