On Thu, 21 Apr 2016 13:04:43 -0500 Greg Reagle
wrote
> Is it appropriate to use ANSI escape codes in the program rather than
> using something like tput or terminfo, or to just execute the "clear"
> command? Are the escape codes portable?
clear(1) from ncurses also clears the
On Thu, Apr 21, 2016 at 02:04:43PM -0400, Greg Reagle wrote:
> Please excuse me if these questions are rudimentary. I am using Debian
> Stable.
>
> Why is watch linked with the crypt library?
> cc -s -o watch watch.o libutil.a -lcrypt
> It does not seem to need it.
watch does not use anything
Please excuse me if these questions are rudimentary. I am using Debian
Stable.
Why is watch linked with the crypt library?
cc -s -o watch watch.o libutil.a -lcrypt
It does not seem to need it.
watch uses "\x1b[2J\x1b[H" to clear the screen, which are the two
control codes Erase Screen and C
On Mon, 18 Apr 2016 21:18:25 +0300
ab wrote:
Hey ab,
> What kind of advice could you guys give to a novice? I'd like to get
> myself more familiar with Linux and C (because I have a copy of K&R).
> I'm asking you guys because you seem to know what you're doing and
> you're the only community I k