<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Backgrounding emacs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615536#M925733</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;OK, I've been in contact with Alex, he was having a bad hair day, must have confused me with some other Kevin! There is no Kevin, just Neil.&lt;BR /&gt;&lt;BR /&gt;Anyway, the problem occurs with ksh, csh, bash and sh, but but csh/sh and bash are just defaults I don't have any extra scripts for those. The !- is !=. it was a typo on my behalf.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The only command used to start emacs is "emacs -i&amp;amp;" or just emacs&amp;amp; I tried xemacs on another HP, but the same problem. I think there is something simple in my configuration which is stopping the command line. I've included my .kshrc and .profile, the .dtprofile is unchanged except uncommenting DTSOURCEPROFILE to enable the shell initialisation. I've also attached the .dt/errorlog, it definitely does not like the stty erase '^H' lines, and the first test (if [ ! "$DT" ....), it's just called kshrc but all three are attached.&lt;BR /&gt;&lt;BR /&gt;The X-Windows, exceed parts are just standard as far as I know. I'm using v6.2.0.0 of exceed, use the XDMCP to connect as a user to the HP, login as a regular user with CDE. I can give other versions etc as needed. The machine is running HP-UX 11.00. Emacs is v20.7&lt;BR /&gt;&lt;BR /&gt;I'm going to create another user and see if I have a problem with that without the extra korn shell stuff.</description>
    <pubDate>Tue, 20 Nov 2001 12:03:45 GMT</pubDate>
    <dc:creator>Neil O'Brien</dc:creator>
    <dc:date>2001-11-20T12:03:45Z</dc:date>
    <item>
      <title>Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615524#M925721</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I know that HP-UX console grabs the foreground process, so how do I background a job, for example emacs or xemacs so I can call it something like xemacs -i&amp;amp; and get an iconifiable window?</description>
      <pubDate>Fri, 16 Nov 2001 14:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615524#M925721</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-16T14:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615525#M925722</link>
      <description>What kind of server and what kind of console - serial or graphic? if graphic, then maybe you want to start a cde session?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 16 Nov 2001 14:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615525#M925722</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-16T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615526#M925723</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;  if you are able to use CDE on the console(graphical), then  you should be able to&lt;BR /&gt;background emacs, like any other process.&lt;BR /&gt;&lt;BR /&gt;Some more info on what sort of console, the type of system (workstation? or servertype)&lt;BR /&gt;would help in suggesting solutions.&lt;BR /&gt;&lt;BR /&gt;-raj&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Nov 2001 14:30:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615526#M925723</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-16T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615527#M925724</link>
      <description>oops, sorry. Actually, it's a CDE via exceed. The box is a rackmount. HP-UX 11.00, in a korn shell.</description>
      <pubDate>Fri, 16 Nov 2001 14:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615527#M925724</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-16T14:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615528#M925725</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;make sure your $DISPLAY is set where you start the "emacs".&lt;BR /&gt;If you start your session with the CDE-login screen it is set automatically, but if you use the (silly - my private opinion) way of the "TELNET" client startup, then it is NOT  set properly, so the programs try to start using the STDIN, and when they try to read from there, they are frozen until they are move to the "foreground" - which can never happen that way...&lt;BR /&gt;&lt;BR /&gt;Just my ???0.02,&lt;BR /&gt;Wodisch</description>
      <pubDate>Sat, 17 Nov 2001 22:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615528#M925725</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-11-17T22:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615529#M925726</link>
      <description>Neil,&lt;BR /&gt;  &lt;BR /&gt;  do  #echo  $DISPLAY&lt;BR /&gt;&lt;BR /&gt;    to check your display settings from the window you are trying to run emacs. If the DISPLAY is set to the system hostname , it should work fine, otherwise you can set it as:&lt;BR /&gt;HOSTNAME='hostname'&lt;BR /&gt;DISPLAY=$HOSTNAME:0.0&lt;BR /&gt;export HOSTNAME DISPLAY&lt;BR /&gt;&lt;BR /&gt;   If your exceed session is running from a PC on the network, then you would need to set the DISPLAY to the IP address of the PC.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj</description>
      <pubDate>Sun, 18 Nov 2001 12:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615529#M925726</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-18T12:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615530#M925727</link>
      <description>thanks, but this is not the answer. I already have the HOSTNAME and DISPLAY env vars set to the HP and my PC names respectively (the name of the PC is defined in /etc/hosts in order to use the XDMCP broadcast so it resolves by name).</description>
      <pubDate>Mon, 19 Nov 2001 10:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615530#M925727</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-19T10:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615531#M925728</link>
      <description>Hello again,&lt;BR /&gt;&lt;BR /&gt;it seems we do not understand what your problem is... So, please tell us what you mean with "grab" and "console".&lt;BR /&gt;Perhaps by listing the steps/commands you tried, and their output/behaviour.&lt;BR /&gt;&lt;BR /&gt;Curious,&lt;BR /&gt;Wodisch</description>
      <pubDate>Mon, 19 Nov 2001 16:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615531#M925728</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-11-19T16:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615532#M925729</link>
      <description>He's trying to provide a better editing environment than vi, and as there are&lt;BR /&gt;extensions to emacs for languages etc that's why I was trying. It's not a&lt;BR /&gt;big deal, if there is another editor you do support for provides text&lt;BR /&gt;highlighting, colouring, syntax checking etc that includes Java support then&lt;BR /&gt;I can try that.&lt;BR /&gt;&lt;BR /&gt;This is a general kind of question however, because I ran into equal&lt;BR /&gt;problems running dynamo, with that though, as there is command line output,&lt;BR /&gt;by using nohup I can avoid the problem.&lt;BR /&gt;&lt;BR /&gt;As a general question though, I have tried cshell, bourne shell and no joy&lt;BR /&gt;but I just worked out where the problem is, although not specifically why.&lt;BR /&gt;&lt;BR /&gt;I enabled the dt logging, and see this:&lt;BR /&gt;&lt;BR /&gt;Stty: : Not a typewriter (repeats 3 times)&lt;BR /&gt;/usr/bin/ksh: a: unknown test operator&lt;BR /&gt;&lt;BR /&gt;and the .profile has 3 lines&lt;BR /&gt;&lt;BR /&gt;stty erase '^h'&lt;BR /&gt;stty intr '^c'&lt;BR /&gt;stty kill '^u'&lt;BR /&gt;&lt;BR /&gt;which cause the first error, (yes the ticks are right, it's just outlook&lt;BR /&gt;trying to be clever), and the next line that the test fails on (my guess&lt;BR /&gt;anyway) is:&lt;BR /&gt;&lt;BR /&gt;if [ ! "$DT" -a 'tty' !- "/dev/console" ]&lt;BR /&gt;&lt;BR /&gt;this shell was copied from Solaris, as it appears to work I assumed it was&lt;BR /&gt;fine, but now I guess it does have some problem. I can send the&lt;BR /&gt;.kshrc/.profile and .dtprofile to avoid outlook weirdness.&lt;BR /&gt;&lt;BR /&gt;ps I know because it's landed at my door :( any help appreciated still by both Kevin or I ... I'm still looking into it ....&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2001 16:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615532#M925729</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-11-19T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615533#M925730</link>
      <description>&amp;lt;&lt;PS i="" know="" because="" it=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;   *LOL*  That's a  seamless merging of ITRC forum posts and the support centre functions ;-)  &lt;BR /&gt;&lt;BR /&gt;-raj&lt;/PS&gt;</description>
      <pubDate>Mon, 19 Nov 2001 16:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615533#M925730</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-19T16:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615534#M925731</link>
      <description>Tell me about it I get several of these per week .... you just can't escape :(</description>
      <pubDate>Mon, 19 Nov 2001 16:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615534#M925731</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-11-19T16:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615535#M925732</link>
      <description>Hello Neil and Alex,&lt;BR /&gt;&lt;BR /&gt;who's "Kevin"???  :-)&lt;BR /&gt;&lt;BR /&gt;Well, first, you still haven't answered my questions :-( but I'll give it another shot, anyway:&lt;BR /&gt;1) that line is wrong:&lt;BR /&gt;*** if [ ! "$DT" -a 'tty' !- "/dev/console" ] &lt;BR /&gt;as there is no operator "!-" - I guess it should read "!=", right?&lt;BR /&gt;2) since that would not freeze  good ol' emacs ("Escape Meta Alternate Control Shift" or "Eight Megabytes And Constantly Swapping" as we called in the dark ages of UN*X), there must be some shell command-line started, which in turn tries to start the X-client, and, of course, is frozen when trying to read from SDTIN...&lt;BR /&gt;So, please tell us ALL the scripts/commands used to start that emacs, from the X-Windows startup scripts of the session, over the profile-scripts, to the Window-Manager scripts, which may be involved.&lt;BR /&gt;&lt;BR /&gt;Just my ???0.02,&lt;BR /&gt;Wodisch&lt;BR /&gt;PS: Kevin - home alone??</description>
      <pubDate>Mon, 19 Nov 2001 20:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615535#M925732</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-11-19T20:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615536#M925733</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;OK, I've been in contact with Alex, he was having a bad hair day, must have confused me with some other Kevin! There is no Kevin, just Neil.&lt;BR /&gt;&lt;BR /&gt;Anyway, the problem occurs with ksh, csh, bash and sh, but but csh/sh and bash are just defaults I don't have any extra scripts for those. The !- is !=. it was a typo on my behalf.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The only command used to start emacs is "emacs -i&amp;amp;" or just emacs&amp;amp; I tried xemacs on another HP, but the same problem. I think there is something simple in my configuration which is stopping the command line. I've included my .kshrc and .profile, the .dtprofile is unchanged except uncommenting DTSOURCEPROFILE to enable the shell initialisation. I've also attached the .dt/errorlog, it definitely does not like the stty erase '^H' lines, and the first test (if [ ! "$DT" ....), it's just called kshrc but all three are attached.&lt;BR /&gt;&lt;BR /&gt;The X-Windows, exceed parts are just standard as far as I know. I'm using v6.2.0.0 of exceed, use the XDMCP to connect as a user to the HP, login as a regular user with CDE. I can give other versions etc as needed. The machine is running HP-UX 11.00. Emacs is v20.7&lt;BR /&gt;&lt;BR /&gt;I'm going to create another user and see if I have a problem with that without the extra korn shell stuff.</description>
      <pubDate>Tue, 20 Nov 2001 12:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615536#M925733</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-20T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615537#M925734</link>
      <description>il,&lt;BR /&gt;&lt;BR /&gt;  OK here's what I've found : hpux 11.00 / H/W B180L&lt;BR /&gt;&lt;BR /&gt;  installed emacs 20.7, created new user with ksh as login shell&lt;BR /&gt;  cd /opt/emacs/bin and run either emacs -i&amp;amp; or emacs-20.7 -i &amp;amp; works, I get an iconifiable&lt;BR /&gt;  window with a gnu's head in it, running emacs without the -i option with or without an &amp;amp; also &lt;BR /&gt;  works ie I still get an iconifiable window but it has no gnu's head.&lt;BR /&gt;&lt;BR /&gt;   Conclusion :  patch levels, exceed or user customisation are playing a part here.&lt;BR /&gt;&lt;BR /&gt;   Advise : I can when I get time check the behaviour of the Exceed client out for you tomorrow.&lt;BR /&gt;            I can use your .profile and kshrc files too but suggest you try creating a new user&lt;BR /&gt;            with minimum customisation to their kshrc and .profiles and also detail the patch level&lt;BR /&gt;            of this system as previously requested and any new results which occur from these actions.&lt;BR /&gt;&lt;BR /&gt;  More tomorrow.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Alex&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2001 16:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615537#M925734</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-11-20T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615538#M925735</link>
      <description>Ah ha! So I found a reply Alex made yesterday to someone else where he suggests running dr_dt to analyse the system. So I tried it, no errors, but 5 warnings, some are just permissions things which are probably not a big deal, however, I don't have /var/adm/inetd.sec which I suspect may be a bigger deal.&lt;BR /&gt;&lt;BR /&gt;Alex suggested that the file should contain:&lt;BR /&gt;&lt;BR /&gt;dtspc allow &lt;HOSTNAMES or=""&gt;&lt;BR /&gt;spc allow &lt;HOSTNAMES or=""&gt;&lt;BR /&gt;mserve allow &lt;HOSTNAMES or=""&gt; &lt;BR /&gt;&lt;BR /&gt;Is this all the file should contain? I searched 4 HP's here and none have this file.&lt;/HOSTNAMES&gt;&lt;/HOSTNAMES&gt;&lt;/HOSTNAMES&gt;</description>
      <pubDate>Wed, 21 Nov 2001 08:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615538#M925735</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-21T08:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615539#M925736</link>
      <description>try in /usr/newconfig/etc ?</description>
      <pubDate>Wed, 21 Nov 2001 09:08:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615539#M925736</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-11-21T09:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615540#M925737</link>
      <description>I've yet to look at your patch levels .... but Exceed vers 6.2 works fine &lt;BR /&gt;with a ksh user logged into CDE using your .profile and kshrc file .... not much&lt;BR /&gt;left other than patches or something you haven't told me ;)</description>
      <pubDate>Wed, 21 Nov 2001 09:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615540#M925737</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-11-21T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615541#M925738</link>
      <description>no. can't find that file either. I'm also wondering about /usr/dt/config/Xconfig which has&lt;BR /&gt;the Dtlogin*Grabserver commented out. Should I create a copy in /etc/dt/config and uncomment this line?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2001 09:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615541#M925738</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-21T09:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615542#M925739</link>
      <description>ahem, sorry, made a typo, I really do have an inetd.conf. I'll try using that!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2001 09:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615542#M925739</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-21T09:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Backgrounding emacs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615543#M925740</link>
      <description>OK, no joy there, now to ensure I have all the patches needed. Grrr, this is frustrating, it's not a big deal if I use emacs or not, it's just the concept of backgrounding processes!</description>
      <pubDate>Wed, 21 Nov 2001 10:10:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backgrounding-emacs/m-p/2615543#M925740</guid>
      <dc:creator>Neil O'Brien</dc:creator>
      <dc:date>2001-11-21T10:10:37Z</dc:date>
    </item>
  </channel>
</rss>

