aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1990-09-14 19:07:14 +0000
committerJim Blandy <[email protected]>1990-09-14 19:07:14 +0000
commit942f076cef98d38772aacc66e15b7cf93641a75e (patch)
tree17f75c96d1319a291e5161b1e65bf90985fc9bd5 /lisp
parentf55fb75ca1f021eea3ca748553350c289f5e4b4c (diff)
Initial revision
Diffstat (limited to 'lisp')
-rw-r--r--lisp/term/vt200.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/term/vt200.el b/lisp/term/vt200.el
new file mode 100644
index 0000000000..162baecd7c
--- /dev/null
+++ b/lisp/term/vt200.el
@@ -0,0 +1,9 @@
+(defun terminal-80-columns ()
+ (interactive)
+ (send-string-to-terminal "\033[?3l")
+ (set-screen-width 80))
+
+(defun terminal-132-columns ()
+ (interactive)
+ (send-string-to-terminal "\033[?3h")
+ (set-screen-width 132))