PDA

View Full Version : consoletype command alternative



ngsblr
16-Dec-2014, 08:47
Hello,

what is the alternative for the `consoletype` command in SLES ?

Thanks in advance,
ngsblr

ab
16-Dec-2014, 20:27
It might help to know what 'consoletype' does elsewhere, to find an
equivalent here. If it does not exist in SLES, then that makes it hard to
analyze.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...

malcolmlewis
29-Dec-2014, 21:22
On Tue 16 Dec 2014 07:54:01 AM CST, ngsblr wrote:


Hello,

what is the alternative for the `consoletype` command in SLES ?

Thanks in advance,
ngsblr




Hi
Here is the man page;
http://rpm.pbone.net/index.php3/stat/45/idpl/28046569/numer/1/nazwa/consoletype

Here is the c file for it (pulled from the src rpm);
http://paste.opensuse.org/14108009

Running gcc consoletype.c -o consoletype works fine to build the
executable and show either vt or pty, never checked serial.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!