mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 12:03:03 -05:00

think it's now actually usable as a day-to-day SSH client, even if things like the Event Log are still missing. So I call that a decent lunch hour's work :-) [originally from svn r3034]
40 lines
657 B
C
40 lines
657 B
C
/*
|
|
* pterm main program.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "putty.h"
|
|
|
|
Backend *select_backend(Config *cfg)
|
|
{
|
|
return &pty_backend;
|
|
}
|
|
|
|
int cfgbox(Config *cfg)
|
|
{
|
|
return 1; /* no-op in pterm */
|
|
}
|
|
|
|
int process_nonoption_arg(char *arg, Config *cfg)
|
|
{
|
|
return 0; /* pterm doesn't have any. */
|
|
}
|
|
|
|
char *make_default_wintitle(char *hostname)
|
|
{
|
|
return dupstr("pterm");
|
|
}
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
extern int pt_main(int argc, char **argv);
|
|
extern void pty_pre_init(void); /* declared in pty.c */
|
|
|
|
cmdline_tooltype = TOOLTYPE_NONNETWORK;
|
|
|
|
pty_pre_init();
|
|
|
|
return pt_main(argc, argv);
|
|
}
|