Permalink
Browse files

Fixed a typo in Makefile, expanded README a little.

  • Loading branch information...
1 parent 554f8c7 commit d5d1c079c4cd7e4b475a3a3c565ef68ed90c8450 @Nadrin committed Oct 15, 2011
Showing with 17 additions and 4 deletions.
  1. +2 −3 Makefile
  2. +15 −1 README
View
@@ -5,6 +5,7 @@
.PHONY: all install install-strip installdirs uninstall clean
prefix = /usr/local
+
exec_prefix = $(prefix)
bin_dir = $(exec_prefix)/bin
sbindir = $(exec_prefix)/sbin
@@ -24,9 +25,7 @@ INSTALL_PROGRAM_STRIP = $(INSTALL) -s
CFLAGS += -g -Wall
ALL_CFLAGS = -I./include $(CFLAGS)
-.SUFFIXES:
.SUFFIXES: .o
-
vpath %.c ./src
PROGRAMS = xlsh xlshd
@@ -70,4 +69,4 @@ clean:
rm -f $(XLSH_OBJ) $(XLSHD_OBJ)
%.o: %.c
- $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< -o $@
+ $(CC) -c $(CFLAGS) $(ALL_CFLAGS) $< -o $@
View
16 README
@@ -19,7 +19,21 @@ Features:
* Only *three* important commands: 'login', 'reboot' and 'shutdown'.
* New commands can be easily added (if you need any) by editing xlsh.c
* Username autocompletion on TAB.
- * Zenburn color scheme (when run under X).
+ * Zenburn color scheme by default (when run under X).
The only build dependencies are: make, a decent C compiler, libreadline and libpam.
Configuration options can be edited in include/config.h before compiling.
+
+When using xlsh as "login" replacement remember to tell your getty program to not
+ask for username. When using xlshd from inittab specify -f flag so it won't fork
+into background.
+
+Example lines from my inittab file:
+
+# xlsh on virtual console #1 (tty1)
+c1:2345:respawn:/sbin/agetty -8 -s 38400 -n -l /usr/local/sbin/xlsh tty1 linux
+# xlshd starting X server and xterm/xlsh on runlevel 5
+x:5:respawn:/usr/local/sbin/xlshd -f
+
+Please report any bugs or issues either via github or via mail to:
+ <my_firstname@my_lastname.pl>

0 comments on commit d5d1c07

Please sign in to comment.