Reputation: 2728
There is a simple shell (does not matter sh, bash or KornShell (ksh)) script:
#!/bin/ksh
read userInput
I have two Solaris 9/10 servers. On one of the server I can type long string while read is running. But on another server I can't type string with length more than 257 symbols.
What kind of limitation is this?
Upvotes: 2
Views: 410
Reputation: 36401
This is probably the terminal input queue size limitation, MAX_INPUT
constant is the maximum size of that queue.
Can't exactly remember but kernels can be customized (settings) to handle new values for such constant. Refer to your system kernel config documentation.
Upvotes: 1