Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
2a015363
Commit
2a015363
authored
Oct 15, 1992
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(telnet): Wait for telnet output before sending `open'.
parent
5bfe95c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lisp/telnet.el
lisp/telnet.el
+2
-0
No files found.
lisp/telnet.el
View file @
2a015363
...
...
@@ -158,6 +158,8 @@ Normally input is edited in Emacs and sent a line at a time."
(
switch-to-buffer
(
make-comint
name
"telnet"
))
(
set-process-filter
(
get-process
name
)
'telnet-initial-filter
)
(
erase-buffer
)
;; Don't send the `open' cmd till telnet is ready for it.
(
accept-process-output
(
get-process
name
))
(
send-string
name
(
concat
"open "
arg
"\n"
))
(
telnet-mode
)
(
setq
telnet-count
telnet-initial-count
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment