Sun フレームバッファー使用の手引き

コンソールから OpenWindows を起動する

コンソールから OpenWindows を起動するように設定した .login ファイルの例を示します。


#
# if possible, start the windows system.  Give user a chance to bail out
#
if ( 'tty' == "/dev/console" && $TERM == "sun" ) then
    if ( ${?OPENWINHOME} == 0 ) then
    setenv OPENWINHOME /usr/openwin
    endif			    
    echo ""
    echo -n "Starting OpenWindows in 5 seconds (type Control-C to

 interrupt)"
    sleep 5
    echo ""
    $OPENWINHOME/bin/openwin
    clear# get rid of annoying cursor rectangle
    logout# logout after leaving windows system

endif