@ -488,13 +488,25 @@
pop
pop
} { pop } ifelse
} { pop } ifelse
"hidden-timeout" getgfxconfig dup .undef ne {
"hidden-timeout" getgfxconfig dup .undef ne {
% display just the main and access logos and wait for a keypress; if
% If >= 1, display just the main and access logos and wait for a
% timeout expires, boot without showing the menu
% keypress; if timeout expires, boot without showing the menu.
pop /timeout.hidden true def
% If >= 2, as above, but don't display the splash image (hack for
% Ubuntu 10.04 LTS, so please don't rely on it permanently).
strtol
dup 1 ge { /timeout.hidden true def } if
2 ge { /timeout.hidden.showsplash false def } if
} { pop } ifelse
} { pop } ifelse
menu.bar.color setcolor 0 0 moveto screen.size fillrect
menu.bar.color setcolor 0 0 moveto screen.size fillrect
% Hack for Ubuntu 10.04 LTS. Should be replaced by better logo handling
% in general.
timeout.hidden.showsplash not {
/background.file.orig background.file def
"blank.pcx" findfile
/background.file over def setimage
} if
% Move the logo down 84 pixels to centre it. This is obviously a gross
% Move the logo down 84 pixels to centre it. This is obviously a gross
% hack. To fix this, we need to move to smaller logo images which are
% hack. To fix this, we need to move to smaller logo images which are
% positioned on the screen in code, rather than doing the positioning in
% positioned on the screen in code, rather than doing the positioning in