{"id":20511588,"url":"https://github.com/10sr/term-run-el","last_synced_at":"2025-03-05T22:43:18.003Z","repository":{"id":27393633,"uuid":"30869900","full_name":"10sr/term-run-el","owner":"10sr","description":"Run Arbitrary Command in Terminal Buffer","archived":false,"fork":false,"pushed_at":"2020-01-28T07:03:25.000Z","size":38,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T09:08:01.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://10sr.github.io/term-run-el/","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"xdCao/coderBBS","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/10sr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-16T13:41:50.000Z","updated_at":"2022-04-03T22:43:04.000Z","dependencies_parsed_at":"2022-08-20T07:50:09.901Z","dependency_job_id":null,"html_url":"https://github.com/10sr/term-run-el","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fterm-run-el","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fterm-run-el/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fterm-run-el/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fterm-run-el/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/10sr","download_url":"https://codeload.github.com/10sr/term-run-el/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242117648,"owners_count":20074434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T20:36:30.039Z","updated_at":"2025-03-05T22:43:17.979Z","avatar_url":"https://github.com/10sr.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/10sr/term-run-el.svg)](https://travis-ci.org/10sr/term-run-el)\n[![MELPA Stable](http://stable.melpa.org/packages/term-run-badge.svg)](http://stable.melpa.org/#/term-run)\n[![MELPA](http://melpa.org/packages/term-run-badge.svg)](http://melpa.org/#/term-run)\n\n\n\nterm-run.el\n===========\n\nRun arbitrary command in a terminal buffer.\n\nCurrently Emacs provide `M-x term`, which uses `term-mode`\nand works as a terminal-emulator.\nIt is useful to run shell programs like `bash`, `zsh` or `ipython`\ninteractively.\nHowever, this function does not provide the feature to invoke programs *with\narguments*.\n\nHere comes `term-run`, which provides functions to invoke arbitrary commands in\nterminal buffers.\nFor example, you can run `ssh` command with any arguments in terminal buffer\ndirectly (without running bash with `M-x term` first).\nTry typing `M-x term-run-shell-command RET ssh git@github.com RET` !\n\n\n\n\n\nUsage\n-----\n\n\n* `term-run-shell-command (command \u0026optional new-buffer-p)`\n\n  Run COMMAND in a terminal buffer.\n\n  This function is intended mainly to be called interactively and\nasks the command-line to invoke.\n\n  If called with prefix argument, this function will generate new\nterminal buffer for running COMMAND.  Otherwise, always use the buffer named\n`*Term-Run Shell Command*`. In this case, the old process in the buffer will be\ndestroyed.\n\n\n\n* `term-run (program \u0026optional buffer-or-name \u0026rest args)`\n\n  Run PROGRAM in BUFFER-OR-NAME with ARGS in terminal buffer.\n\n  If BUFFER-OR-NAME is given, use this buffer.  In this case, old process in\nthe buffer will be destroyed.  Otherwise, new buffer will be generated\nautomatically from PROGRAM.\n\n  This function returns the buffer where the process starts running.\n\n\n\n\nLicense\n-------\n\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\nSee `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10sr%2Fterm-run-el","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F10sr%2Fterm-run-el","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10sr%2Fterm-run-el/lists"}