[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: TC++ and GNU C++

Atul Mehta forced the electrons to say:
> 	I think getch function calls are there. Abt the clrscr() call, ehy
> don't u try out instead system("clear").. It does the same thing. but the
> code will be bound to Linux.....

well, system ("clear") should be portable across all unices.

getch() and clear() exist in the curses library. man ncurses on linux.


The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. (binand@xxxxxxxxxxxxxxxxxxxxx)