Wie das aktuelle Terminal ermitteln?
Moin *,
auf der console kann man ja einfach 'fgconsole' ausführen und
bekommt das aktuelle VT zurückgeliefert...
Allerdings bringt das unter X nicht viel.
Frage, wie kann ich herausfinden, in welchem "/dev/ttypXX" ich bin?
Das gleiche gillt für ssh-sessions die ja "/dev/ptyXX" haben.
Grüße
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: