How do I write to a terminal using under linux? (if possible multiplatform then better too)
For example in Ubuntu you can open two terminal, type 'tty' to get the handle. and you can pipe between them. for example you can type in one but the output get out on the other one.
So the question is ...
Search found 29 matches
- Thu Apr 17, 2014 10:33 am
- Forum: Linux
- Topic: writing to linux terminal
- Replies: 1
- Views: 2204
- Sat Oct 20, 2012 2:31 am
- Forum: Off Topic
- Topic: Purebasic "class reunion"
- Replies: 26
- Views: 9697
Re: Purebasic "class reunion"
2003? Whoa... 9 years already? Time sure move fast...
- Sat Oct 20, 2012 2:28 am
- Forum: Off Topic
- Topic: Purebasic "class reunion"
- Replies: 26
- Views: 9697
Re: Purebasic "class reunion"
I'm still here. Posting this to see my registered date...
- Thu Jul 14, 2011 6:37 pm
- Forum: Off Topic
- Topic: Duke Nukem Forever demo
- Replies: 17
- Views: 3259
Re: Duke Nukem Forever demo
A couple of months ago I've read a behind the scenes report about the development states of Duke Nukem. I found it to be quit "sad" and amusing at the same time as it somehow shows how success can make us fail . It's about the creators earning plenty of money around 2000, perfectionism, too fast ...
- Fri Aug 22, 2008 8:39 am
- Forum: Off Topic
- Topic: Phenomenon of low popularity PureBasic :?
- Replies: 145
- Views: 42341
light the candle, don't curse the darkness
http://www.hugi.scene.org/online/hugi32/
I wrote some articles there,
http://www.hugi.scene.org/online/hugi33/
look at Save Game Editor (Pure Basic)
I rarely came here (and rarely touch Pure Basic nowdays). sick, day job and busy with other things. however once .40 comes out (with updated Ogre ...
I wrote some articles there,
http://www.hugi.scene.org/online/hugi33/
look at Save Game Editor (Pure Basic)
I rarely came here (and rarely touch Pure Basic nowdays). sick, day job and busy with other things. however once .40 comes out (with updated Ogre ...
- Thu Jun 28, 2007 7:27 am
- Forum: Coding Questions
- Topic: 64K Intro - with Pure Basic
- Replies: 5
- Views: 1557
64K Intro - with Pure Basic
Is it possible to write a 64K Intro with pure basic?
Just asking.
EDIT:
I mean, can a person wrote a sound generator, etc, etc, world generator. not necessarily full fledge, but instead more of a practical to theory.
Just asking.
EDIT:
I mean, can a person wrote a sound generator, etc, etc, world generator. not necessarily full fledge, but instead more of a practical to theory.
- Mon Apr 02, 2007 11:26 am
- Forum: Coding Questions
- Topic: list all dirs and files
- Replies: 3
- Views: 1295
list all dirs and files
I want to list all dirs and files on a cd-rom inside a listbox and save it as text, have no problem except getting all dirs and files.
i know there are tow ways, recursive and link list. i tried recursive but getting stack overflow, even for cd-rom without much dirs or files. before i try the link ...
i know there are tow ways, recursive and link list. i tried recursive but getting stack overflow, even for cd-rom without much dirs or files. before i try the link ...
- Mon Apr 02, 2007 11:18 am
- Forum: Announcement
- Topic: Compound and Latte Calculator at fablefox.com
- Replies: 0
- Views: 1259
Compound and Latte Calculator at fablefox.com
I have wrote small app at http://www.fablefox.com
Compound : calculate compound investment
Latte Calculator : calculate amount of money wasted / saved by buying / not buying latte and put it into a investment vehicle.
Compound : calculate compound investment
Latte Calculator : calculate amount of money wasted / saved by buying / not buying latte and put it into a investment vehicle.
- Wed Mar 28, 2007 6:41 am
- Forum: Coding Questions
- Topic: print float two digit after point
- Replies: 5
- Views: 1617
thank you!
Thanks everyone, I slept on the problem and realized that I only need it for the printing. So I use SearchString for "." and use Mid just to take that "." position plus two digit.
but there is a simple error, 1234.5678 will be 1234.56, and not 1234.57. I can do the calculation, but it's not a big ...
but there is a simple error, 1234.5678 will be 1234.56, and not 1234.57. I can do the calculation, but it's not a big ...
- Tue Mar 27, 2007 11:03 am
- Forum: Coding Questions
- Topic: print float two digit after point
- Replies: 5
- Views: 1617
print float two digit after point
go to http://www.fablefox.com
anyway, I haven't program in PB for more than a year already. So I wrote a simple app just out of boring. how do I print float just two digit after point. i know i can do it by change it to string, delete all charater after 2 from the point, and turn it back to float ...
anyway, I haven't program in PB for more than a year already. So I wrote a simple app just out of boring. how do I print float just two digit after point. i know i can do it by change it to string, delete all charater after 2 from the point, and turn it back to float ...
- Wed Feb 15, 2006 1:44 pm
- Forum: General Discussion
- Topic: Module Lib
- Replies: 1
- Views: 990
thumb up
I agree.
- Thu Feb 09, 2006 2:00 pm
- Forum: General Discussion
- Topic: debug memory view
- Replies: 4
- Views: 1445
get adress
No. the viewer didn't show anything.
how do you get the memory anyway?
was it debug *memadress? i'm not home now, but i think i did it right, and use what the debug show me as the adress, or was I wrong? any short example might help
how do you get the memory anyway?
was it debug *memadress? i'm not home now, but i think i did it right, and use what the debug show me as the adress, or was I wrong? any short example might help
- Tue Feb 07, 2006 2:25 pm
- Forum: General Discussion
- Topic: debug memory view
- Replies: 4
- Views: 1445
debug memory view
can someone teach me how to use debugger memory view? i kept getting blank. simpe example is ok.
- Tue Feb 07, 2006 2:23 pm
- Forum: General Discussion
- Topic: pass by reference
- Replies: 1
- Views: 918
pass by reference
does pb procedure support pass by reference, you know,
like func(a,b,c,d)
a = a* 2
....
where after the func is called, the value of a, b, c & d is changed
thanks.
like func(a,b,c,d)
a = a* 2
....
where after the func is called, the value of a, b, c & d is changed
thanks.
- Sun Feb 05, 2006 2:31 pm
- Forum: Coding Questions
- Topic: lof / freememory
- Replies: 3
- Views: 1092
lof / freememory
I'm a newbie in PB, but after looking at 'lof / length of file' example, I suggest FreeMemory(*MemoriID) is called after CloseFile(0), or does PB have automatic garbage collection that help the user?
Thanks.
Thanks.