* Limits on programmatic movement in *Ipconfig* buffer?
@ 2002-12-17 6:08 Peter Brown
0 siblings, 0 replies; only message in thread
From: Peter Brown @ 2002-12-17 6:08 UTC (permalink / raw)
M-x ipconfig brings up an *Ipconfig8 buffer with lots of useful info
in it. I find that when I switch to the buffer interactively, I can
move about the whole buffer, but programmatically I seem to be limited
to the first line or two. Why can't I move about the buffer
programmatically? Is this just something I don't know, or a bug?
Thanks for help/pointers.
Peace,
--Peter
Details:
OS is Windows ME.
runemacs -q --no-site-file.
(emacs-version)
"GNU Emacs 21.2.1 (i386-msvc-windows98.3000)
of 2002-03-19 on buffy"
Yank/type into *scratch* and eval:
(defun phb-buffer-substr ()
(set-buffer (ipconfig))
(setq phb-str (buffer-substring (point-min) (point-max)))
(length phb-str))
=> phb-buffer-substr
(phb-buffer-substr)
=> 28
phb-str
=> "** Ipconfig ** ipconfig **
"
The actual contents of the *Ipconfig* buffer are as follows (with
addresses edited out):
** Ipconfig ** ipconfig **
Windows IP Configuration
Host Name . . . . . . . . . : foo.bar.com
DNS Servers . . . . . . . . : 0.0.0.0
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : No
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : No
0 Ethernet adapter :
Description . . . . . . . . : Fast Ethernet PC Card
Physical Address. . . . . . : 00-00-00-00-00-00
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . : 0.0.0.0
DHCP Server . . . . . . . . : 0.0.0.0
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : 12 16 02 22:34:32
Lease Expires . . . . . . . : 10 21 08 22:17:28
1 Ethernet adapter :
Description . . . . . . . . : PPP Adapter.
Physical Address. . . . . . : 00-00-00-00-00-00
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
DHCP Server . . . . . . . . : 255.255.255.255
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :
2 Ethernet adapter :
Description . . . . . . . . : PPP Adapter.
Physical Address. . . . . . : 00-00-00-00-00-00
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
DHCP Server . . . . . . . . : 255.255.255.255
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :
Process Ipconfig exited abnormally with code 1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-17 6:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-17 6:08 Limits on programmatic movement in *Ipconfig* buffer? Peter Brown
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.