emacs 18.56 + xenix ptys + gdb 3.5
flag
Messages 1 - 10 of 289 - Collapse all
/groups/adfetch?adid=JqbsuBEAAABuYwGek07LOcwA0gTgUXV3FSRgCP-avRN4YT0eROC0jw
emacs 18.56 + xenix ptys + gdb 3.5  
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
1.  Walter Pelissero  
View profile  
 More options Apr 2 1992, 3:37 pm
Newsgroups: gnu.emacs.help
From: wa...@lpds.sublink.org (Walter Pelissero)
Date: 2 Apr 92 15:37:34 GMT
Local: Thurs, Apr 2 1992 3:37 pm
Subject: emacs 18.56 + xenix ptys + gdb 3.5
Trying to make emacs 18.56 use xenix ptys I found a strange incompatibility
with gdb 3.5. All goes well (terminal-emulator, shell) but when I try
to run gdb (M-x gdb or gdb inside shell, not inside terminal-emulator),
the prompt does not appear. Well, it appears when I type a command and
gdb answers me, but again no prompt for the next command input:

> Current directory is /u/wally/c/
> GDB 3.5, Copyright (C) 1989 Free Software Foundation, Inc.
> There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
> GDB is free software and you are welcome to distribute copies of it
>  under certain conditions; type "info copying" to see the conditions.
> Reading symbol data from /u/wally/c/faxem/src/faxem...done.
> Type "help" for a list of commands.

here there is no prompt as you can see, so I type "quit"

> quit
now gdb answers me
> (gdb)
> Inferior Gdb finished

This makes gdb pretty unusable (M-s, M-n, etc.) as you can think.
All goes well if I compile emacs without ptys and I give up terminal-em.
But this makes me at least curious.

Please answer by e-mail since I don't read this news group.

PS      please no flame about xenix and my quite outdated set of
        GNU tools :-)
--
P4 32 8 @A ^@@A ^@@A ^@@A|^@DA"^@D]%0Je'H1\236\331\204


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
find locked emacs files in shell  
1.  Jill Wilker  
View profile  
 More options Apr 3 1992, 1:19 am
Newsgroups: gnu.emacs.help
From: j...@cirrus.com (Jill Wilker)
Date: 3 Apr 92 01:19:10 GMT
Local: Fri, Apr 3 1992 1:19 am
Subject: find locked emacs files in shell
Read FAQ, not there:

I need to check in a shell script if any files in
path/* (recursively) have been edited and not saved.

The documentation that I have mentions that Emacs records
after the first modification in a special directory reserved
for this purpose.... where is this special place, can I read
the info there?

I can not rely on .~* or #*# or *.BAK files existing...

any clues, hints, solutions?

Thanks-
jill

--
-------------
It should be obvious I speak only for myself...
JM Wilker      
[j...@cirrus.com]


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Chris Moore  
View profile  
 More options Apr 7 1992, 9:07 am
Newsgroups: gnu.emacs.help
From: mo...@src.bae.co.UK (Chris Moore)
Date: Tue, 7 Apr 1992 09:07:45 GMT
Local: Tues, Apr 7 1992 9:07 am
Subject: find locked emacs files in shell

>>>>> In article <1992Apr3.011910.4...@cirrus.com>, j...@cirrus.com (Jill Wilker) writes:
> The documentation that I have mentions that Emacs records
> after the first modification in a special directory reserved
> for this purpose.... where is this special place, can I read
> the info there?

The path used to store this information is #defined as PATH_LOCK in
<emacs_dir>/src/paths.h.  To find out what <emacs_dir> is at your site, you
can probably type C-h i C-x C-f, and <emacs_dir> is the stuff up to the
info directory.

That directory should contain files which look something like this under
dired:

  /home/aipapp/gnu/emacs-18.57/lock:
  total 99
  -rw-rw-rw-  1 moore    aip    5 Feb 10 14:09 !local!jimmy!atari!vi.ref
  -rw-rw-rw-  1 moore    aip    5 Feb 10 14:09 !local!jimmy!atari!vi.ref.nl
  -rw-rw-rw-  1 moore    aip    6 Feb 29 21:47 !local!jimmy!xtank!Src!newfile.c
  -rw-rw-rw-  1 moore    aip    6 Feb 29 21:50 !local!jimmy!xtank!Src!x11.c

Chris.
--
Chris Moore
Advanced Information Processing Dept
Sowerby Research Centre, British Aerospace PLC, FPC 267, P.O.Box 5, Filton
Bristol, BS12 7QW, UK.     Tel (0)272 363375 Fax(0)272 363733 Telex 449452
Email mo...@src.bae.co.uk


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
revert-buffer and autosave files  
1.  Jamie Zawinski  
View profile  
 More options Apr 3 1992, 6:58 am
Newsgroups: gnu.emacs.help
From: Jamie Zawinski <j...@lucid.com>
Date: 2 Apr 92 22:58:54
Local: Thurs, Apr 2 1992 10:58 pm
Subject: revert-buffer and autosave files
I question the usefulness of having revert-buffer offer to revert from
autosave files.  I never, ever want that: when I do revert-buffer, it's
because I want to discard all changes since the last version I explicitly
saved.  I have a model of "what's on disk" in my head, but I don't usually
remember when the last autosave was.  If I wanted something less than a full
reversion, I would either use undo, or I would use recover-file explicitly.

Do any of you find the current behavior desirable?  I find it very
frustrating, because I invariably toss some random type-ahead at the
y-or-n-p and yes-or-no-p prompts that come from the auto-save-related code.
Since these prompts are only there *sometimes*, there's little chance of
being able to anticipate them, which means that doing revert-buffer means
I have to stop cold until I figure out what it's going to do.

        -- Jamie


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Bradley D. Keister  
View profile  
 More options Apr 3 1992, 8:04 am
Newsgroups: gnu.emacs.help
From: keis...@poincare.phys.cmu.edu (Bradley D. Keister)
Date: Fri, 3 Apr 1992 08:04:53 GMT
Local: Fri, Apr 3 1992 8:04 am
Subject: Re: revert-buffer and autosave files
I also find the query about autosave files a hindrance.  Also, once I've said
I don't want the autosave file, I must also manually delete it later.

Brad Keister
Department of Physics
Carnegie Mellon University
Pittsburgh, PA 15213
(412) 268-2772 (office)
(412) 681-0648 (FAX)

internet:       keis...@poincare.phys.cmu.edu
BITNET:         keister%poincare.phys.cmu.edu@CARNEGIE


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
3.  Assar Westerlund  
View profile  
 More options Apr 4 1992, 7:03 pm
Newsgroups: gnu.emacs.help
From: d90-...@dront.nada.kth.se (Assar Westerlund)
Date: 4 Apr 92 19:03:26 GMT
Local: Sat, Apr 4 1992 7:03 pm
Subject: Re: revert-buffer and autosave files
In article <JWZ.92Apr2225...@thalidomide.lucid.com> j...@lucid.com (Jamie Zawinski) writes:

   I question the usefulness of having revert-buffer offer to revert from
   autosave files.  I never, ever want that: when I do revert-buffer, it's
   because I want to discard all changes since the last version I explicitly
   saved.  I have a model of "what's on disk" in my head, but I don't usually
   remember when the last autosave was.  If I wanted something less than a full
   reversion, I would either use undo, or I would use recover-file explicitly.

revert-buffer:
Replace the buffer text with the text of the visited file on disk.
This undoes all changes since the file was visited or saved.
If latest auto-save file is more recent than the visited file,
asks user whether to use that instead.
First argument (optional) non-nil means don't offer to use auto-save file.
 This is the prefix arg when called interactively.

Second argument (optional) non-nil means don't ask for confirmation at all.

If revert-buffer-function's value is non-nil, it is called to do the work.

;;

(defun my-revert-buffer ()
  "As revert-buffer, but never ask about auto-save files"
  (interactive)
  (revert-buffer t nil))
--
Assar                                           d90-...@nada.kth.se
-------------------------------------------------------------------
Truth is the most valuable thing we have -- so let us economize it.
                -- Mark Twain


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Change keymap, possible FAQ  
1.  Rolf Lindgren  
View profile  
 More options Apr 3 1992, 7:16 am
Newsgroups: gnu.emacs.help
From: ro...@karl.uio.no (Rolf Lindgren)
Date: 3 Apr 92 07:16:49 GMT
Local: Fri, Apr 3 1992 7:16 am
Subject: Change keymap, possible FAQ
I'm running EMACS on a DECstation using Telnet from a PC.

The usual delete-function is bound to the DEL key on the numeric keypad.
Is it possible to make EMACS believe it's bound to the delete key instead?

Just doing global-set-key sort of works, but not very well since e.g. GNUS
isn't fooled.

Thank you,

--
Rolf Lindgren           |       "The opinions expressed above are
616 Bjerke Studentheim  |        not necessarily those of anyone"  
N-0589 OSLO 5           |             ro...@hedda.uio.no


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Kevin Gallagher  
View profile  
 More options Apr 3 1992, 5:58 pm
Newsgroups: gnu.emacs.help
From: kgall...@digi.lonestar.org (Kevin Gallagher)
Date: 3 Apr 92 17:58:55 GMT
Local: Fri, Apr 3 1992 5:58 pm
Subject: Re: Change keymap, possible FAQ

In article <ROLFL.92Apr3081...@karl.uio.no> ro...@karl.uio.no (Rolf Lindgren) writes:
>I'm running EMACS on a DECstation using Telnet from a PC.

>The usual delete-function is bound to the DEL key on the numeric keypad.
>Is it possible to make EMACS believe it's bound to the delete key instead?

A better solution is to use a PC communications package which permits configuring
the PC Delete key to send a DEL character, instead of a C-h.  If you are using a
communications package with a VTxxx series terminal emulator, the software most
likely supports this feature.

I understand PC Kermit's VT100 emulator is quite good and you can get it for free
from many archives.
--
--------------------------------------------------------------------------- -
Kevin Gallagher        kgall...@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
--------------------------------------------------------------------------- -


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Demacs  
1.  Lewis Perin  
View profile  
 More options Apr 3 1992, 6:14 pm
Newsgroups: gnu.emacs.help
From: m-lp9...@GRANNY.CS.NYU.EDU (Lewis Perin)
Date: 3 Apr 92 18:14:02 GMT
Local: Fri, Apr 3 1992 6:14 pm
Subject: Demacs
Hi. I've been using Demacs with great satisfaction, but I have one
frustrating problem.  (By the way, I should probably apologize in advance
for clumsiness as a newshound.  This is the first submission I've made,
and the article in news.announce.newusers is unavailable on this machine.

When I issue shell-command (M-!) to do a DOS command, I get
  Opening output file: access denied, d:/
Suspecting that this has something to do with DOS options, I've tried
varying nearly everything in my config.sys, but all this seems to
achieve is (under certain conditions)
  Opening output file: file not found, D:
instead of the other message.  Here's my config.sys:

DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
device=c:\mouse.sys
DEVICE=C:\DOS\ramdrive.sys 512 512 64 /e
STACKS=0,0
BREAK=ON
BUFFERS=30
FILES=30
SHELL=C:\COMMAND.COM C:\DOS\ /E:256 /p
DEVICE=C:\DOS\smartdrv.sys 1024 512
DEVICE=C:\DOS\ANSI.SYS
DOS=HIGH

Here's my autoexec.bat:

@ECHO OFF
REM SET COMSPEC=C:\DOS\COMMAND.COM
VERIFY ON
PATH C:\DOS;C:\RAMPGMS;C:\ZTC\BIN;C:\SP;C:\WINDOWS;C:\TOOLS;C:\UNIX;C:\UTIL;C:\A TI;C:\;C:\NU
SET NU=C:\NU
SET INCLUDE=C:\ZTC\INCLUDE;C:\ZTC\TOOLS\INCLUDE
SET LIB=C:\ZTC\LIB;C:\ZTC\PLIB
SET INIT=C:\ZTC
SET TAB=4
SET TMP=D:\
SET PCO=C:\PCO\PCO.CFG
PROMPT $e[7m$P$G
VER
REM set TEMP=C:\WINDOWS\TEMP
SET TEMP=D:
SET TEXFONTS=C:\usabooks\pixel\dpi
set TERM=ibmpc
set HOME=c:\etc
set DEMACS_KEEP=1024
set SHELL=c:\command.com
set GO32TMP=c:\tmp
C:\DOS\MODE LPT1,,P
C:\DOS\MODE CON LINES=50
rem SHARE
rem WIN
cls

Thanks, Lew Perin, NYU CS grad student
m-lp9...@jed.nyu.edu


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Dirk Zabel  
View profile  
 More options Apr 7 1992, 11:35 am
Newsgroups: gnu.emacs.help
From: dza...@cs.tu-berlin.de (Dirk Zabel)
Date: Tue, 7 Apr 1992 11:35:10 GMT
Local: Tues, Apr 7 1992 11:35 am
Subject: Re: Demacs
In article <9204031814.AA04...@GRANNY.CS.NYU.EDU> m-lp9...@GRANNY.CS.NYU.EDU (Lewis Perin) writes:

[...]
>Hi. I've been using Demacs with great satisfaction, but I have one
>frustrating problem.  (By the way, I should probably apologize in advance
>for clumsiness as a newshound.  This is the first submission I've made,
>and the article in news.announce.newusers is unavailable on this machine.
[...]
>When I issue shell-command (M-!) to do a DOS command, I get
>  Opening output file: access denied, d:/
>Here's my autoexec.bat:
[...]
>SET TMP=D:\

         ~~~~

The problem here is that demacs expects %TMP to be the FILENAME used for
output-redirection of the spawned shell, but D:\ is a directory -- a
very common error, I suspect, as every other program I know expects %TMP
or %TEMP to contain the name of a directory where to put temporary files.
-- Dirk


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google