gcc 2.96.2 and 3.0.3

Frank Heckenbach frank at g-n-u.de
Thu Jan 31 20:12:12 CET 2002


Guillaume Rousse wrote:

> Ainsi parlait Emil Jerabek :
> [..]
> > That's not a bug, that's a feature :-)
> > Konsole restores automatically the previous screen contents after the
> > curses shut down (-> your example doesn't leave a visible trace).
> > Moreover it buffers the screen output, so that rapid changes are merged
> > together to reduce the load on X server (-> you don't even see a flash or
> > something like that).
> >
> > This should work though:
> >
> > program Test (Input, Output);
> >
> > uses Crt;
> >
> > begin
> >   WriteLn ('Hello world!');
> >   Write ('Press ENTER, svp... ');
> >   ReadLn
> > end.
> Arghh, the return of the evil readln at the end of the program :-)
> I used to instruct my students to use it with TurboPascal, as they were 
> confused by automatic return to editing mode after completion of program 
> execution, it seems i'll have to use it myself with konsole...

Alternatively, you could probably modify your terminfo entries and
omit the commands to switch to "alternate screen" and back ...

Frank

-- 
Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html




More information about the Gpc mailing list