aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term/vt200.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term/vt200.el')
-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))