(Someone else may wish to elaborate on when it is useful, but that is the only context in which I have used it.)
Jonathan Leffler (johnl@obelix.informix.com) #include <disclaimer.h>
termcap terminfo function key ------- -------- ------------ kf0 unused k0 .. k9 kf1 .. kf10 KEY_F(1) .. KEY_F(10) kA .. kZ kf11 .. kf36 KEY_F(11) .. KEY_F(36) FR .. FZ kf37 .. kf45 KEY_F(37) .. KEY_F(45) Fa .. Fs kf46 .. kf64 KEY_F(46) .. KEY_F(64)
A: Yes, it is possible. You do need to ensure that the kernel is configured, though. Modify file /etc/system to include the lines:
* Set the value of 'enable_sm_wa' to 1 to allow for the * reliable operation of SPARCstation 10 Model 514 set enable_sm_wa = 1 set semsys:seminfo_semmap=64 set semsys:seminfo_semmni=4096 set semsys:seminfo_semmns=4096 set semsys:seminfo_semmnu=4096 set semsys:seminfo_semume=64 set shmsys:shminfo_shmmax=16777216 set shmsys:shminfo_shmmin=100 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=100This gives a maximum of 16 MB shared memory in total, and far more semaphores than you need. You could probably change the semaphore values from 4096 to 512 without running into trouble. - Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>