1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -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:
Simon Tatham
2002-10-09 18:09:42 +00:00
parent 268213483c
commit 6d0e9b205d
24 changed files with 774 additions and 56 deletions

11
plink.c
View File

@ -29,6 +29,17 @@ void fatalbox(char *p, ...)
WSACleanup();
cleanup_exit(1);
}
void modalfatalbox(char *p, ...)
{
va_list ap;
fprintf(stderr, "FATAL ERROR: ");
va_start(ap, p);
vfprintf(stderr, p, ap);
va_end(ap);
fputc('\n', stderr);
WSACleanup();
cleanup_exit(1);
}
void connection_fatal(char *p, ...)
{
va_list ap;