| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Got it.. thanks to Mark ; |
This works great...
int main() {
char g;
char x;
printf("\e[0;37;0m\e[1;1H\e[2J\e[1;1H");
g=system(sprintf("/usr/bin/curl wttr.in/ithaca -O"),1,0);
x=system(sprintf("/usr/bin/head -n 7 ithaca"),1,0);
printf("\e[12;1H\e[1;33mPress a key to continue"); getch();
}
Now to play with it some more tomorrow
Thanks again Mark, Awk just wasn't being nice.
Take care,
Janis
--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38) |
|
| SOURCE: echomail via QWK@docsplace.org | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.