Screen script DISPLAYNUM
Warren Togami <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
=== modified file 'screen.d/ldm'
--- screen.d/ldm 2008-03-22 21:38:50 +0000
+++ screen.d/ldm 2008-03-23 04:25:19 +0000
@@ -30,7 +30,7 @@
TTY=$(tty)
TTYNUM=${TTY#/dev/tty}
-DISPLAYNUM=$((${TTYNUM} - 1))
+DISPLAYNUM=${TTYNUM}
#
# limit ram percentage. By default, behaviour is no limit.
Why is this TTYNUM minus one? With TTYNUM minus one, SCREEN_07=ldm ends
up on VT6 which makes no sense.
Warren Togami
[email protected]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net