× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported Oct 5, 2012  · tariqrahiman last modified Oct 22, 2012

Support line feed in shell PROMPT


Dev
Fun Fun
funfun
QA
Niels Gron
NielsGron
Priority Low
Complexity Unknown
Component App - FluidShell
Version 12.0

Shell prompts can be fairly long, so it would be nice to split the prompt over two lines, e.g.

[oracle]:[niels]:/home/oracle
$

To reproduce this prompt in fluidshell use:

declare -x PROMPT="[\\\${USERNAME}]:[\\\${DATABASE}]:\\\${PWD}\$ "

That worked fine - but I wanted a multiline prompt which can be achieved using:

declare -x PROMPT="[\\\${USERNAME}]:[\\\${DATABASE}]:\\\${PWD}
\$ "

However - While the prompt displays properly, e.g.

[ajpowell]:[WG0036]:[master]:Q:\SQL\SQLServer
$

any subsequent command does not display correctly, each keypress seems to introduce a line feed.

NielsGron   Oct 6, 2012  Change History
Field Old Value New Value
Dev Assignee NielsGron (Niels Gron) funfun (Fun Fun)
QA Assignee funfun (Fun Fun) NielsGron (Niels Gron)
funfun   Oct 9, 2012  Change History
Field Old Value New Value
Fixed Build trunk/29641
Resolution Fixed
Resolved Date Oct 9, 2012 2:33 AM
Status New Resolved
tariqrahiman   Oct 22, 2012  Change History
Field Old Value New Value
Status Resolved Closed

Issue #7740

Closed
Fixed
Resolved Oct 9, 2012
 
 
Completion
No due date
Fixed Build trunk/29641
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017