Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.sys.hp Subject: Re: Console windows in X11R2 Message-ID: <1340053@hpclscu.HP.COM> Date: 27 Apr 89 21:55:24 GMT References: <10220@orstcs.CS.ORST.EDU> Organization: Hewlett-Packard Calif. Language Lab Lines: 36 > I'm running HP-UX 6.5 on a 9000/370, and I'm trying to get a console > window in X11R2 (almost R3 according to my SE :-) I notice that > both xterm and tterm have a -C option to make the window recieve > console output, but neither seems to be supported. I'm also using Create a file called "/usr/lib/X11/Xconsoles" with lines of the following form # comments, if any 0 The 0 refers to the seat number. If you have multiple seats, I'm told that "*" works, but it's usually a good idea to let only seat 0 grab the console. > Also, while I'm here. Has anyone gotten the history mechanism for > csh to work in X-windows? It only seems to save the very last command. Make sure that you have a line in your .cshrc file that sets history. E.g. if ($?prompt) then # for interactive shells only # ... set history = 100 # or whatever set savehist = 100 #... endif Be aware that csh does not continually update the .history file: it is written only when csh exits. Which means that if you want to save history from session to session, only the history of the last shell to exit is remembered. If you simply want history for your current session, then don't set savehist. ---- Shankar.