09-11-2001
Also, if this command is available to you, type:
resize
It should echo your window size out to you, and set the LINES and COLUMNS correctly. May not solve all your problems, but sure can't hurt, right?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been teaching myself unix a little here and a little there. I would like to learn emacs, or an editor that I would get the most use out of. What is the most used editor in unix? (1 Reply)
Discussion started by: macnix
1 Replies
2. UNIX for Advanced & Expert Users
Hi
How can I do ftp using emacs. I strart the function by M-x ftp. It connects to the server where I can see the list of files. how can I do put or get there?
Thanks
SS (1 Reply)
Discussion started by: saurya_s
1 Replies
3. UNIX for Dummies Questions & Answers
Any one has a good documentation on How To Use EMACs editor??
Thanks
Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies
4. UNIX for Dummies Questions & Answers
I installed Red Hat Enterprise Linux 5 on my PC. When i typed 'emacs' on the console, "command not found" error occurrd. Why.
:mad: (1 Reply)
Discussion started by: cy163
1 Replies
5. Programming
I am using emacs to write c++ code. How to configure it to let the system highlight C++ keywords, variables, etc; and let it automatically indent, just like a common C++ IDE does?
Any suggestions? Thanks! (1 Reply)
Discussion started by: meili100
1 Replies
6. UNIX and Linux Applications
Hey everybody!
Not sure if this goes here, but I think it's the best fit.
I was just wondering, how do I use a compiler from Emacs?
Also, how do I turn syntax highlighting on?
Thanks in advance! (5 Replies)
Discussion started by: led3234
5 Replies
7. UNIX for Dummies Questions & Answers
could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies
8. UNIX and Linux Applications
Hi,
I am using emacs now after some months with vim (nothing agains vim, in fact I love it, but everyone around me is using emacs and xemacs) and I need some configuration help. How may I configure emacs to look like code examples in this page which is good for my eye.
Thanks in advance,
... (0 Replies)
Discussion started by: faizlo
0 Replies
9. UNIX for Dummies Questions & Answers
I'm trying to compile two files in Emacs (guess.cpp and yesno.cpp). So I open up Emacs (the text version) and give the command M-x and then I try to type in "g++ -o asst guess.cpp yesno.cpp". But everytime after I type "g++" and try to do a space after that, it says and wont let me type a space?
... (1 Reply)
Discussion started by: blackvelvet
1 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
Discussion started by: swathi123
7 Replies
RESIZE(1) General Commands Manual RESIZE(1)
NAME
resize - set environment and terminal settings to current xterm window size
SYNOPSIS
resize [ -u | -c ] [ -s [ row col ] ]
DESCRIPTION
Resize prints a shell command for setting the appropriate environment variables to indicate the current size of xterm window from which the
command is run. For this output to take effect, resize must either be evaluated as part of the command line (usually done with a shell
alias or function) or else redirected to a file which can then be read in. From the C shell (usually known as /bin/csh), the following
alias could be defined in the user's .cshrc:
% alias rs 'set noglob; eval `resize`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as /bin/sh) that don't have command functions will need to send the output to a tempo-
rary file and then read it back in with the "." command:
$ resize > /tmp/out
$ . /tmp/out
Resize determines the user's current shell by first checking if $SHELL is set, and using that. Otherwise it determines the user's shell by
looking in the password file. Generally Bourne-shell variants (including ksh) do not modify $SHELL, so it is possible for resize to be
confused if one runs resize from a Bourne shell spawned from a C shell.
OPTIONS
The following options may be used with resize:
-u This option indicates that Bourne shell commands should be generated even if the user's current shell isn't /bin/sh.
-c This option indicates that C shell commands should be generated even if the user's current shell isn't /bin/csh.
-s [rows columns]
This option indicates that Sun console escape sequences will be used instead of the VT100-style xterm escape codes. If rows and
columns are given, resize will ask the xterm to resize itself. However, the window manager may choose to disallow the change.
Note that the Sun console escape sequences are recognized by XFree86 xterm and by dtterm. The resize program may be installed as sunsize,
which causes makes it assume the -s option.
The rows and columns arguments must appear last; though they are normally associated with the -s option, they are parsed separately.
FILES
/etc/termcap for the base termcap entry to modify.
~/.cshrc user's alias for the command.
ENVIRONMENT
TERM set to "xterm" if not already set.
TERMCAP variable set on systems using termcap
COLUMNS, LINES variables set on systems using terminfo
SEE ALSO
csh(1), tset(1), xterm(1)
AUTHORS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by X Consortium
See X(7) for a complete copyright notice.
X Window System RESIZE(1)