[Please send CC to me if you reply.]
I hope the next version of console-setup will have some preliminary
support for FreeBSD kernel. But I have some questions.
1. How can I detect in a shell script what kernel is in use (Linux or
FreeBSD). This code should work both in normal Debian
Hi,
Anton Zinoviev an...@lml.bas.bg (09/03/2011):
[Please send CC to me if you reply.]
done.
I hope the next version of console-setup will have some preliminary
support for FreeBSD kernel. But I have some questions.
\o/
1. How can I detect in a shell script what kernel is in use (Linux
On Wed, Mar 09, 2011 at 02:36:14PM +0100, Cyril Brulebois wrote:
2. Is it dangerous to configure the console while X is running?
I'm not sure what could happen. Do you have anything specific in mind?
I haven't done recent tests but I think the commands setfont and
consolechars could
Wiadomość napisana przez Cyril Brulebois w dniu 2011-03-09, o godz. 14:36:
[..]
Is it possible to detect reliably whether a script executes on the
console or in X Window? For Linux I've used a code like this:
case `readlink /proc/self/fd/2` in
Hi,
Edward Tomasz Napierała tr...@freebsd.org (09/03/2011):
Not sure about the Debian userland, but the standard FreeBSD way
would be to use tty(1):
$ tty
/dev/ttyv0
thanks for the hint.
A quick check on io.debian.net (through ssh) says:
/dev/ttyp1
Using a qemu image, from the
onsdag den 9 mars 2011 klockan 19:13 skrev Cyril Brulebois detta:
Hi,
Edward Tomasz Napiera??a tr...@freebsd.org (09/03/2011):
Not sure about the Debian userland, but the standard FreeBSD way
would be to use tty(1):
$ tty
/dev/ttyv0
thanks for the hint.
A quick check on
On Wed, Mar 09, 2011 at 06:31:38PM +0100, Edward Tomasz Napierała wrote:
Not sure about the Debian userland, but the standard FreeBSD way
would be to use tty(1):
$ tty
/dev/ttyv0
Ah, thanks.
Does it make sence to use
tty 2
if the standard input is redirected no longer from tty? Yes,
7 matches
Mail list logo