$COLUMNS e' una variabile della bash...
non e' un env. quindi questo non funziona...Shell Variables
Builtin Shell Variables
* COLUMNS Numbers of columns on the display
* HISTSIZE Number of commands in command history (default 500)
* LINES Numbers of lines on the display
Come posso risolvere ???codice:#include <stdlib.h> int colonne = getenv("COLUMNS"); int linee = getenv("LINES");

Rispondi quotando