Solved syscons configuration issue

Hello, my problem is related with scrollbuffer size in my csh.

I have figured out that i must use sc(4) instead of vt(4), and already done it. Also I can increase my scrollback size using vidcontrol -h <number> command. The current problem is that I can't save this result after rebooting.

Another thing I am interested in is where to put syscons options like
Code:
options SC_HISTORY_SIZE=N
I tried /etc/rc.conf and /etc/sysctl.conf but it has no effect.
 
Another thing i interested in is where to put syscons options like
Code:
options SC_HISTORY_SIZE=N
It's an option for a custom kernel.

Use the allscreens_flags in rc.conf:
Code:
allscreens_flags="-h <number>"
[code]
[/code]
 
  • Thanks
Reactions: efg
Thanks, this works. By the way, where i can learn more about 'allscreens_flags' parameter? Its purposes and etc.
 
By the way, where i can learn more about 'allscreens_flags' parameter? Its purposes and etc.
Read the code in /etc/rc.d/syscons:
Code:
        # set this mode for all virtual screens
        #
        if [ -n "${allscreens_flags}" ]; then
                sc_init
                echo -n ' allscreens'
                for ttyv in /dev/ttyv*; do
                        vidcontrol ${allscreens_flags} < ${ttyv} > ${ttyv} 2>&1
                done
        fi
It doesn't do much besides passing everything along to vidcontrol(1).
 
Back
Top