1992. 06. 09.

SUBJECT: SunView¿¡¼­ Window °¹¼ö¸¦ ´Ã¸®´Â ¹æ¹ý 

STATUS OF THIS MEMO
ÀÌ ¸Þ¸ð´Â SunView¿¡¼­ Window °¹¼ö¸¦ ´Ã¸®´Â ¹æ¹ýÀ» Àû¾î ³õ¾Ò´Ù.

DESCRIPTION

   1. Window °¹¼ö

	¢Ñ Kernel¿¡¼­ 128°³ window support
	   sun0# cat /sys/sun4c/conf/GENERIC
	   #
	   # The next few are for SunWindows support, needed to run SunView 1.
	   #
	   pseudo-device   win128          # window devices, allow 128 windows
	   pseudo-device   dtop4           # desktops (screens), allow 4
	   pseudo-device   ms              # mouse support

	¢Ñ /dev/win0 - /dev/win127
	   sun0# cd /dev
           sun0# MAKEDEV win0
           sun0# MAKEDEV win1
           sun0# MAKEDEV win2
           sun0# MAKEDEV win3

	¢Ñ memory & swap sizeµµ °ü°èÀÖÀ½

	   1) memory size´Â ´Ã·ÁÁÖ¸é µÇ°í
	   2) swap size

	      . shell¿¡¼­ ´Ã·ÁÁÖ´Â ¹æ¹ý 
	      sun0# df
	      Filesystem            kbytes    used   avail capacity  Mounted on
              /dev/sd2a               7688    5040    1879    73%    /
              /dev/sd2g             183198  158939    5939    96%    /usr
              /dev/sd2h             383023  322978   21742    94%    /pkg1
              /dev/sd0h              95421   67340   18538    78%    /pkg2
              /dev/sd1c              95421   73394   12484    85%    /alis

	        °¢ filesystemÁß¿¡¼­ °¡Àå ¸¹ÀÌ ³²¾ÆÀÖ´Â filesystemÀ» select.
		sun0# cd /pkg1
		sun0# mkfile 10M swap
		sun0# swapon /pkg1/swap

		/pkg1 filesystemÀÇ 21.7MBÁß 10MB¸¦ swap¿¡ add.

		sun0# pstat -T ·Î È®ÀÎ

	      .bootingãÁ ´Ã·ÁÁÖ´Â ¹æ¹ý

	      sun0# vi /etc/fstab

	      /dev/sd2a  /     4.2 rw 1 1
	      /dev/sd2g  /usr  4.2 rw 1 2
	      /dev/sd2h  /pkg1  4.2 rw 1 3
	      /dev/sd0h  /pkg2  4.2 rw 1 4
	      /dev/sd1c  /alis  4.2 rw 1 5
	      /pkg1/swap swap swap rw 0 0	# Ãß°¡ 

	¢Ñ sunview¿¡¼­ ¿©·¯°³ÀÇ suntool(cmdtool)À» ¶ç¾î ³õ°í °¢ window¿¡¼­
           printenv¸¦ ¼öÇàÇϸé WINDOW_ME¶ó´Â targetÀÌ Àִµ¥ °¢ window¿¡¼­
	   º¸¸é /dev/win32 /dev/win35, Áï ÇϳªÀÇ pty°¡ winÀ» 3°³¾¿ Â÷ÁöÇÑ´Ù.
           Çؼ­ 128°³ÀÇ winÀº max 42°³ÀÇ pty¸¦ »ý¼ºÇÒ¼ö ÀÖ´Ù.

Revision History
Created 			on June 09, 1992.