6 lines
189 B
PostScript
6 lines
189 B
PostScript
%open stdin for reading (and name the channel "kbd"):
|
|
/kbd (%stdin) (r) file def
|
|
%make ten-char buffer to read string into:
|
|
/buf (..........) def
|
|
%read string into buffer:
|
|
kbd buf readline
|