mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
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... [originally from svn r2010]
This commit is contained in:
19
winstuff.h
19
winstuff.h
@ -143,24 +143,23 @@ void fwdsetter(struct ctlpos *cp, int listid, char *stext, int sid,
|
||||
void defuse_showwindow(void);
|
||||
int do_config(void);
|
||||
int do_reconfig(HWND);
|
||||
void do_defaults(char *, Config *);
|
||||
void logevent(char *);
|
||||
void showeventlog(HWND);
|
||||
void showabout(HWND);
|
||||
void verify_ssh_host_key(char *host, int port, char *keytype,
|
||||
char *keystr, char *fingerprint);
|
||||
void askcipher(char *ciphername, int cs);
|
||||
int askappend(char *filename);
|
||||
void registry_cleanup(void);
|
||||
void force_normal(HWND hwnd);
|
||||
|
||||
GLOBAL int nsessions;
|
||||
GLOBAL char **sessions;
|
||||
|
||||
/*
|
||||
* Exports from sizetip.c.
|
||||
*/
|
||||
void UpdateSizeTip(HWND src, int cx, int cy);
|
||||
void EnableSizeTip(int bEnable);
|
||||
|
||||
/*
|
||||
* Unicode and multi-byte character handling stuff.
|
||||
*/
|
||||
#define is_dbcs_leadbyte(cp, c) IsDBCSLeadByteEx(cp, c)
|
||||
#define mb_to_wc(cp, flags, mbstr, mblen, wcstr, wclen) \
|
||||
MultiByteToWideChar(cp, flags, mbstr, mblen, wcstr, wclen)
|
||||
#define wc_to_mb(cp, flags, wcstr, wclen, mbstr, mblen, def, defused) \
|
||||
WideCharToMultiByte(cp, flags, mbstr, mblen, wcstr, wclen, def,defused)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user