LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2009, 12:40 AM   #1
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Rep: Reputation: 15
how to type more than one line at a time rxvt?


Can somebody help the clueless? When I enter a line in the rxvt screen, how do I start another line below it? I've punched every key I can think of, but never have gotten the cursor to go down a notch and over to the left.
If it helps any, you have no idea how surprised I was to learn that the "enter' key would do that, and that's how you make a new paragraph ehen typing.
Thanks
(Just slightly new here)
 
Old 10-25-2009, 12:44 AM   #2
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
You could do a \ then <enter>... why do you want to type multiple lines in a terminal?
 
Old 10-25-2009, 01:27 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
mudangel, I think the problem is slightly different but I might be wrong

pottzie, your post is slightly confusing. From the first part I understand that <enter> just does not seem to do anything. The cursor does not go to a new line nor does it go to the beginning of a line. Is that correct ?

If so, does <ctrl>L (this is "press L while control is pressed") take you to a new line? And <ctrl>M takes you to the beginning of a line?

If the above works, you have to configure your terminal. I don't have experience with rxvt, so you must do some research or somebody else can maybe help with it.
 
Old 10-25-2009, 02:57 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Is rxvt the only terminal emulator you have? If you have others are they working OK? How are you starting the rxvt terminal?

Are you able to run commands? If so what is the output of
Code:
echo $TERM
Try running this command and see if you are able to start new lines (if Enter doesn't work try Ctrl+J, Ctrl+L and Ctrl+M (that's press-and-hold Ctrl then press the letter)
Code:
stty sane
What happens if you press Ctrl+C ?
 
Old 10-25-2009, 11:46 PM   #5
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
Thanks, it worked. Both control m and control j get the cursor down to the next line. I have come across examples that showed several lines of code, and had no idea how they were entered.
Thanks again.
 
Old 10-27-2009, 03:38 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by pottzie View Post
Thanks, it worked. Both control m and control j get the cursor down to the next line.
Normally you can press Enter and get a new line. There is something wrong with how your terminal or key mapping is set up. That's why I asked you to tell us what your $TERM value is -- it's a good place to start investigating what is wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What to type in command line durring the first boot? cimek Linux - Newbie 7 11-25-2008 07:17 AM
E:Type 'deb' is not known on line 39..... SurfCHimp Linux - Software 4 04-02-2007 05:24 PM
command line for determining memory type jdier Linux - Newbie 1 06-10-2004 10:00 AM
Line Kernal - Processor Type rigasminho Programming 6 03-02-2004 09:09 AM
file type from command line?? wr3ck3d Linux - General 4 03-12-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration