Menu

#7 $user is not set if i don't use -U

open-fixed
nobody
5
2008-11-04
2008-07-25
Luc RIOU
No

When i used -U for connect, $user is set but if i don't use -U, $user is not set.

You can see sample =>

15:56:42 jarrett</home/lriou/.jsqsh> jsqsh
JSqsh Release 1.2, Copyright (C) 2007-2008, Scott C. Gray
Type \help for available help topics
1> \connect SPARGDATD01 -Ulriou
Password:*********** *[SPARGDATD01.master][lriou] 1> \echo $user
lriou
[SPARGDATD01.master][lriou] 1> \connect SPARGDATD01 -n
Username: lriou
Password:***********
Current session: 2 (jdbc:jtds:sybase://gdtdevdb.fr.world.socgen:11030)
[SPARGDATD01.master][$user] 1> \echo $user
$user
[SPARGDATD01.master][$user] 1> \connect SPARGDATD01 -Ulriou -n
Password:***********
Current session: 3 (jdbc:jtds:sybase://gdtdevdb.fr.world.socgen:11030)
[SPARGDATD01.master][lriou] 1> \echo $user
lriou
[SPARGDATD01.master][lriou] 1>

Discussion

  • Scott Gray

    Scott Gray - 2008-11-04

    Sorry it took so long for me to get around to this. This bug has been fixed in the main codeline (1.3-SNAPSHOT). You should be able to "upgrade" version 1.2 to the new version by just doing a "ant jar" and then copying build/jsqsh.jar into your /usr/share/jsqsh or lib/ directory.

     
  • Scott Gray

    Scott Gray - 2008-11-04
    • status: open --> open-fixed
     

Log in to post a comment.