mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05:00
Rename some of the more stupidly named files in the Unix back end.
Notably pterm.c, which was a sensible name right at the start but became a misnomer as soon as I created Unix PuTTY. [originally from svn r5053]
This commit is contained in:
parent
95cd479769
commit
c64ad3bb0c
16
Recipe
16
Recipe
@ -186,7 +186,7 @@ GUITERM = TERMINAL window windlg winctrls sizetip winucs winprint
|
|||||||
+ winutils wincfg
|
+ winutils wincfg
|
||||||
|
|
||||||
# Same thing on Unix.
|
# Same thing on Unix.
|
||||||
UXTERM = TERMINAL pterm uxcfg gtkdlg gtkcols gtkpanel uxucs uxprint xkeysym
|
UXTERM = TERMINAL gtkwin gtkdlg gtkcols gtkpanel uxcfg uxucs uxprint xkeysym
|
||||||
+ timing
|
+ timing
|
||||||
|
|
||||||
# Non-SSH back ends (putty, puttytel, plink).
|
# Non-SSH back ends (putty, puttytel, plink).
|
||||||
@ -247,14 +247,14 @@ puttygen : [G] winpgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version
|
|||||||
+ sshpubk sshaes sshsh512 import winutils puttygen.res tree234
|
+ sshpubk sshaes sshsh512 import winutils puttygen.res tree234
|
||||||
+ notiming LIBS
|
+ notiming LIBS
|
||||||
|
|
||||||
pterm : [X] UXTERM uxmisc misc ldisc settings pty uxsel BE_NONE uxstore
|
pterm : [X] UXTERM uxmisc misc ldisc settings uxpty uxsel BE_NONE uxstore
|
||||||
+ signal CHARSET cmdline ptermm version
|
+ uxsignal CHARSET cmdline uxpterm version
|
||||||
putty : [X] UXTERM uxmisc misc ldisc settings pty uxsel BE_ALL uxstore
|
putty : [X] UXTERM uxmisc misc ldisc settings uxpty uxsel BE_ALL uxstore
|
||||||
+ signal CHARSET uxputty NONSSH UXSSH UXMISC ux_x11
|
+ uxsignal CHARSET uxputty NONSSH UXSSH UXMISC ux_x11
|
||||||
puttytel : [X] UXTERM uxmisc misc ldisc settings pty uxsel BE_NOSSH
|
puttytel : [X] UXTERM uxmisc misc ldisc settings uxpty uxsel BE_NOSSH
|
||||||
+ uxstore signal CHARSET uxputty NONSSH UXMISC
|
+ uxstore uxsignal CHARSET uxputty NONSSH UXMISC
|
||||||
|
|
||||||
plink : [U] uxplink uxcons NONSSH UXSSH BE_ALL logging UXMISC signal ux_x11
|
plink : [U] uxplink uxcons NONSSH UXSSH BE_ALL logging UXMISC uxsignal ux_x11
|
||||||
|
|
||||||
puttygen : [U] cmdgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version
|
puttygen : [U] cmdgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version
|
||||||
+ sshrand uxnoise sshsha misc sshrsa sshdss uxcons uxstore uxmisc
|
+ sshrand uxnoise sshsha misc sshrsa sshdss uxcons uxstore uxmisc
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* pterm - a fusion of the PuTTY terminal emulator with a Unix pty
|
* gtkwin.c: the main code that runs a PuTTY terminal emulator and
|
||||||
* back end, all running as a GTK application. Wish me luck.
|
* backend in a GTK window.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
@ -3,14 +3,14 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calling signal() is a non-portable, as it varies in meaning between
|
* Calling signal() is non-portable, as it varies in meaning
|
||||||
* platforms and depending on feature macros, and has stupid semantics
|
* between platforms and depending on feature macros, and has
|
||||||
* at least some of the time.
|
* stupid semantics at least some of the time.
|
||||||
*
|
*
|
||||||
* This function provides the same interface as the libc function, but
|
* This function provides the same interface as the libc function,
|
||||||
* provides consistent semantics. It assumes POSIX semantics for
|
* but provides consistent semantics. It assumes POSIX semantics
|
||||||
* sigaction() (so you might need to do some more work if you port to
|
* for sigaction() (so you might need to do some more work if you
|
||||||
* something ancient like SunOS 4)
|
* port to something ancient like SunOS 4)
|
||||||
*/
|
*/
|
||||||
void (*putty_signal(int sig, void (*func)(int)))(int) {
|
void (*putty_signal(int sig, void (*func)(int)))(int) {
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
Loading…
x
Reference in New Issue
Block a user