⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info.c

📁 通讯程序源码
💻 C
字号:
/* * Display the initial welcome screen (to include all of the proper * acknowledgements).  Press any key to continue. */#include <stdio.h>#include <curses.h>#include "patchlevel.h"voidinfo(auto_clear)int auto_clear;{	extern int fd;	WINDOW *w_win, *newwin();	char buf[80];					/* display the welcome screen */	w_win = newwin(23, 80, 0, 0);	mvwaddstr(w_win, 3, 18, "PPPPPP    CCCC    OOOO    MM   MM   MM   MM");	mvwaddstr(w_win, 4, 18, "P    P   C       O    O   M M M M   M M M M");	mvwaddstr(w_win, 5, 18, "PPPPPP   C       O    O   M  M  M   M  M  M");	mvwaddstr(w_win, 6, 18, "P        C       O    O   M     M   M     M");	mvwaddstr(w_win, 7, 18, "P         CCCC    OOOO    M     M   M     M");	sprintf(buf, ">>> Pcomm Version %s <<<", VERSION);	mvwaddstr(w_win, 10, (80-strlen(buf))/2, buf);	sprintf(buf, "Release date: %s", DATE);	mvwaddstr(w_win, 11, (80-strlen(buf))/2, buf);	mvwaddstr(w_win, 13, 8, "Pcomm is a public domain telecommunication program for Unix that");	mvwaddstr(w_win, 14, 8, "is designed to operate similarly to the MSDOS program, ProComm.");	mvwaddstr(w_win, 15, 8, "ProComm (TM) is copyrighted by Datastorm Technologies, Inc.");	mvwaddstr(w_win, 19, 45, "Emmet P. Gray");	mvwaddstr(w_win, 20, 45, "...!uunet!uiucuxc!fthood!egray");	mvwaddstr(w_win, 21, 45, "fthood!egray@uxc.cso.uiuc.edu");	wmove(w_win, 22, 79);	wrefresh(w_win);					/* delay so you can read the herald */	if (auto_clear)		wait_key(w_win, 5);	else		wgetch(w_win);	if (fd == -1) {		werase(w_win);		wrefresh(w_win);	}	delwin(w_win);	return;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -