LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2004, 11:17 AM   #1
eggCover
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
51 characters only in the 1st Line of command line


When the cursor reaches the 51th column, it jumps to the 2nd line. But from the 2nd line on, the cursor reaches the end.
Maybe it's been caused by programming with "ncurse" these days. Based on my judgement, I tried command "tset" and "reset" to solve the problem. I didn't know what is type of term. Hence, I used them without any parameter:
$tset
$reset
However, the two command didn't work as I thought.
Anybody who has encountered the same or similar problem, please post how you solved it.

Regards!
 
Old 07-29-2004, 01:35 PM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
I usually throw a \ in and hit enter when things get too long.
Example:
Blink@sanity ~ --> cat /proc/cpuinfo \
> | grep model
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz

is the same as:

Blink@sanity ~ --> cat /proc/cpuinfo | grep model
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
Blink@sanity ~ -->
 
Old 07-29-2004, 02:28 PM   #3
eggCover
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I think I didn't express it so clear.

What i meant is I can't type down to the end of the 1st line, but from the 2nd line on, i can type down to the end.

Sorry.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
C++ text file line by line/each line to string/array Dimitris Programming 15 03-11-2008 09:22 AM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
linux scripting help needed read from file line by line exc commands each line read atokad Programming 4 12-26-2003 11:24 PM
deleting characters at the beginning of a line poobeany Programming 6 09-23-2003 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:52 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
Open Source Consulting | Domain Registration