fgets + backspace

Jan Kasprzak kas na informatics.muni.cz
Úterý Leden 27 13:21:41 CET 1998


Alexandr Malusek pise:
: 
: Jeste me napadlo, ze pokud zustanete u gets(), tak nektere terminalove
: emulatory pod X-Windows (konkretne cmdtool z OpenWindows) umoznuji
: editovat radky ctene pres gets() i pomoci mysi a sipek.

	Rekl bych, ze gets() by program vubec nemel pouzivat
zejmena z bezpecnostnich duvodu. fgets() klidne - tam se specifikuje
i delka nacitaneho textu, ale gets() nikdy.

-Yenya

--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
|| I find that the algol60 interpreter, teco and jclsh (ibm JCL emulator  ||
|| shell) are very good for teaching people that computing has moved on.  ||
||                           -- Alan Cox in redhat-devel                  ||



Další informace o konferenci Linux