.TH update.inv "" "" "/rdb Command" .PC "Multi-user update with screen form and record locking" .B update.inv .PP .II "update inventory" .II "inventory^update" The command .B update.inv is a sample shell program that demonstrates several features of .BR /rdb , including multiuser input, fast access, screen-form input, and record locking. It updates an inventory file named .B inv that is in the directory .BR $RDB/demo Use it to see how to use the COHERENT shell to tie .B /rdb and COHERENT programs together to form fast, multiuser, large-file applications. .PP The environmental variable .B TERM must be set to the correct name of your terminal, as described in the COHERENT system file .BR /etc/termcap . To make the reverse video and underlining work, you will have to initialize environmental variables in your .BR .profile . .SH Example .B cd to directory .B $RDB/demo and run .BR update.inv : .DM cd rdb/demo update.inv .DE .PP You'll the following template on your screen: .B1 Makeapile, Inc. Inventory Update Mon Jan 8, 1990 .sp \n(pDu Item Number: _______ (or hit Return key to exit.) .sp \n(pDu Item Cost Value Description ---- ---- ----- ----------- .sp \n(pDu Amount Onhand: _______ .B2 .PP Try the program for yourself and study the program source. .SH "See Also" .B lock, search, seek, replace, unlock .R .br COHERENT Lexicon: .B TERM, termcap .R .SO update.inv