[minix3] when alt+right key is pressed?

9 views
Skip to first unread message

bootbhai

unread,
May 11, 2010, 2:20:18 PM5/11/10
to minix3
when alt+right key is pressed,v have a login prompt for another
user...

minix3 provides 4 such prompts(from ttyc0 to ttyc4).

is there any way to restrict d logins only to two users at a
time(ttyc0 and ttyc1 only)??....

--
You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/minix3?hl=en.

Erik van der Kouwe

unread,
May 11, 2010, 3:42:09 PM5/11/10
to minix3
Hi,

> when alt+right key is pressed,v have a login prompt for another
> user...
>
> minix3 provides 4 such prompts(from ttyc0 to ttyc4).
>
> is there any way to restrict d logins only to two users at a
> time(ttyc0 and ttyc1 only)??....

Edit /etc/ttytab to achieve this. Additionally, you may want to adjust
NR_CONS in /usr/src/include/minix/config.h and re-compile.

With kind regards,
Erik

Antoine LECA

unread,
May 12, 2010, 4:35:16 AM5/12/10
to min...@googlegroups.com
>> minix3 provides 4 such prompts(from ttyc0 to ttyc4).

Rather console and ttyc1 to ttyc3

Erik van der Kouwe wrote:
> Edit /etc/ttytab to achieve this. Additionally, you may want to adjust
> NR_CONS in /usr/src/include/minix/config.h and re-compile.

In addition, please keep in mind that the MINIX console uses a design
compatible with EGA, which means the total space for the buffers is
limited to 32KB (addresses from 0xB8000 to 0xBFFFF); keeping in mind
that each character on screen counts as two bytes, a 80x25 console needs
4KB, and four 80x50 consoles need 32 KB, and this is no surprise.

Also by default, only the devices until ttyc3 are created; if you
increase NR_CONS, you will have to create the relevant devices,
# cd /dev && MAKEDEV ttyc4


Actually untested claims, error reports are welcome.

Antoine
Reply all
Reply to author
Forward
0 new messages